调整样式
This commit is contained in:
@@ -79,7 +79,7 @@
|
||||
console.log(e)
|
||||
},
|
||||
onShow() {
|
||||
// this.queryList(1, 10)
|
||||
this.queryList(1, 10)
|
||||
uni.setTabBarItem({
|
||||
index: 0,
|
||||
text: this.$t('tabbar.home')
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
</view>
|
||||
<view class="code">
|
||||
<image :src="imageSrcewm" mode="" crossOrigin="anonymous" ></image>
|
||||
<view>{{userinfo.socialize}}</view>
|
||||
<view>{{userinfo.socialize==null||userinfo.socialize=='null'?'':userinfo.socialize}}</view>
|
||||
</view>
|
||||
<!-- <view class="code" :class=" activeImg === share_one ? 'code_one' : activeImg === share_two ? 'code_two' : activeImg === share_three ? 'code_three' : 'code_one'">
|
||||
<qrcode-vue :value="codeUrl" :size="70"></qrcode-vue>
|
||||
@@ -86,6 +86,7 @@
|
||||
that.userinfo = res.data.data;
|
||||
that.downloadImageToLocal(res.data.data.avatar_url,'imageSrc')
|
||||
that.downloadImageToLocal(res.data.data.socialize_pic_url,'imageSrcewm')
|
||||
|
||||
})
|
||||
},
|
||||
async downloadImageToLocal(imageUrl,item) {
|
||||
@@ -191,6 +192,9 @@
|
||||
justify-content: space-between;
|
||||
flex: 1;
|
||||
margin: 0px 25px 0px 0px;
|
||||
.left{
|
||||
text-align: left;
|
||||
}
|
||||
.title{
|
||||
color: #3C4169;
|
||||
font-size: 28px;
|
||||
@@ -206,7 +210,8 @@
|
||||
background: #3C4169;
|
||||
border-radius: 18px;
|
||||
margin-left: 20px;
|
||||
padding: 2px 15px;
|
||||
padding: 3px 15px;
|
||||
display: inline-block;
|
||||
}
|
||||
image{
|
||||
width: 100px;
|
||||
|
||||
Reference in New Issue
Block a user