Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
U
uni-pdtravel
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
panyongping
uni-pdtravel
Commits
c86d9003
Commit
c86d9003
authored
Oct 12, 2023
by
潘永坪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
76a419f7
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
43 additions
and
12 deletions
+43
-12
App.vue
App.vue
+14
-0
main.js
main.js
+1
-0
index.vue
pages/indexs/index/index.vue
+10
-6
merchantListIndex.vue
pages/indexs/merchantListIndex/merchantListIndex.vue
+11
-5
combinationProduct.vue
pages/scenic/combinationProduct/combinationProduct.vue
+7
-1
No files found.
App.vue
View file @
c86d9003
...
@@ -146,4 +146,18 @@ export default {
...
@@ -146,4 +146,18 @@ export default {
checkbox
.round
.wx-checkbox-input
{
checkbox
.round
.wx-checkbox-input
{
border-radius
:
50%
!
important
;
border-radius
:
50%
!
important
;
}
}
// swiper轮播图
.indicator-num
{
padding
:
2px
0
;
background-color
:
rgba
(
0
,
0
,
0
,
0
.35
);
border-radius
:
100px
;
width
:
35px
;
@include
flex
;
justify-content
:
center
;
&
__text
{
color
:
#FFFFFF
;
font-size
:
12px
;
}
}
</
style
>
</
style
>
main.js
View file @
c86d9003
...
@@ -10,6 +10,7 @@ Vue.prototype.$commonjs = commonjs
...
@@ -10,6 +10,7 @@ Vue.prototype.$commonjs = commonjs
Vue
.
prototype
.
$request
=
request
Vue
.
prototype
.
$request
=
request
Vue
.
prototype
.
imageError
=
'@/static/img/common/pangdingLogo.png'
Vue
.
prototype
.
imageError
=
'@/static/img/common/pangdingLogo.png'
Vue
.
use
(
uView
)
Vue
.
use
(
uView
)
uni
.
$u
.
config
.
unit
=
'rpx'
Vue
.
config
.
productionTip
=
false
Vue
.
config
.
productionTip
=
false
App
.
mpType
=
'app'
App
.
mpType
=
'app'
...
...
pages/indexs/index/index.vue
View file @
c86d9003
...
@@ -20,8 +20,11 @@
...
@@ -20,8 +20,11 @@
</view>
</view>
<view
class=
"banner"
>
<view
class=
"banner"
>
<!--
<u-swiper
:list=
"list"
mode=
"number"
height=
"300"
indicator-pos=
"bottomRight"
@
click=
"swiperClick"
>
<u-swiper
:list=
"list"
@
change=
"e => currentNum = e.current"
indicatorStyle=
"right: 20px"
height=
"300"
>
</u-swiper>
-->
<view
slot=
"indicator"
class=
"indicator-num"
>
<text
class=
"indicator-num__text"
>
{{
currentNum
+
1
}}
/
{{
list
.
length
}}
</text>
</view>
</u-swiper>
</view>
</view>
</view>
</view>
...
@@ -170,15 +173,16 @@
...
@@ -170,15 +173,16 @@
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
list
:
[
currentNum
:
0
,
//轮播图下标
list
:
[
//轮播图图片
{
{
image
:
'http://wx.pangdly.com/static/img/home1.69efcf8.jpg'
url
:
'http://wx.pangdly.com/static/img/home1.69efcf8.jpg'
},
},
{
{
image
:
'http://wx.pangdly.com/static/img/home2.2ec1a04.jpg'
url
:
'http://wx.pangdly.com/static/img/home2.2ec1a04.jpg'
},
},
{
{
image
:
'http://wx.pangdly.com/static/img/home3.df60ec3.jpg'
url
:
'http://wx.pangdly.com/static/img/home3.df60ec3.jpg'
}
}
],
],
iconList
:[
//图标列表
iconList
:[
//图标列表
...
...
pages/indexs/merchantListIndex/merchantListIndex.vue
View file @
c86d9003
...
@@ -2,7 +2,11 @@
...
@@ -2,7 +2,11 @@
<!-- 商户列表首页 -->
<!-- 商户列表首页 -->
<view
class=
"wrap"
>
<view
class=
"wrap"
>
<view
class=
"banner"
>
<view
class=
"banner"
>
<!--
<u-swiper
:list=
"list"
mode=
"number"
height=
"350"
indicator-pos=
"topRight"
></u-swiper>
-->
<u-swiper
:list=
"list"
@
change=
"e => currentNum = e.current"
indicatorStyle=
"right: 20px;bottom:25px"
height=
"350"
>
<view
slot=
"indicator"
class=
"indicator-num"
>
<text
class=
"indicator-num__text"
>
{{
currentNum
+
1
}}
/
{{
list
.
length
}}
</text>
</view>
</u-swiper>
</view>
</view>
<view
class=
"search"
>
<view
class=
"search"
>
...
@@ -142,15 +146,16 @@ export default {
...
@@ -142,15 +146,16 @@ export default {
showCoupon2
:
false
,
//是否显示券2
showCoupon2
:
false
,
//是否显示券2
detailData
:
''
,
//详情数据
detailData
:
''
,
//详情数据
scenicList
:[],
//景区数据
scenicList
:[],
//景区数据
list
:
[
currentNum
:
0
,
//轮播图下标
list
:
[
//轮播图图片
{
{
image
:
'http://wx.pangdly.com/static/img/home1.69efcf8.jpg'
url
:
'http://wx.pangdly.com/static/img/home1.69efcf8.jpg'
},
},
{
{
image
:
'http://wx.pangdly.com/static/img/home2.2ec1a04.jpg'
url
:
'http://wx.pangdly.com/static/img/home2.2ec1a04.jpg'
},
},
{
{
image
:
'http://wx.pangdly.com/static/img/home3.df60ec3.jpg'
url
:
'http://wx.pangdly.com/static/img/home3.df60ec3.jpg'
}
}
],
],
tabList
:
[{
tabList
:
[{
...
@@ -397,6 +402,7 @@ export default {
...
@@ -397,6 +402,7 @@ export default {
}
}
.right3
{
.right3
{
margin-top
:
16rpx
;
margin-top
:
16rpx
;
display
:
flex
;
}
}
.
right3-text
:
:
after
{
.
right3-text
:
:
after
{
display
:
inline-block
;
display
:
inline-block
;
...
...
pages/scenic/combinationProduct/combinationProduct.vue
View file @
c86d9003
...
@@ -2,7 +2,12 @@
...
@@ -2,7 +2,12 @@
<view
class=
"wrap"
>
<view
class=
"wrap"
>
<scroll-view
@
scroll=
"scroll"
style=
"height: 100%;"
scroll-y
>
<scroll-view
@
scroll=
"scroll"
style=
"height: 100%;"
scroll-y
>
<view
class=
"banner"
>
<view
class=
"banner"
>
<u-swiper
:list=
"imgList"
name=
"url"
mode=
"number"
height=
"400"
indicator-pos=
"topRight"
></u-swiper>
<u-swiper
:list=
"imgList"
@
change=
"e => currentNum = e.current"
indicatorStyle=
"right: 20px;bottom:25px"
height=
"400"
>
<view
slot=
"indicator"
class=
"indicator-num"
>
<text
class=
"indicator-num__text"
>
{{
currentNum
+
1
}}
/
{{
imgList
.
length
}}
</text>
</view>
</u-swiper>
<!--
<u-swiper
:list=
"imgList"
name=
"url"
mode=
"number"
height=
"200"
indicator-pos=
"topRight"
></u-swiper>
-->
</view>
</view>
<view
class=
"middle"
>
<view
class=
"middle"
>
<view
class=
"tabbar"
:style=
"tabbarObj"
>
<view
class=
"tabbar"
:style=
"tabbarObj"
>
...
@@ -195,6 +200,7 @@ export default {
...
@@ -195,6 +200,7 @@ export default {
// tabbar:['热门景点','一日游','摄影/旅拍','文创DIY'],//tabbar标题列表
// tabbar:['热门景点','一日游','摄影/旅拍','文创DIY'],//tabbar标题列表
tabbar
:
[
'热门景点'
,
'摄影/旅拍'
,
'一日游'
],
//tabbar标题列表
tabbar
:
[
'热门景点'
,
'摄影/旅拍'
,
'一日游'
],
//tabbar标题列表
active
:
0
,
//导航栏下标
active
:
0
,
//导航栏下标
currentNum
:
0
,
//轮播图下标
imgList
:
[],
//图片列表
imgList
:
[],
//图片列表
scenicList
:
[],
//景区数据
scenicList
:
[],
//景区数据
showDistance
:
false
,
//定位成功显示距离
showDistance
:
false
,
//定位成功显示距离
...
...
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