|
@@ -29,7 +29,6 @@
|
|
|
<view class="status-card-item" v-for="(listItem, listIndex) in adminList" :key="listIndex"
|
|
|
@click="onClick(listItem)">
|
|
|
<view class="grid-img-box">
|
|
|
- <!-- <img :src="listItem.iconName" alt="" style="width: 52rpx;height: 52rpx;"> -->
|
|
|
<up-icon :name="listItem.iconName" color="rgba(51, 51, 51, 1)" size="25" ></up-icon>
|
|
|
</view>
|
|
|
<text class="grid-text">{{ listItem.name }}</text>
|
|
@@ -40,7 +39,6 @@
|
|
|
<view class="status-card-item" v-for="(listItem, listIndex) in userList" :key="listIndex"
|
|
|
@click="onClick(listItem)">
|
|
|
<view class="grid-img-box">
|
|
|
- <!-- <img :src="listItem.iconName" alt="" style="width: 52rpx;height: 52rpx;"> -->
|
|
|
<up-icon :name="listItem.iconName" :size="22"></up-icon>
|
|
|
</view>
|
|
|
<text class="grid-text">{{ listItem.name }}</text>
|
|
@@ -142,34 +140,11 @@ const userType = uni.getStorageSync('userType') //读取本地存储
|
|
|
|
|
|
const adminList = ref(
|
|
|
[
|
|
|
- // {
|
|
|
- // name: '待服务',
|
|
|
- // iconName: '/static/serverImg/mine/icon1.png',
|
|
|
- // page: '/pages/classify',
|
|
|
- // value: 1
|
|
|
- // },
|
|
|
- // {
|
|
|
- // name: '进行中',
|
|
|
- // iconName: '/static/serverImg/mine/icon2.png',
|
|
|
- // page: '/pages/classify',
|
|
|
- // value: 2
|
|
|
- // },
|
|
|
- // {
|
|
|
- // name: '已完成',
|
|
|
- // iconName: '/static/serverImg/mine/icon3.png',
|
|
|
- // page: '/pages/classify',
|
|
|
- // value: 3
|
|
|
- // },
|
|
|
{
|
|
|
name: '差评申述',
|
|
|
iconName: 'chat',
|
|
|
page: '/pages_mine/pages/bad/index'
|
|
|
},
|
|
|
- // {
|
|
|
- // name: '钱包',
|
|
|
- // iconName: '/static/serverImg/mine/icon5.png',
|
|
|
- // page: '/pages_mine/pages/wallet/index'
|
|
|
- // },
|
|
|
{
|
|
|
name: '帮助与客服',
|
|
|
iconName: 'kefu-ermai',
|
|
@@ -226,12 +201,17 @@ const userList = ref(
|
|
|
},
|
|
|
{
|
|
|
name: '地址',
|
|
|
- iconName: 'kefu-ermai',
|
|
|
+ iconName: 'map',
|
|
|
page: '/pages_mine/pages/selectAddress/index'
|
|
|
},
|
|
|
{
|
|
|
name: '志愿者',
|
|
|
- iconName: 'kefu-ermai',
|
|
|
+ iconName: 'account',
|
|
|
+ operate:()=>{
|
|
|
+ uni.reLaunch({
|
|
|
+ url: '/pages/UserSelection'
|
|
|
+ });
|
|
|
+ }
|
|
|
},
|
|
|
]);
|
|
|
|
|
@@ -334,9 +314,10 @@ const init = async() => {
|
|
|
overflow-y: auto;
|
|
|
|
|
|
.mine-header {
|
|
|
- padding: 42rpx 44rpx;
|
|
|
+ padding: 36rpx 44rpx;
|
|
|
background: #fff;
|
|
|
display: flex;
|
|
|
+
|
|
|
|
|
|
.header-info {
|
|
|
display: flex;
|
|
@@ -495,7 +476,7 @@ const init = async() => {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
- margin-bottom: 18rpx;
|
|
|
+ margin-bottom: 12rpx;
|
|
|
}
|
|
|
|
|
|
.grid-text {
|
|
@@ -577,6 +558,6 @@ const init = async() => {
|
|
|
font-weight: 400;
|
|
|
line-height: 48rpx;
|
|
|
color: rgba(51, 51, 51, 1);
|
|
|
- margin-bottom: 32rpx;
|
|
|
+ margin-bottom: 8rpx;
|
|
|
}
|
|
|
</style>
|