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
dd5fd895
authored
Sep 16, 2020
by
wjw
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'master' of
http://120.77.182.185/yanl/mini-shimao.git
into master
parents
7ec2d702
9823cf03
Hide whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
640 additions
and
245 deletions
app.js
image/icon/close-1.png
pages/commodity/home/home.js
pages/commodity/menu-art/menu-art.js
pages/commodity/menu-food/menu-food.js
pages/commodity/menu-food/menu-food.wxml
pages/commodity/menu-food/menu-food.wxss
pages/commodity/menu-snacks/menu-snacks.js
pages/commodity/project-detail/project-detail.js
pages/commodity/project/project.js
pages/commodity/shopping-cart/shopping-cart.js
pages/commodity/shopping-cart/shopping-cart.wxml
pages/mine/home/home.js
pages/mine/order/order.js
pages/mine/order/order.wxml
pages/mine/order/order.wxss
pages/pay/order-detail/order-detail.js
pages/pay/order-detail/order-detail.wxml
pages/pay/order-detail/order-detail.wxss
pages/pay/order-input/order-input.js
pages/pay/order-input/order-input.wxml
pages/pay/order-state/order-state.wxss
pages/play/home/home.js
app.js
View file @
dd5fd895
...
...
@@ -46,32 +46,32 @@ App({
},
wxRequest
:
function
(
obj
)
{
let
that
=
this
var
token
=
that
.
globalData
.
token
var
token
=
this
.
globalData
.
token
var
param
=
obj
.
data
?
JSON
.
stringify
(
obj
.
data
)
:
""
var
header
=
obj
.
header
?
obj
.
header
:
{
'token'
:
token
||
''
,
}
wx
.
request
({
url
:
th
at
.
globalData
.
baseUrl
+
obj
.
url
,
url
:
th
is
.
globalData
.
baseUrl
+
obj
.
url
,
data
:
param
,
method
:
obj
.
method
||
"POST"
,
header
:
header
,
success
:
function
(
res
)
{
// console.log("接口:", th
at
.globalData.baseUrl + obj.url);
success
:
(
res
)
=>
{
// console.log("接口:", th
is
.globalData.baseUrl + obj.url);
// console.log("参数:", JSON.stringify(obj.data));
// console.log("返回:", res);
let
code
=
res
.
data
.
code
*
1
;
if
(
200
==
code
&&
true
==
res
.
data
.
success
)
{
if
(
200
==
code
)
{
// if (200 == code && true == res.data.success) {
if
(
obj
.
success
)
{
obj
.
success
(
res
.
data
)
}
}
else
if
(
402
==
code
)
{
// token失效
// that
.refreshToken({
//
success: function () {
// that
.wxRequest(obj)
//
}
//
})
this
.
refreshToken
({
success
:
function
()
{
this
.
wxRequest
(
obj
)
}
})
}
else
{
if
(
obj
.
fail
)
{
let
err
=
{
...
...
@@ -82,10 +82,10 @@ App({
}
}
},
fail
:
function
(
err
)
{
console
.
log
(
"接口:"
,
th
at
.
globalData
.
baseUrl
+
obj
.
url
);
console
.
log
(
"参数:"
,
obj
.
data
)
;
console
.
log
(
"返回:"
,
err
)
;
fail
:
(
err
)
=>
{
console
.
log
(
"接口:"
,
th
is
.
globalData
.
baseUrl
+
obj
.
url
)
console
.
log
(
"参数:"
,
obj
.
data
)
console
.
log
(
"返回:"
,
err
)
if
(
obj
.
fail
)
{
let
err
=
{
statusCode
:
9999
,
...
...
@@ -149,16 +149,16 @@ App({
}
},
registUserInfo
(
obj
)
{
registUserInfo
:
function
(
obj
)
{
this
.
wxRequest
({
url
:
'/api/v1/login/getDecryptData'
,
data
:
obj
.
param
,
success
:
function
(
res
)
{
success
:
(
res
)
=>
{
if
(
obj
.
success
)
{
obj
.
success
(
res
)
}
},
fail
:
function
(
err
)
{
fail
:
(
err
)
=>
{
if
(
obj
.
fail
)
{
obj
.
fail
(
err
)
}
...
...
@@ -166,25 +166,23 @@ App({
})
},
refreshToken
(
obj
)
{
let
that
=
this
refreshToken
:
function
(
obj
)
{
this
.
wxRequest
({
url
:
'/api/v1/login/refreshToken'
,
header
:
{
token
:
this
.
globalData
.
token
,
refreshToken
:
this
.
globalData
.
refreshToken
},
success
:
function
(
res
)
{
success
:
(
res
)
=>
{
let
token
=
res
.
data
.
token
let
refreshToken
=
res
.
data
.
refreshToken
th
at
.
globalData
.
token
=
token
th
at
.
globalData
.
refreshToken
=
refreshToken
th
is
.
globalData
.
token
=
token
th
is
.
globalData
.
refreshToken
=
refreshToken
if
(
obj
.
success
)
{
obj
.
success
()
}
}
})
}
...
...
image/icon/close-1.png
0 → 100644
View file @
dd5fd895
500 Bytes
pages/commodity/home/home.js
View file @
dd5fd895
...
...
@@ -14,6 +14,10 @@ Page({
},
onLoad
:
function
()
{
},
onShow
:
function
()
{
this
.
queryRecommend
()
},
...
...
pages/commodity/menu-art/menu-art.js
View file @
dd5fd895
...
...
@@ -36,6 +36,11 @@ Page({
this
.
querySideBar
()
},
onUnload
:
function
()
{
// 离开页面清空商品数据
wx
.
setStorageSync
(
'shoppingCartBuffer'
,
[])
},
/**
* 添加动画初始
* @function
...
...
@@ -143,7 +148,7 @@ Page({
for
(
let
i
=
0
,
l
=
funcResponse
.
length
;
i
<
l
;
i
++
)
{
let
funcItem
=
{
'id'
:
funcResponse
[
i
].
id
,
// 商品标识
'typeId'
:
funcResponse
[
i
].
classifyId
,
// 商品分类标识
'typeId'
:
funcResponse
[
i
].
genre
,
// 商品分类标识
'inventoriesId'
:
funcResponse
[
i
].
inventoriesId
,
// 仓库标识
'name'
:
funcResponse
[
i
].
name
,
'cover'
:
funcResponse
[
i
].
coverImg
,
// 商品封面
...
...
@@ -157,6 +162,7 @@ Page({
'describe'
:
funcResponse
[
i
].
synopsis
,
'describeDetail'
:
''
,
// 商品描述详情,在点击详情时获得数据
'tags'
:
funcResponse
[
i
].
tags
,
'notificationId'
:
funcResponse
[
i
].
notificationId
,
// 下单须知
'quantityMin'
:
1
,
'quantityMax'
:
funcResponse
[
i
].
number
,
...
...
pages/commodity/menu-food/menu-food.js
View file @
dd5fd895
...
...
@@ -7,6 +7,7 @@ Page({
animationData
:
{},
animationPointHeight
:
0
,
animationPointOrigin
:
0
,
winAnimationPoint
:
false
,
...
...
@@ -30,12 +31,19 @@ Page({
},
onLoad
:
function
()
{
this
.
resetShoppingCart
()
this
.
setCartAnimation
()
this
.
setShopInfo
()
this
.
querySideBar
()
},
onShow
:
function
()
{
if
(
wx
.
getStorageSync
(
'shoppingCartBuffer'
).
length
===
0
)
{
this
.
resetShoppingCart
()
}
},
/**
* 添加动画初始
* @function
...
...
@@ -48,6 +56,16 @@ Page({
duration
:
500
,
timingFunction
:
'ease'
})
// 获取购物车高度
const
funcQuery
=
wx
.
createSelectorQuery
()
funcQuery
.
select
(
'#cart'
).
boundingClientRect
()
funcQuery
.
exec
((
result
)
=>
{
console
.
log
(
result
)
this
.
setData
({
animationPointOrigin
:
result
[
0
].
top
+
4
})
})
},
/**
...
...
@@ -69,7 +87,7 @@ Page({
winAnimationPoint
:
true
,
})
let
funcTimer
=
setTimeout
(()
=>
{
this
.
animation
.
translate
(
0
,
0
).
step
()
this
.
animation
.
translate
(
0
,
this
.
data
.
animationPointOrigin
).
step
()
this
.
setData
({
animationData
:
this
.
animation
.
export
(),
// winAnimationPoint: false,
...
...
@@ -86,6 +104,14 @@ Page({
console
.
log
(
this
.
data
.
shopInfo
)
},
resetShoppingCart
:
function
()
{
this
.
setData
({
shoppingCart
:
[],
shoppingCartTotal
:
0
,
})
wx
.
setStorageSync
(
'shoppingCartBuffer'
,
[])
},
/**
* 查询分类
* @function
...
...
@@ -143,7 +169,7 @@ Page({
for
(
let
i
=
0
,
l
=
funcResponse
.
length
;
i
<
l
;
i
++
)
{
let
funcItem
=
{
'id'
:
funcResponse
[
i
].
id
,
// 商品标识
'typeId'
:
funcResponse
[
i
].
classifyId
,
// 商品分类标识
'typeId'
:
funcResponse
[
i
].
genre
,
// 商品分类标识
'inventoriesId'
:
funcResponse
[
i
].
inventoriesId
,
// 仓库标识
'name'
:
funcResponse
[
i
].
name
,
'cover'
:
funcResponse
[
i
].
coverImg
,
// 商品封面
...
...
@@ -157,9 +183,10 @@ Page({
'describe'
:
funcResponse
[
i
].
synopsis
,
'describeDetail'
:
''
,
// 商品描述详情,在点击详情时获得数据
'tags'
:
funcResponse
[
i
].
tags
,
'notificationId'
:
funcResponse
[
i
].
notificationId
,
// 下单须知
'quantityMin'
:
1
,
'quantityMax'
:
funcResponse
[
i
].
number
,
'quantityMax'
:
funcResponse
[
i
].
number
<
20
?
funcResponse
[
i
].
number
:
20
,
// 最大上限 20 件
'isActive'
:
true
,
}
...
...
@@ -183,6 +210,9 @@ Page({
winLoading
:
false
,
commodityList
:
funcCommodityList
,
})
console
.
log
(
'commodityList'
)
console
.
log
(
JSON
.
stringify
(
this
.
data
.
commodityList
))
},
})
},
...
...
@@ -212,6 +242,7 @@ Page({
* @returns
*/
onCommodityDetail
:
function
(
event
)
{
console
.
log
(
'onCommodityDetail'
,
event
)
let
funcItem
=
event
.
currentTarget
.
dataset
.
item
App
.
wxRequest
({
...
...
pages/commodity/menu-food/menu-food.wxml
View file @
dd5fd895
...
...
@@ -31,8 +31,8 @@
<view class="menu-list">
<view class="right-content-title">{{menuTitle}}</view>
<block wx:for="{{commodityList}}" wx:for-index="index" wx:for-item="item" wx:key="index">
<view class="commodity-item row">
<view class="item-img"
data-item="{{item}}" bindtap="onCommodityDetail"
>
<view class="commodity-item row"
data-item="{{item}}" bind:tap="onCommodityDetail"
>
<view class="item-img">
<image src="{{item.cover}}" mode="widthFix"></image>
</view>
<view class="item-info">
...
...
@@ -79,7 +79,7 @@
</view>
<view class="item-operation-add">
<button class="row con-c align-c" data-item="{{item}}"
bind
tap="onCommodityAdd">
<button class="row con-c align-c" data-item="{{item}}"
catch
tap="onCommodityAdd">
<image mode="widthFix" src="{{imageBase + 'icon/cart-3.png'}}"></image>
</button>
</view>
...
...
@@ -89,7 +89,7 @@
</block>
<!-- 购物车按钮 -->
<view
class="cart-btn
row con-c align-c" bindtap="onShoppingCart">
<view
id="cart" class="cart
row con-c align-c" bindtap="onShoppingCart">
<!-- 添加动画圆点 -->
<view class="cart-animation" wx:if="{{winAnimationPoint}}" animation="{{animationData}}"></view>
...
...
pages/commodity/menu-food/menu-food.wxss
View file @
dd5fd895
...
...
@@ -58,7 +58,7 @@ page {
color: #959da9;
}
.cart
-btn
{
.cart {
position: fixed;
right: 48rpx;
bottom: 160rpx;
...
...
@@ -378,9 +378,10 @@ image {
/* 购物车样式 */
.cart-animation {
position: fixed;
top: 0;
right: 48rpx;
width: 26rpx;
height: 26rpx;
border-radius: 50%;
background:
red
;
background:
#86c5e1
;
}
\ No newline at end of file
pages/commodity/menu-snacks/menu-snacks.js
View file @
dd5fd895
...
...
@@ -36,6 +36,11 @@ Page({
this
.
querySideBar
()
},
onUnload
:
function
()
{
// 离开页面清空商品数据
wx
.
setStorageSync
(
'shoppingCartBuffer'
,
[])
},
/**
* 添加动画初始
* @function
...
...
@@ -143,7 +148,7 @@ Page({
for
(
let
i
=
0
,
l
=
funcResponse
.
length
;
i
<
l
;
i
++
)
{
let
funcItem
=
{
'id'
:
funcResponse
[
i
].
id
,
// 商品标识
'typeId'
:
funcResponse
[
i
].
classifyId
,
// 商品分类标识
'typeId'
:
funcResponse
[
i
].
genre
,
// 商品分类标识
'inventoriesId'
:
funcResponse
[
i
].
inventoriesId
,
// 仓库标识
'name'
:
funcResponse
[
i
].
name
,
'cover'
:
funcResponse
[
i
].
coverImg
,
// 商品封面
...
...
@@ -157,6 +162,7 @@ Page({
'describe'
:
funcResponse
[
i
].
synopsis
,
'describeDetail'
:
''
,
// 商品描述详情,在点击详情时获得数据
'tags'
:
funcResponse
[
i
].
tags
,
'notificationId'
:
funcResponse
[
i
].
notificationId
,
// 下单须知
'quantityMin'
:
1
,
'quantityMax'
:
funcResponse
[
i
].
number
,
...
...
pages/commodity/project-detail/project-detail.js
View file @
dd5fd895
...
...
@@ -81,7 +81,7 @@ Page({
for
(
let
i
=
0
,
l
=
funcResponse
.
length
;
i
<
l
;
i
++
)
{
let
funcItem
=
{
'id'
:
funcResponse
[
i
].
id
,
// 商品标识
'typeId'
:
funcResponse
[
i
].
classifyId
,
// 商品分类标识
'typeId'
:
funcResponse
[
i
].
genre
,
// 商品类型
'inventoriesId'
:
funcResponse
[
i
].
inventorie
[
0
].
inventoriesId
,
// 仓库标识
'name'
:
funcResponse
[
i
].
name
,
'cover'
:
funcResponse
[
i
].
coverImg
,
// 商品封面
...
...
@@ -112,7 +112,6 @@ Page({
funcCommodityList
.
push
(
funcItem
)
}
console
.
log
(
JSON
.
stringify
(
funcCommodityList
))
break
// 普通商品
...
...
@@ -153,7 +152,6 @@ Page({
}
funcCommodityList
.
push
(
funcItem
)
}
console
.
log
(
JSON
.
stringify
(
funcCommodityList
))
break
}
...
...
@@ -176,8 +174,6 @@ Page({
funcCommodityInfo
.
isActive
=
true
wx
.
setStorageSync
(
'shoppingCartBuffer'
,
[
funcCommodityInfo
])
console
.
log
(
JSON
.
stringify
(
funcCommodityInfo
))
wx
.
navigateTo
({
url
:
'/pages/pay/order-input/order-input?type='
+
this
.
data
.
shopInfo
.
shopType
})
...
...
pages/commodity/project/project.js
View file @
dd5fd895
...
...
@@ -29,98 +29,17 @@ Page({
projectType
:
3
,
btn
:
'购买门票'
,
titleImg
:
''
,
list
:
[
{
id
:
0
,
cover
:
''
,
name
:
'海错图平日票'
,
msg
:
{
0
:
'周一至周五'
},
priceSpecial
:
'42'
,
price
:
'49'
,
unit
:
'人'
},
{
id
:
1
,
cover
:
''
,
name
:
'海错图平日票'
,
msg
:
{
0
:
'周六至周日'
},
priceSpecial
:
'42'
,
price
:
'49'
,
unit
:
'人'
}
]
list
:
[]
},
projectSpa
:
{
projectType
:
2
,
btn
:
'查看服务'
,
list
:
[
{
id
:
'0'
,
name
:
'SPA套餐'
,
cover
:
''
,
priceSpecial
:
'298 - 698'
,
price
:
'300 - 900'
,
unit
:
'人'
}
]
list
:
[]
},
projectChild
:
{
projectType
:
1
,
btn
:
'购买门票'
,
list
:
[
{
id
:
0
,
name
:
'日票(次票)'
,
priceSpecial
:
'10'
,
price
:
'49'
,
unit
:
'次'
,
msg
:
{
0
:
'单次进园'
,
1
:
'室外游乐设备免费'
,
2
:
'室内场馆及马场需单独收费'
}
},
{
id
:
1
,
name
:
'日票(套票)'
,
priceSpecial
:
'80'
,
price
:
'100'
,
unit
:
'次'
,
msg
:
{
0
:
'单次进园'
,
1
:
'室外游乐设备免费'
,
2
:
'室内场馆及马场均免费'
}
},
{
id
:
2
,
name
:
'儿童营地月卡'
,
priceSpecial
:
'300'
,
price
:
'500'
,
unit
:
'人'
,
msg
:
{
0
:
'一个月内无限次进园'
,
1
:
'室外游乐设备免费'
,
2
:
'室内场馆及马场均免费'
}
},
{
id
:
3
,
name
:
'儿童营地年卡'
,
priceSpecial
:
'1680'
,
price
:
'2680'
,
unit
:
'人'
,
msg
:
{
0
:
'一年内无限次进园'
,
1
:
'室外游乐设备免费'
,
2
:
'室内场馆及马场均免费'
}
}
]
list
:
[]
}
}
},
...
...
@@ -178,7 +97,7 @@ Page({
'priceSpecialText'
:
App
.
modular
.
utils
.
formatAmount
(
funcResponse
[
i
].
inventorie
[
0
].
ownerPrice
),
// 业主价文本格式
'priceDiscount'
:
funcResponse
[
i
].
inventorie
[
0
].
price
,
// 活动价
'priceDiscountText'
:
App
.
modular
.
utils
.
formatAmount
(
funcResponse
[
i
].
inventorie
[
0
].
price
),
// 活动价文本格式
'priceType'
:
1
,
'priceType'
:
''
,
'describe'
:
funcResponse
[
i
].
synopsis
,
'tags'
:
funcResponse
[
i
].
tags
,
}
...
...
pages/commodity/shopping-cart/shopping-cart.js
View file @
dd5fd895
...
...
@@ -17,7 +17,7 @@ Page({
amountPay
:
0
,
// 支付金额
amountDiscount
:
0
,
// 优惠金额
winToast
:
false
,
...
...
@@ -80,15 +80,6 @@ Page({
onLoad
:
function
()
{
this
.
setShopInfo
()
// // 读取上级页面的购物车数据,默认选中所有。
// let funcShoppingCart = wx.getStorageSync('shoppingCartBuffer')
// for (let i = 0, l = funcShoppingCart.length; i < l; i++) {
// // 设置默认库存为 100 ,在提交订单时矫正为实际库存
// funcShoppingCart[i].quantityMin = 1
// funcShoppingCart[i].quantityMax = 100
// funcShoppingCart[i].isActive = true
// }
this
.
setData
({
shoppingCart
:
wx
.
getStorageSync
(
'shoppingCartBuffer'
)
})
...
...
@@ -96,6 +87,10 @@ Page({
this
.
selectionTotal
()
},
onShow
:
function
()
{
},
/**
* 设置本店信息
* @function
...
...
@@ -142,12 +137,16 @@ Page({
let
funcIndex
=
event
.
currentTarget
.
dataset
.
index
let
funcShoppingCart
=
this
.
data
.
shoppingCart
if
(
funcShoppingCart
[
funcIndex
].
quantity
===
1
)
return
funcShoppingCart
[
funcIndex
].
quantity
=
funcShoppingCart
[
funcIndex
].
quantity
-
1
// 当数量减少到零时,移除改商品
if
(
funcShoppingCart
[
funcIndex
].
quantity
===
1
)
{
funcShoppingCart
.
splice
(
funcIndex
,
1
)
}
else
{
funcShoppingCart
[
funcIndex
].
quantity
=
funcShoppingCart
[
funcIndex
].
quantity
-
1
}
this
.
setData
({
shoppingCart
:
funcShoppingCart
})
this
.
selectionTotal
()
},
...
...
@@ -161,8 +160,8 @@ Page({
let
funcIndex
=
event
.
currentTarget
.
dataset
.
index
let
funcShoppingCart
=
this
.
data
.
shoppingCart
if
(
funcShoppingCart
[
funcIndex
].
quantityMax
<
funcShoppingCart
[
funcIndex
].
quantity
)
return
funcShoppingCart
[
funcIndex
].
quantity
=
funcShoppingCart
[
funcIndex
].
quantity
+
1
if
(
funcShoppingCart
[
funcIndex
].
quantityMax
<
=
funcShoppingCart
[
funcIndex
].
quantity
)
return
funcShoppingCart
[
funcIndex
].
quantity
=
funcShoppingCart
[
funcIndex
].
quantity
+
1
0
this
.
setData
({
shoppingCart
:
funcShoppingCart
})
...
...
@@ -271,14 +270,46 @@ Page({
amountPay
:
funcAmountPay
,
amountDiscount
:
funcAmountDiscount
,
selectionTotal
:
funcSelectionTotal
,
allSelectionIsActive
:
funcCommodityTotal
===
funcSelectionTotal
?
true
:
false
,
})
if
(
funcCommodityTotal
===
funcSelectionTotal
&&
funcCommodityTotal
!==
0
)
{
this
.
setData
({
allSelectionIsActive
:
true
})
}
else
{
this
.
setData
({
allSelectionIsActive
:
false
})
}
// 只要改变购物车数据就缓存
wx
.
setStorageSync
(
'shoppingCartBuffer'
,
this
.
data
.
shoppingCart
)
},
onPaySubmit
:
function
()
{
// 检查购物车是否拥有商品
let
funcShoppingCart
=
this
.
data
.
shoppingCart
if
(
funcShoppingCart
.
length
===
0
)
{
this
.
setData
({
winToast
:
true
})
return
}
// 检查是否有商品被选中
let
funcIsSelection
=
false
for
(
let
i
=
0
,
l
=
funcShoppingCart
.
length
;
i
<
l
;
i
++
)
{
if
(
funcShoppingCart
[
i
].
isActive
)
{
funcIsSelection
=
true
}
}
if
(
!
funcIsSelection
)
{
this
.
setData
({
winToast
:
true
})
return
}
// let isEnough = true
// this.setData({
// isEnough
...
...
pages/commodity/shopping-cart/shopping-cart.wxml
View file @
dd5fd895
<navigation class="navigation" titleText="购物车" background="#FFFFFF;" backIcon="/image/back.png"></navigation>
<l-toast show="{{winToast}}" icon="error" title="请选购商品后结算"></l-toast>
<view class="container" wx:if="{{shoppingCart.length > 0}}">
<view class="shop-info row align-c">
<image wx:if="{{shopLogo}}" src="{{resourcesBase + shopLogo}}" mode="left"></image>
...
...
@@ -66,9 +68,9 @@
<view class="list-item-quantity col con-e align-e">
<view class="list-item-quantity-operation row con-b align-c">
<text class="{{item.quantity === item.quantityMin ? '
list-item-quantity-disable
' : ''}}" data-index="{{index}}" bindtap="onQuantityReduce">-</text>
<text class="{{item.quantity === item.quantityMin ? '' : ''}}" data-index="{{index}}" bindtap="onQuantityReduce">-</text>
<text>{{item.quantity}}</text>
<text class="{{item.quantityMax < item.quantity ? 'list-item-quantity-disable' : ''}}" data-index="{{index}}" bindtap="onQuantityAdd">+</text>
<text class="{{item.quantityMax <
=
item.quantity ? 'list-item-quantity-disable' : ''}}" data-index="{{index}}" bindtap="onQuantityAdd">+</text>
</view>
<view class="list-item-quantity-warning">
<text>{{item.quantityMax < 5 ? '仅剩' + item.quantityMax + '件' : ''}}</text>
...
...
pages/mine/home/home.js
View file @
dd5fd895
...
...
@@ -296,9 +296,17 @@ Page({
let
state
=
res
.
data
.
state
*
1
// 0 待审核 1 审核通过 2 不通过
let
stateTest
=
'去认证'
switch
(
state
)
{
case
0
:
stateTest
=
'审核中'
;
break
;
case
1
:
stateTest
=
'审核通过 '
;
break
;
case
2
:
stateTest
=
'审核失败'
;
break
;
case
0
:
stateTest
=
'审核中'
break
case
1
:
stateTest
=
'审核通过 '
break
case
2
:
stateTest
=
'审核失败'
break
}
this
.
setData
({
type
:
state
==
1
?
1
:
0
,
...
...
pages/mine/order/order.js
View file @
dd5fd895
...
...
@@ -222,6 +222,7 @@ Page({
})
this
.
setData
({
'orderList'
:
[],
'orderPages'
:
1
,
})
this
.
queryOrder
()
},
...
...
@@ -246,6 +247,7 @@ Page({
})
this
.
setData
({
'orderList'
:
[],
'orderPages'
:
1
,
})
this
.
queryOrder
()
},
...
...
@@ -267,7 +269,7 @@ Page({
* @returns
*/
onOrderUse
:
function
(
event
)
{
this
.
onOrderDetail
()
},
/**
...
...
pages/mine/order/order.wxml
View file @
dd5fd895
<!-- 订单分类选择 -->
<view class="navigation-order row con-b align-c">
<image src="{{imageBase + 'icon/arrow-l-1.png'}}" bindtap="onNavigationBack"></image>
<view class="order-type row con-c align-c" bindtap="onOrderType">
...
...
@@ -7,6 +8,7 @@
<image src=""></image>
</view>
<!-- 订单状态选择 -->
<view class="order-type-selection col" wx:if="{{winOrderType}}" bindtap="onOrderType">
<view>
<view class="order-type-row row con-b align-c">
...
...
@@ -51,6 +53,7 @@
</view>
</view>
<!-- 订单列表 -->
<view class="container-order">
<view class="status row con-b align-c">
<block wx:for="{{statusList}}" wx:for-index="index" wx:for-item="item" wx:key="index">
...
...
@@ -74,14 +77,14 @@
<text class="warning" wx:if="{{item.status === 3}}">待评价</text>
<text class="message" wx:if="{{item.status === -1}}">已取消</text>
<text class="message" wx:if="{{item.status === 4}}">已过期</text>
<text class="message" wx:if="{{item.status ===
3
}}">已评价</text>
<text class="message" wx:if="{{item.status ===
6
}}">已评价</text>
</view>
</view>
<!-- 商品数量样式一 -->
<view class="order-list-item-service row con-b align-c" wx:if="{{item.commodity.length === 1}}">
<image class="cover" src="{{item.commodity[0].cover}}"></image>
<text class="name">
精灵鸟理想国单人次票精灵鸟理想国单人次票
</text>
<text class="name">
{{item.commodity[0].name}}
</text>
<text class="total">{{'x ' + item.total}}</text>
</view>
...
...
@@ -110,4 +113,30 @@
</view>
</block>
</view>
</view>
<!-- 二维码弹窗 -->
<view class="code-mask row con-c align-c" wx:if="{{winCode}}">
<view class="code col con-c align-c">
<view class="code-tip col con-c align-c">
<text>{{'请将券码出示给门店核销人员'}}</text>
<text>{{'请将券码出示给门店核销人员'}}</text>
</view>
<view class="code-info col con-c align-c">
<view class="code-info-title">
<text>{{'《 阿凡达 》电影票'}}</text>
</view>
<view class="code-info-qrcode">
<image src="{{'data:image/png;base64,' + code.codeBase64}}"></image>
</view>
<view class="code-info-copy row con-b align-c">
<text>券码</text>
<text>{{'2719 7092 0925'}}</text>
<text>复制</text>
</view>
</view>
<view class="code-close row con-c align-c" bindtap="onCodeClose">
<image src="{{imageBase + 'icon/close-1.png'}}"></image>
</view>
</view>
</view>
\ No newline at end of file
pages/mine/order/order.wxss
View file @
dd5fd895
...
...
@@ -112,7 +112,7 @@ page {
width: 750rpx;
height: 100%;
padding-bottom: 120rpx;
background:
linear-gradient(180deg, #FFFFFF 0%, #F3F4F6 100%)
;
background:
#F3F4F6
;
}
.order-list-item {
...
...
@@ -205,4 +205,99 @@ page {
font-weight: 500;
line-height: 32rpx;
color: #FFFFFF;
}
/* 券码 */
.code-mask {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, .6);
}
.code {
padding: 56rpx 40rpx 64rpx 40rpx;
}
.code-tip text:nth-child(1) {
height: 36rpx;
font-size: 26rpx;
font-weight: 500;
line-height: 36rpx;
color: #FFFFFF;
}
.code-tip text:nth-child(2) {
height: 42rpx;
margin-top: 28rpx;
font-size: 30rpx;
font-weight: 400;
line-height: 42rpx;
color: #FFFFFF;
}
.code-info-qrcode {
margin-top: 56rpx;
}
.code-info-qrcode > image {
display: block;
width: 296rpx;
height: 296rpx;
}
.code-info {
width: 526rpx;
height: 666rpx;
margin-top: 56rpx;
border-radius: 4px;
background: #FFFFFF;
}
.code-info-copy {
width: 446rpx;
height: 96rpx;
margin-top: 56rpx;
padding: 0 24rpx;
border-radius: 4px;
background: #F2F3F5;
}
.code-info-copy text:nth-child(1) {
height: 36rpx;
font-size: 26rpx;
font-weight: 500;
line-height: 36rpx;
color: #959DA9;
}
.code-info-copy text:nth-child(2) {
height: 36rpx;
font-size: 26rpx;
font-weight: 500;
line-height: 36rpx;
color: #15191F;
}
.code-info-copy text:nth-child(3) {
height: 36rpx;
font-size: 26rpx;
font-weight: 500;
line-height: 36rpx;
color: #5DB5DD;
}
.code-close {
width: 80rpx;
height: 80rpx;
margin-top: 48rpx;
border-radius: 50%;
background: #A9A8A7;
}
.code-close > image {
width: 48rpx;
height: 48rpx;
}
\ No newline at end of file
pages/pay/order-detail/order-detail.js
View file @
dd5fd895
...
...
@@ -11,8 +11,8 @@ Page({
orderInfo
:
{},
fromPage
:
''
,
code
:
{},
winCod
e
:
false
,
code
Info
:
{},
isFromUs
e
:
false
,
winCode
:
false
,
},
...
...
@@ -22,11 +22,11 @@ Page({
this
.
setData
({
shopInfo
:
wx
.
getStorageSync
(
'shopInfoBuffer'
),
orderInfo
:
funcOrderInfo
,
fromPage
:
options
.
fromPage
===
'order'
?
'order'
:
''
fromPage
:
options
.
fromPage
===
'order'
?
'order'
:
''
,
isFromUse
:
options
.
showCode
===
'true'
?
true
:
false
,
})
console
.
log
(
funcOrderInfo
,
'--------------------------'
)
console
.
log
(
this
.
data
.
shopInfo
)
this
.
queryOrderDetail
()
},
...
...
@@ -78,8 +78,11 @@ Page({
orderInfo
:
funcOrderInfo
})
console
.
log
(
JSON
.
stringify
(
funcOrderInfo
))
console
.
log
(
this
.
data
.
shopInfo
)
// 判断是否自动展示二维码
// 订单列表 去使用 按钮
if
(
this
.
data
.
isFromUse
)
{
}
}
})
},
...
...
@@ -93,16 +96,29 @@ Page({
},
success
:
(
response
)
=>
{
let
funcResponse
=
response
.
data
let
funcCode
=
{
'codeBase64'
:
funcResponse
.
qrcode
let
funcCodeInfo
=
{
'codeNo'
:
funcResponse
.
serialNumber
,
'codeName'
:
funcResponse
.
name
,
'codeBase64'
:
funcResponse
.
qrcode
,
}
this
.
setData
({
code
:
funcCode
,
code
Info
:
funcCodeInfo
,
winCode
:
true
,
})
}
})
console
.
log
(
funcOrderInfo
)
},
onCodeCopy
:
function
()
{
wx
.
setClipboardData
({
data
:
this
.
data
.
codeInfo
.
codeNo
,
})
},
onCodeClose
:
function
()
{
this
.
setData
({
winCode
:
false
,
})
},
navBack
:
function
()
{
...
...
@@ -111,6 +127,5 @@ Page({
url
:
'/pages/mine/home/home'
,
})
}
console
.
log
(
'navBack'
)
}
},
})
\ No newline at end of file
pages/pay/order-detail/order-detail.wxml
View file @
dd5fd895
...
...
@@ -46,81 +46,154 @@
<!-- 订单信息 -->
<view class="info">
<!-- 年卡月卡 -->
<view class="info-content col con-c" wx:if="{{orderInfo.commodityType === 1}}">
<view class="info-content-item row">
<text class="info-content-item-label">使用门店</text>
<text class="info-content-item-title">儿童营地</text>
</view>
<view class="info-content-item row">
<text class="info-content-item-label"></text>
<text class="info-content-item-describe">周一至周日 10:00 - 20:00</text>
<block wx:if="{{orderInfo.commodityType === 1}}">
<view class="info-content col con-c">
<view class="info-content-item row">
<text class="info-content-item-label">使用门店</text>
<text class="info-content-item-title">{{shopInfo.name}}</text>
</view>
<view class="info-content-item row">
<text class="info-content-item-label"></text>
<text class="info-content-item-describe">周一至周日 10:00 - 20:00</text>
</view>
</view>
</
view
>
</
block
>
<!-- 普通商品 -->
<!-- 餐品 -->
<view class="info-content col con-c" wx:if="{{orderInfo.commodityType === 2}}">
<view class="info-content-item row">
<text class="info-content-item-label">使用门店</text>
<text class="info-content-item-title">{{orderInfo.shopName}}</text>
</view>
<view class="info-content-item row">
<text class="info-content-item-label"></text>
<text class="info-content-item-describe">周一至周日 10:00 - 20:00</text>
<block wx:if="{{orderInfo.commodityType === 2}}">
<view class="info-content col con-c">
<view class="info-content-item row">
<text class="info-content-item-label">使用门店</text>
<text class="info-content-item-title">{{shopInfo.name}}</text>
</view>
<view class="info-content-item row">
<text class="info-content-item-label"></text>
<text class="info-content-item-describe">周一至周日 10:00 - 20:00</text>
</view>
<view class="info-content-item row">
<text class="info-content-item-label">订单信息</text>
<text class="info-content-item-tip">儿童营地</text>
</view>
<view class="info-content-item row">
<text class="info-content-item-label"></text>
<text class="info-content-item-tip">18030303030</text>
</view>
</view>
<view class="info-content-item row">
<text class="info-content-item-label">订单信息</text>
<text class="info-content-item-tip">儿童营地</text>
<view class="info-line row con-b align-c">
<view class="info-line-point-left"></view>
<view class="info-line-line"></view>
<view class="info-line-point-right"></view>
</view>
<view class="info-content-item row">
<text class="info-content-item-label"></text>
<text class="info-content-item-tip">18030303030</text>
<view class="info-code col con-c align-c">
<text>{{'件餐品可用'}}</text>
<button class="row con-c align-c">一键扫码</button>
<text>{{'2019.09.30 - 2020.12.30'}}</text>
</view>
</
view
>
</
block
>
<!-- 活动 -->
<view class="info-content col con-c" wx:if="{{orderInfo.commodityType === -1}}">
<view class="info-content-item row">
<text class="info-content-item-label">报名活动</text>
<text class="info-content-item-title">儿童营地儿童营地儿童营地儿童营地儿童营地儿童营地</text>
</view>
<view class="info-content-item row">
<text class="info-content-item-label">活动时间</text>
<text class="info-content-item-describe">周一至周日 10:00 - 20:00</text>
<!-- 餐品 -->
<block wx:if="{{orderInfo.commodityType === 5}}">
<view class="info-content col con-c">
<view class="info-content-item row">
<text class="info-content-item-label">使用门店</text>
<text class="info-content-item-title">{{shopInfo.name}}</text>
</view>
<view class="info-content-item row">
<text class="info-content-item-label"></text>
<text class="info-content-item-describe">周一至周日 10:00 - 20:00</text>
</view>
<view class="info-content-item row">
<text class="info-content-item-label">订单信息</text>
<text class="info-content-item-tip">儿童营地</text>
</view>
<view class="info-content-item row">
<text class="info-content-item-label"></text>
<text class="info-content-item-tip">18030303030</text>
</view>
</view>
<view class="info-content-item row">
<text class="info-content-item-label">活动地点</text>
<text class="info-content-item-describe">儿童营地</text>
<view class="info-line row con-b align-c">
<view class="info-line-point-left"></view>
<view class="info-line-line"></view>
<view class="info-line-point-right"></view>
</view>
<view class="info-content-item row">
<text class="info-content-item-label">订单信息</text>
<text class="info-content-item-tip">姓名</text>
<view class="info-code col con-c align-c">
<text>{{'件餐品可用'}}</text>
<button class="row con-c align-c">一键扫码</button>
<text>{{'2019.09.30 - 2020.12.30'}}</text>
</view>
<view class="info-content-item row">
<text class="info-content-item-label"></text>
<text class="info-content-item-tip">18030303030</text>
</block>
<!-- 活动 -->
<block wx:if="{{orderInfo.commodityType === -1}}">
<view class="info-content col con-c">
<view class="info-content-item row">
<text class="info-content-item-label">报名活动</text>
<text class="info-content-item-title">儿童营地儿童营地儿童营地儿童营地儿童营地儿童营地</text>
</view>
<view class="info-content-item row">
<text class="info-content-item-label">活动时间</text>
<text class="info-content-item-describe">周一至周日 10:00 - 20:00</text>
</view>
<view class="info-content-item row">
<text class="info-content-item-label">活动地点</text>
<text class="info-content-item-describe">儿童营地</text>
</view>
<view class="info-content-item row">
<text class="info-content-item-label">订单信息</text>
<text class="info-content-item-tip">姓名</text>
</view>
<view class="info-content-item row">
<text class="info-content-item-label"></text>
<text class="info-content-item-tip">18030303030</text>
</view>
<view class="info-line row con-b align-c">
<view class="info-line-point-left"></view>
<view class="info-line-line"></view>
<view class="info-line-point-right"></view>
</view>
<view class="info-code col con-c align-c">
<text>{{'张门票可用'}}</text>
<button class="row con-c align-c">一键扫码</button>
<text>{{'2019.09.30 - 2020.12.30'}}</text>
</view>
</view>
</
view
>
</
block
>
<!-- 观影 -->
<view class="info-content col con-c" wx:if="{{orderInfo.commodityType === -2}}">
<view class="info-content-item row">
<text class="info-content-item-label">电影</text>
<text class="info-content-item-title">儿童营地</text>
</view>
<view class="info-content-item row">
<text class="info-content-item-label">场次</text>
<text class="info-content-item-describe">周一至周日 10:00 - 20:00</text>
<block wx:if="{{orderInfo.commodityType === -2}}">
<view class="info-content col con-c">
<view class="info-content-item row">
<text class="info-content-item-label">电影</text>
<text class="info-content-item-title">儿童营地</text>
</view>
<view class="info-content-item row">
<text class="info-content-item-label">场次</text>
<text class="info-content-item-describe">周一至周日 10:00 - 20:00</text>
</view>
<view class="info-content-item row">
<text class="info-content-item-label">订单信息</text>
<text class="info-content-item-tip">姓名</text>
</view>
<view class="info-content-item row">
<text class="info-content-item-label"></text>
<text class="info-content-item-tip">18030303030</text>
</view>
</view>
<view class="info-content-item row">
<text class="info-content-item-label">订单信息</text>
<text class="info-content-item-tip">姓名</text>
<view class="info-line row con-b align-c">
<view class="info-line-point-left"></view>
<view class="info-line-line"></view>
<view class="info-line-point-right"></view>
</view>
<view class="info-content-item row">
<text class="info-content-item-label"></text>
<text class="info-content-item-tip">18030303030</text>
<view class="info-code col con-c align-c">
<text>{{'张电影票可用'}}</text>
<button class="row con-c align-c">一键扫码</button>
<text>{{'2019.09.30 - 2020.12.30'}}</text>
</view>
</
view
>
</
block
>
</view>
<!-- 商品信息 -->
...
...
@@ -145,7 +218,7 @@
<text>{{item.amount}}</text>
</view>
</view>
<view class="commodity-item-operation">
<view class="commodity-item-operation"
wx:if="{{item.codeId}}"
>
<button class="row con-c align-c" data-item="{{item}}" bindtap="onCouponCode">查看券码</button>
</view>
</view>
...
...
@@ -173,8 +246,27 @@
</view>
</view>
<view class="code" wx:if="{{winCode}}">
<view class="code-info">
<image class="code-info-content" src="{{'data:image/png;base64,' + code.codeBase64}}"></image>
<!-- 二维码弹窗 -->
<view class="code-mask row con-c align-c" wx:if="{{winCode}}">
<view class="code col con-c align-c">
<view class="code-tip row con-c align-c">
<text>{{'请将券码出示给门店核销人员'}}</text>
</view>
<view class="code-info col con-c align-c">
<view class="code-info-title">
<text>{{codeInfo.codeName}}</text>
</view>
<view class="code-info-qrcode">
<image src="{{'data:image/png;base64,' + codeInfo.codeBase64}}"></image>
</view>
<view class="code-info-copy row con-b align-c">
<text>券码</text>
<text>{{codeInfo.codeNo}}</text>
<text bindtap="onCodeCopy">复制</text>
</view>
</view>
<view class="code-close row con-c align-c" bindtap="onCodeClose">
<image src="{{imageBase + 'icon/close-1.png'}}"></image>
</view>
</view>
</view>
\ No newline at end of file
pages/pay/order-detail/order-detail.wxss
View file @
dd5fd895
...
...
@@ -97,9 +97,74 @@
color: #15191F;
}
.info-line {
position: relative;
background: #F3F4F6;
}
.info-line-line {
width: 670rpx;
height: 1px;
border: 1px #E2E7EF dashed;
}
.info-line-point-left {
position: absolute;
left: -18rpx;
width: 36rpx;
height: 36rpx;
border-radius: 50%;
background: #FFFFFF;
}
.info-line-point-right {
position: absolute;
right: -18rpx;
width: 36rpx;
height: 36rpx;
border-radius: 50%;
background: #FFFFFF;
}
.info-code {
width: 670rpx;
min-height: 330rpx;
background: #F3F4F6;
}
.info-code text:nth-child(1) {
height: 48rpx;
font-size: 34rpx;
font-weight: 500;
line-height: 48rpx;
color: #15191F;
}
.info-code button {
width: 606rpx;
height: 96rpx;
margin-top: 40rpx;
border-radius: 4px;
background: #86C5E1;
font-size: 30rpx;
font-weight: 500;
line-height: 42rpx;
color: #FFFFFF;
}
.info-code text:nth-child(3) {
height: 36rpx;
margin-top: 40rpx;
font-size: 26rpx;
font-weight: 400;
line-height: 36rpx;
color: #959DAA;
}
/* 商品信息 */
.commodity {
margin: 0 40rpx;
margin:
64rpx 40rpx
0 40rpx;
}
.commodity-title {
...
...
@@ -201,7 +266,96 @@
}
/* 券码 */
.code-info-content {
.code-mask {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, .6);
}
.code {
padding: 56rpx 40rpx 64rpx 40rpx;
}
.code-tip text:nth-child(1) {
height: 36rpx;
font-size: 26rpx;
font-weight: 500;
line-height: 36rpx;
color: #FFFFFF;
}
.code-tip text:nth-child(2) {
height: 42rpx;
margin-top: 28rpx;
font-size: 30rpx;
font-weight: 400;
line-height: 42rpx;
color: #FFFFFF;
}
.code-info-qrcode {
margin-top: 56rpx;
}
.code-info-qrcode > image {
display: block;
width: 296rpx;
height: 296rpx;
}
.code-info {
width: 526rpx;
height: 666rpx;
margin-top: 56rpx;
border-radius: 4px;
background: #FFFFFF;
}
.code-info-copy {
width: 446rpx;
height: 96rpx;
margin-top: 56rpx;
padding: 0 24rpx;
border-radius: 4px;
background: #F2F3F5;
}
.code-info-copy text:nth-child(1) {
height: 36rpx;
font-size: 26rpx;
font-weight: 500;
line-height: 36rpx;
color: #959DA9;
}
.code-info-copy text:nth-child(2) {
height: 36rpx;
font-size: 26rpx;
font-weight: 500;
line-height: 36rpx;
color: #15191F;
}
.code-info-copy text:nth-child(3) {
height: 36rpx;
font-size: 26rpx;
font-weight: 500;
line-height: 36rpx;
color: #5DB5DD;
}
.code-close {
width: 80rpx;
height: 80rpx;
margin-top: 48rpx;
border-radius: 50%;
background: #A9A8A7;
}
.code-close > image {
width: 48rpx;
height: 48rpx;
}
\ No newline at end of file
pages/pay/order-input/order-input.js
View file @
dd5fd895
...
...
@@ -30,6 +30,9 @@ Page({
formIdNum
:
''
,
isSubmit
:
false
,
winToast
:
false
,
toastContent
:
''
,
// 购买内容
buyContent
:
''
,
// 商品封面
buyContentCover
:
''
,
...
...
@@ -294,9 +297,6 @@ Page({
shoppingCartList
:
funcShoppingCart
,
payAmount
:
App
.
modular
.
utils
.
formatAmount
(
funcPayAmount
),
})
console
.
log
(
'----------'
)
console
.
log
(
'funcShoppingCart'
,
JSON
.
stringify
(
this
.
data
.
shoppingCartList
))
},
/**
...
...
@@ -330,7 +330,6 @@ Page({
},
onInputBlur
:
function
(
event
)
{
console
.
log
(
event
)
let
funcType
=
event
.
target
.
dataset
.
type
let
funcIndex
=
event
.
target
.
dataset
.
index
let
funcValue
=
event
.
detail
.
value
...
...
@@ -486,8 +485,6 @@ Page({
}
}
}
console
.
log
(
'inspectData'
,
funcPass
)
return
funcPass
},
...
...
@@ -504,9 +501,8 @@ Page({
// 整合商品数据
let
funcCommodity
=
[]
let
funcShoppingCartList
=
this
.
data
.
shoppingCartList
console
.
log
(
funcShoppingCartList
)
for
(
let
i
=
0
,
l
=
funcShoppingCartList
.
length
;
i
<
l
;
i
++
)
{
if
(
funcShoppingCartList
.
isActive
)
{
if
(
funcShoppingCartList
[
i
]
.
isActive
)
{
let
funcItem
=
{
'smCommodity'
:
{
'id'
:
funcShoppingCartList
[
i
].
id
,
...
...
@@ -547,10 +543,17 @@ Page({
'smPersonalDetails'
:
funcUserInfo
},
success
:
(
response
)
=>
{
let
funcResponse
=
response
.
data
.
wxRequest
// 库存不足
// if (funcResponse.)
console
.
log
(
response
)
if
(
/库存不足/
.
test
(
response
.
data
.
message
))
{
this
.
setData
({
winToast
:
true
,
toastContent
:
response
.
msg
,
})
return
}
let
funcResponse
=
response
.
data
.
wxRequest
// 库存充足正常下单支付
pagePayId
=
response
.
data
.
orderId
this
.
setData
({
...
...
@@ -599,7 +602,6 @@ Page({
'orderId'
:
pagePayId
},
success
:
(
response
)
=>
{
console
.
log
(
response
)
// -1 - 已取消,0 - 未付款,1 - 未发货,2 - 待使用,3 - 已使用,4 - 已过期
let
funcResponse
=
response
.
data
if
(
funcResponse
.
status
===
'2'
)
{
...
...
@@ -624,7 +626,7 @@ Page({
clearInterval
(
App
.
globalData
.
payStateTimer
)
if
(
funcPayResult
)
{
// 支付成功进入成功页面
wx
.
navigateTo
({
wx
.
reLaunch
({
url
:
'/pages/pay/order-state/order-state?state='
+
funcPayResult
+
'&amount='
+
this
.
data
.
buyContentAmount
+
'&orderId='
+
this
.
data
.
orderId
})
}
else
{
...
...
pages/pay/order-input/order-input.wxml
View file @
dd5fd895
<l-toast show="{{winToast}}" icon="error" title="{{toastContent}}"></l-toast>
<!-- 购买须知详情 -->
<view class="notice-detail" wx:if="{{winNoticeDetail}}" bindtap="onNoticeClose">
<view class="notice-item" animation="{{animation}}">
...
...
pages/pay/order-state/order-state.wxss
View file @
dd5fd895
...
...
@@ -53,6 +53,7 @@
height: 96rpx;
border-radius: 4px;
border: 1px solid #86C5E1;
background: #FFFFFF;
font-size: 30rpx;
font-weight: 500;
...
...
pages/play/home/home.js
View file @
dd5fd895
...
...
@@ -58,7 +58,6 @@ Page({
onLoad
:
function
(
options
)
{
this
.
setNavigationLogo
()
this
.
queryActivity
()
},
onShow
:
function
()
{
...
...
@@ -82,10 +81,6 @@ Page({
})
},
queryActivity
:
function
()
{
},
/**
* 设置标题高度
* @function
...
...
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