From 41426416bd250130129fb8a547bee874375768a8 Mon Sep 17 00:00:00 2001 From: 陶杰 <1378534974@qq.com> Date: 星期四, 14 十一月 2024 09:47:15 +0800 Subject: [PATCH] 1.付款:改成15分钟,并使用服务器时间进行倒计时 2.优惠券中心:已经领取(达到最大次数),显示已领取且置灰,未领取根据创建时间放前面,已领取根据首次时间正序排序 3.购物车-提交订单:自动根据订单金额选择合适优惠券 --- sub_pages/partner/delivery/delivery-home.vue | 39 ++++++++++++++++++++++++++++++++++++--- 1 files changed, 36 insertions(+), 3 deletions(-) diff --git a/sub_pages/partner/delivery/delivery-home.vue b/sub_pages/partner/delivery/delivery-home.vue index 4b868df..94b7c91 100644 --- a/sub_pages/partner/delivery/delivery-home.vue +++ b/sub_pages/partner/delivery/delivery-home.vue @@ -41,7 +41,7 @@ </view> <view class="user-utils m-20"> - <view class="user-util m-t-12 flex" @click="goto('/sub_pages/partner/delivery/delivery',true)"> + <view class="user-util m-t-12 flex" @click="goto('/sub_pages/partner/delivery/station-delivery',true)"> <view class="title">质检列表</view> <view class="right-icon"> <uni-icons type="right"></uni-icons> @@ -53,10 +53,10 @@ <uni-icons type="right"></uni-icons> </view> </view> - + <view class="user-util m-t-12 " v-if="selftype==='supplier'||selftype==='customer' || !selftype"> <view class="title">我的客服</view> - <view class="flex"> + <!-- <view class="flex"> <image class="icon-clock m-r-6 m-t-2" src="../../static/common/icon-call.png"></image> <view class="name" @click="callTel"> 客服电话 : <span class="topic-gray">{{ tel }}</span> @@ -64,6 +64,19 @@ <view class="right-icon" open-type="contact"> <uni-icons type="right"></uni-icons> </view> + </view> --> + <view class="flex flex-wrap-normal"> + <image class="icon-clock m-r-6 m-t-2" src="../../static/common/icon-call.png"></image> + <!-- @click="callTel" --> + <button open-type="contact" class="component-button-contact" @handleContact="handleContact"> + <view class="name"> + 客服电话 : <span class="topic-gray">{{ tel }}</span> + </view> + <view class="right-icon"> + <uni-icons type="right"></uni-icons> + </view> + </button> + </view> </view> </view> @@ -110,6 +123,26 @@ created() { }, + onShareAppMessage() { + let that = this; + var name = that.currentInfo.customerDTO&&that.currentInfo.customerDTO.name || that.currentInfo.supplierDTO&&that.currentInfo.supplierDTO.name || that.currentInfo.partnerDTO&&that.currentInfo.partnerDTO.name || '' + var url = + `/pages/login/supplier-login?shareId=${this.currentInfo&&this.currentInfo.id||''}&shareName=${name||''}`; //你的转发页面路径拼接参数 + return { + title: "花满芫", + path: url, + } + }, + onShareTimeline() { + let that = this; + var name = that.currentInfo.customerDTO&&that.currentInfo.customerDTO.name || that.currentInfo.supplierDTO&&that.currentInfo.supplierDTO.name || that.currentInfo.partnerDTO&&that.currentInfo.partnerDTO.name || '' + var url = + `/pages/login/supplier-login?shareId=${this.currentInfo&&this.currentInfo.id||''}&shareName=${name||''}`; //你的转发页面路径拼接参数 + return { + title: "花满芫", + path: url, + } + }, async onPullDownRefresh() { await this.$store.dispatch('getCurrentInfo') uni.stopPullDownRefresh() -- Gitblit v1.9.3