Commit 7385313c authored by jyx's avatar jyx

代码优化

parent 9e8f0c7b
...@@ -5,8 +5,9 @@ ...@@ -5,8 +5,9 @@
mode="widthFix" /> mode="widthFix" />
<view class="section"> <view class="section">
<view v-if="agreementDto != null" @click="handleUnsign" <view @click="handleUnsign"
style="margin-top: 12rpx;margin-left: 30rpx;color: black;">自动续费管理></view> style="margin-top: 12rpx;margin-left: 30rpx;color: black;font-size: 36rpx;font-weight: 700;">自动续费管理 >
</view>
<view class="pack-box"> <view class="pack-box">
<scroll-view scroll-x style="white-space: nowrap"> <scroll-view scroll-x style="white-space: nowrap">
......
...@@ -39,16 +39,20 @@ ...@@ -39,16 +39,20 @@
}, },
queryList(page, size) { queryList(page, size) {
this.post({ this.post({
url: '/vip/getOrderList', url: '/vip/getOrderList',
data: { data: {
page, page,
size size
}, },
showLoading: false, showLoading: false,
success: ({ success: ({
data 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