This commit is contained in:
shijingjing
2022-04-20 15:37:08 +08:00
parent 81068c24dd
commit 9e26794b24
7 changed files with 16 additions and 20 deletions

View File

@@ -1,18 +1,6 @@
<template> <template>
<div class="AppGreatPowerIntegral"> <div class="AppGreatPowerIntegral">
<u-button type="primary" class="" @click="show = true" >按钮</u-button>
<!-- 弹框 -->
<u-popup v-model="show" mode="center" :closeable="false">
<div class="dialog">
<u-input v-model="value" :type="number" :border="true" />
<div style="display: flex;">
<u-button type="primary" >取消</u-button>
<u-button type="primary" >确认</u-button>
</div>
</div>
</u-popup>
</div> </div>
</template> </template>
@@ -22,8 +10,7 @@ export default {
appName: '强国积分', appName: '强国积分',
data() { data() {
return { return {
show: false,
value: '',
} }
}, },
onShow() {}, onShow() {},

View File

@@ -76,7 +76,7 @@ export default {
} }
}).then(res => { }).then(res => {
if(res?.data) { if(res?.data) {
this.form = res.data this.form = {...res.data}
} }
}) })
}, },

View File

@@ -3,8 +3,8 @@
<div class="card-list"> <div class="card-list">
<div class="item" v-for="(item, index) in familyList" :key="index" @click="$linkTo(`./memberInfo?id=${item.id}`)"> <div class="item" v-for="(item, index) in familyList" :key="index" @click="$linkTo(`./memberInfo?id=${item.id}`)">
<div class="userpic"> <div class="userpic">
<img src="../static/avatar.png" alt="" v-if="item.photo"> <img :src="item.photo" alt="" v-if="item.photo">
<img src="../static/avatar.png" alt="" v-else> <img src="https://cdn.cunwuyun.cn/dvcp/myFamily/tx.png" alt="" v-else>
</div> </div>
<div class="user-info"> <div class="user-info">
<p class="name">{{ item.name }}</p> <p class="name">{{ item.name }}</p>
@@ -69,6 +69,7 @@ export default {
height: 96px; height: 96px;
margin-right: 10px; margin-right: 10px;
img { img {
border-radius: 50%;
width: 100%; width: 100%;
height: 100%; height: 100%;
} }

View File

@@ -3,7 +3,7 @@
<div class="user"> <div class="user">
<div class="pic"> <div class="pic">
<img :src="data.photo" alt="" v-if="data.photo"> <img :src="data.photo" alt="" v-if="data.photo">
<img src="../static/avatar.png" alt="" v-else> <img src="https://cdn.cunwuyun.cn/dvcp/myFamily/tx.png" alt="" v-else>
</div> </div>
<div class="info"> <div class="info">
<div class="name">{{ data.name }}</div> <div class="name">{{ data.name }}</div>
@@ -120,6 +120,7 @@ export default {
height: 96px; height: 96px;
margin-right: 10px; margin-right: 10px;
img { img {
border-radius: 50%;
width: 100%; width: 100%;
height: 100%; height: 100%;
} }

View File

@@ -4,7 +4,7 @@
<div class="item" v-for="(item,index) in userList" :key="index" @click="$linkTo(`./familyInfo?idNumber=${item.idNumber}`)"> <div class="item" v-for="(item,index) in userList" :key="index" @click="$linkTo(`./familyInfo?idNumber=${item.idNumber}`)">
<div class="userpic"> <div class="userpic">
<img :src="item.avatarUrl" v-if="item.avatarUrl" alt=""> <img :src="item.avatarUrl" v-if="item.avatarUrl" alt="">
<img src="../static/avatar.png" v-else alt=""> <img src="https://cdn.cunwuyun.cn/dvcp/myFamily/tx.png" v-else alt="">
</div> </div>
<div class="user-info"> <div class="user-info">
<p class="name">{{ item.name }}</p> <p class="name">{{ item.name }}</p>
@@ -64,6 +64,7 @@ export default {
height: 96px; height: 96px;
margin-right: 10px; margin-right: 10px;
img { img {
border-radius: 50%;
width: 100%; width: 100%;
height: 100%; height: 100%;
} }

View File

@@ -115,6 +115,7 @@ export default {
} }
} }
.btn { .btn {
display: flex;
position: fixed; position: fixed;
bottom: 0; bottom: 0;
left: 0; left: 0;
@@ -125,6 +126,7 @@ export default {
background: #F3F6F9; background: #F3F6F9;
.delBtn, .delBtn,
.editBtn { .editBtn {
flex: 1;
height: 88px; height: 88px;
line-height: 88px; line-height: 88px;
text-align: center; text-align: center;
@@ -132,7 +134,11 @@ export default {
border: 1px solid #FF4466; border: 1px solid #FF4466;
border-radius: 16px; border-radius: 16px;
} }
.delBtn {
margin-right: 10px;
}
.editBtn { .editBtn {
background: #4181FF !important; background: #4181FF !important;
color: #FFF; color: #FFF;
border: none; border: none;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB