diff --git a/src/app.config.js b/src/app.config.js
index b3c6609..485ffe6 100644
--- a/src/app.config.js
+++ b/src/app.config.js
@@ -4,10 +4,19 @@ export default defineAppConfig({
'pages/my/index',
],
+ permission: {
+ "scope.userLocation": {
+ desc: "你的位置信息将用于小程序位置接口的效果展示", // 高速公路行驶持续后台定位
+ },
+ },
+ requiredPrivateInfos: ["getLocation", "chooseLocation",'chooseAddress'],
window: {
backgroundTextStyle: 'light',
navigationBarBackgroundColor: '#fff',
navigationBarTitleText: 'WeChat',
navigationBarTextStyle: 'black'
+ },
+ // 设置后,空对象代表可以使用小程序原生组件
+ usingComponents: {
}
})
diff --git a/src/pages/my/index.jsx b/src/pages/my/index.jsx
index 5c277c6..e1e8b26 100644
--- a/src/pages/my/index.jsx
+++ b/src/pages/my/index.jsx
@@ -1,4 +1,4 @@
-import { View, Text, Image } from "@tarojs/components";
+import { View, Text, Image, Button, Icon } from "@tarojs/components";
import { useLoad } from "@tarojs/taro";
import Taro from "@tarojs/taro";
import {
@@ -36,30 +36,38 @@ const my = () => {
女
-
-
{/* 列表 */}
-
-
-
+
+
+
+
+
+
+
+ {/* 个人客服 */}
+ {/*
+
+ */}
-
+
{/* 底部tabbar */}