Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cust-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李伟
cust-app
Commits
34c253ce
Commit
34c253ce
authored
Jan 12, 2025
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
规范化了我的页面的css样式名称
parent
3c3b8675
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
554 additions
and
434 deletions
+554
-434
Item.vue
pages/components/article/Item.vue
+2
-2
List.vue
pages/components/article/List.vue
+2
-2
article.vue
pages/tab/article.vue
+1
-2
my.vue
pages/tab/my.vue
+506
-422
userInfo.vue
pagesUser/userInfo.vue
+42
-5
index.vue
pageslogin/index.vue
+1
-1
No files found.
pages/components/article/Item.vue
View file @
34c253ce
...
@@ -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
,
...
...
pages/components/article/List.vue
View file @
34c253ce
...
@@ -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
)
...
...
pages/tab/article.vue
View file @
34c253ce
...
@@ -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
};
};
},
},
...
...
pages/tab/my.vue
View file @
34c253ce
This diff is collapsed.
Click to expand it.
pagesUser/userInfo.vue
View file @
34c253ce
...
@@ -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
;
...
...
pageslogin/index.vue
View file @
34c253ce
...
@@ -160,7 +160,7 @@
...
@@ -160,7 +160,7 @@
};
};
</
script
>
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
page
{
page
{
height
:
100%
;
height
:
100%
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment