|
@@ -34,20 +34,43 @@
|
|
|
|
|
|
<div class="rightsidebar">
|
|
<div class="rightsidebar">
|
|
<ul class="top-nav-list">
|
|
<ul class="top-nav-list">
|
|
- <li>
|
|
|
|
- <img src="../../assets/message-nav1.png">交易物流
|
|
|
|
- </li>
|
|
|
|
- <li>
|
|
|
|
- <img src="../../assets/message-nav2.png">视频上新
|
|
|
|
|
|
+ <li v-for="(item,index) in tabList" :class="{active:tabId==index}" @click="tabId=index"
|
|
|
|
+ :key="index">
|
|
|
|
+ <img :src="item.icon">
|
|
|
|
+ {{item.title}}
|
|
</li>
|
|
</li>
|
|
|
|
+ </ul>
|
|
|
|
+ <ul class="trade-logistics-list" v-show="tabId==0">
|
|
<li>
|
|
<li>
|
|
- <img src="../../assets/message-nav3.png">优惠活动
|
|
|
|
|
|
+ <a href="javascript:void(0)">
|
|
|
|
+ <p class="trade-logistics-top">
|
|
|
|
+ <span>您的订单已发货</span>
|
|
|
|
+ <span>10:47</span>
|
|
|
|
+ </p>
|
|
|
|
+ <div class="trade-logistics-module">
|
|
|
|
+ <img src="../../assets/img-2.png" class="trade-logistics-img">
|
|
|
|
+ <div class="trade-logistics-sidebar">
|
|
|
|
+ <p class="trade-logistics-name">您购买的【狂欢季】MINISO名创优品…已…</p>
|
|
|
|
+ <p class="trade-logistics-msg">查看物流信息</p>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </a>
|
|
</li>
|
|
</li>
|
|
<li>
|
|
<li>
|
|
- <img src="../../assets/message-nav4.png">客服消息
|
|
|
|
|
|
+ <a href="javascript:void(0)">
|
|
|
|
+ <p class="trade-logistics-top">
|
|
|
|
+ <span>您的订单已发货</span>
|
|
|
|
+ <span>10:47</span>
|
|
|
|
+ </p>
|
|
|
|
+ <div class="trade-logistics-module">
|
|
|
|
+ <img src="../../assets/img-2.png" class="trade-logistics-img">
|
|
|
|
+ <div class="trade-logistics-sidebar">
|
|
|
|
+ <p class="trade-logistics-name">您购买的【狂欢季】MINISO名创优品…已…</p>
|
|
|
|
+ <p class="trade-logistics-msg">查看物流信息</p>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </a>
|
|
</li>
|
|
</li>
|
|
- </ul>
|
|
|
|
- <ul class="trade-logistics-list" v-show="status==1">
|
|
|
|
<li>
|
|
<li>
|
|
<a href="javascript:void(0)">
|
|
<a href="javascript:void(0)">
|
|
<p class="trade-logistics-top">
|
|
<p class="trade-logistics-top">
|
|
@@ -62,36 +85,91 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</a>
|
|
</a>
|
|
- </li>
|
|
|
|
- <li>
|
|
|
|
- <a href="javascript:void(0)">
|
|
|
|
- <p class="trade-logistics-top">
|
|
|
|
- <span>您的订单已发货</span>
|
|
|
|
- <span>10:47</span>
|
|
|
|
- </p>
|
|
|
|
- <div class="trade-logistics-module">
|
|
|
|
- <img src="../../assets/img-2.png" class="trade-logistics-img">
|
|
|
|
- <div class="trade-logistics-sidebar">
|
|
|
|
- <p class="trade-logistics-name">您购买的【狂欢季】MINISO名创优品…已…</p>
|
|
|
|
- <p class="trade-logistics-msg">查看物流信息</p>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </a>
|
|
|
|
- </li>
|
|
|
|
- <li>
|
|
|
|
- <a href="javascript:void(0)">
|
|
|
|
- <p class="trade-logistics-top">
|
|
|
|
- <span>您的订单已发货</span>
|
|
|
|
- <span>10:47</span>
|
|
|
|
- </p>
|
|
|
|
- <div class="trade-logistics-module">
|
|
|
|
- <img src="../../assets/img-2.png" class="trade-logistics-img">
|
|
|
|
- <div class="trade-logistics-sidebar">
|
|
|
|
- <p class="trade-logistics-name">您购买的【狂欢季】MINISO名创优品…已…</p>
|
|
|
|
- <p class="trade-logistics-msg">查看物流信息</p>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </a>
|
|
|
|
|
|
+ </li>
|
|
|
|
+ </ul>
|
|
|
|
+ <ul class="video-list" v-show="tabId==1">
|
|
|
|
+ <li>
|
|
|
|
+ <div class="video-top">
|
|
|
|
+
|
|
|
|
+ </div>
|
|
|
|
+ <div class="video-bottom">
|
|
|
|
+ <span class="font-1">医生开讲:亚健康到底是什么?</span>
|
|
|
|
+ <span class="font-2">10:10</span>
|
|
|
|
+ </div>
|
|
|
|
+ </li>
|
|
|
|
+ <li>
|
|
|
|
+ <div class="video-top">
|
|
|
|
+
|
|
|
|
+ </div>
|
|
|
|
+ <div class="video-bottom">
|
|
|
|
+ <span class="font-1">医生开讲:亚健康到底是什么?</span>
|
|
|
|
+ <span class="font-2">10:10</span>
|
|
|
|
+ </div>
|
|
|
|
+ </li>
|
|
|
|
+ <li>
|
|
|
|
+ <div class="video-top">
|
|
|
|
+
|
|
|
|
+ </div>
|
|
|
|
+ <div class="video-bottom">
|
|
|
|
+ <span class="font-1">医生开讲:亚健康到底是什么?</span>
|
|
|
|
+ <span class="font-2">10:10</span>
|
|
|
|
+ </div>
|
|
|
|
+ </li>
|
|
|
|
+ </ul>
|
|
|
|
+ <ul class="favourable-activity-list" v-show="tabId==2">
|
|
|
|
+ <li>
|
|
|
|
+ <p class="favourable-activity-top">双11第2波预售开启</p>
|
|
|
|
+ <div class="favourable-activity-center">
|
|
|
|
+ <img src="../../assets/nav-24.png" class="favourable-activity-img">
|
|
|
|
+ <p class="favourable-activity-name">健康好物付定金有买有赠!大牌爆款[汤臣倍健vb叶酸b2b6b12 c维c]抢先看</p>
|
|
|
|
+ </div>
|
|
|
|
+ <p class="favourable-activity-bottom">09:29</p>
|
|
|
|
+ </li>
|
|
|
|
+ <li>
|
|
|
|
+ <p class="favourable-activity-top">双11第2波预售开启</p>
|
|
|
|
+ <div class="favourable-activity-center">
|
|
|
|
+ <img src="../../assets/nav-24.png" class="favourable-activity-img">
|
|
|
|
+ <p class="favourable-activity-name">健康好物付定金有买有赠!大牌爆款[汤臣倍健vb叶酸b2b6b12 c维c]抢先看</p>
|
|
|
|
+ </div>
|
|
|
|
+ <p class="favourable-activity-bottom">09:29</p>
|
|
|
|
+ </li>
|
|
|
|
+ <li>
|
|
|
|
+ <p class="favourable-activity-top">双11第2波预售开启</p>
|
|
|
|
+ <div class="favourable-activity-center">
|
|
|
|
+ <img src="../../assets/nav-24.png" class="favourable-activity-img">
|
|
|
|
+ <p class="favourable-activity-name">健康好物付定金有买有赠!大牌爆款[汤臣倍健vb叶酸b2b6b12 c维c]抢先看</p>
|
|
|
|
+ </div>
|
|
|
|
+ <p class="favourable-activity-bottom">09:29</p>
|
|
|
|
+ </li>
|
|
|
|
+ <li>
|
|
|
|
+ <p class="favourable-activity-top">双11第2波预售开启</p>
|
|
|
|
+ <div class="favourable-activity-center">
|
|
|
|
+ <img src="../../assets/nav-24.png" class="favourable-activity-img">
|
|
|
|
+ <p class="favourable-activity-name">健康好物付定金有买有赠!大牌爆款[汤臣倍健vb叶酸b2b6b12 c维c]抢先看</p>
|
|
|
|
+ </div>
|
|
|
|
+ <p class="favourable-activity-bottom">09:29</p>
|
|
|
|
+ </li>
|
|
|
|
+ </ul>
|
|
|
|
+ <ul class="customer-service-list" v-show="tabId==3">
|
|
|
|
+ <li>
|
|
|
|
+ <img src="../../assets/message-nav4.png" class="customer-service-icon">
|
|
|
|
+ <div class="customer-service-sidebar">
|
|
|
|
+ <div class="customer-service-row-between">
|
|
|
|
+ <p class="customer-service-title">客服消息</p>
|
|
|
|
+ <span class="customer-service-time">昨天</span>
|
|
|
|
+ </div>
|
|
|
|
+ <p class="customer-service-msg">亲亲 求求你了 我也不想打扰你</p>
|
|
|
|
+ </div>
|
|
|
|
+ </li>
|
|
|
|
+ <li>
|
|
|
|
+ <img src="../../assets/message-nav4.png" class="customer-service-icon">
|
|
|
|
+ <div class="customer-service-sidebar">
|
|
|
|
+ <div class="customer-service-row-between">
|
|
|
|
+ <p class="customer-service-title">客服消息</p>
|
|
|
|
+ <span class="customer-service-time">昨天</span>
|
|
|
|
+ </div>
|
|
|
|
+ <p class="customer-service-msg">亲亲 求求你了 我也不想打扰你</p>
|
|
|
|
+ </div>
|
|
</li>
|
|
</li>
|
|
</ul>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
@@ -113,7 +191,23 @@
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
- status:2
|
|
|
|
|
|
+ //选项卡
|
|
|
|
+ tabList: [{
|
|
|
|
+ title: '交易物流',
|
|
|
|
+ icon: require('../../assets/message-nav1.png'),
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ title: '视频上新',
|
|
|
|
+ icon: require('../../assets/message-nav2.png'),
|
|
|
|
+ }, {
|
|
|
|
+ title: '优惠活动',
|
|
|
|
+ icon: require('../../assets/message-nav3.png'),
|
|
|
|
+ }, {
|
|
|
|
+ title: '客服消息',
|
|
|
|
+ icon: require('../../assets/message-nav4.png'),
|
|
|
|
+ },
|
|
|
|
+ ],
|
|
|
|
+ tabId: 0
|
|
};
|
|
};
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
@@ -259,9 +353,9 @@
|
|
|
|
|
|
.trade-logistics-top {
|
|
.trade-logistics-top {
|
|
width: 100%;
|
|
width: 100%;
|
|
- padding: 0 6px;
|
|
|
|
- display: flex;
|
|
|
|
- justify-content: space-between;
|
|
|
|
|
|
+ padding: 0 6px;
|
|
|
|
+ display: flex;
|
|
|
|
+ justify-content: space-between;
|
|
align-items: center;
|
|
align-items: center;
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
margin-bottom: 13px;
|
|
margin-bottom: 13px;
|
|
@@ -316,4 +410,175 @@
|
|
color: #919191;
|
|
color: #919191;
|
|
font-size: 12px;
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ .customer-service-list {
|
|
|
|
+ width: 100%;
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-direction: column;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .customer-service-list>li {
|
|
|
|
+ width: 100%;
|
|
|
|
+ display: flex;
|
|
|
|
+ align-items: center;
|
|
|
|
+ padding: 10px 30px 10px 14px;
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
+ background-color: #FFFFFF;
|
|
|
|
+ border-radius: 8px;
|
|
|
|
+ margin-bottom: 10px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .customer-service-icon {
|
|
|
|
+ width: 48px;
|
|
|
|
+ height: 48px;
|
|
|
|
+ border-radius: 50%;
|
|
|
|
+ margin-right: 7px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .customer-service-sidebar {
|
|
|
|
+ flex: 1;
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-direction: column;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .customer-service-row-between {
|
|
|
|
+ width: 100%;
|
|
|
|
+ display: flex;
|
|
|
|
+ justify-content: space-between;
|
|
|
|
+ align-items: center;
|
|
|
|
+ margin-bottom: 2px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .customer-service-title {
|
|
|
|
+ color: #202020;
|
|
|
|
+ font-size: 16px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .customer-service-time {
|
|
|
|
+ color: #A7A7A7;
|
|
|
|
+ font-size: 14px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .customer-service-msg {
|
|
|
|
+ color: #919191;
|
|
|
|
+ font-size: 12px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .video-list {
|
|
|
|
+ width: 100%;
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-wrap: wrap;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .video-list>li {
|
|
|
|
+ width: 32.6666%;
|
|
|
|
+ margin-bottom: 1%;
|
|
|
|
+ margin-right: 1%;
|
|
|
|
+ padding: 10px 12px 0;
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
+ background-color: #FFFFFF;
|
|
|
|
+ border-radius: 8px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .video-list>li:nth-child(3n) {
|
|
|
|
+ margin-right: 0;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .video-top {
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 126px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .video-bottom {
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 38px;
|
|
|
|
+ display: flex;
|
|
|
|
+ justify-content: space-between;
|
|
|
|
+ align-items: center;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .font-1 {
|
|
|
|
+ flex: 1;
|
|
|
|
+ display: -webkit-box;
|
|
|
|
+ -webkit-line-clamp: 1;
|
|
|
|
+ overflow: hidden;
|
|
|
|
+ text-overflow: ellipsis;
|
|
|
|
+ -webkit-box-orient: vertical;
|
|
|
|
+ color: #000000;
|
|
|
|
+ font-size: 15px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .font-2 {
|
|
|
|
+ color: #919191;
|
|
|
|
+ font-size: 11px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .favourable-activity-list {
|
|
|
|
+ width: 100%;
|
|
|
|
+ display: flex;
|
|
|
|
+ justify-content: space-between;
|
|
|
|
+ flex-wrap: wrap;
|
|
|
|
+ padding: 15px 28px;
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .favourable-activity-list>li {
|
|
|
|
+ width: 32%;
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-direction: column;
|
|
|
|
+ background-color: #FFFFFF;
|
|
|
|
+ border-radius: 8px;
|
|
|
|
+ margin-right: 2%;
|
|
|
|
+ margin-bottom: 11px;
|
|
|
|
+ padding: 0 40px 0 13px;
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .favourable-activity-list>li:nth-child(3n) {
|
|
|
|
+ margin-right: 0;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .favourable-activity-top {
|
|
|
|
+ color: #000000;
|
|
|
|
+ font-size: 16px;
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 37px;
|
|
|
|
+ line-height: 37px;
|
|
|
|
+ display: -webkit-box;
|
|
|
|
+ -webkit-line-clamp: 1;
|
|
|
|
+ overflow: hidden;
|
|
|
|
+ text-overflow: ellipsis;
|
|
|
|
+ -webkit-box-orient: vertical;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .favourable-activity-center {
|
|
|
|
+ display: flex;
|
|
|
|
+ align-items: center;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .favourable-activity-img {
|
|
|
|
+ width: 56px;
|
|
|
|
+ height: 56px;
|
|
|
|
+ border-radius: 4px;
|
|
|
|
+ margin-right: 18px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .favourable-activity-name {
|
|
|
|
+ flex: 1;
|
|
|
|
+ display: -webkit-box;
|
|
|
|
+ -webkit-line-clamp: 3;
|
|
|
|
+ overflow: hidden;
|
|
|
|
+ text-overflow: ellipsis;
|
|
|
|
+ -webkit-box-orient: vertical;
|
|
|
|
+ color: #000000;
|
|
|
|
+ font-size: 13px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .favourable-activity-bottom {
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 44px;
|
|
|
|
+ line-height: 44px;
|
|
|
|
+ color: #919191;
|
|
|
|
+ font-size: 12px;
|
|
|
|
+ }
|
|
</style>
|
|
</style>
|