| @@ -43,6 +43,12 @@ | |||||
| "ext://microapp-trade-plugin/refund-detail", | "ext://microapp-trade-plugin/refund-detail", | ||||
| "pages/freeBannerDetail/freeBannerDetail" | "pages/freeBannerDetail/freeBannerDetail" | ||||
| ], | ], | ||||
| "subpackages": [{ | |||||
| "root": "package2", | |||||
| "pages": [ | |||||
| "pages/appointment/appointment" | |||||
| ] | |||||
| }], | |||||
| "window": { | "window": { | ||||
| "backgroundTextStyle": "light", | "backgroundTextStyle": "light", | ||||
| "navigationBarBackgroundColor": "#fff", | "navigationBarBackgroundColor": "#fff", | ||||
| @@ -0,0 +1,9 @@ | |||||
| // c:\Users\Holy-Knight-IX\Desktop\Working Space\4.TikTok-MiniPro\ttc\package2\pages\appointment\appointment.js | |||||
| Page({ | |||||
| data: { | |||||
| }, | |||||
| onLoad: function (options) { | |||||
| } | |||||
| }) | |||||
| @@ -0,0 +1,3 @@ | |||||
| { | |||||
| "usingComponents": {} | |||||
| } | |||||
| @@ -0,0 +1,2 @@ | |||||
| <!-- c:\Users\Holy-Knight-IX\Desktop\Working Space\4.TikTok-MiniPro\ttc\package2\pages\appointment\appointment.ttml --> | |||||
| <text>c:\Users\Holy-Knight-IX\Desktop\Working Space\4.TikTok-MiniPro\ttc\package2\pages\appointment\appointment.ttml</text> | |||||
| @@ -0,0 +1 @@ | |||||
| /* c:\Users\Holy-Knight-IX\Desktop\Working Space\4.TikTok-MiniPro\ttc\package2\pages\appointment\appointment.ttss */ | |||||
| @@ -148,8 +148,8 @@ | |||||
| <view class="Hchild">• {{soldStartTime}}至{{soldEndTime}}</view> | <view class="Hchild">• {{soldStartTime}}至{{soldEndTime}}</view> | ||||
| </view> | </view> | ||||
| <view class="timeText">可用时间</view> | |||||
| <view class="Hchild">• 商家营业时间内到店使用</view> | |||||
| <view tt:if="{{data.type != 69}}" class="timeText">可用时间</view> | |||||
| <view tt:if="{{data.type != 69}}" class="Hchild">• 商家营业时间内到店使用</view> | |||||
| <view class="Hchild" tt:if="{{data.can_no_use_date.weekend}}">• 周末不支持使用</view> | <view class="Hchild" tt:if="{{data.can_no_use_date.weekend}}">• 周末不支持使用</view> | ||||
| <view class="Hchild" tt:if="{{data.can_no_use_date.HolidaysFlag}}">• 节假日(元旦、春节、清明、劳动节、端午节、中秋节、国庆节、情人节、圣诞节)不支持使用 | <view class="Hchild" tt:if="{{data.can_no_use_date.HolidaysFlag}}">• 节假日(元旦、春节、清明、劳动节、端午节、中秋节、国庆节、情人节、圣诞节)不支持使用 | ||||
| </view> | </view> | ||||
| @@ -222,6 +222,13 @@ Page({ | |||||
| }) | }) | ||||
| }, | }, | ||||
| goAppointment(e) { | |||||
| const id = e.currentTarget.dataset.id | |||||
| tt.navigateTo({ | |||||
| url: `/package2/pages/appointment/appointment?id=${id}`, | |||||
| }); | |||||
| }, | |||||
| getIm() { //获取im客服id | getIm() { //获取im客服id | ||||
| const that = this | const that = this | ||||
| Http.get({ | Http.get({ | ||||
| @@ -115,6 +115,18 @@ | |||||
| 才显示兑换码 | 才显示兑换码 | ||||
| --> | --> | ||||
| <!-- bindtap="powerDrawer" --> | <!-- bindtap="powerDrawer" --> | ||||
| <view tt:if="{{order.type != 69}}" class='dhCode' data-id="{{order.id}}" bindtap="goAppointment"> | |||||
| <view style="width:86%;clear: both;"> | |||||
| <text class="fl">预约时间:</text> | |||||
| <text class="fr" style="color: #d4a971;">点击预约</text> | |||||
| </view> | |||||
| <view> | |||||
| <!-- <image class="spcode" src="{{spcodeUrl}}" mode='widthFix'></image> | |||||
| <image class="rArrow" src="{{chevronUrl}}" mode='widthFix'></image> --> | |||||
| </view> | |||||
| </view> | |||||
| <view tt:if="{{order.orderStatus==1&&order.type!=100&&order.type!=5&&order.type!=51}}" | <view tt:if="{{order.orderStatus==1&&order.type!=100&&order.type!=5&&order.type!=51}}" | ||||
| data-couponOrderStatus="{{order.couponOrderStatus}}" data-title="{{order.title}}" data-subtitle="{{order.subTitle}}" | data-couponOrderStatus="{{order.couponOrderStatus}}" data-title="{{order.title}}" data-subtitle="{{order.subTitle}}" | ||||
| data-remark="{{order.remark}}" data-quancode="{{order.couponOrderId}}" data-validstatus="{{order.validStatus}}" | data-remark="{{order.remark}}" data-quancode="{{order.couponOrderId}}" data-validstatus="{{order.validStatus}}" | ||||