Commit 34c253ce authored by liwei's avatar liwei

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

parent 3c3b8675
......@@ -125,8 +125,8 @@
watch: {
info: {
handler(newValue) {
if (newValue?.pictureUrls?.length) {
this.imgs = newValue.pictureUrls
if (newValue?.url?.length) {
this.imgs = newValue.url
}
},
deep: true,
......
......@@ -145,8 +145,8 @@
item.memAvatar = item.memAvatar.replace(/\\/g, '/')
}
//处理动态照片
if (item.pictureUrls != null){
item.pictureUrls = item.pictureUrls.replace(/\\/g, '/').split(',')
if (item.url != null){
item.url = item.url.replace(/\\/g, '/').split(',')
}
//处理性别
item.memSex = getValue('sex',item.memSex)
......
......@@ -71,9 +71,8 @@
],
//当前tab
current: 1,
arr: [],
total: 0,
num: 0,
//登录弹窗
isLoginPop: false
};
},
......
This diff is collapsed.
......@@ -101,11 +101,17 @@
<view class="card" style="height: auto;"
v-if="(userData.articleImg !== null && userData.articleImg.length) || userData.articleContent !== null">
<view class="content">
<view class="have_image">
<image :src="baseUrl+'/user/106.svg'" mode="aspectFill"/>
<view class="title" style="font-family: SC-Bold;">
我的动态
</view>
<view class="have_image_two">
<view class="have_image_title">
<image :src="baseUrl+'/user/106.svg'" mode="aspectFill"/>
<view class="title" style="font-family: SC-Bold;">
我的动态
</view>
</view>
<view class="boxsname2">
查看更多
<u-icon name="arrow-right" size="13" bold="true"></u-icon>
</view>
</view>
<view class="strs" v-if="userData.articleContent !== null">
{{userData.articleContent}}
......@@ -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 {
font-size: 28rpx;
margin-top: 26rpx;
......
......@@ -160,7 +160,7 @@
};
</script>
<style lang="scss">
<style lang="scss" scoped>
page {
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