Commit 67742b80a5aeb71b22e270cbbdef7f9b07596f25

Authored by vking
1 parent 0d5e568a

taocan ui fix

... ... @@ -67,6 +67,10 @@ Page({
case 'reserveFail'://预订失败
return `预订失败:[${this.options.sid}]${this.options.seller}/${this.options.rdateStr} ${this.options.soltName}/${this.options.room} #${this.options.id}`
break;
//act=taocan&id=0000002024&order_no=D20201127100311&out_trade_no=20201127100311&openid=oB-xJ5BjnTvdgQGLHsjioNHH0eE8&sid=1001&sellername=西安美食店(测试)&real_address=西安大慈恩寺大雁塔音乐喷泉广场站&id_code=202076787518&qr_code_url=&wechat_no=4347800660202011270071613463&price=0.01&should_price=0.01&actual_price=0.01&status=待使用&pay_time=1606446726&writeoff=&writeoff_name=&use_time=0&refund_time=0&attach=西安美食店(测试)&currency=CNY&detail=餐饮服务&description=菜品套餐&profit_sharing=true&sub_mchid=1586283021&create_time=1606446704&seller_tel=18628453650,02988228080&phone=18552555555&seller_image=http://libpc.colorcun.com/20200121110355_9628218249c0e81474f562f93a5c27c4&map_address=陕西省西安市雁塔区高新一路与科技四路交叉口西北150米&info=感谢您的支持,请您按尽快来店就餐呦&optbut=申请退款
case 'taocan'://taocan
return `套餐[${this.options.id}],${this.options.optbut}`
break;
}
}
})
\ No newline at end of file
... ...
{
"usingComponents": {
"nav":"/components/nav/nav",
"chatbot":"/components/userinfo/chatbot",
"subject":"/components/2.0/taocan/subject"
}
}
\ No newline at end of file
... ...
... ... @@ -53,9 +53,12 @@
<view class="view card margin-top-sm padding-bottom-xs">
<view class="padding solid-bottom flex justify-between">
<view class="txt-30-h text-bold">订单信息</view>
<view class="text-df order-opt-but order-opt-but{{order_info.status}} flex align-center justify-center" wx:if="{{order_tips.optbut}}">
{{order_tips.optbut}}
</view>
<chatbot params="{{({act:'taocan',id:order_info.id,...order_tips})}}" wx:if="{{order_tips.optbut}}">
<view class="text-df order-opt-but order-opt-but{{order_info.status}} flex align-center justify-center">
{{order_tips.optbut}}
</view>
</chatbot>
</view>
<view class="view padding padding-lr-lg flex justify-between">
<view class="text-gray txt-28-h">商品总价</view>
... ...
... ... @@ -730,7 +730,7 @@
{
"name": "pages/taocan/order",
"pathName": "pages/taocan/order",
"query": "id=0000000039",
"query": "id=0000002024",
"scene": null
},
{
... ...