新增平台公告,新增平台人数统计,新增退货状态与商家联系电话

This commit is contained in:
唐明明
2022-07-26 15:16:17 +08:00
parent a49995f20b
commit d95db14088
13 changed files with 11153 additions and 9741 deletions

View File

@@ -51,7 +51,26 @@
</view>
</view>
<!-- 功能入口 -->
<view class="life-flex">
<view class="life-flex">
<!-- 公告 -->
<view class="life-notice" v-if="notices.length > 0">
<view class="life-notice-bar">
<uni-icons class="life-notice-icon" size="18" type="notification-filled" color="#34CE98"></uni-icons>
<swiper
class="life-notice-swiper"
:autoplay="true"
circular
vertical
>
<swiper-item v-for="(item, index) in notices" :key="index">
<view class="life-notice-item">
<navigator :url="'./noticeDetails?id=' + item.article_id" hover-class="none">{{item.title}}</navigator>
</view>
</swiper-item>
</swiper>
<navigator class="life-notice-more" hover-class="none" url="./notice">更多</navigator>
</view>
</view>
<view class="life-flex-item house" @click="onNav({name: 'Store'}, 'tab')">
<view class="house-content">
<view class="house-title">DT商城</view>
@@ -150,7 +169,8 @@
timeData: {},
isSign: false,
isAccount: false,
isOver : false,
isOver : false,
notices : []
};
},
onShow() {
@@ -171,7 +191,8 @@
},
// 共力人生
getLife() {
life().then(res => {
life().then(res => {
this.notices = res.notices
this.glz = res.account.glz
this.base_hour = res.account.base_hour
this.base_seconds = res.account.base_seconds
@@ -408,7 +429,39 @@
flex-wrap: wrap;
position: relative;
z-index: 1;
.life-notice{
width: calc(100% - 20rpx);
margin: 10rpx;
&-bar{
position: relative;
background-color: white;
border-radius: 20rpx;
padding: 0 150rpx 0 80rpx;
height: 90rpx;
}
&-icon{
position: absolute;
left: 30rpx;
top: 26rpx;
}
&-more{
position: absolute;
right: 30rpx;
top: 0;
line-height: 90rpx;
font-size: 28rpx;
color: $main-color;
}
&-swiper{
height: 90rpx;
}
&-item{
line-height: 90rpx;
font-size: 28rpx;
color: #333;
@extend .nowrap;
}
}
.life-flex-item {
background: white;
border-radius: 20rpx;