Commit ba92aad5 by 杨北旺

权益

1 parent 406da64a
Page({
data: {},
onLoad: function (options) {
this.getOrderInfo(options.orderCode)
setTimeout(()=>{
this.getOrderInfo(options.orderCode)
},2*1000)
},
getOrderInfo(orderCode) {
wx.p.wxApi.showLoading()
wx.p.api.equityApi.orderDetailData({ orderCode }).then(res => {
wx.hideLoading();
let richText = res.useNotes
res.warrantyDate = res.warrantyDate ? new Date(res.warrantyDate).format('yyyy-MM-dd hh:mm:ss') : ''
if (richText) {
......
......@@ -29,7 +29,7 @@
<view class="card_btn" data-item="{{order.cardPwd}}" bind:tap="setCopyData">复制</view>
</view>
</view>
<view style="padding: 0 40rpx;">
<view wx:if="{{richText}}" style="padding: 0 40rpx;">
<view style="text-align: center;margin-bottom: 20rpx;">
<text class="title">使用须知</text>
</view>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!