Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
buildingAgricultureSharing-miniapp
Project
Project
Details
Activity
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
彭佳妮(贵阳日报)
buildingAgricultureSharing-miniapp
Commits
49e2261d
Commit
49e2261d
authored
Aug 06, 2024
by
石建新(贵阳日报)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
点评详情
parent
7bc2a2ed
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
151 additions
and
0 deletions
+151
-0
pages.json
src/pages.json
+8
-0
reviewDetails.vue
src/pages/reviewDetails/reviewDetails.vue
+143
-0
avatar.png
src/static/reviewDetails/avatar.png
+0
-0
yarn.lock
yarn.lock
+0
-0
No files found.
src/pages.json
View file @
49e2261d
...
...
@@ -54,6 +54,14 @@
"navigationBarBackgroundColor"
:
"#ffffff"
,
"navigationStyle"
:
""
}
},
{
"path"
:
"pages/reviewDetails/reviewDetails"
,
"style"
:
{
"navigationBarTitleText"
:
"点评详情"
,
"navigationBarBackgroundColor"
:
"#ffffff"
,
"navigationStyle"
:
""
}
}
],
"globalStyle"
:
{
...
...
src/pages/reviewDetails/reviewDetails.vue
0 → 100644
View file @
49e2261d
<
template
>
<!-- 点评详情页面 -->
<view
class=
"review-details-pages"
>
<view
class=
"swiper-list"
>
<wd-swiper
:list=
"swiperList"
direction=
"horizontal"
indicatorPosition=
"right"
autoplay
height=
"456rpx"
v-model:current=
"current"
@
click=
"handleClick"
@
change=
"onChange"
>
<template
#
indicator=
"
{ current, total }">
<view
class=
"custom-indicator"
style=
"position: absolute; bottom: 24rpx; right: 24rpx"
>
{{
current
+
1
}}
/
{{
total
}}
</view>
</
template
>
</wd-swiper>
</view>
<view
class=
"revuew-content"
>
<view
class=
"user-info"
>
<view
class=
"info-content"
>
<image
src=
"@/static/reviewDetails/avatar.png"
mode=
"aspectFill"
></image>
<view
class=
"text-box"
>
<text
class=
"user-name"
>
不爱吃鱼的小猫咪
</text>
<text
class=
"fb-time"
>
2024-08-03
</text>
</view>
</view>
<view>
<text
class=
"score"
>
4.9
</text>
<text
class=
"score-unit"
>
/5分
</text>
</view>
</view>
<text
style=
"margin-top: 12rpx; font-size: 14 * 2rpx; color: #3d3d3d"
>
跟团游行程紧凑有序,充分利用了时间,让游客能够在有限的时间内充分游览黄果树的主要景点,如黄果树大瀑布、陡坡塘瀑布、天星桥景区等,不留遗憾。导游专业且热情,对景区有深入的了解,能够生动有趣地讲解景点的历史、文化和特色,同时耐心解答问题。
跟团游行程紧凑有序,充分利用了时间,让游客能够在有限的时间内充分游览黄果树的主要景点,如黄果树大瀑布、陡坡塘瀑布、天星桥景区等,不留遗憾。导游专业且热情,对景区有深入的了解,能够生动有趣地讲解景点的历史、文化和特色,同时耐心解答问题。
</text>
</view>
<view
class=
"scenic-spot"
></view>
</view>
</template>
<
script
setup
>
const
current
=
ref
(
0
);
onMounted
(()
=>
{
xma
.
getSystemInfo
({
success
:
function
(
res
)
{
console
.
log
(
res
,
'11111111'
);
},
});
});
const
swiperList
=
ref
([
'https://registry.npmmirror.com/wot-design-uni-assets/*/files/redpanda.jpg'
,
'https://registry.npmmirror.com/wot-design-uni-assets/*/files/capybara.jpg'
,
'https://registry.npmmirror.com/wot-design-uni-assets/*/files/panda.jpg'
,
]);
function
handleClick
(
e
)
{}
function
onChange
(
e
)
{
console
.
log
(
e
);
}
</
script
>
<
style
lang=
"scss"
scoped
>
page
{
background
:
#ffffff
;
}
.review-details-pages
{
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
width
:
750rpx
;
.swiper-list
{
width
:
375
*
2rpx
;
height
:
228
*
2rpx
;
:deep
(
.wd-swiper__track
)
{
border-radius
:
0
;
}
.custom-indicator
{
padding
:
0
12rpx
;
height
:
48rpx
;
line-height
:
48rpx
;
border-radius
:
45%
;
background
:
rgba
(
0
,
0
,
0
,
0
.6
);
color
:
#ffffff
;
font-size
:
24rpx
;
}
}
.revuew-content
{
display
:
flex
;
flex-direction
:
column
;
width
:
100%
;
align-items
:
center
;
padding
:
40rpx
20rpx
;
box-sizing
:
border-box
;
.user-info
{
width
:
100%
;
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
.info-content
{
display
:
flex
;
align-items
:
center
;
image
{
width
:
36
*
2rpx
;
height
:
36
*
2rpx
;
border-radius
:
50%
;
}
.text-box
{
display
:
flex
;
flex-direction
:
column
;
margin-left
:
20rpx
;
.user-name
{
font-size
:
14
*
2rpx
;
color
:
#3d3d3d
;
}
.fb-time
{
font-size
:
11
*
2rpx
;
/* 小文本 */
color
:
#abaaaa
;
margin-top
:
10rpx
;
}
}
.score
{
font-size
:
14
*
2rpx
;
/* 4.9 */
color
:
#0974f5
;
}
.score-unit
{
font-size
:
12
*
2rpx
;
color
:
#abaaaa
;
}
}
}
}
.scenic-spot
{
width
:
355
*
2rpx
;
box-sizing
:
border-box
;
padding
:
20rpx
36rpx
20rpx
10rpx
;
}
}
</
style
>
src/static/reviewDetails/avatar.png
0 → 100644
View file @
49e2261d
10.6 KB
yarn.lock
View file @
49e2261d
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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