Browse Source

聊天框

shish 5 years ago
parent
commit
93b1586858

+ 13 - 7
hdApp/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)
             }   
         }
     }

+ 1 - 1
hdApp/src/pagesStorehouse/allot/allotPut.vue

@@ -65,7 +65,7 @@ import { getStockInListApi } from "@/api/storehouse/stock";
 import { PUT_STATUS } from "@/utils/declare";
 
 export default {
-	name: "入库列表",
+	name: "inStockList",
 	components: { Tabs, AppWrapperEmpty },
 	mixins: [list],
 	data() {

+ 1 - 1
hdApp/src/pagesStorehouse/inventory/list.vue

@@ -59,7 +59,7 @@ import { getCheckOrderListApi } from "@/api/inventory/index";
 
 import { list } from "@/mixins";
 export default {
-	name: "盘点",
+	name: "panDian",
 	components: { Tabs, AppWrapperEmpty },
 	mixins: [list],
 	data() {