Commit 7385313c authored by jyx's avatar jyx

代码优化

parent 9e8f0c7b
......@@ -5,8 +5,9 @@
mode="widthFix" />
<view class="section">
<view v-if="agreementDto != null" @click="handleUnsign"
style="margin-top: 12rpx;margin-left: 30rpx;color: black;">自动续费管理></view>
<view @click="handleUnsign"
style="margin-top: 12rpx;margin-left: 30rpx;color: black;font-size: 36rpx;font-weight: 700;">自动续费管理 >
</view>
<view class="pack-box">
<scroll-view scroll-x style="white-space: nowrap">
......
......@@ -39,16 +39,20 @@
},
queryList(page, size) {
this.post({
url: '/vip/getOrderList',
data: {
page,
size
url: '/vip/getOrderList',
data: {
page,
size
},
showLoading: false,
success: ({
data
}) => {
this.$refs.paging.complete(data.list);
if (data.list.length > 0) {
this.$refs.paging.complete([data.list[0]])
} else {
this.$refs.paging.complete([])
}
}
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment