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>
<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>
</template>
@@ -22,8 +10,7 @@ export default {
appName: '强国积分',
data() {
return {
show: false,
value: '',
}
},
onShow() {},

View File

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

View File

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

View File

@@ -3,7 +3,7 @@
<div class="user">
<div class="pic">
<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 class="info">
<div class="name">{{ data.name }}</div>
@@ -120,6 +120,7 @@ export default {
height: 96px;
margin-right: 10px;
img {
border-radius: 50%;
width: 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="userpic">
<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 class="user-info">
<p class="name">{{ item.name }}</p>
@@ -64,6 +64,7 @@ export default {
height: 96px;
margin-right: 10px;
img {
border-radius: 50%;
width: 100%;
height: 100%;
}

View File

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB