Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
严立
/
mini-shimao
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
73fcb671
authored
Sep 22, 2020
by
wjw
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
ww--儿童营地修改
parent
3c978cc1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
pages/campsite/home/home.js
pages/campsite/home/home.wxml
pages/campsite/home/home.js
View file @
73fcb671
...
...
@@ -174,7 +174,7 @@ Page({
// 跳转到购买年卡/月卡/次卡界面
onBuyMembership
:
function
(
event
)
{
// funcShopType 使用函数区分商品类型,所以每个函数里的数值是固定的
let
funcShopType
=
3
let
funcShopType
=
1
let
funcShopAppId
=
event
.
currentTarget
.
dataset
.
id
this
.
setShopInfo
(
funcShopAppId
,
funcShopType
)
...
...
@@ -185,7 +185,7 @@ Page({
// 跳转到购买饮品界面
onBuySnacks
(
event
)
{
// funcShopType 使用函数区分商品类型,所以每个函数里的数值是固定的
let
funcShopType
=
6
let
funcShopType
=
5
let
funcShopAppId
=
event
.
currentTarget
.
dataset
.
id
this
.
setShopInfo
(
funcShopAppId
,
funcShopType
)
...
...
@@ -196,7 +196,7 @@ Page({
// 跳转到购买文创界面
onBuyArt
(
event
)
{
// funcShopType 使用函数区分商品类型,所以每个函数里的数值是固定的
let
funcShopType
=
1
let
funcShopType
=
4
let
funcShopAppId
=
event
.
currentTarget
.
dataset
.
id
this
.
setShopInfo
(
funcShopAppId
,
funcShopType
)
...
...
pages/campsite/home/home.wxml
View file @
73fcb671
...
...
@@ -38,7 +38,7 @@
</view>
<!-- 入园购票 -->
<view class="buy-coupon" bindtap="onBuyMembership" data-id="{{
1
}}">
<view class="buy-coupon" bindtap="onBuyMembership" data-id="{{
3
}}">
<view class="buy-coupon-title row align-c">
<image src="./image/ruyuangoupiao.png"></image>
<image src="/image/more.png"></image>
...
...
@@ -53,7 +53,7 @@
<!-- 饮品预订 文创周边-->
<view class="buy-other row con-b">
<!-- 饮品预订 -->
<view class="buy-snacks row" bindtap="onBuySnacks" data-id="{{
5
}}">
<view class="buy-snacks row" bindtap="onBuySnacks" data-id="{{
6
}}">
<view class="buy-left col con-c">
<image src="./image/yinpinyuding.png"></image>
</view>
...
...
@@ -63,7 +63,7 @@
</view>
</view>
<!-- 文创周边 -->
<view class="buy-art row" bindtap="onBuyArt" data-id="{{
4
}}">
<view class="buy-art row" bindtap="onBuyArt" data-id="{{
1
}}">
<view class="buy-left col con-c">
<image src="./image/wenchuangzhoubian.png"></image>
</view>
...
...
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