Commit ac6f7b42 by 宋冰琦

修改 订单详情 页面部分内容

parent d589b72d
<template> <template>
<scroll-view class="msg" scroll-y> <scroll-view class="msg" scroll-y>
<view class="empty" v-show="empty == true"> <view class="empty" v-show="empty == true">
<image class="empty_icon" src="/static/imgs/none_content.png"></image> <view :style="{'text-align':'center'}">
<view class="empty_text">---暂无消息,去品尝杯咖啡吧---</view> <image class="empty_icon" src="/static/imgs/none_content.png"></image>
<button class="empty_button" @click="goHome">去品尝</button> </view>
<view class="empty_text">——暂无消息,去品尝杯咖啡吧——</view>
<button class="empty_button" @click="goHome"></button>
</view> </view>
<view class="msg_item" v-for="item in list" @click="toRead(item)" :key="item.id"> <view class="msg_item" v-for="item in list" @click="toRead(item)" :key="item.id">
<view class="msg_item_title_time"> <view class="msg_item_title_time">
...@@ -14,6 +16,7 @@ ...@@ -14,6 +16,7 @@
<view class="msg_content">{{ item.message }}</view> <view class="msg_content">{{ item.message }}</view>
</view> </view>
</scroll-view> </scroll-view>
<show-toast ref="toast"/>
</template> </template>
<script> <script>
...@@ -63,30 +66,31 @@ export default { ...@@ -63,30 +66,31 @@ export default {
/* 兼容老版本的方法 */ /* 兼容老版本的方法 */
-webkit-transform: translateX(-50%); -webkit-transform: translateX(-50%);
transform: translateX(-50%); transform: translateX(-50%);
margin-top: 200rpx; margin-top: 311rpx;
.empty_icon { .empty_icon {
width: 325rpx; width: 280rpx;
height: 296rpx; height: 266rpx;
} }
.empty_text { .empty_text {
font-size: 20rpx; margin-top: 44rpx;
margin-top: 10rpx; width: 414rpx;
font-family: ArialMT;
color: #666666;
text-align: center; text-align: center;
font-size: 24rpx;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #999999;
} }
.empty_button { .empty_button {
width: 128rpx; margin-top: 35rpx;
height: 46rpx; width: 167rpx;
margin-top: 10rpx; height: 64rpx;
background: #006ECF; border-radius: 2rpx;
border-radius: 10rpx; background: url('@/static/imgs/qupinchang.png') center center no-repeat;
text-align: center; }
font-size: 20rpx; .empty_button::after{
line-height: 46rpx; border-radius: 2rpx;
color: #fff;
} }
} }
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<view class="user-name" v-if="userms">HI!{{ userInfo.customerName || '我是谁' }}</view> <view class="user-name" v-if="userms">HI!{{ userInfo.customerName || '我是谁' }}</view>
<view class="user-name" v-else>未登录</view> <view class="user-name" v-else>未登录</view>
<view class="dialog"> <view class="dialog">
<view class="content" v-if="userms">如果以后再也见不到你,那就祝你早安,午安,晚安...</view> <view class="content" v-if="userms">如果以后再也见不到你,那就祝你早安</view>
<view class="content" v-if="!userms">请您尽快登录</view> <view class="content" v-if="!userms">请您尽快登录</view>
</view> </view>
</view> </view>
......
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