Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
intel_promotion_uniapp
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
刘怀志
intel_promotion_uniapp
Commits
cd520015
Commit
cd520015
authored
Jan 08, 2025
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改页面样式
parent
675fc4ba
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
92 additions
and
104 deletions
+92
-104
detail.vue
pages/myArticle/detail.vue
+0
-1
index.vue
pages/myArticle/index.vue
+43
-48
index.vue
pages/myVedio/index.vue
+46
-52
index.vue
pages/shop/index.vue
+3
-3
No files found.
pages/myArticle/detail.vue
View file @
cd520015
...
@@ -8,7 +8,6 @@
...
@@ -8,7 +8,6 @@
</view>
</view>
<view
class=
"date"
>
{{
articleInfo
.
releaseDate
}}
</view>
<view
class=
"date"
>
{{
articleInfo
.
releaseDate
}}
</view>
</view>
</view>
<view
class=
"detail"
>
<view
class=
"detail"
>
<view
v-html=
"articleInfo.details"
></view>
<view
v-html=
"articleInfo.details"
></view>
</view>
</view>
...
...
pages/myArticle/index.vue
View file @
cd520015
...
@@ -6,18 +6,13 @@
...
@@ -6,18 +6,13 @@
<view
class=
"cardtitle"
@
click=
"toDetail(item.businessId)"
>
<view
class=
"cardtitle"
@
click=
"toDetail(item.businessId)"
>
<view
class=
"cardtitle1"
>
{{
item
.
title
}}
</view>
<view
class=
"cardtitle1"
>
{{
item
.
title
}}
</view>
<view
class=
"cardtitle2"
>
{{
item
.
details
.
replace
(
/<
[^
>
]
*>/g
,
''
)
}}
</view>
<view
class=
"cardtitle2"
>
{{
item
.
details
.
replace
(
/<
[^
>
]
*>/g
,
''
)
}}
</view>
<view
class=
"cardtitle2"
>
推广量:
{{
item
.
readNum
||
'-'
}}
</view>
<view
style=
"color: rgb(191, 191, 191)"
>
推广量:
{{
item
.
readNum
||
'-'
}}
</view>
<!--
<view
class=
"cardtitle3"
>
¥
{{
formatPrice
(
item
.
price
)
}}
</view>
-->
</view>
</view>
</view>
</view>
<u-loadmore
:status=
"articleStatus"
/>
<u-loadmore
:status=
"articleStatus"
/>
</view>
</view>
<view
v-else
style=
"margin-top: 200rpx;"
>
<view
v-else
style=
"margin-top: 200rpx;"
>
<u-empty
<u-empty
mode=
"data"
></u-empty>
mode=
"data"
>
</u-empty>
</view>
</view>
</view>
</view>
</
template
>
</
template
>
...
@@ -122,10 +117,10 @@
...
@@ -122,10 +117,10 @@
padding
:
22
rpx
;
padding
:
22
rpx
;
}
}
.cardimage
{
.cardimage
{
width
:
21
0
rpx
!important
;
width
:
26
0
rpx
!important
;
height
:
21
0
rpx
!important
;
height
:
18
0
rpx
!important
;
border-radius
:
8px
8px
8px
8px
;
border-radius
:
8px
8px
8px
8px
;
margin-right
:
22
rpx
;
margin-right
:
25
rpx
;
/* margin: 22rpx; */
/* margin: 22rpx; */
}
}
.cardtitle
{
.cardtitle
{
...
@@ -136,9 +131,9 @@
...
@@ -136,9 +131,9 @@
font-family
:
Source
Han
Sans
CN-Medium
,
Source
Han
Sans
CN
;
font-family
:
Source
Han
Sans
CN-Medium
,
Source
Han
Sans
CN
;
font-weight
:
500
;
font-weight
:
500
;
color
:
#333333
;
color
:
#333333
;
margin-bottom
:
3
0
rpx
;
margin-bottom
:
2
0
rpx
;
overflow
:
hidden
;
overflow
:
hidden
;
-webkit-line-clamp
:
2
;
-webkit-line-clamp
:
1
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
display
:
-webkit-box
;
display
:
-webkit-box
;
-webkit-box-orient
:
vertical
;
-webkit-box-orient
:
vertical
;
...
@@ -147,10 +142,10 @@
...
@@ -147,10 +142,10 @@
font-size
:
14px
;
font-size
:
14px
;
font-family
:
Source
Han
Sans
CN-Regular
,
Source
Han
Sans
CN
;
font-family
:
Source
Han
Sans
CN-Regular
,
Source
Han
Sans
CN
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#666666
;
color
:
rgb
(
191
,
191
,
191
)
;
/* margin-bottom: 30rpx; */
margin-bottom
:
40
rpx
;
overflow
:
hidden
;
overflow
:
hidden
;
-webkit-line-clamp
:
2
;
-webkit-line-clamp
:
1
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
display
:
-webkit-box
;
display
:
-webkit-box
;
-webkit-box-orient
:
vertical
;
-webkit-box-orient
:
vertical
;
...
...
pages/myVedio/index.vue
View file @
cd520015
...
@@ -5,21 +5,15 @@
...
@@ -5,21 +5,15 @@
<image
:src=
"item.path"
class=
"cardimage"
@
click=
"toDetail(item.businessId)"
></image>
<image
:src=
"item.path"
class=
"cardimage"
@
click=
"toDetail(item.businessId)"
></image>
<view
class=
"cardtitle"
@
click=
"toDetail(item.businessId)"
>
<view
class=
"cardtitle"
@
click=
"toDetail(item.businessId)"
>
<view
class=
"cardtitle1"
>
{{
item
.
videoTitle
}}
</view>
<view
class=
"cardtitle1"
>
{{
item
.
videoTitle
}}
</view>
<view
class=
"cardtitle1"
>
推广量:
{{
item
.
readNum
||
'-'
}}
</view>
<view
style=
"color: rgb(191, 191, 191);padding-top: 80rpx"
>
推广量:
{{
item
.
readNum
||
'-'
}}
</view>
<!--
<view
class=
"cardtitle2"
>
{{
item
.
details
.
replace
(
/<
[^
>
]
*>/g
,
''
)
}}
</view>
-->
<!--
<view
class=
"cardtitle3"
>
¥
{{
formatPrice
(
item
.
price
)
}}
</view>
-->
</view>
</view>
</view>
</view>
<u-loadmore
:status=
"status"
/>
<u-loadmore
:status=
"status"
/>
</view>
</view>
<view
v-else
style=
"margin-top: 200rpx;"
>
<view
v-else
style=
"margin-top: 200rpx;"
>
<u-empty
<u-empty
mode=
"data"
>
mode=
"data"
>
</u-empty>
</u-empty>
</view>
</view>
</view>
</view>
</
template
>
</
template
>
...
@@ -129,10 +123,10 @@
...
@@ -129,10 +123,10 @@
padding
:
22
rpx
;
padding
:
22
rpx
;
}
}
.cardimage
{
.cardimage
{
width
:
21
0
rpx
!important
;
width
:
26
0
rpx
!important
;
height
:
21
0
rpx
!important
;
height
:
18
0
rpx
!important
;
border-radius
:
8px
8px
8px
8px
;
border-radius
:
8px
8px
8px
8px
;
margin-right
:
22
rpx
;
margin-right
:
25
rpx
;
/* margin: 22rpx; */
/* margin: 22rpx; */
}
}
.cardtitle
{
.cardtitle
{
...
@@ -143,9 +137,9 @@
...
@@ -143,9 +137,9 @@
font-family
:
Source
Han
Sans
CN-Medium
,
Source
Han
Sans
CN
;
font-family
:
Source
Han
Sans
CN-Medium
,
Source
Han
Sans
CN
;
font-weight
:
500
;
font-weight
:
500
;
color
:
#333333
;
color
:
#333333
;
margin-bottom
:
3
0
rpx
;
margin-bottom
:
2
0
rpx
;
overflow
:
hidden
;
overflow
:
hidden
;
-webkit-line-clamp
:
2
;
-webkit-line-clamp
:
1
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
display
:
-webkit-box
;
display
:
-webkit-box
;
-webkit-box-orient
:
vertical
;
-webkit-box-orient
:
vertical
;
...
@@ -154,10 +148,10 @@
...
@@ -154,10 +148,10 @@
font-size
:
14px
;
font-size
:
14px
;
font-family
:
Source
Han
Sans
CN-Regular
,
Source
Han
Sans
CN
;
font-family
:
Source
Han
Sans
CN-Regular
,
Source
Han
Sans
CN
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#666666
;
color
:
rgb
(
191
,
191
,
191
)
;
/* margin-bottom: 30rpx; */
margin-bottom
:
40
rpx
;
overflow
:
hidden
;
overflow
:
hidden
;
-webkit-line-clamp
:
2
;
-webkit-line-clamp
:
1
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
display
:
-webkit-box
;
display
:
-webkit-box
;
-webkit-box-orient
:
vertical
;
-webkit-box-orient
:
vertical
;
...
...
pages/shop/index.vue
View file @
cd520015
...
@@ -18,9 +18,9 @@
...
@@ -18,9 +18,9 @@
<image
class=
"smallicon"
src=
"../../static/img/image/home_icon_remen@2x.png"
></image>
<image
class=
"smallicon"
src=
"../../static/img/image/home_icon_remen@2x.png"
></image>
<span>
推荐
</span>
<span>
推荐
</span>
</view>
</view>
<view
style=
"width:5
0
%; margin-top: 25rpx; display: flex;justify-content: space-between;"
>
<view
style=
"width:5
5
%; margin-top: 25rpx; display: flex;justify-content: space-between;"
>
<button
style=
"width: 1
5
0rpx;height: 80rpx;font-size: 15px"
@
click=
"onButtonClicked(0)"
:class=
"
{ active: curNow === 0 }">文章
</button>
<button
style=
"width: 1
7
0rpx;height: 80rpx;font-size: 15px"
@
click=
"onButtonClicked(0)"
:class=
"
{ active: curNow === 0 }">文章
</button>
<button
style=
"width: 1
5
0rpx;height: 80rpx;font-size: 15px"
@
click=
"onButtonClicked(1)"
:class=
"
{ active: curNow === 1 }">视频
</button>
<button
style=
"width: 1
7
0rpx;height: 80rpx;font-size: 15px"
@
click=
"onButtonClicked(1)"
:class=
"
{ active: curNow === 1 }">视频
</button>
</view>
</view>
</view>
</view>
<view
v-if=
"curNow === 0 && hotList.length > 0"
>
<view
v-if=
"curNow === 0 && hotList.length > 0"
>
...
...
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