Commit 34c253ce authored by liwei's avatar liwei

规范化了我的页面的css样式名称

parent 3c3b8675
...@@ -125,8 +125,8 @@ ...@@ -125,8 +125,8 @@
watch: { watch: {
info: { info: {
handler(newValue) { handler(newValue) {
if (newValue?.pictureUrls?.length) { if (newValue?.url?.length) {
this.imgs = newValue.pictureUrls this.imgs = newValue.url
} }
}, },
deep: true, deep: true,
......
...@@ -145,8 +145,8 @@ ...@@ -145,8 +145,8 @@
item.memAvatar = item.memAvatar.replace(/\\/g, '/') item.memAvatar = item.memAvatar.replace(/\\/g, '/')
} }
//处理动态照片 //处理动态照片
if (item.pictureUrls != null){ if (item.url != null){
item.pictureUrls = item.pictureUrls.replace(/\\/g, '/').split(',') item.url = item.url.replace(/\\/g, '/').split(',')
} }
//处理性别 //处理性别
item.memSex = getValue('sex',item.memSex) item.memSex = getValue('sex',item.memSex)
......
...@@ -71,9 +71,8 @@ ...@@ -71,9 +71,8 @@
], ],
//当前tab //当前tab
current: 1, current: 1,
arr: [],
total: 0,
num: 0, num: 0,
//登录弹窗
isLoginPop: false isLoginPop: false
}; };
}, },
......
This diff is collapsed.
...@@ -101,11 +101,17 @@ ...@@ -101,11 +101,17 @@
<view class="card" style="height: auto;" <view class="card" style="height: auto;"
v-if="(userData.articleImg !== null && userData.articleImg.length) || userData.articleContent !== null"> v-if="(userData.articleImg !== null && userData.articleImg.length) || userData.articleContent !== null">
<view class="content"> <view class="content">
<view class="have_image"> <view class="have_image_two">
<image :src="baseUrl+'/user/106.svg'" mode="aspectFill"/> <view class="have_image_title">
<view class="title" style="font-family: SC-Bold;"> <image :src="baseUrl+'/user/106.svg'" mode="aspectFill"/>
我的动态 <view class="title" style="font-family: SC-Bold;">
</view> 我的动态
</view>
</view>
<view class="boxsname2">
查看更多
<u-icon name="arrow-right" size="13" bold="true"></u-icon>
</view>
</view> </view>
<view class="strs" v-if="userData.articleContent !== null"> <view class="strs" v-if="userData.articleContent !== null">
{{userData.articleContent}} {{userData.articleContent}}
...@@ -671,6 +677,37 @@ ...@@ -671,6 +677,37 @@
} }
} }
.have_image_two {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 28rpx;
font-weight: bold;
.have_image_title{
display: flex;
align-items: center;
}
image {
width: 28rpx;
height: 28rpx;
}
.title {
padding-left: 12rpx;
}
.boxsname2{
display: flex;
height: 40rpx;
font-size: 28rpx;
font-family: 'PingFang SC-Heavy';
font-weight: bolder;
color: rgba(45, 49, 50, 0.9);
line-height: 40rpx;
margin-right: 42rpx;
}
}
.one { .one {
font-size: 28rpx; font-size: 28rpx;
margin-top: 26rpx; margin-top: 26rpx;
......
...@@ -160,7 +160,7 @@ ...@@ -160,7 +160,7 @@
}; };
</script> </script>
<style lang="scss"> <style lang="scss" scoped>
page { page {
height: 100%; height: 100%;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment