解决数据下拉加载的bug,调整专区样式,完善充值记录

This commit is contained in:
2024-09-12 14:04:53 +08:00
parent b4438b4638
commit 3f6a12ee67
15 changed files with 67 additions and 16 deletions

View File

@@ -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. 这个必须写合法类型,不然下载不了

View File

@@ -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">