|
@@ -15,7 +15,7 @@
|
|
|
</view>
|
|
|
<view class="userinfo-right">
|
|
|
<navigator :url="isCode?'/cloud/businessCard/index':'/cloud/businessCard/edit?origin=my&id='+userInfoValue.userid" class="info-card" @click="goEdit">
|
|
|
- <image class="image" src="/static/workbench/个人名片.svg" mode="widthFix"></image>
|
|
|
+ <image class="image" src="/static/workbench/个人名片.svg" mode="widthFix" ></image>
|
|
|
<text class="title">{{isCode?'个人名片':'个人信息'}}</text>
|
|
|
</navigator>
|
|
|
<contact>
|
|
@@ -34,8 +34,8 @@
|
|
|
|
|
|
<script>
|
|
|
import contact from "../../../components/contact"
|
|
|
-export default {
|
|
|
- components:{contact},
|
|
|
+export default {
|
|
|
+ components:{contact},
|
|
|
props:{
|
|
|
isCode: {
|
|
|
type:Boolean,
|
|
@@ -56,6 +56,9 @@ export default {
|
|
|
this.$emit('upData',id)
|
|
|
delete this.$Http.editUser
|
|
|
}.bind(this)
|
|
|
+ this.$emit('selfCardClick')
|
|
|
+ },
|
|
|
+ selfCardClick () {
|
|
|
}
|
|
|
},
|
|
|
}
|
|
@@ -131,8 +134,11 @@ export default {
|
|
|
font-family: Source Han Sans SC, Source Han Sans SC;
|
|
|
.info-card {
|
|
|
cursor: pointer;
|
|
|
+ border-radius: 5px;
|
|
|
+ box-sizing: border-box;
|
|
|
+ padding: 5px;
|
|
|
&:nth-child(1),&:nth-child(2) {
|
|
|
- margin-right: 23px;
|
|
|
+ margin-right: 5px;
|
|
|
}
|
|
|
display: flex;
|
|
|
flex-direction: column;
|