|
@@ -1,12 +1,11 @@
|
|
|
<template>
|
|
|
- <view class="mine-container">
|
|
|
-
|
|
|
- <view class="mine-header">
|
|
|
+ <view >
|
|
|
+ <view class="mine-container">
|
|
|
+ <view class="mine-header">
|
|
|
<up-image width="136rpx" height="136rpx" :show-loading="true" :src="userInfo.avatar"></up-image>
|
|
|
<view class="header-info">
|
|
|
<text class="info-name">{{ userInfo.nickName }}</text>
|
|
|
<up-icon name="setting-fill" size="25" @click="handLsetTing" v-if="userType == 1"></up-icon>
|
|
|
- <!-- <text class="info-edit" @click="handLsetTing" v-if="userType == 1">设置></text> -->
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
@@ -39,9 +38,8 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
- <!-- 志愿者 -->
|
|
|
<view class="mine-card status-card" >
|
|
|
- <view class="status-card-item" v-for="(listItem, listIndex) in adminList" :key="listIndex"
|
|
|
+ <view class="status-card-item" v-for="(listItem, listIndex) in adminList" :key="listIndex +'adminList'"
|
|
|
@click="onClick(listItem)">
|
|
|
<view class="grid-img-box">
|
|
|
<up-icon :name="listItem.iconName" color="rgba(51, 51, 51, 1)" size="25"></up-icon>
|
|
@@ -49,23 +47,14 @@
|
|
|
<text class="grid-text">{{ listItem.name }}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <!-- 用户端 -->
|
|
|
- <!-- <view class="mine-card status-card" v-if="userType == 1">
|
|
|
- <view class="status-card-item" v-for="(listItem, listIndex) in userList" :key="listIndex"
|
|
|
- @click="onClick(listItem)">
|
|
|
- <view class="grid-img-box">
|
|
|
- <up-icon :name="listItem.iconName" :size="22"></up-icon>
|
|
|
- </view>
|
|
|
- <text class="grid-text">{{ listItem.name }}</text>
|
|
|
- </view>
|
|
|
- </view> -->
|
|
|
+
|
|
|
|
|
|
<view class="mine-card count-card" >
|
|
|
<view class="count-title">订单统计</view>
|
|
|
<view class="count-list">
|
|
|
- <view class="count-item" v-for="(item, index) in orderList" :key="index" @click="onClick(item)">
|
|
|
+ <view class="count-item" v-for="(item, index) in orderList" :key="index +'orderList'" @click="onClick(item)">
|
|
|
<up-count-to :startVal="0" :endVal="data[item.key]"
|
|
|
- :color="data[item.key] > 0 && 'rgba(221, 94, 69, 1)'"></up-count-to>
|
|
|
+ :color="data[item.key] > 0? 'rgba(221, 94, 69, 1)':''"></up-count-to>
|
|
|
<text class="count-item-text">{{ item.name }}</text>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -83,8 +72,8 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
-
|
|
|
- <custom-tab-bar page="mine" />
|
|
|
+ </view>
|
|
|
+ <CustomTabBar page="mine" />
|
|
|
</view>
|
|
|
</template>
|
|
|
|