Commit c676fa97 authored by 郭晓清's avatar 郭晓清
parents 54113ea7 590a8249
...@@ -290,7 +290,9 @@ ...@@ -290,7 +290,9 @@
"style" : "style" :
{ {
"navigationBarTitleText": "订单详情", "navigationBarTitleText": "订单详情",
"navigationStyle": "custom" "navigationStyle": "custom",
"navigationStyle": "custom", // 隐藏系统导航栏
"disableScroll": true
} }
}, },
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
scroll-y="true" refresher-enabled="true" :refresher-triggered="triggered" :refresher-threshold="100" scroll-y="true" refresher-enabled="true" :refresher-triggered="triggered" :refresher-threshold="100"
refresher-background="#F4F5F7" @refresherpulling="triggered = true" @refresherrefresh="onRefresh" refresher-background="#F4F5F7" @refresherpulling="triggered = true" @refresherrefresh="onRefresh"
@refresherrestore="onRestore" @refresherabort="onAbort"> @refresherrestore="onRestore" @refresherabort="onAbort">
<NoOrder v-if="noMore" type="black" customStyle="margin-top: 100rpx;background-color: #F4F5F7" /> <NoOrder v-if="noMore" type="black" :customStyle="noOrderCustomStyle" />
<template v-else> <template v-else>
<view v-for="(item, index) in orderList" :key="item.orderId"> <view v-for="(item, index) in orderList" :key="item.orderId">
<OrderCell :orderData="item" :type="orderType" :location="dataValue" @click="handleClick(item)" <OrderCell :orderData="item" :type="orderType" :location="dataValue" @click="handleClick(item)"
...@@ -142,7 +142,11 @@ ...@@ -142,7 +142,11 @@
noMore() { noMore() {
console.log('nomore:', this.orderList.length == 0 && this.pageNumber != 0) console.log('nomore:', this.orderList.length == 0 && this.pageNumber != 0)
return this.orderList.length == 0 && this.loaded return this.orderList.length == 0 && this.loaded
},
noOrderCustomStyle() {
return this.curNow == 0 ? 'margin-top: 100rpx;background-color: #F4F5F7' : 'margin-top: 200rpx;background-color: #F4F5F7'
} }
}, },
methods: { methods: {
sectionChange(index) { sectionChange(index) {
......
...@@ -2,8 +2,10 @@ ...@@ -2,8 +2,10 @@
<view class="wallet-view"> <view class="wallet-view">
<u-navbar back-icon-color="#333333" background="#F4F5F7" title="我的钱包" titleColor="#333333" <u-navbar back-icon-color="#333333" background="#F4F5F7" title="我的钱包" titleColor="#333333"
:border-bottom="false"></u-navbar> :border-bottom="false"></u-navbar>
<view class="wallet-content-view"> <view class="wallet-content-view">
<image class="header-image" mode="widthFix" :src="qianbaobeijing"></image> <view class="header-view">
<image class="header-image" mode="widthFix" :src="qianbaobeijing"></image>
</view>
<view class="survey-view"> <view class="survey-view">
<view class="survey-top-view"> <view class="survey-top-view">
<view class="survey-top-left"> <view class="survey-top-left">
...@@ -179,13 +181,17 @@ ...@@ -179,13 +181,17 @@
.wallet-content-view { .wallet-content-view {
position: relative; position: relative;
overflow: auto; overflow: auto;
background-color: #F4F5F7; background-color: #F4F5F7;
.header-image { .header-view {
position: absolute; position: absolute;
width: 100%; width: 100%;
margin-left: 4rpx; padding-top: 10rpx;
margin-top: 10rpx; padding-left: 6rpx;
.header-image {
width: 100%;
}
} }
.survey-view { .survey-view {
position: relative; position: relative;
......
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