Browse Source

fix: 移除保存到相册功能并优化权限描述

- 注释掉获取二维码和保存到相册的代码
- 统一权限描述格式
- 添加二维码保存提示文本
master
前端-胡立永 1 day ago
parent
commit
83cf0552e9
3 changed files with 6 additions and 5 deletions
  1. +1
    -1
      App.vue
  2. +3
    -3
      manifest.json
  3. +2
    -1
      pages/subcomponent/promo-qrcode.vue

+ 1
- 1
App.vue View File

@ -62,7 +62,7 @@
this.getPricePreviewList(),
this.getConfigData(),
]
this.getQrCode()
// this.getQrCode()
await Promise.all(promises)
// 100%


+ 3
- 3
manifest.json View File

@ -60,9 +60,9 @@
"scope.userLocation" : {
"desc" : "您的位置信息将用于选择寄件地址"
},
"scope.writePhotosAlbum": {
"desc": "需要保存图片到您的相册"
}
"scope.writePhotosAlbum" : {
"desc" : "需要保存图片到您的相册"
}
}
},
"mp-alipay" : {


+ 2
- 1
pages/subcomponent/promo-qrcode.vue View File

@ -37,11 +37,12 @@
@load="onImageLoad"
/>
<view class="invite-code">邀请码{{inviteCode}}</view>
<view class="invite-code">长按二维码可保存到相册</view>
</view>
<!-- 底部按钮 -->
<view class="bottom-btns-modal">
<button class="btn gray" open-type="share">分享给好友</button>
<button class="btn green" @tap="saveToAlbum">保存到本地</button>
<!-- <button class="btn green" @tap="saveToAlbum">保存到本地</button> -->
</view>
</view>
</view>


Loading…
Cancel
Save