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
977d0eef
Commit
977d0eef
authored
Oct 13, 2023
by
潘永坪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swiper1增加
parent
2c925c6a
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
345 additions
and
4 deletions
+345
-4
merchantDetail.vue
components/merchantDetail.vue
+2
-2
index.vue
pages/indexs/index/index.vue
+3
-2
u-swiper1.vue
uview-ui/components/u-swiper1/u-swiper1.vue
+340
-0
No files found.
components/merchantDetail.vue
View file @
977d0eef
...
...
@@ -30,7 +30,7 @@
<!-- 开放时间 -->
<view
class=
"opentime"
>
<view
class=
"middle-title"
>
开放时间
</view>
<uni-table
border
>
<uni-table>
<uni-tr
v-if=
"!times"
>
<uni-td>
每天
</uni-td>
</uni-tr>
...
...
@@ -48,7 +48,7 @@
{{
items
}}
</uni-td>
</uni-tr>
</table>
</
uni-
table>
</view>
<!-- 优待政策 -->
<view
class=
"policy"
v-if=
"policy"
>
...
...
pages/indexs/index/index.vue
View file @
977d0eef
...
...
@@ -20,11 +20,12 @@
</view>
<view
class=
"banner"
>
<u-swiper
:list=
"list"
@
change=
"e => currentNum = e.current"
indicatorStyle=
"right: 20px"
height=
"300"
>
<
!--
<
u-swiper
:list=
"list"
@
change=
"e => currentNum = e.current"
indicatorStyle=
"right: 20px"
height=
"300"
>
<view
slot=
"indicator"
class=
"indicator-num"
>
<text
class=
"indicator-num__text"
>
{{
currentNum
+
1
}}
/
{{
list
.
length
}}
</text>
</view>
</u-swiper>
</u-swiper>
-->
<u-swiper1
:list=
"list"
name=
'url'
></u-swiper1>
</view>
</view>
...
...
uview-ui/components/u-swiper1/u-swiper1.vue
0 → 100644
View file @
977d0eef
This diff is collapsed.
Click to expand it.
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