|
|
@@ -67,7 +67,7 @@
|
|
|
<text class="text-lg">会员中心</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="menu-bottom">
|
|
|
+ <view class="menu-bottom" style="color: #FFFFFF;">
|
|
|
<view class="">
|
|
|
<text>新增会员</text>
|
|
|
<text>{{statistic.todayMemberIn}}</text>
|
|
|
@@ -84,10 +84,8 @@
|
|
|
<text class="title">营销管理</text>
|
|
|
<view class="cu-list grid col-2 no-border margin-top-30">
|
|
|
<view class="cu-item" @click="$jump(item.path)" v-for="(item,index) in marketList" :key="index">
|
|
|
- <view class="center">
|
|
|
- <view class="icon" :style="item.background">
|
|
|
- <image :src="item.icon" mode=""></image>
|
|
|
- </view>
|
|
|
+ <view class="grid-icon">
|
|
|
+ <image mode="widthFix" style="width: 120rpx;" :src="item.icon" />
|
|
|
</view>
|
|
|
<text style="color: #222222;font-size: 26rpx;margin-top: 20rpx;">{{item.name}}</text>
|
|
|
<view class="cu-tag bg-red badge" v-if="item.count>0">{{item.count}}</view>
|
|
|
@@ -182,14 +180,14 @@
|
|
|
}
|
|
|
],
|
|
|
marketList: [{
|
|
|
- icon: '/static/icon/publish.png',
|
|
|
+ icon: '/static/icon/faqi.png',
|
|
|
name: '发起活动',
|
|
|
background: "background-image:linear-gradient(#FF9549,#FCB07B)",
|
|
|
path: '/pages/publish/publish',
|
|
|
count: 0
|
|
|
},
|
|
|
{
|
|
|
- icon: '/static/icon/list.png',
|
|
|
+ icon: '/static/icon/qingdan.png',
|
|
|
name: '活动清单',
|
|
|
background: "background-image:linear-gradient(#5892F7,#67BBF9)",
|
|
|
path: '/pages/activity/activity',
|
|
|
@@ -232,6 +230,12 @@
|
|
|
onLoad() {
|
|
|
this.init()
|
|
|
},
|
|
|
+ onShow() {
|
|
|
+ if (this.canReset) {
|
|
|
+ this.getStatistic()
|
|
|
+ }
|
|
|
+ this.canReset=true
|
|
|
+ },
|
|
|
methods: {
|
|
|
logout(){
|
|
|
this.$dialog.showModal('确定要退出吗?').then(res=>{
|
|
|
@@ -463,20 +467,7 @@
|
|
|
font-weight: 800;
|
|
|
}
|
|
|
|
|
|
- .icon {
|
|
|
- width: 120rpx;
|
|
|
- height: 120rpx;
|
|
|
- display: flex;
|
|
|
- justify-content: center;
|
|
|
- align-items: center;
|
|
|
- border-radius: 20rpx;
|
|
|
- padding: 20rpx;
|
|
|
|
|
|
- image {
|
|
|
- width: 60rpx;
|
|
|
- height: 60rpx;
|
|
|
- }
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
.system {
|