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
8eae6c2a
Commit
8eae6c2a
authored
Oct 16, 2023
by
潘永坪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
详情bug处理
parent
db9acfa2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
24 deletions
+24
-24
merchantDetail.vue
components/merchantDetail.vue
+15
-20
combinationProduct.vue
pages/scenic/combinationProduct/combinationProduct.vue
+9
-4
No files found.
components/merchantDetail.vue
View file @
8eae6c2a
...
...
@@ -34,25 +34,17 @@
<!-- 开放时间 -->
<view
class=
"opentime"
>
<view
class=
"middle-title"
>
开放时间
</view>
<u-table>
<u-tr
v-if=
"!times"
>
<u-td>
每天
</u-td>
</u-tr>
<u-tr
v-if=
"!times"
>
<u-td>
{{
detailData
.
businessStart
?
detailData
.
businessStart
.
substr
(
0
,
5
):
""
}}
~
{{
detailData
.
businessEnd
?
detailData
.
businessEnd
.
substr
(
0
,
5
):
""
}}
</u-td>
</u-tr>
<u-tr
v-if=
"times"
>
<u-td
colspan=
"2"
>
开放时间
</u-td>
</u-tr>
<u-tr
v-for=
"(item,index) of times"
:key=
"index"
v-if=
"times"
>
<u-td
v-for=
"(items,b) of item"
:key=
"b"
v-if=
"items"
>
<view
class=
"time-list"
>
<view
v-if=
"times.length==0"
>
{{
detailData
.
businessStart
?
detailData
.
businessStart
.
substr
(
0
,
5
):
""
}}
~
{{
detailData
.
businessEnd
?
detailData
.
businessEnd
.
substr
(
0
,
5
):
""
}}
</view>
<view
v-for=
"(item,index) of times"
:key=
"index"
v-else
>
<text
v-for=
"(items,b) of item"
:key=
"b"
style=
"margin-right: 30rpx;"
>
{{
items
}}
</
u-td
>
</
u-tr
>
</
u-table
>
</
text
>
</
view
>
</
view
>
</view>
<!-- 优待政策 -->
<view
class=
"policy"
v-if=
"policy"
>
...
...
@@ -111,7 +103,7 @@ export default {
return
{
currentNum
:
0
,
//轮播图下标
showPop
:
false
,
//控制弹窗显示隐藏
times
:
''
,
//时间数组
times
:
[]
,
//时间数组
policy
:
''
,
//优待政策列表
facilities
:
''
,
//景区设施
travelTips
:
''
//游玩提示
...
...
@@ -121,7 +113,7 @@ export default {
detailData
:
{
handler
(
newValue
,
oldValue
)
{
if
(
newValue
)
{
this
.
times
=
''
this
.
times
=
[]
this
.
policy
=
''
this
.
facilities
=
''
this
.
travelTips
=
''
...
...
@@ -208,6 +200,9 @@ export default {
background
:
#fff
;
margin-top
:
24rpx
;
}
.time-list
>
view
:not
(
:first-child
)
{
margin-top
:
20rpx
;
}
.policy
{
padding
:
30rpx
16rpx
;
background
:
#fff
;
...
...
pages/scenic/combinationProduct/combinationProduct.vue
View file @
8eae6c2a
...
...
@@ -85,7 +85,7 @@
</view>
</view>
</checkbox-group>
<u-empty
text=
"空空如也..."
mode=
"list"
v-if=
"scenicList.length == 0"
></u-empty>
<u-empty
text=
"空空如也..."
mode=
"list"
v-if=
"scenicList.length == 0"
width=
"320"
height=
"320"
></u-empty>
</swiper-item>
<swiper-item
class=
"swiper-item"
>
...
...
@@ -132,16 +132,16 @@
</swiper-item>
<swiper-item
class=
"swiper-item"
>
<u-empty
text=
"空空如也..."
mode=
"list"
></u-empty>
<u-empty
text=
"空空如也..."
mode=
"list"
width=
"320"
height=
"320"
></u-empty>
</swiper-item>
<swiper-item
class=
"swiper-item"
>
<u-empty
text=
"空空如也..."
mode=
"list"
></u-empty>
<u-empty
text=
"空空如也..."
mode=
"list"
width=
"320"
height=
"320"
></u-empty>
</swiper-item>
</swiper>
</view>
<view
class=
"bottom"
>
<view
class=
"bottom-left"
@
click=
"showCustomer()"
>
<u-icon
name=
"chat"
size=
"36"
style=
"margin-right: 8rpx; position: relative; top: 2rpx"
></u-icon>
<u-icon
name=
"chat"
size=
"36"
></u-icon>
客服
</view>
<view
class=
"bottom-middle"
>
...
...
@@ -789,6 +789,11 @@ export default {
justify-content
:
space-between
;
padding
:
0
32rpx
;
}
.bottom-left
{
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
}
.bottom-middle
{
position
:
relative
;
padding
:
0
40rpx
;
...
...
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