diff --git a/pages/card/card.vue b/pages/card/card.vue index bfca580..0b4a1bd 100644 --- a/pages/card/card.vue +++ b/pages/card/card.vue @@ -3,91 +3,58 @@ - - - - 绑定新卡 + + + + + + 绑定新卡 + - - - - + + - - - - + style="display: flex;flex-direction: row; padding: 16px;margin-left: 9px;margin-right: 9px;"> - - - + - {{item.name}} + + + {{item.name}} {{item.time}} - {{item.pname}} + {{item.pname}} + style="border: 1px #FED4B3 solid;margin-left: 10px;border-radius: 15px;padding: 3px 10px; font-size: 12px; color: #FF6000;"> {{item.state}} - - 预约提货 - + @@ -102,7 +69,9 @@ data() { return { page: { - remarks: '' + remarks: '', + startHeight: 0, + endHeight: 0 }, data: [], } @@ -112,11 +81,18 @@ // 相当与下拉刷新 this.$refs.paging.reload(true); }) + let info = uni.getSystemInfoSync(); + this.page.startHeight = info.windowWidth * 0.6 + this.page.endHeight = info.windowWidth * 0.8 }, onUnload() { uni.$off('order'); }, + onPageScroll(res) { + // 渐变 + this.$refs.nav.defaultColorBgAlpha(res) + }, methods: { // 分页的请求 queryList(pageNo, pageSize) { @@ -169,23 +145,20 @@