shish пре 4 година
родитељ
комит
1679c6e3c9
2 измењених фајлова са 4 додато и 11 уклоњено
  1. 0 1
      ghsApp/src/admin/home/mall.vue
  2. 4 10
      hdApp/src/pagesInvite/inviteHdShop.vue

+ 0 - 1
ghsApp/src/admin/home/mall.vue

@@ -45,7 +45,6 @@ export default {
             uni.saveImageToPhotosAlbum({
               filePath: res.tempFilePath,
               success: function (data) {
-                console.log(data)
                 uni.showToast({title:'下载成功!'})
               }
             });

+ 4 - 10
hdApp/src/pagesInvite/inviteHdShop.vue

@@ -3,13 +3,14 @@
     <view class="img_box">
       <image :src="imgUrl" class="img_url"></image>
     </view>
-    <!-- 确认 -->
       <div class="confirm-btn">
         <button class="admin-button-com big blue" @click="downloadImg">保存图片分享</button>
       </div>
+      <!-- #ifdef MP-WEIXIN -->
       <div class="confirm-btn1">
         <button class="admin-button-com big blue" @click="goToMallPt()">直接打开分享</button>
       </div>
+      <!-- #endif -->
   </view>
 </template>
 
@@ -42,17 +43,10 @@ export default {
           uni.saveImageToPhotosAlbum({
             filePath: res.tempFilePath,
             success: function() {
-              uni.showToast({
-                title: '保存成功',
-                icon: 'none'
-              });
+              uni.showToast({ title: '保存成功', icon: 'none' })
             },
             fail: (res) => {
-              // this.$msg('保存失败')
-              uni.showToast({
-                title: '保存失败',
-                icon: 'none'
-              });
+              uni.showToast({ title: '保存失败', icon: 'none' })
             }
           })
         },