Browse Source

Message 修复

master
zhengshuiqi 3 years ago
parent
commit
ca37f19565
  1. 3
      pages.json
  2. 23
      pages/account/message.vue

3
pages.json

@ -137,7 +137,8 @@
"path": "pages/account/message",
"style": {
"titleNView":false,
"navigationBarBackgroundColor":"#000000"
"navigationBarBackgroundColor":"#000000",
"enablePullDownRefresh": true
}
},
{

23
pages/account/message.vue

@ -8,7 +8,7 @@
<text style="margin-left: 30%;color: white;">Message</text>
</view>
<view class="empty_item" v-if="app_Mes.length == 0">
<view class="empty_item" v-if="app_Mes.length == 0">
<view class="empty_item_img">
<image src="../../static/img/message.png" mode=""></image>
</view>
@ -16,16 +16,16 @@
<!-- <view><button @click="gotoindex()">Go to see</button></view> -->
</view>
<view class="mask" v-show="isShwo" @click="isShwo=false"></view>
<button class="body-btn">Continue shopping</button>
<button class="body-btn" @click="shop()">Continue shopping</button>
<view >
<view>
<!-- <uni-nav-bar left-icon="left" :statusBar="true" title="Message"
color="#fff" backgroundColor="#000000" @clickLeft="back" :border="false"/> -->
<!-- <view class="one">
<image src="../../static/img/left_white.png" mode="" @click="back()"></image>
<view class="one_text">Message</view>
</view> -->
<view class="body">
<view class="bodys">
<view class="msg_item" v-for="(item,index) in list.blocks" :key="item.block_title"
@click="gotopage(item)">
<view class="msg_time">{{item.block_avaiable_from | Mes}}</view>
@ -211,6 +211,11 @@
uni.navigateBack({
delta: 1,
})
},
shop() {
uni.navigateTo({
url: '../shippingCart/index'
})
}
},
onLoad() {
@ -253,6 +258,7 @@
.body {
padding: 0 32rpx;
&-btn {
// margin-top: 42px;
@ -262,6 +268,7 @@
width: 200px;
height: auto;
transform: scale(.5);
z-index: 11;
}
}
@ -306,12 +313,14 @@
;
}
.body {
.bodys {
// border-top: 13.33rpx #F7F7F7 solid;
padding: 50.67rpx 26.67rpx;
// padding: 50.67rpx 26.67rpx;
width: 100%;
}
.msg_item {
width: 100%;
padding-top: 17rpx;
padding-bottom: 28rpx;
padding-left: 10rpx;
@ -319,7 +328,7 @@
background-color: #fff;
// border-bottom: 1px solid #E2E2E2;
margin-bottom: 30rpx;
align-items: center;
&:first-child {
margin-top: 122.67rpx;
}

Loading…
Cancel
Save