shish 5 лет назад
Родитель
Сommit
ec1e71072c
1 измененных файлов с 13 добавлено и 7 удалено
  1. 13 7
      ghsApp/src/pagesClient/official/warn.vue

+ 13 - 7
ghsApp/src/pagesClient/official/warn.vue

@@ -20,12 +20,16 @@
                         class="step-content_box">
                         <template v-if="index === 0">
                             <view class="button-box">
-                                <button 
-                                    @bindcontact="handleContact"
-                                    class="admin-button-com blue big" 
-                                    open-type="contact">打开聊天框</button>
+
+                                <button open-type='contact'
+                                @bindcontact="handleContact"
+                                class="admin-button-com blue big" 
+                                show-message-card="true" 
+                                send-message-title="识别下方二维码,关注公众号"
+                                send-message-path="/pagesClient/official/warn"
+                                send-message-img="`${constant.imgUrl}/ghs/official/mind.png`">打开聊天框</button>
+
                             </view>
-                            
                         </template>
                         <template v-else>
                             <image class="step-img" :src="item.images" mode="widthFix"></image>
@@ -44,7 +48,7 @@
             return {
                 stepList:[
                     {
-                        title:'点击微信聊天框'
+                        title:'点击下方打开聊天框'
                     },
                     {
                         title:'点击框内右下方“开启微信提醒”卡片',
@@ -59,7 +63,9 @@
         },
         methods:{
             handleContact(e){
-                console.log(e)
+				console.log(`${constant.imgUrl}/ghs/official/mind.png`)
+                console.log('e.detail.path',e.detail.path)
+                console.log('e.detail.query',e.detail.query)
             }   
         }
     }