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
304b26a4
authored
Sep 30, 2020
by
严立
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
LL - 电影时间
parent
5ef04455
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
24 additions
and
5 deletions
pages/commodity/home/home.wxml
pages/commodity/menu-food/image/tip.png
pages/commodity/menu-food/menu-food.wxml
pages/commodity/menu-food/menu-food.wxss
pages/pay/order-detail/order-detail.js
pages/pay/order-input/order-input.js
pages/commodity/home/home.wxml
View file @
304b26a4
...
@@ -114,7 +114,7 @@
...
@@ -114,7 +114,7 @@
</view>
</view>
<swiper indicator-dots="true">
<swiper indicator-dots="true">
<!-- 儿童营地文创店 -->
<!-- 儿童营地文创店 -->
<swiper-item>
<
!-- <
swiper-item>
<view class="shop-banner row con-c">
<view class="shop-banner row con-c">
<image src="{{resourcesBase + 'commodity/home/shop-4.png'}}"></image>
<image src="{{resourcesBase + 'commodity/home/shop-4.png'}}"></image>
<button class="row con-c align-c" data-id="{{3}}" bindtap="onBuyOriginality"></button>
<button class="row con-c align-c" data-id="{{3}}" bindtap="onBuyOriginality"></button>
...
@@ -127,7 +127,7 @@
...
@@ -127,7 +127,7 @@
</view>
</view>
</block>
</block>
</view>
</view>
</swiper-item>
</swiper-item>
-->
<!-- 海错图文创店 -->
<!-- 海错图文创店 -->
<swiper-item>
<swiper-item>
...
...
pages/commodity/menu-food/image/tip.png
0 → 100644
View file @
304b26a4
2.96 KB
pages/commodity/menu-food/menu-food.wxml
View file @
304b26a4
...
@@ -95,6 +95,12 @@
...
@@ -95,6 +95,12 @@
</block>
</block>
</block>
</block>
<block wx:if="{{commodityList.length === 0}}">
<view class="nothing-tip row con-c align-c">
<image src="./image/tip.png"></image>
</view>
</block>
<!-- 购物车按钮 -->
<!-- 购物车按钮 -->
<view id="cart" class="cart row con-c align-c" bindtap="onShoppingCart">
<view id="cart" class="cart row con-c align-c" bindtap="onShoppingCart">
<!-- 添加动画圆点 -->
<!-- 添加动画圆点 -->
...
...
pages/commodity/menu-food/menu-food.wxss
View file @
304b26a4
...
@@ -406,4 +406,14 @@ image {
...
@@ -406,4 +406,14 @@ image {
height: 26rpx;
height: 26rpx;
border-radius: 50%;
border-radius: 50%;
background: #86c5e1;
background: #86c5e1;
}
.nothing-tip {
padding-top: 480rpx;
flex-grow: 1;
}
.nothing-tip image {
width: 174rpx;
height: 114rpx;
}
}
\ No newline at end of file
pages/pay/order-detail/order-detail.js
View file @
304b26a4
...
@@ -266,9 +266,9 @@ Page({
...
@@ -266,9 +266,9 @@ Page({
// 电影
// 电影
if
(
Number
(
funcOrderInfo
.
commodityType
)
===
-
2
)
{
if
(
Number
(
funcOrderInfo
.
commodityType
)
===
-
2
)
{
let
funcDate
=
funcOrderInfo
.
expireTime
.
match
(
/
[
0-9
]
+-
[
0-9
]
+-
[
0-9
]
+/
)[
0
]
let
funcDate
=
funcOrderInfo
.
expireTime
.
match
(
/
[
0-9
]
+-
[
0-9
]
+-
[
0-9
]
+/
)[
0
]
let
funcTime
=
funcOrderInfo
.
expireTime
.
match
(
/
[
0-9
]
+:
[
0-9
]
+/
,
'g'
)
let
funcTime
=
funcOrderInfo
.
expireTime
.
match
(
/
[
0-9
]
+:
[
0-9
]
+/
g
)
console
.
log
(
funcDate
)
console
.
log
(
funcTime
)
funcOrderInfo
.
expireTime
=
App
.
modular
.
miment
(
funcDate
).
format
(
'MM月DD日 '
)
+
funcTime
[
0
]
+
' - '
+
funcTime
[
1
]
}
}
...
...
pages/pay/order-input/order-input.js
View file @
304b26a4
...
@@ -462,6 +462,8 @@ Page({
...
@@ -462,6 +462,8 @@ Page({
quantityTipNumber
:
funcDate
[
0
][
0
].
residue
,
quantityTipNumber
:
funcDate
[
0
][
0
].
residue
,
quantityMax
:
funcDate
[
0
][
0
].
residue
<
3
?
funcDate
[
0
][
0
].
residue
:
3
,
quantityMax
:
funcDate
[
0
][
0
].
residue
<
3
?
funcDate
[
0
][
0
].
residue
:
3
,
quantityMin
:
1
,
quantityMin
:
1
,
buyContentCover
:
funcResponse
.
cover
})
})
// 如果存在场次 id 则重新设置场次信息
// 如果存在场次 id 则重新设置场次信息
...
...
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