shish пре 1 месец
родитељ
комит
4ee5084877

+ 1 - 0
ghsApp/src/pages.json

@@ -85,6 +85,7 @@
 				{"path": "official/index","style": {"navigationBarTitleText": "销花宝"}},
 				{"path": "official/pay","style": {"navigationBarTitleText": "支付"}},
 				{"path": "official/apply","style": {"navigationBarTitleText": "填写店铺信息"}},
+				{"path": "official/contact","style": {"navigationBarTitleText": "联系我们"}},
 				{"path": "official/clientApply","style": {"navigationBarTitleText": "结果"}},
 				{"path": "official/clientResult","style": {"navigationBarTitleText": "提交审核"}},
 				{"path": "official/renewal","style": {"navigationBarTitleText": "续期"}},

+ 9 - 5
ghsApp/src/pagesClient/official/apply.vue

@@ -4,8 +4,8 @@
       <view class="apply-body">
         <view class="apply-alert apply-alert--warning">
           <text class="apply-alert-line">
-            <text class="apply-alert-text">零售花店和个人请勿注册,注册了不会审核通过。零售花店需要系统请加微信:</text>
-            <text class="apply-alert-link" @click="copyWechat('18559200768')">18559200768</text>
+            <text class="apply-alert-text">这个批发店使用的系统,零售花店和个人请勿注册,注册了不会审核通过。零售花店需要系统请</text>
+            <text class="apply-alert-link" @click="goToContact()">点此添加微信</text>
           </text>
         </view>
 
@@ -436,6 +436,10 @@ export default {
           }
         })
 			})
+    },
+    /** 零售花店查看联系微信:跳转官方联系页 */
+    goToContact() {
+      this.$util.pageTo({ url: '/pagesClient/official/contact' })
     },
 		goToService(){
 			this.$util.pageTo({ url: "/admin/home/register"})
@@ -656,7 +660,7 @@ export default {
 .apply-alert-line {
   display: inline;
   color: #c0392b;
-  font-size: 30upx;
+  font-size: 32upx;
   line-height: 44upx;
 }
 
@@ -675,8 +679,8 @@ export default {
 
 .apply-alert-link {
   color: #3385ff;
-  font-size: 32upx;
-  font-weight: 700;
+  font-size: 30upx;
+  text-decoration: underline;
   line-height: 44upx;
 }
 

+ 193 - 0
ghsApp/src/pagesClient/official/contact.vue

@@ -0,0 +1,193 @@
+<template>
+    <view class="app-content">
+      <view class="section-card contact-card">
+        <view class="section-label">零售花店</view>
+        <view class="contact-tip">
+          需要申请商城系统,请加下面微信。添加时请注明:
+          <text class="contact-highlight">花店</text>
+          ,否则可能会不通过。
+        </view>
+        <view class="wechat-list">
+          <view class="wechat-item">
+            <view class="qrcode-box">
+              <image
+                class="qrcode-image"
+                :src="`${constant.imgUrl}/shop/contact_mg.jpg`"
+                mode="widthFix"
+                show-menu-by-longpress
+              />
+            </view>
+            <view class="qrcode-hint">长按识别二维码</view>
+          </view>
+        </view>
+      </view>
+  
+      <view class="section-card contact-card">
+        <view class="section-label">城市批发 / 斗南批发</view>
+        <view class="contact-tip">
+          需要申请商城系统,请加下面微信。添加时请注明:
+          <text class="contact-highlight">批发店</text>
+          ,否则可能会不通过。
+        </view>
+        <view class="wechat-list">
+          <view class="wechat-item">
+            <view class="qrcode-box">
+              <image
+                class="qrcode-image"
+                :src="`${constant.imgUrl}/shop/contact_st.jpg`"
+                mode="widthFix"
+                show-menu-by-longpress
+              />
+            </view>
+            <view class="qrcode-hint">长按识别二维码</view>
+          </view>
+        </view>
+      </view>
+  
+    </view>
+  </template>
+  
+  <script>
+  export default {
+    name: "contact",
+    data() {
+      return {
+        constant: this.$constant
+      };
+    },
+    methods: {
+      init() {},
+      copyWechat(wechatId) {
+        uni.setClipboardData({
+          data: wechatId,
+          success: () => {
+            // #ifndef MP-WEIXIN
+            this.$msg("复制成功");
+            // #endif
+          },
+          fail: () => {
+            this.$msg("复制失败");
+          }
+        });
+      }
+    },
+    // #ifdef MP-WEIXIN
+    onShareAppMessage() {
+      return {
+        title: "公告",
+        path: "pagesPurchase/contact",
+        imageUrl: ""
+      };
+    }
+    // #endif
+  };
+  </script>
+  
+  <style lang="scss" scoped>
+  .app-content {
+    min-height: 100vh;
+    padding: 24upx 24upx 40upx;
+    box-sizing: border-box;
+    background: #f5f7f6;
+  }
+  
+  .section-card {
+    background: #fff;
+    border-radius: 24upx;
+    padding: 32upx 28upx;
+    margin-bottom: 24upx;
+    box-shadow: 0 10upx 28upx rgba(24, 37, 30, 0.06);
+  }
+  
+  .section-label {
+    color: #18251e;
+    font-size: 34upx;
+    font-weight: 700;
+    line-height: 48upx;
+    margin-bottom: 20upx;
+  }
+  
+  .section-desc {
+    color: #333;
+    font-size: 30upx;
+    line-height: 46upx;
+    margin-bottom: 24upx;
+  }
+  
+  .guide-card .image-box {
+    width: 100%;
+    border-radius: 16upx;
+    overflow: hidden;
+    border: 1upx solid #eef1ef;
+  }
+  
+  .guide-image {
+    width: 100%;
+    display: block;
+  }
+  
+  .software-notice {
+    color: #e65c00;
+    font-size: 32upx;
+    line-height: 44upx;
+    padding: 20upx 28upx;
+    margin-bottom: 24upx;
+    background: #fff7f0;
+    border-radius: 16upx;
+    border: 1upx solid #ffd9b8;
+    font-weight: bold;
+  }
+  
+  .contact-tip {
+    color: #5c6661;
+    font-size: 28upx;
+    line-height: 44upx;
+    margin-bottom: 24upx;
+  }
+  
+  .contact-highlight {
+    color: #09c567;
+    font-weight: 600;
+  }
+  
+  .wechat-list {
+    display: flex;
+    flex-direction: column;
+  }
+  
+  .wechat-item {
+    display: flex;
+    flex-direction: column;
+    align-items: center;
+    padding: 28upx 24upx 32upx;
+    border-radius: 18upx;
+    background: #f7faf8;
+    margin-top: 20upx;
+  
+    &:first-child {
+      margin-top: 0;
+    }
+  }
+  
+  .qrcode-box {
+    width: 100%;
+    max-width: 420upx;
+    border-radius: 16upx;
+    overflow: hidden;
+    border: 1upx solid #eef1ef;
+    background: #fff;
+  }
+  
+  .qrcode-image {
+    width: 100%;
+    display: block;
+  }
+  
+  .qrcode-hint {
+    margin-top: 20upx;
+    color: black;
+    font-size: 32upx;
+    line-height: 40upx;
+    text-align: center;
+  }
+  </style>  

+ 1 - 8
hdApp/src/admin/home/me.vue

@@ -381,14 +381,7 @@ export default {
       }
     },
     suggest () {
-      this.$util.confirmModal({ content: "请添加客服微信", okText: "复制微信" }, () => {
-        uni.setClipboardData({
-          data: "18559200768",
-          success: () => {
-            this.$msg("复制成功");
-          }
-        });
-      });
+      this.$util.pageTo({ url: "/pagesPurchase/contact" });
     },
     goToService () {
       this.$util.pageTo({ url: "/admin/home/register" });