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
13035af7
authored
Nov 05, 2020
by
严立
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
LL - 积分商城订单状态完成
parent
17f52045
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
235 additions
and
145 deletions
pages/club/information/information.js
pages/club/information/information.wxml
pages/club/information/information.wxss
pages/mall/exchange-record/exchange-record.js
pages/mall/exchange-record/exchange-record.wxml
pages/mall/exchange-record/exchange-record.wxss
pages/mall/exchange-state/exchange-state.js
pages/mall/exchange-state/exchange-state.wxml
pages/mall/exchange-state/exchange-state.wxss
pages/mall/exchange-submit/exchange-submit.js
pages/mall/exchange-submit/exchange-submit.wxml
pages/mall/exchange-submit/exchange-submit.wxss
pages/mall/home/home.wxml
pages/mine/accumulate/accumulate.js
pages/mine/accumulate/accumulate.wxml
pages/mine/accumulate/accumulate.wxss
pages/mine/appointment/appointment.js
pages/mine/appointment/appointment.wxml
pages/mine/club/club.js
pages/mine/club/club.wxml
pages/mine/club/club.wxss
pages/pay/coupon-input/coupon-input.js
pages/play/service-detail/service-detail.js
read.js
pages/club/information/information.js
View file @
13035af7
...
...
@@ -10,7 +10,6 @@ Page({
winEnter
:
false
,
// 加入提交提示
winPowerInfoEnter
:
false
,
// 加入权限提示
winExamineRemark
:
false
,
winExamineTip
:
false
,
},
...
...
@@ -29,8 +28,6 @@ Page({
'content'
:
''
,
'isOwner'
:
false
},
examineRemark
:
options
.
remark
?
options
.
remark
:
''
,
winExamineRemark
:
options
.
remark
?
true
:
false
,
})
this
.
queryClubInfo
()
this
.
queryActivity
()
...
...
@@ -193,7 +190,6 @@ Page({
winPowerInfoEstablish
:
false
,
winEnter
:
false
,
winPowerInfoEnter
:
false
,
winExamineRemark
:
false
,
})
},
...
...
pages/club/information/information.wxml
View file @
13035af7
...
...
@@ -69,7 +69,9 @@
</view>
</view>
</block>
<view class="card-item column ac"></view>
<view class="card_item_last row">
<text> </text>
</view>
</view>
</view>
...
...
@@ -95,7 +97,7 @@
<m-button-bottom text="申请加入" bindclick="onEnterClub"></m-button-bottom>
</view>
<!-- 加入权限提醒 -->
<!--
俱乐部
加入权限提醒 -->
<view class="member-power row cc ac" wx:if="{{winPowerInfoEnter}}">
<view class="member-power-info col cc ac">
<text>权限提醒</text>
...
...
@@ -107,15 +109,4 @@
<!-- 俱乐部加入提交成功 -->
<view class="submit-success row cc ac" wx:if="{{winEnter}}">>
<image src="{{resourcesBase + 'operation-tip/club-enter.png'}}" bindtap="onCloseTip"></image>
</view>
<!-- 加入审核拒绝提示 -->
<view class="dialog_examine row cc ac" wx:if="{{winExamineRemark}}">
<view class="dialog_examine_content column cc ac">
<text class="font_bold_50 color_regular">审核说明</text>
<view class="dialog_examine_content_remark row">
<text class="font_normal_30 color_cancel">{{'失败原因:' + examineRemark}}</text>
</view>
<button class="dialog_examine_close font_bold_30 color_regular row cc ac" bindtap="onCloseTip">我知道了</button>
</view>
</view>
\ No newline at end of file
pages/club/information/information.wxss
View file @
13035af7
...
...
@@ -114,9 +114,13 @@
background: #F5F6F8;
}
.card-item:last-child {
width: 1px !important;
.card_item_last {
display: inline-block;
width: 2px;
height: 552rpx;
border: 1px rgba(0, 0, 0, 0) solid;
background: rgba(0, 0, 0, 0);
overflow: hidden;
}
.card-item-cover {
...
...
@@ -280,37 +284,4 @@
font-weight: 500;
line-height: 42rpx;
color: #15191F;
}
/* 弹窗 - 审核拒绝备注 */
.dialog_examine {
z-index: 7;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, .65);
}
.dialog_examine_content {
width: 606rpx;
height: 538rpx;
border-radius: 2px;
background: #FFFFFF;
}
.dialog_examine_content_remark {
width: 526rpx;
height: 162rpx;
margin: 48rpx 0 0 0;
overflow-y: scroll;
}
.dialog_examine_close {
width: 526rpx;
height: 80rpx;
margin: 72rpx 0 0 0;
border-radius: 4rpx;
border: 1px solid #15191F;
}
\ No newline at end of file
pages/mall/exchange-record/exchange-record.js
View file @
13035af7
...
...
@@ -34,7 +34,8 @@ Page({
'price'
:
funcData
[
i
].
smOrderDetails
[
0
].
unitPrice
,
'priceTotal'
:
funcData
[
i
].
smOrderDetails
[
0
].
totalPrices
,
'quantity'
:
funcData
[
i
].
smOrderDetails
[
0
].
number
,
'state'
:
Number
(
funcData
[
i
].
status
)
'state'
:
Number
(
funcData
[
i
].
status
),
'timeCreate'
:
App
.
modular
.
miment
(
funcData
[
i
].
createDate
).
format
(
'YYYY-MM-DD hh:mm:ss'
)
}
funcList
.
push
(
funcItem
)
}
...
...
pages/mall/exchange-record/exchange-record.wxml
View file @
13035af7
...
...
@@ -8,7 +8,7 @@
<!-- 待发货 -->
<view class="record_item column" wx:if="{{item.state === 1}}" data-item="{{item}}" bindtap="onRecordDetail">
<view class="row cb ac">
<text class="font_normal_26 color_secondary">{{'
订单编号:'
}}</text>
<text class="font_normal_26 color_secondary">{{'
下单时间:' + item.timeCreate
}}</text>
<text class="font_normal_26 color_warning">待发货</text>
</view>
<view class="record_item_info row ac">
...
...
@@ -31,7 +31,7 @@
<!-- 待收货 -->
<view class="record_item column" wx:if="{{item.state === 2 || item.state === 5}}" data-item="{{item}}" bindtap="onRecordDetail">
<view class="row cb ac">
<text class="font_normal_26 color_secondary">{{'
订单编号:'
}}</text>
<text class="font_normal_26 color_secondary">{{'
下单时间:' + item.timeCreate
}}</text>
<text class="font_normal_26 color_warning">待收货</text>
</view>
<view class="record_item_info row ac">
...
...
@@ -54,7 +54,7 @@
<!-- 已完成 -->
<view class="record_item column" wx:if="{{item.state === 3}}" data-item="{{item}}" bindtap="onRecordDetail">
<view class="row cb ac">
<text class="font_normal_26 color_secondary">{{'下单时间:'}}</text>
<text class="font_normal_26 color_secondary">{{'下单时间:'
+ item.timeCreate
}}</text>
<text class="font_normal_26 color_secondary">已完成</text>
</view>
<view class="record_item_info row ac">
...
...
@@ -73,6 +73,29 @@
<button class="record_item_operation_logistics row cc ac" data-item="{{item}}" catchtap="onDelete">删除订单</button>
</view>
</view>
<!-- 已过期 -->
<view class="record_item column" wx:if="{{item.state === 4}}" data-item="{{item}}" bindtap="onRecordDetail">
<view class="row cb ac">
<text class="font_normal_26 color_secondary">{{'下单时间:' + item.timeCreate}}</text>
<text class="font_normal_26 color_secondary">已过期</text>
</view>
<view class="record_item_info row ac">
<view class="record_item_info_cover">
<image src="{{item.cover}}"></image>
</view>
<view class="record_item_info_name row ac">
<text class="font_bold_30 color_regular">{{item.name}}</text>
</view>
<view class="record_item_info_price column ce ae">
<text class="font_bold_30 color_regular">{{item.priceTotal + ' 积分'}}</text>
<text class="font_normal_26 color_secondary">x1</text>
</view>
</view>
<view class="record_item_operation row ce ac">
<button class="record_item_operation_logistics row cc ac" data-item="{{item}}" catchtap="onDelete">删除订单</button>
</view>
</view>
</block>
</view>
</view>
\ No newline at end of file
pages/mall/exchange-record/exchange-record.wxss
View file @
13035af7
...
...
@@ -5,7 +5,7 @@
}
.record_list {
margin:
4
0rpx 0 0 0;
margin:
1
0rpx 0 0 0;
}
.record_item {
...
...
@@ -31,14 +31,20 @@
.record_item_info_name {
width: 256rpx;
max-height: 80px;
padding: 0 0 10rpx 0;
}
.record_item_info_price {
flex-grow: 1;
padding: 0 0 10rpx 0;
}
.record_item_info_price > text:nth-child(2) {
margin: 10rpx 0 0 0;
}
.record_item_operation {
margin:
4
8rpx 0 0 0;
margin:
3
8rpx 0 0 0;
}
.record_item_operation_logistics {
...
...
pages/mall/exchange-state/exchange-state.js
View file @
13035af7
...
...
@@ -36,6 +36,12 @@ Page({
this
.
queryExchangeDetail
()
},
/**
* 查询订单详情
* @function
* @param
* @returns
*/
queryExchangeDetail
:
function
()
{
App
.
ui
.
showToast
({
iconType
:
'loading'
,
...
...
@@ -69,7 +75,7 @@ Page({
// 已使用
case
3
:
funcStateTitle
=
'订单已
使用
'
funcStateTitle
=
'订单已
完成
'
funcStateCss
=
'background: #ECF4F8;'
break
...
...
@@ -93,7 +99,6 @@ Page({
'userName'
:
funcData
.
name
,
'userPhone'
:
funcData
.
mobilePhone
,
}
console
.
log
(
funcCouponInfo
)
// 兑换商品数据
let
funcGoodsInfo
=
[]
...
...
@@ -109,7 +114,6 @@ Page({
funcGoodsInfo
.
push
(
funcItem
)
funcIntegralTotal
=
funcIntegralTotal
+
funcItem
.
price
*
funcItem
.
quantity
}
console
.
log
(
funcGoodsInfo
)
// 寄送地址
let
funcAddressInfo
=
{
...
...
@@ -124,10 +128,10 @@ Page({
let
funcOtherInfo
=
{
'timeExpire'
:
funcData
.
expireTime
.
replace
(
/-/g
,
'.'
).
replace
(
/ /g
,
''
).
replace
(
/~/g
,
'-'
),
'timeCreate'
:
funcData
.
createDate
,
'time
Shipment'
:
''
,
'time
Express'
:
funcData
.
sendGoodDate
,
'orderNumber'
:
funcData
.
orderSerialNumber
,
'expressNumber'
:
funcData
.
logisticsNo
}
console
.
log
(
funcOtherInfo
)
this
.
setData
({
state
:
funcState
,
...
...
@@ -144,15 +148,30 @@ Page({
isViewDataReady
:
true
,
})
console
.
log
(
'funcState'
,
funcState
)
console
.
log
(
'isExpress'
,
this
.
data
.
isExpress
)
App
.
ui
.
hideToast
()
}).
catch
((
response
)
=>
{
})
},
/**
* 复制物流单号
* @function
* @param
* @returns
*/
onCopyExpressNumber
:
function
()
{
wx
.
setClipboardData
({
data
:
this
.
data
.
otherInfo
.
expressNumber
,
})
},
/**
* 查看兑换券码
* @function
* @param
* @returns
*/
onCouponCodeScan
:
function
()
{
App
.
request
({
url
:
'v1/order/getVolumesByOrderId'
,
...
...
@@ -176,18 +195,36 @@ Page({
})
},
/**
* 复制兑换券码
* @function
* @param
* @returns
*/
onCouponCodeCopy
:
function
()
{
wx
.
setClipboardData
({
data
:
this
.
data
.
couponInfo
.
codeNumber
,
})
},
/**
* 关闭兑换券码弹窗
* @function
* @param
* @returns
*/
onCouponCodeClose
:
function
()
{
this
.
setData
({
winCouponCode
:
false
})
},
/**
* 查看使用须知
* @function
* @param
* @returns
*/
onGoodsNotes
:
function
()
{
this
.
setData
({
winPopup
:
true
...
...
pages/mall/exchange-state/exchange-state.wxml
View file @
13035af7
...
...
@@ -4,15 +4,21 @@
<view class="container" wx:if="{{isViewDataReady}}">
<!-- 订单状态 -->
<view class="state column cc" style="{{stateCss}}" wx:if="{{
isExpress && state !== 2
}}">
<view class="state column cc" style="{{stateCss}}" wx:if="{{
(isExpress && state !== 2) || state === 3 || state === 4
}}">
<text class="font_bold_54 color_regular">{{stateTitle}}</text>
<text class="font_normal_26 color_regular" wx:if="{{state === 4}}">{{'有效期' + otherInfo.timeExpire}}</text>
<view class="state_tip row ac" wx:if="{{state === 4}}">
<text class="font_normal_26 color_regular">{{'有效期:' + otherInfo.timeExpire}}</text>
</view>
<view class="state_tip row ac" wx:if="{{state === 5}}">
<text class="font_normal_26 color_regular">{{'物流单号:' + otherInfo.expressNumber}}</text>
<text class="font_bolder_26 color_regular" space="nbsp" bindtap="onCopyExpressNumber"> 复制</text>
</view>
</view>
<!-- 邮寄订单内容 -->
<block wx:if="{{isExpress}}">
<!-- 快递提示 -->
<view class="express_tip row ac">
<view class="express_tip row ac"
wx:if="{{state !== 3}}"
>
<image class="icon_32" src="{{imageBase + 'icon/warning-4.png'}}"></image>
<text class="font_normal_22 color_tip">快递运费自理,顺丰到付,12-23元不等</text>
</view>
...
...
@@ -95,7 +101,7 @@
<text class="font_normal_26 color_regular">{{couponInfo.userPhone}}</text>
</view>
</view>
<view class="coupon_code">
<view class="coupon_code"
wx:if="{{state !== 3 && state !== 4}}"
>
<view class="coupon_code_point_left"></view>
<view class="coupon_code_point_right"></view>
<view class="coupon_code_name row cc ac">
...
...
@@ -108,7 +114,7 @@
<text class="font_normal_26 color_secondary">{{'有效期' + otherInfo.timeExpire}}</text>
</view>
</view>
<view class="notice row ce ac" bindtap="onGoodsNotes">
<view class="notice row ce ac"
wx:if="{{state !== 3 && state !== 4}}"
bindtap="onGoodsNotes">
<text class="font_normal_30 color_secondary">使用须知</text>
<image class="icon_32" src="{{imageBase + 'icon/arrow-r-2.png'}}"></image>
</view>
...
...
@@ -154,11 +160,15 @@
<view class="other column">
<text class="font_normal_22 color_secondary">{{'订单编号: ' + otherInfo.orderNumber}}</text>
<text class="font_normal_22 color_secondary">{{'下单时间: ' + otherInfo.timeCreate}}</text>
<block wx:if="{{isExpress && (state === 2 || state === 3 || state === 5)}}">
<text class="font_normal_22 color_secondary">{{'发货时间:' + otherInfo.timeExpress}}</text>
<text class="font_normal_22 color_secondary">{{'物流单号:' + otherInfo.expressNumber}}</text>
</block>
</view>
<!-- 操作按钮 -->
<view class="operation row ce ac" wx:if="{{state !== 1 && state !== 2}}">
<button class="operation_cancel row cc ac font_normal_30 color_cancel" wx:if="{{state === 3}}" bindtap="onDelete">删除订单</button>
<button class="operation_cancel row cc ac font_normal_30 color_cancel" wx:if="{{state === 3
|| state === 4
}}" bindtap="onDelete">删除订单</button>
<button class="operation_submit row cc ac font_normal_30 color_submit" wx:if="{{state === 5}}" bindtap="onConfirm">确认收货</button>
</view>
</view>
...
...
pages/mall/exchange-state/exchange-state.wxss
View file @
13035af7
...
...
@@ -12,7 +12,7 @@
background: #ECF4F8;
}
.state
> text:nth-child(2)
{
.state
_tip
{
margin: 30rpx 0 0 0;
}
...
...
@@ -38,7 +38,7 @@
.coupon_info {
height: 342rpx;
padding: 48rpx
48rpx 0 48
rpx;
padding: 48rpx
32rpx 0 32
rpx;
border-radius: 2px;
background: #F3F4F6;
}
...
...
@@ -61,7 +61,7 @@
.coupon_info_phone > text:nth-child(1) {
width: 104rpx;
height: 36rpx;
margin: 0 4
0
rpx 0 0;
margin: 0 4
8
rpx 0 0;
}
.coupon_code {
...
...
@@ -150,7 +150,7 @@
}
.address_info_detail_address {
height: 36
rpx;
max-width: 472
rpx;
margin: 16rpx 0 0 0;
font-size: 26rpx;
font-weight: 400;
...
...
@@ -219,8 +219,8 @@
margin: 32rpx 0 0 0;
}
.other > text
:nth-child(2)
{
margin:
10rpx 0 0
0;
.other > text {
margin:
0 0 10rpx
0;
}
/* 相关操作 */
...
...
@@ -240,7 +240,8 @@
width: 200rpx;
height: 80rpx;
border-radius: 2px;
border: 1px solid #C2C7CF;
border: 1px solid #C2C7CF;
background: #FFFFFF;
}
.operation_submit {
...
...
@@ -300,9 +301,4 @@
min-height: 200rpx;
margin: 40rpx 0 0 0;
overflow-y: scroll;
}
img {
max-width: 100%;
max-height: 100%;
}
\ No newline at end of file
pages/mall/exchange-submit/exchange-submit.js
View file @
13035af7
...
...
@@ -18,6 +18,10 @@ Page({
addressList
:
[],
// 收货地址列表
addressSelection
:
{},
// 选择地址
exchangeForm
:
{},
winPopup
:
false
,
goodsNotes
:
''
,
},
onLoad
:
function
(
options
)
{
...
...
@@ -56,7 +60,7 @@ Page({
'cover'
:
funcData
.
coverImg
,
'price'
:
funcData
.
price
,
'banner'
:
funcData
.
imgs
,
'notice'
:
funcData
.
notification
,
// 使用须知
'notice'
:
funcData
.
notification
.
replace
(
/<img /g
,
'<img style="max-width: 100%; max-height: 100%;" '
)
,
// 使用须知
'content'
:
funcData
.
particulars
,
// 详情
'describe'
:
funcData
.
synopsis
,
// 描述
'shopIdUse'
:
funcData
.
usedOfficeId
,
// 使用门店
...
...
@@ -71,6 +75,9 @@ Page({
isSupportExpress
:
Boolean
(
Number
(
funcData
.
expressType
)),
})
console
.
log
(
this
.
data
.
isExpress
)
console
.
log
(
this
.
data
.
isSupportExpress
)
// 设置门店信息
let
funcShopInfo
=
App
.
getShopInfo
(
this
.
data
.
goodsInfo
.
shopIdUse
)
if
(
funcShopInfo
.
appId
===
0
)
{
...
...
@@ -181,13 +188,19 @@ Page({
wx
.
navigateTo
({
url
:
'/pages/mine/address-list/address-list'
})
},
onGoodsNotes
:
function
()
{
this
.
setData
({
winPopup
:
true
})
},
/**
* 取货类型选择
* @function
* @returns
*/
onExpress
:
function
()
{
if
(
this
.
data
.
goodsInfo
.
isSupportExpress
)
{
if
(
this
.
data
.
isSupportExpress
)
{
this
.
setData
({
isExpress
:
!
this
.
data
.
isExpress
})
...
...
pages/mall/exchange-submit/exchange-submit.wxml
View file @
13035af7
...
...
@@ -105,7 +105,7 @@
</view>
</view>
</view>
<view class="goods_tip row ce ac">
<view class="goods_tip row ce ac"
bindtap="onGoodsNotes"
>
<text>兑换须知</text>
<image class="icon_32" src="{{imageBase + 'icon/arrow-r-2.png'}}"></image>
</view>
...
...
@@ -180,4 +180,13 @@
</view>
</view>
</view>
</view>
\ No newline at end of file
</view>
<m-popup isShow="{{winPopup}}">
<view class="popup_container column" slot="content">
<text class="popup_title font_bold_42 color_regular">兑换须知</text>
<view class="popup_content">
<rich-text nodes="{{goodsInfo.notice}}"></rich-text>
</view>
</view>
</m-popup>
\ No newline at end of file
pages/mall/exchange-submit/exchange-submit.wxss
View file @
13035af7
...
...
@@ -369,4 +369,16 @@
font-weight: 800;
line-height: 44rpx;
color: #FFFFFF;
}
/* 使用须知 */
.popup_container {
max-height: 1100rpx;
padding: 56rpx 40rpx;
}
.popup_content {
min-height: 200rpx;
margin: 40rpx 0 0 0;
overflow-y: scroll;
}
\ No newline at end of file
pages/mall/home/home.wxml
View file @
13035af7
...
...
@@ -3,7 +3,7 @@
<view class="container">
<view class="integral_operation">
<image src="{{resourcesBase + '
mall/home-bgi
.png'}}"></image>
<image src="{{resourcesBase + '
bgi/bgi-00
.png'}}"></image>
<view class="row ae">
<view class="integral_quantity column">
<text>{{integral}}</text>
...
...
pages/mine/accumulate/accumulate.js
View file @
13035af7
let
App
=
getApp
()
Page
({
data
:
{
imageResourcesBase
:
App
.
globalData
.
appResourcesBase
,
showMenu
:
false
,
menu
:
'全 部'
,
menuList
:
[{
id
:
''
,
name
:
'全 部'
},
{
id
:
0
,
name
:
'获 取'
},
{
id
:
1
,
name
:
'已使用'
}
menuList
:
[
{
id
:
''
,
name
:
'全 部'
},
{
id
:
0
,
name
:
'获 取'
},
{
id
:
1
,
name
:
'已使用'
}
],
pageNo
:
'1'
,
pageSize
:
'-1'
,
...
...
@@ -34,13 +25,13 @@ Page({
this
.
queryIntegral
()
},
setAccumulateListHeight
:
function
()
{
let
funcWindowHeight
=
wx
.
getSystemInfoSync
().
windowHeight
let
funcAccumulateListHeight
=
funcWindowHeight
-
410
*
wx
.
getStorageSync
(
'unitProportion'
)
this
.
setData
({
accumulateListHeight
:
funcAccumulateListHeight
})
console
.
log
(
funcAccumulateListHeight
)
},
/**
...
...
pages/mine/accumulate/accumulate.wxml
View file @
13035af7
...
...
@@ -2,9 +2,7 @@
<view class="container con-s" bindtap="onHideMenu">
<!-- 积分背景图 -->
<image class="banner" src="{{imageResourcesBase + 'mine/home/integral-bg.png'}}"></image>
<view class="opacity-cover"></view>
<image class="banner" src="{{resourcesBase + 'bgi/bgi-00.png'}}"></image>
<view class="my-accumulate">
<text>{{integral}}</text>
</view>
...
...
@@ -30,7 +28,8 @@
</view>
<!-- 有积分 -->
<view class="accumulate-wrapper col align-c" wx:else style="{{'max-height:' + accumulateListHeight + 'px;'}}">
<!-- <view class="accumulate-wrapper col align-c" wx:else style="{{'max-height:' + accumulateListHeight + 'px;'}}"> -->
<view class="accumulate-wrapper col align-c" wx:else>
<block wx:for="{{accumulateList}}" wx:key="index">
<view class="accumulate row con-b align-c">
<view class="accumulate-left col con-b">
...
...
pages/mine/accumulate/accumulate.wxss
View file @
13035af7
...
...
@@ -16,17 +16,6 @@ page {
height: 480rpx;
}
.opacity-cover {
position: fixed;
z-index: -1;
top: 0;
left: 0;
width: 750rpx;
height: 480rpx;
background: linear-gradient(218deg, rgba(63, 67, 87, 0.8) 0%, #252532 100%);
opacity: 0.84;
}
.my-accumulate {
width: 670rpx;
margin-top: 232rpx;
...
...
pages/mine/appointment/appointment.js
View file @
13035af7
...
...
@@ -30,8 +30,6 @@ Page({
onLoad
:
function
(
options
)
{
console
.
log
(
'options'
,
options
)
switch
(
options
.
tab
)
{
case
'active'
:
options
.
tab
=
0
...
...
@@ -84,10 +82,11 @@ Page({
* @param
* @returns
*/
onOrderEvaluate
:
function
(
event
)
{
let
item
=
JSON
.
stringify
(
event
.
currentTarget
.
dataset
.
item
)
onOrderEvaluate
:
function
(
funcEvent
)
{
let
funcItem
=
funcEvent
.
currentTarget
.
dataset
.
item
console
.
log
(
funcItem
)
wx
.
navigateTo
({
url
:
`/pages/pay/order-comment/order-comment?orderItem=
${
item
}
&pageFrom=activityList`
,
url
:
'/pages/pay/order-comment/order-comment?id='
+
funcItem
.
orderId
,
})
},
...
...
pages/mine/appointment/appointment.wxml
View file @
13035af7
...
...
@@ -138,7 +138,7 @@
<text>{{activity.amount}}</text>
</view>
<view class="appointment-activity-btn row">
<view
data-item="{{activity}}" catchtap="onOrderEvaluate" class="confirm-btn
">去评价</view>
<view
class="confirm-btn" data-item="{{activity}}" catchtap="onOrderEvaluate
">去评价</view>
</view>
</view>
</view>
...
...
pages/mine/club/club.js
View file @
13035af7
This diff is collapsed.
Click to expand it.
pages/mine/club/club.wxml
View file @
13035af7
...
...
@@ -21,13 +21,26 @@
<text>{{item.name}}</text>
<text class="owner-mark" wx:if="{{item.isOwner}}">业主专享</text>
</view>
<view class="club-info-other row cb ae" data-item="{{item}}" bindtap="{{tabIndex === 0 ? 'onAdminInfo' : 'onEstablishClubExamineTip'}}">
<!-- 我加入的 -->
<view class="club-info-other row cb ae" hidden="{{!(tabIndex === 0)}}" data-item="{{item}}" bindtap="onGetClubAdminInfo">
<view class="club-info-examine column">
<text>{{item.date + ' 提交申请'}}</text>
<text>{{'审核待通过'}}</text>
</view>
<view class="club_operation row cb ae">
<button class="row cc ac" data-item="{{item}}" catchtap="onCancelEnterClubAudit">取消申请</button>
</view>
</view>
<!-- 我管理的 -->
<view class="club-info-other row cb ae" hidden="{{!(tabIndex === 1)}}" data-item="{{item}}" bindtap="onEstablishClubExamineTip">
<view class="club-info-examine column">
<text>{{item.date + ' 提交申请'}}</text>
<text>{{'审核待通过'}}</text>
</view>
<view class="club_operation row cb ae">
<button class="row cc ac" data-item="{{item}}" catchtap="onCancel">取消申请</button>
<button class="row cc ac" data-item="{{item}}" catchtap="onCancel
EstablishClubAudit
">取消申请</button>
</view>
</view>
</view>
...
...
@@ -41,18 +54,28 @@
<text>{{item.name}}</text>
<text class="owner-mark" wx:if="{{item.isOwner}}">业主专享</text>
</view>
<view class="club-info-other row cb ae" data-item="{{item}}" bindtap="onClubInfo">
<!-- 我加入的 -->
<view class="club-info-other row cb ae" hidden="{{!(tabIndex === 0)}}" data-item="{{item}}" bindtap="onClubInfo">
<view class="club_info_member column">
<text>{{item.member + ' 成员'}}</text>
<text>{{item.date + ' 加入'}}</text>
</view>
<view class="club_operation row cb ae"></view>
</view>
<!-- 我管理的 -->
<view class="club-info-other row cb ae" hidden="{{!(tabIndex === 1)}}" data-item="{{item}}" bindtap="onClubInfo">
<view class="club_info_member column">
<text>{{item.member + ' 成员'}}</text>
<text wx:if="{{tabIndex === 0}}">{{item.date + ' 加入'}}</text>
<text wx:if="{{tabIndex === 1}}">{{item.date + ' 创建'}}</text>
<text>{{item.date + ' 创建'}}</text>
</view>
<view class="club_operation row cb ae">
<block wx:if="{{item.examine > 0}}" >
<view class="club_operation_examine row cc ac">
<text>{{item.examine}}</text>
</view>
<button class="row cc ac"data-item="{{item}}" catchtap="onE
xamine
">入会审核</button>
<button class="row cc ac"data-item="{{item}}" catchtap="onE
nterClubAuditList
">入会审核</button>
</block>
</view>
</view>
...
...
@@ -67,13 +90,26 @@
<text>{{item.name}}</text>
<text class="owner-mark" wx:if="{{item.isOwner}}">业主专享</text>
</view>
<view class="club-info-other row cb ae" data-item="{{item}}" bindtap="onClubInfo">
<!-- 我加入的 -->
<view class="club-info-other row cb ae" hidden="{{!(tabIndex === 0)}}" data-item="{{item}}" bindtap="onFailedAuditTip">
<view class="club-info-examine column">
<text>{{item.date + ' 提交申请'}}</text>
<text>{{'审核未通过'}}</text>
</view>
<view class="club_operation row cb ae">
<button class="row cc ac" data-item="{{item}}" catchtap="onDeleteEnterClubAudit">删除</button>
</view>
</view>
<!-- 我管理的 -->
<view class="club-info-other row cb ae" hidden="{{!(tabIndex === 1)}}" data-item="{{item}}" bindtap="onFailedAuditTip">
<view class="club-info-examine column">
<text>{{item.date + ' 提交申请'}}</text>
<text>{{'审核未通过'}}</text>
</view>
<view class="club_operation row cb ae">
<button class="row cc ac" data-item="{{item}}" catchtap="onDelete">删除</button>
<button class="row cc ac" data-item="{{item}}" catchtap="onDelete
EstablishClubAudit
">删除</button>
</view>
</view>
</view>
...
...
@@ -84,11 +120,11 @@
<view class="club_list_nothing_tip">
<block wx:if="{{tabIndex === 0}}">
<text>暂无已加入俱乐部</text>
<button class="row cc ac" bindtap="onClub
Mor
e">发现更多</button>
<button class="row cc ac" bindtap="onClub
Hom
e">发现更多</button>
</block>
<block wx:if="{{tabIndex === 1}}">
<text>暂无管理的俱乐部</text>
<button class="row cc ac" bindtap="onClub
Establish
">创建俱乐部</button>
<button class="row cc ac" bindtap="onClub
Home
">创建俱乐部</button>
</block>
</view>
</block>
...
...
@@ -106,9 +142,11 @@
</view>
<view class="dialog_container row cc ac" hidden="{{!winExamineTip}}">
<view class="dialog_examine_tip column
cb
ac">
<view class="dialog_examine_tip column ac">
<text class="font_bold_50 color_regular">审核说明</text>
<text class="font_normal_30 color_cancel">申请提交后,审核人员将主动与您联系(预计5个工作日),并协助后续资料整理,请耐心等待。</text>
<view class="dialog_examine_tip_content row">
<text class="font_normal_30 color_cancel">{{examineTipContent}}</text>
</view>
<button class="dialog_examine_operation row cc ac font_bold_30 color_regular" bindtap="onDialogClose">我知道了</button>
</view>
</view>
\ No newline at end of file
pages/mine/club/club.wxss
View file @
13035af7
...
...
@@ -226,14 +226,17 @@
background: #FFFFFF;
}
.dialog_examine_tip > text:nth-child(2) {
.dialog_examine_tip_content {
width: 526rpx;
height: 162rpx;
margin: 48rpx 0 0 0;
overflow-y: scroll;
}
.dialog_examine_operation {
width: 526rpx;
height: 80rpx;
margin:
96
rpx 0 0 0;
margin:
72
rpx 0 0 0;
border-radius: 4px;
border: 1px solid #15191F;
}
\ No newline at end of file
pages/pay/coupon-input/coupon-input.js
View file @
13035af7
...
...
@@ -70,6 +70,7 @@ Page({
})
}).
catch
((
response
)
=>
{
switch
(
response
.
code
)
{
case
405
:
case
500
:
App
.
ui
.
hideToast
()
App
.
ui
.
showDialog
({
...
...
pages/play/service-detail/service-detail.js
View file @
13035af7
...
...
@@ -364,7 +364,7 @@ Page({
data
:
{
'listType'
:
1
,
'pageSize'
:
10
,
'pageNo'
:
'1'
,
'pageNo'
:
1
,
'tagId'
:
''
,
'officeId'
:
this
.
data
.
shopInfo
.
id
,
},
...
...
read.js
View file @
13035af7
...
...
@@ -77,4 +77,8 @@ let funcItem = {
'name'
:
''
,
// 名称
'type'
:
''
,
// 类型
'quantity'
:
''
,
// 数量
}
\ No newline at end of file
}
// 审核失败 - FailedAudit
// 审核成功 - SuccessAudits
// 数据检查 - inspection
\ No newline at end of file
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