feat: 地理位置授权

This commit is contained in:
eric
2022-11-21 10:38:38 +08:00
parent 8e30656e64
commit 04cbc3adbd
13 changed files with 115 additions and 69 deletions

2
dist/app.js vendored

File diff suppressed because one or more lines are too long

2
dist/app.json vendored
View File

@@ -1 +1 @@
{"pages":["pages/home/index","pages/home/components/CheckIn/index","pages/home/components/Certified/index","pages/activityList/index","pages/formSubmit/index","pages/activityList/components/details/index","pages/mountainPeak/index","pages/my/index","pages/my/components/Version/index"],"window":{"backgroundTextStyle":"light","navigationBarBackgroundColor":"#fff","navigationBarTitleText":"WeChat","navigationBarTextStyle":"black"}}
{"pages":["pages/home/index","pages/home/components/CheckIn/index","pages/home/components/Certified/index","pages/activityList/index","pages/formSubmit/index","pages/activityList/components/details/index","pages/mountainPeak/index","pages/my/index","pages/my/components/Version/index"],"permission":{"scope.userLocation":{"desc":"你的位置信息将用于小程序位置接口的效果展示"}},"requiredPrivateInfos":["getLocation","chooseLocation"],"window":{"backgroundTextStyle":"light","navigationBarBackgroundColor":"#fff","navigationBarTitleText":"WeChat","navigationBarTextStyle":"black"}}

4
dist/base.wxml vendored
View File

@@ -129,10 +129,6 @@
</image>
</template>
<template name="tmpl_0_37">
<open-data type="{{i.p4}}" open-gid="{{i.p3}}" lang="{{xs.b(i.p2,'en')}}" default-text="{{i.p1}}" default-avatar="{{i.p0}}" binderror="eh" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}"></open-data>
</template>
<template name="tmpl_0_8">
<block>{{i.v}}</block>
</template>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -21,16 +21,24 @@
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
background-color: #f6ffed;
padding: 20rpx;
position: relative;
}
.myImage .loginBtn {
position: absolute;
bottom: 30rpx;
z-index: 2;
}
.cellArr {

View File

@@ -37,5 +37,6 @@
"editorSetting": {
"tabIndent": "insertSpaces",
"tabSize": 2
}
},
"cloudfunctionTemplateRoot": "cloudfunctionTemplate/"
}