Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
swx_weapp
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
hookehuyr
2022-11-03 11:18:35 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2951c9882fe4dd57148495ff44a8855fa9b78e07
2951c988
1 parent
dc5a5be0
🐞 fix: 列表右边状态tag长度优化
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
src/pages/joinList/index.vue
src/pages/userAdd/index.vue
src/pages/userManage/index.vue
src/pages/userSearch/index.vue
src/pages/joinList/index.vue
View file @
2951c98
...
...
@@ -50,7 +50,7 @@
<view v-if="item.avatar" @tap="goToUserInfo(item.member_id)" class="avatar" :style="{ backgroundImage: `url(${item.avatar})` }"></view>
<view v-else @tap="goToUserInfo(item.member_id)" class="avatar" :style="{ backgroundImage: `url('https://img.yzcdn.cn/vant/cat.jpeg')` }"></view>
</van-col>
<van-col span="1
4
">
<van-col span="1
3
">
<view class="content">
<view class="title">{{ item.name }}</view>
<view class="phone" @tap="onPhoneClick(item.phone)">
...
...
@@ -59,7 +59,7 @@
</view>
</view>
</van-col>
<van-col span="
4
">
<van-col span="
5
">
<van-tag @tap="changeStatus('apply', item.id)" v-if="item.status === 'apply'" :round="true" color="#D7F3FF" text-color="#0091FD" size="large">已报名</van-tag>
<van-tag @tap="changeStatus('enable', item.id)" v-if="item.status === 'enable'" :round="true" color="#D7FFD7" text-color="#019200" size="large">已签到</van-tag>
<van-tag @tap="changeStatus('absent', item.id)" v-if="item.status === 'absent'" :round="true" color="#FFF5E4" text-color="#FF7300" size="large">未出席</van-tag>
...
...
src/pages/userAdd/index.vue
View file @
2951c98
<!--
* @Date: 2022-09-19 14:11:06
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-1
0-25 13:07:53
* @LastEditTime: 2022-1
1-03 11:17:21
* @FilePath: /swx/src/pages/userAdd/index.vue
* @Description: 文件描述
-->
...
...
@@ -31,7 +31,7 @@
<van-col span="6">
<view class="avatar" :style="{ backgroundImage: `url(${item.avatar ? item.avatar : 'http://gyzs.onwall.cn/tou%402x.png'})`, position: 'relative' }"></view>
</van-col>
<van-col span="1
4
">
<van-col span="1
3
">
<view class="content">
<view class="title">{{ item.name }}</view>
<view style="color: #199A74; margin-top: 0.5rem;" class="phone" @tap="onPhoneClick(item.phone)">
...
...
@@ -40,7 +40,7 @@
</view>
</view>
</van-col>
<van-col span="
4
">
<van-col span="
5
">
<view style="margin-top: 0.5rem;">
<van-tag v-if="!item.partner" :round="true" color="#FFF5E4" text-color="#FF7808" size="large">待分配
</van-tag>
...
...
src/pages/userManage/index.vue
View file @
2951c98
...
...
@@ -67,7 +67,7 @@
<van-col span="6">
<view @tap="goToUserInfo(item.id)" class="avatar" :style="{ backgroundImage: `url(${item.avatar ? item.avatar : 'http://gyzs.onwall.cn/tou%402x.png'})`, position: 'relative' }"></view>
</van-col>
<van-col span="1
4
">
<van-col span="1
3
">
<view class="content">
<view class="title">{{ item.name }}</view>
<view style="color: #199A74; margin-top: 0.5rem;" class="phone" @tap="onPhoneClick(item.phone)">
...
...
@@ -76,7 +76,7 @@
</view>
</view>
</van-col>
<van-col span="
4
">
<van-col span="
5
">
<view v-if="item.role === 'player'" style="margin-top: 0.5rem;">
<van-tag v-if="!item.partner" :round="true" color="#FFF5E4" text-color="#FF7808" size="large">待分配</van-tag>
<van-tag v-else :round="true" color="#D7FFD7" text-color="#019200" size="large">已分配</van-tag>
...
...
src/pages/userSearch/index.vue
View file @
2951c98
<!--
* @Date: 2022-09-19 14:11:06
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-1
0-25 12:59:30
* @LastEditTime: 2022-1
1-03 11:17:49
* @FilePath: /swx/src/pages/userSearch/index.vue
* @Description: 文件描述
-->
...
...
@@ -30,7 +30,7 @@
<van-col span="6">
<view class="avatar" :style="{ backgroundImage: `url(${item.avatar})`, position: 'relative' }"></view>
</van-col>
<van-col span="1
4
">
<van-col span="1
3
">
<view class="content">
<view class="title">{{ item.name }}</view>
<view style="color: #199A74; margin-top: 0.5rem;" class="phone" @tap="onPhoneClick(item.phone)">
...
...
@@ -39,7 +39,7 @@
</view>
</view>
</van-col>
<van-col span="
4
">
<van-col span="
5
">
<view style="margin-top: 0.5rem;">
<van-tag v-if="item.status === '1'" :round="true" color="#FFF5E4" text-color="#FF7808" size="large">待分配</van-tag>
<van-tag v-else :round="true" color="#D7FFD7" text-color="#019200" size="large">已分配</van-tag>
...
...
Please
register
or
login
to post a comment