Browse Source

更新优化

shish 4 tháng trước cách đây
mục cha
commit
b41d039468

+ 4 - 23
hdApp/src/admin/home/workbench.vue

@@ -34,7 +34,7 @@
                 <text class="function-text function-text--overlay" style="font-size: 26upx;">采购统计</text>
                 <text class="function-text function-text--overlay" style="font-size: 26upx;">采购统计</text>
               </view>
               </view>
               <view class="function-item function-item--overlay" style="flex: 1; text-align: center; border: 1upx solid rgba(255,255,255,0.5); border-radius: 16upx; padding: 15upx 0;" @click="goMore()">
               <view class="function-item function-item--overlay" style="flex: 1; text-align: center; border: 1upx solid rgba(255,255,255,0.5); border-radius: 16upx; padding: 15upx 0;" @click="goMore()">
-                <text class="function-text function-text--overlay" style="font-size: 26upx;">更多</text>
+                <text class="function-text function-text--overlay" style="font-size: 26upx;">已删批发</text>
               </view>
               </view>
             </view>
             </view>
   
   
@@ -154,8 +154,8 @@
               <view style="margin:60upx auto 40upx auto;font-weight:bold;font-size:36upx;text-align: center;">暂无批发店</view>
               <view style="margin:60upx auto 40upx auto;font-weight:bold;font-size:36upx;text-align: center;">暂无批发店</view>
             </block>
             </block>
   
   
-            <view style="text-align:center;margin-top:50upx;margin-bottom:50upx;color:#827171;font-size:30upx;">
-              <text>厦门中花汇技术支持</text>
+            <view style="text-align:center;margin-top:50upx;margin-bottom:50upx;color:#827171;font-size:28upx;" @click="toPhone()">
+              <text>厦门中花汇技术支持 | 联系厦门中花汇</text>
             </view>
             </view>
   
   
         </view>
         </view>
@@ -485,26 +485,7 @@
         })
         })
       },
       },
       goMore(){
       goMore(){
-        let that = this
-        let shopkeeper = this.loginInfo.staff && this.loginInfo.staff.founder == 2 //判断店主(老板)
-        let items = shopkeeper ? ['已删批发店', '系统改进建议'] : ['已删批发店', '我已离职'];
-        uni.showActionSheet({
-          itemList: items,
-          success: function (res) {
-            if(res.tapIndex == 0){
-              that.$util.pageTo({url: '/pagesPurchase/pb'})
-            }
-            if(res.tapIndex == 1){
-              if(shopkeeper){
-                // 店主显示改进建议
-                that.suggest()
-              }else{
-                // 员工显示离职
-                that.$util.pageTo({url: '/admin/staff/dimission'})
-              }
-            }
-          }
-        });
+        this.$util.pageTo({url: '/pagesPurchase/pb'})
       },
       },
       openPfShop(){
       openPfShop(){
         this.pageTo({url: '/pagesPurchase/contact'})
         this.pageTo({url: '/pagesPurchase/contact'})

+ 1 - 1
hdApp/src/pages.json

@@ -501,7 +501,7 @@
 				{ "path": "particulars", "style": { "navigationBarTitleText": "", "enablePullDownRefresh": true } },
 				{ "path": "particulars", "style": { "navigationBarTitleText": "", "enablePullDownRefresh": true } },
 				{ "path": "details", "style": { "navigationBarTitleText": "确认订单" } },
 				{ "path": "details", "style": { "navigationBarTitleText": "确认订单" } },
 				{ "path": "order", "style": { "navigationBarTitleText": "买花", "enablePullDownRefresh": true } },
 				{ "path": "order", "style": { "navigationBarTitleText": "买花", "enablePullDownRefresh": true } },
-				{ "path": "pb", "style": { "navigationBarTitleText": "已删除商家", "enablePullDownRefresh": true } },
+				{ "path": "pb", "style": { "navigationBarTitleText": "已删批发店", "enablePullDownRefresh": true } },
 				{ "path": "open", "style": { "navigationBarTitleText": "商城功能开关", "enablePullDownRefresh": true } },
 				{ "path": "open", "style": { "navigationBarTitleText": "商城功能开关", "enablePullDownRefresh": true } },
 				{ "path": "shopping", "style": { "navigationBarTitleText": "采购", "enablePullDownRefresh": true } },
 				{ "path": "shopping", "style": { "navigationBarTitleText": "采购", "enablePullDownRefresh": true } },
 				{ "path": "ghsProduct", "style": { "navigationBarTitleText": "采购花材", "enablePullDownRefresh": false } },
 				{ "path": "ghsProduct", "style": { "navigationBarTitleText": "采购花材", "enablePullDownRefresh": false } },

+ 22 - 41
hdApp/src/pagesPurchase/contact.vue

@@ -2,54 +2,33 @@
   <view class="app-content">
   <view class="app-content">
     <!-- 图片说明区域 -->
     <!-- 图片说明区域 -->
     <view class="section-card">
     <view class="section-card">
-      <view class="section-desc">质量问题、价格问题,请通过下图位置找商家</view>
+      <view class="section-desc">质量、价格和售后问题,请在下图位置找商家</view>
       <view class="image-box">
       <view class="image-box">
         <image class="logo" :src="`${constant.imgUrl}/shop/contact_shop.png`" mode="widthFix"></image>
         <image class="logo" :src="`${constant.imgUrl}/shop/contact_shop.png`" mode="widthFix"></image>
       </view>
       </view>
     </view>
     </view>
 
 
-    <!-- 常见问题区域 -->
-    <view class="section-card">
-      <view class="section-title">零售花店-常见问题</view>
-      
-      <view class="faq-item">
-        <view class="faq-question">Q:我注册之后,怎么看不到批发店,不能买花?</view>
-        <view class="faq-answer">A:直接搜索【花掌柜】注册,上面是不会显示批发店的,你只能找批发店拿二维码,通过扫二维码进去注册之后,才会有批发店</view>
-      </view>
-
-      <view class="faq-item">
-        <view class="faq-question">Q:我注册之后,能不能注销?</view>
-        <view class="faq-answer">A:注册之后暂时不能注销,不需要理会它就行。我们没有时间处理这块需求,请勿联系,否则基本挨骂,如确实有问题先找你的批发店反应,批发店再反应到我们这边。</view>
-      </view>
-
-      <view class="faq-item">
-        <view class="faq-question">Q:我注册之后,显示的价格异常,怎么办?</view>
-        <view class="faq-answer">A:价格异常,请联系你的批发店,跟批发店设置有关。跟你注册时怎么填写是没有关系的,不需要注销或重新注册。如不联系批发店,注销和重新注册后,显示结果也是一样的。</view>
-      </view>
-
-      <view class="faq-item">
-        <view class="faq-question">Q:零售花店是否可以申请商城系统?</view>
-        <view class="faq-answer">A:现在没有可用的零售系统,后面有了我们会在系统里面公告。现在我们服务批发店就已经太多,公司客服人员不足,服务不过来,暂时没办法给你提供服务,请谅解。请勿联系!请勿联系!请勿联系!我们已经强调三遍,联系我们挨骂!!!</view>
+    <view class="section-card contact-section">
+      <view class="contact-info">
+        <view class="info-text">零售花店,需要申请商城系统,请加微信</view>
+        <view class="info-text">微信1号:18259179840</view>
+        <view class="info-text">微信2号:18559200768</view>
       </view>
       </view>
-    </view>
-
-    <!-- 警告提示区域 -->
-    <view class="alert-section">
-      <view class="alert-warning">
-        <view class="alert-text">斗南批发商和零售想做批发,请勿联系我们,系统做不起来,不要浪费时间浪费钱,勿扰!勿扰!勿扰!打电话过来挨骂!!</view>
+      <view class="button-wrapper">
+        <button class="admin-button-com big green" @click="copyWechat('18259179840')" style="margin-right:20upx;">复制微信1号</button>
+        <button class="admin-button-com big green" @click="copyWechat('18559200768')">复制微信2号</button>
       </view>
       </view>
     </view>
     </view>
 
 
-    <!-- 联系信息区域 -->
     <view class="section-card contact-section">
     <view class="section-card contact-section">
       <view class="contact-info">
       <view class="contact-info">
-        <view class="info-text">城市批发店,如需要申请使用商城和系统,请电话联系我们</view>
-        <view class="phone-number">15280215347</view>
+        <view class="info-text">城市批发和斗南批发,需要申请商城系统,请加微信 15280215347,请注明:批发店,否则会不通过</view>
       </view>
       </view>
       <view class="button-wrapper">
       <view class="button-wrapper">
-        <button class="admin-button-com big green" @click="suggest">拨打电话</button>
+        <button class="admin-button-com big green" @click="copyWechat('15280215347')">复制微信</button>
       </view>
       </view>
     </view>
     </view>
+
   </view>
   </view>
 </template>
 </template>
 <script>
 <script>
@@ -62,16 +41,18 @@ export default {
   methods: {
   methods: {
     init(){
     init(){
     },
     },
-    suggest(){
-      uni.makePhoneCall({
-        phoneNumber: '15280215347',
+    copyWechat(wechatId){
+      uni.setClipboardData({
+        data: wechatId,
         success: () => {
         success: () => {
-          this.$msg("准备拨打电话")
+          // #ifndef MP-WEIXIN
+          this.$msg('复制成功');
+          // #endif
         },
         },
-        fail: (err) => {
-          this.$msg("拨打失败,请稍后重试")
+        fail: () => {
+          this.$msg('复制失败');
         }
         }
-      })
+      });
     },
     },
   },
   },
   // #ifdef MP-WEIXIN
   // #ifdef MP-WEIXIN
@@ -91,7 +72,7 @@ export default {
   padding-top: 20upx;
   padding-top: 20upx;
   padding-left: 20upx;
   padding-left: 20upx;
   padding-right: 20upx;
   padding-right: 20upx;
-  padding-bottom: 80upx;
+  padding-bottom:30upx;
   background: #f5f7fa;
   background: #f5f7fa;
 }
 }
 
 

+ 1 - 1
hdApp/src/pagesPurchase/pb.vue

@@ -35,7 +35,7 @@
 
 
       </template>
       </template>
       <block v-else>
       <block v-else>
-        <emptyComponent title="没有屏蔽的商家" />
+        <emptyComponent title="没有记录" />
       </block>
       </block>
 
 
   </view>
   </view>