Commit ac6f7b42 by 宋冰琦

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

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