From d34cbe6900f302a38dcc1b8cc55a22cd6e8a319e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E9=98=81=E8=BE=89?= Date: Wed, 19 Jan 2022 14:10:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AD=97=E6=AE=B5=20?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=88=B7=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/add-paper/index.vue | 5 +---- pages/mall/index.vue | 1 + pages/paper-detail/index.vue | 20 +++++++++++++++++++- pages/trade/quotationList.vue | 3 +++ 4 files changed, 24 insertions(+), 5 deletions(-) diff --git a/pages/add-paper/index.vue b/pages/add-paper/index.vue index 6b5eaf0..643de8b 100644 --- a/pages/add-paper/index.vue +++ b/pages/add-paper/index.vue @@ -358,10 +358,7 @@ export default { }, watch: { - ['form.name'](val) { - this.form.id = '' - console.log(111) - } + }, methods: { back, diff --git a/pages/mall/index.vue b/pages/mall/index.vue index 6c37007..f5ff52d 100644 --- a/pages/mall/index.vue +++ b/pages/mall/index.vue @@ -101,6 +101,7 @@ export default { supplierId: this.$store.state.supplierInfo.supplierId, name: this.$store.state.supplierInfo.name } + this.quertData() }, onLoad() { this.quertData() diff --git a/pages/paper-detail/index.vue b/pages/paper-detail/index.vue index 3d449c9..0090934 100644 --- a/pages/paper-detail/index.vue +++ b/pages/paper-detail/index.vue @@ -4,7 +4,7 @@ 纸品详情 - 分享 + 分享 @@ -113,6 +113,24 @@ export default { } }) }, + // 分享 + shareTap() { + uni.share({ + provider: "weixin", + scene: "WXSceneSession", + type: 0, + href: "http://uniapp.dcloud.io/", + title: "uni-app分享", + summary: "我正在使用HBuilderX开发uni-app,赶紧跟我一起来体验!", + imageUrl: "https://bjetxgzv.cdn.bspapp.com/VKCEYUGU-uni-app-doc/d8590190-4f28-11eb-b680-7980c8a877b8.png", + success: function (res) { + console.log("success:" + JSON.stringify(res)); + }, + fail: function (err) { + console.log("fail:" + JSON.stringify(err)); + } + }); + } } } diff --git a/pages/trade/quotationList.vue b/pages/trade/quotationList.vue index 8a83da8..91e730f 100644 --- a/pages/trade/quotationList.vue +++ b/pages/trade/quotationList.vue @@ -98,6 +98,9 @@ export default { list: [] } }, + onShow() { + this.getQuotationQurty() + }, onLoad(option) {}, filters: { replyStatusName(status) {