解决数据下拉加载的bug,调整专区样式,完善充值记录
This commit is contained in:
@@ -69,10 +69,14 @@ Page({
|
||||
success: (res) => {
|
||||
if (res.statusCode === 200) {
|
||||
if (!res.tempFilePath) {
|
||||
alertError("获取文件失败")
|
||||
alertInfo("获取文件失败")
|
||||
rej()
|
||||
return;
|
||||
}
|
||||
if (res.tempFilePath.endsWith(".json")) {
|
||||
alertInfo("下载文件失败")
|
||||
return;
|
||||
}
|
||||
wx.openDocument({
|
||||
filePath: res.tempFilePath,
|
||||
fileType: [ "pdf"], // 3. 这个必须写合法类型,不然下载不了 !!!
|
||||
|
@@ -97,6 +97,7 @@
|
||||
border="{{ false }}"
|
||||
wx:elif="{{detail.orderStatus === 2}}"
|
||||
/>
|
||||
|
||||
<van-field
|
||||
value="已充值"
|
||||
label="订单状态"
|
||||
@@ -104,6 +105,15 @@
|
||||
border="{{ false }}"
|
||||
wx:else
|
||||
/>
|
||||
<van-field
|
||||
value="{{detail.reason}}"
|
||||
label="拒绝理由"
|
||||
type="textarea"
|
||||
autosize="{{true}}"
|
||||
readonly
|
||||
border="{{ false }}"
|
||||
wx:if="{{detail.orderStatus === 2}}"
|
||||
/>
|
||||
</van-cell-group>
|
||||
|
||||
<view class="operate">
|
||||
|
Reference in New Issue
Block a user