Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-customer-new-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-customer-new-master
Commits
87fd3989
Commit
87fd3989
authored
Aug 08, 2024
by
lizhan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
📝
【TASK-20240808-01】TASK:APP活动详情静态页面
parent
569da69b
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
143 additions
and
9 deletions
+143
-9
pages.json
src/pages.json
+6
-0
activity_detail.vue
src/pages/activity_detail/activity_detail.vue
+120
-0
gift.vue
src/pages/integral/components/gift.vue
+5
-6
points.vue
src/pages/integral/components/points.vue
+10
-2
integral.css
src/static/css/integral.css
+2
-1
score_b.png
src/static/img/score_b.png
+0
-0
No files found.
src/pages.json
View file @
87fd3989
...
@@ -273,6 +273,12 @@
...
@@ -273,6 +273,12 @@
"style"
:
{
"style"
:
{
"navigationStyle"
:
"custom"
"navigationStyle"
:
"custom"
}
}
},
{
"path"
:
"pages/activity_detail/activity_detail"
,
"style"
:
{
"navigationStyle"
:
"custom"
}
}
}
],
],
"globalStyle"
:
{
"globalStyle"
:
{
...
...
src/pages/activity_detail/activity_detail.vue
0 → 100644
View file @
87fd3989
<
template
>
<view
class=
"activity_detail"
>
<dHeader
:title=
"'活动详情'"
></dHeader>
<view
class=
"container"
>
<view
class=
"img-box"
>
<image
class=
"img"
src=
"../../static/img/company.png"
></image>
</view>
<view
class=
"container-main"
>
<view
class=
"activity-title"
>
转发领优惠
</view>
<view
class=
"activity-remark"
>
活动时间:2020-12-12 12:12:12活动时间:2020-12-12 12:12:12活动时间:2020-12-12
12:12:12活动时间:2020-12-12 12:12:12活动时间:2020-12-12 12:12:12活动时间:2020-12-12
12:12:12活动时间:2020-12-12 12:12:12活动时间:2020-12-12 12:12:12
</view
>
<view
class=
"activity-cell"
>
<view
class=
"cell-label"
>
积分说明
</view>
<view
class=
"cell-centent"
>
<image
class=
"cell-image"
src=
"../../static/img/score_b.png"
></image>
<view
class=
"cell-text"
>
10
</view>
</view>
</view>
<view
class=
"activity-cell"
>
<view
class=
"cell-label"
>
累计最高积分
</view>
<view
class=
"cell-centent"
>
<image
class=
"cell-image"
src=
"../../static/img/score_b.png"
></image>
<view
class=
"cell-text"
>
100
</view>
</view>
</view>
<view
class=
"activity-cell"
>
<view
class=
"cell-label"
>
有效期
</view>
<view
class=
"cell-centent"
>
2024-12-12 12:12:12
</view>
</view>
<view
class=
"activity-cell"
>
<view
class=
"cell-label"
>
规则说明
</view>
<view
class=
"cell-centent"
>
每转发并邀请1人成功注册并登录获得10积久300
</view>
</view>
</view>
</view>
</view>
</
template
>
<
script
>
import
dHeader
from
'
../../components/dHeader/index.vue
'
export
default
{
components
:
{
dHeader
}
}
</
script
>
<
style
lang=
"scss"
>
page
{
/* #ifdef H5 */
padding-top
:
140upx
;
/* #endif */
/* #ifdef APP-PLUS */
padding-top
:
calc
(
var
(
--
status-bar-height
)
+
100upx
);
/* #endif */
background-color
:
#d4e5fe
;
}
.container
{
padding
:
20upx
;
background-color
:
#fff
;
border-radius
:
20upx
;
}
.img-box
{
width
:
100%
;
height
:
400upx
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
.img
{
width
:
100%
;
height
:
100%
;
object-fit
:
cover
;
}
}
.container-main
{
padding
:
12upx
;
}
.activity-title
{
font-size
:
28upx
;
height
:
84upx
;
display
:
flex
;
align-items
:
center
;
color
:
var
(
--
c2
);
}
.activity-remark
{
font-size
:
24upx
;
color
:
#7f7f7f
;
}
.activity-cell
{
margin-top
:
20upx
;
width
:
100%
;
display
:
flex
;
justify-content
:
space-between
;
}
.cell-label
{
font-size
:
24upx
;
color
:
#7f7f7f
;
}
.cell-centent
{
max-width
:
60%
;
display
:
flex
;
align-items
:
center
;
flex-wrap
:
wrap
;
font-size
:
24upx
;
color
:
#7f7f7f
;
}
.cell-image
{
width
:
24upx
;
height
:
24upx
;
}
.cell-text
{
margin-left
:
6upx
;
font-weight
:
600
;
font-size
:
26upx
;
color
:
#000
;
}
</
style
>
src/pages/integral/components/gift.vue
View file @
87fd3989
...
@@ -97,11 +97,10 @@ export default {}
...
@@ -97,11 +97,10 @@ export default {}
font-size
:
24upx
;
font-size
:
24upx
;
}
}
.gift-content
{
.gift-content
{
overflow-y
:
auto
;
width
:
100%
;
width
:
100%
;
height
:
calc
(
100%
-
152upx
);
height
:
calc
(
100%
-
152upx
);
padding
:
32upx
32upx
;
padding
:
32upx
32upx
;
gap
:
2
2upx
;
gap
:
2
%
;
display
:
flex
;
display
:
flex
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
...
@@ -110,15 +109,15 @@ export default {}
...
@@ -110,15 +109,15 @@ export default {}
.gift-item
{
.gift-item
{
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
width
:
300upx
;
width
:
49%
;
height
:
318upx
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
// background-color: red;
// background-color: red;
}
}
.gift-image
{
.gift-image
{
margin
:
0
;
margin
:
0
;
width
:
300upx
;
width
:
100%
;
height
:
200upx
;
height
:
auto
;
aspect-ratio
:
3
/
2
;
}
}
.gift-name
{
.gift-name
{
margin
:
0
;
margin
:
0
;
...
...
src/pages/integral/components/points.vue
View file @
87fd3989
<
template
>
<
template
>
<view
class=
"int"
>
<view
class=
"int"
>
<view
class=
"int-centent"
v-for=
"item in 6"
:key=
"item"
>
<view
class=
"int-centent"
v-for=
"item in 6"
:key=
"item"
@
click=
"toDetail"
>
<view
class=
"int-centent-left"
>
<view
class=
"int-centent-left"
>
<view
class=
"centent-tag"
>
<view
class=
"centent-tag"
>
<view
class=
"tag-text"
>
APP注册
</view>
<view
class=
"tag-text"
>
APP注册
</view>
...
@@ -18,7 +18,15 @@
...
@@ -18,7 +18,15 @@
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{}
export
default
{
methods
:
{
toDetail
()
{
uni
.
navigateTo
({
url
:
'
/pages/activity_detail/activity_detail
'
})
}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
...
...
src/static/css/integral.css
View file @
87fd3989
page
{
page
{
overflow
:
auto
;
/* height: 100%; */
/* #ifdef H5 */
/* #ifdef H5 */
padding-top
:
140
upx
;
padding-top
:
140
upx
;
/* #endif */
/* #endif */
/* #ifdef APP-PLUS */
/* #ifdef APP-PLUS */
padding-top
:
calc
(
var
(
--status-bar-height
)
+
100
upx
);
padding-top
:
calc
(
var
(
--status-bar-height
)
+
100
upx
);
/* #endif */
/* #endif */
height
:
100%
;
}
}
.integral
{
.integral
{
...
...
src/static/img/score_b.png
0 → 100644
View file @
87fd3989
793 Bytes
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