Browse Source

对接接口

master
前端-胡立永 2 months ago
parent
commit
dd3fbd9dcd
1 changed files with 14 additions and 12 deletions
  1. +14
    -12
      pages/index/center.vue

+ 14
- 12
pages/index/center.vue View File

@ -4,7 +4,7 @@
<div class="user-info">
<div class="user-box">
<div class="user-img">
<image :src="userInfo.headImage" mode="widthFix"></image>
<image :src="userInfo.headImage" mode="aspectFill"></image>
</div>
<div class="base">
<div class="user-name" v-if="userInfo.auth">{{ userInfo.auth.name }}</div>
@ -22,40 +22,40 @@
<uv-cell-group :border="false">
<uv-cell @click="clickMenu(1)" title="打卡记录" isLink arrow-direction="right" center>
<template v-slot:icon>
<image style="width: 30rpx;"
<image style="width: 30rpx;height: 30rpx;"
src="/static/image/center/2.png"
mode="widthFix"></image>
mode="aspectFill"></image>
</template>
</uv-cell>
<uv-cell @click="clickMenu(2)" icon="setting-fill" isLink arrow-direction="right" title="实名认证" center>
<template v-slot:icon>
<image style="width: 30rpx;"
<image style="width: 30rpx;height: 30rpx;"
src="/static/image/center/2.png"
mode="widthFix"></image>
mode="aspectFill"></image>
</template>
</uv-cell>
<uv-cell @click="$store.commit('logout')" icon="setting-fill" isLink arrow-direction="right"
title="退出登录" center>
<template v-slot:icon>
<image style="width: 30rpx;"
<image style="width: 30rpx;height: 30rpx;"
src="/static/image/center/3.png"
mode="widthFix"></image>
mode="aspectFill"></image>
</template>
</uv-cell>
<uv-cell @click="clickMenu" icon="integral-fill" title="版本" value="版本1.0" center>
<template v-slot:icon>
<image style="width: 30rpx;"
<image style="width: 30rpx;height: 30rpx;"
src="/static/image/center/4.png"
mode="widthFix"></image>
mode="aspectFill"></image>
</template>
</uv-cell>
<uv-cell @click="setting"
v-if="userInfo.adminFlag"
icon="integral-fill" title="项目管理" isLink center>
<template v-slot:icon>
<image style="width: 30rpx;"
<image style="width: 30rpx;height: 30rpx;"
src="/static/image/center/4.png"
mode="widthFix"></image>
mode="aspectFill"></image>
</template>
</uv-cell>
</uv-cell-group>
@ -145,7 +145,9 @@
overflow: hidden;
image {
width: 100%;
width: 130rpx;
height: 130rpx;
border-radius: 20rpx;
}
}


Loading…
Cancel
Save