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
45cb8b11
authored
Sep 23, 2020
by
wjw
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
ww-活动业态丢失解决
parent
05f095e5
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
590 additions
and
225 deletions
pages/commodity/project-detail/project-detail.js
pages/play/activity-detail/activity-detail.js
pages/play/activity-detail/activity-detail.wxml
pages/play/activity-detail/activity-detail.wxss
pages/play/activity/activity.js
pages/play/activity/activity.wxml
pages/play/activity/activity.wxss
pages/play/activity/image/title-2.png
pages/play/service-detail/service-detail.js
pages/play/service-detail/service-detail.wxml
pages/play/service-detail/service-detail.wxss
project.config.json
pages/commodity/project-detail/project-detail.js
View file @
45cb8b11
...
@@ -288,8 +288,9 @@ Page({
...
@@ -288,8 +288,9 @@ Page({
* @returns
* @returns
*/
*/
onCommodityDetail
:
function
(
event
)
{
onCommodityDetail
:
function
(
event
)
{
let
shopInfo
=
wx
.
getStorageSync
(
'shopInfoBuffer'
)
let
funcCommodityInfo
=
event
.
currentTarget
.
dataset
.
item
let
funcCommodityInfo
=
event
.
currentTarget
.
dataset
.
item
if
(
shopInfo
.
appId
===
7
)
{
// 补充必要参数
// 补充必要参数
funcCommodityInfo
.
quantity
=
1
funcCommodityInfo
.
quantity
=
1
funcCommodityInfo
.
quantityMin
=
1
funcCommodityInfo
.
quantityMin
=
1
...
@@ -300,6 +301,9 @@ Page({
...
@@ -300,6 +301,9 @@ Page({
wx
.
navigateTo
({
wx
.
navigateTo
({
url
:
'/pages/play/service-sell/service-sell'
url
:
'/pages/play/service-sell/service-sell'
})
})
}
else
{
return
}
},
},
/**
/**
...
...
pages/play/activity-detail/activity-detail.js
View file @
45cb8b11
...
@@ -103,6 +103,9 @@ Page({
...
@@ -103,6 +103,9 @@ Page({
address
:
funcResponse
.
address
,
address
:
funcResponse
.
address
,
quota
:
funcResponse
.
enrollNum
,
quota
:
funcResponse
.
enrollNum
,
describe
:
funcResponse
.
content
,
describe
:
funcResponse
.
content
,
priceText
:
funcItem
.
priceText
,
priceSpecialText
:
funcItem
.
priceSpecialText
,
priceType
:
funcItem
.
priceType
// contact: response.contact,
// contact: response.contact,
}
}
})
})
...
...
pages/play/activity-detail/activity-detail.wxml
View file @
45cb8b11
...
@@ -25,17 +25,18 @@
...
@@ -25,17 +25,18 @@
<view class="detail-other col">
<view class="detail-other col">
<view class="row align-c">
<view class="row align-c">
<image src="/image/icon/g-time.png"></image>
<image src="/image/icon/g-time.png"></image>
<text>
活动
时间</text>
<text>时间</text>
<text>{{info.date}}</text>
<text>{{info.date}}</text>
</view>
</view>
<view style="height:auto;" class="row">
<view style="height:auto;" class="row
align-c
">
<image src="/image/icon/g-location.png"></image>
<image src="/image/icon/g-location.png"></image>
<text>
活动
地址</text>
<text>地址</text>
<text style="height:auto;">{{info.address}}</text>
<text style="height:auto;">{{info.address}}</text>
<image src="/image/icon/arrow-r-1.png"></image>
</view>
</view>
<view class="row align-c">
<view class="row align-c">
<image src="/image/icon/g-custom.png"></image>
<image src="/image/icon/g-custom.png"></image>
<text>
报名
名额</text>
<text>名额</text>
<text>{{info.quota}}人</text>
<text>{{info.quota}}人</text>
</view>
</view>
</view>
</view>
...
@@ -45,7 +46,43 @@
...
@@ -45,7 +46,43 @@
</view>
</view>
</view>
</view>
<view class="contact">
<view class="contact row">
<!-- 活动价样式 -->
<view wx:if="{{info.priceType === 1}}">
<view class="info-price row align-c">
<text class="item-price-discount">活动价</text>
<text>¥</text>
<text>{{info.priceDiscountText}}</text>
<text>/人</text>
</view>
<view class="item-info-old-price row align-c">
<text>¥</text>
<text>{{info.priceText}}</text>
<text>/人</text>
</view>
</view>
<!-- 业主价样式 -->
<view class="row" wx:if="{{info.priceType === 2}}">
<view class="item-price row align-c">
<text class="item-price-special">业主价</text>
<text>¥</text>
<text>{{info.priceSpecialText}}</text>
<text>/人</text>
</view>
<view class="item-info-old-price row align-c">
<text>¥</text>
<text>{{info.priceText}}</text>
<text>/人</text>
</view>
</view>
<!-- 普通价样式 -->
<view class="row" wx:if="{{info.priceType === 3}}">
<view class="item-price row align-c">
<text>¥</text>
<text>{{info.priceText}}</text>
<text>/人</text>
</view>
</view>
<button class="{{isSubmit ? 'button' : 'button-disable'}} row con-c align-c" size="long" bindtap="onContact">{{stateText}}</button>
<button class="{{isSubmit ? 'button' : 'button-disable'}} row con-c align-c" size="long" bindtap="onContact">{{stateText}}</button>
</view>
</view>
</view>
</view>
\ No newline at end of file
pages/play/activity-detail/activity-detail.wxss
View file @
45cb8b11
...
@@ -15,7 +15,6 @@
...
@@ -15,7 +15,6 @@
height: 60rpx;
height: 60rpx;
}
}
.banner {
.banner {
z-index: 9;
z-index: 9;
position: relative;
position: relative;
...
@@ -86,9 +85,9 @@
...
@@ -86,9 +85,9 @@
}
}
.detail-other view text:nth-child(2) {
.detail-other view text:nth-child(2) {
width:
12
0rpx;
width:
6
0rpx;
height: 42rpx;
height: 42rpx;
margin-right:
32
rpx;
margin-right:
24
rpx;
font-size: 30rpx;
font-size: 30rpx;
font-weight: 300;
font-weight: 300;
color: #959DA9;
color: #959DA9;
...
@@ -96,13 +95,18 @@
...
@@ -96,13 +95,18 @@
}
}
.detail-other view text:nth-child(3) {
.detail-other view text:nth-child(3) {
width:
47
0rpx;
width:
50
0rpx;
height: 40rpx;
height: 40rpx;
font-size: 30rpx;
font-size: 30rpx;
font-weight: 400;
font-weight: 400;
color: #000000;
color: #000000;
line-height: 42rpx;
line-height: 42rpx;
}
}
.detail-other view image:nth-child(4) {
width: 32rpx;
height: 32rpx;
margin-left: 6rpx;
}
.detail-describe {
.detail-describe {
width: 670rpx;
width: 670rpx;
...
@@ -126,8 +130,55 @@
...
@@ -126,8 +130,55 @@
border-top: 1rpx #E2E7EF solid;
border-top: 1rpx #E2E7EF solid;
background: #ffffff;
background: #ffffff;
}
}
.item-price {
color: #15191F;
margin-right: 12rpx;
}
.item-price-special {
width: 78rpx;
height: 36rpx;
margin-right: 12rpx;
border-radius: 4rpx;
background: linear-gradient(180deg, #3F4357 0%, #252532 100%);
text-align: center;
font-size: 18rpx;
font-weight: 500;
line-height: 36rpx;
color: #E8D0AF;
}
.item-price text:nth-child(2) {
font-size: 26rpx;
font-weight: 600;
}
.item-price text:nth-child(3) {
font-size: 38rpx;
font-weight: 600;
}
.item-price text:nth-child(4) {
font-size: 26rpx;
}
.item-info-old-price {
color: #C2C7CF;
text-decoration: line-through;
}
.item-info-old-price text:nth-child(1) {
font-size: 30rpx;
}
.item-info-old-price text:nth-child(2) {
font-size: 30rpx;
}
.item-info-old-price text:nth-child(3) {
font-size: 26rpx;
}
.contact .button {
.contact .button {
width: 670rpx;
position: absolute;
right: 40rpx;
width: 200rpx;
height: 96rpx;
height: 96rpx;
margin-bottom: 40rpx;
margin-bottom: 40rpx;
background: #86C5E1;
background: #86C5E1;
...
...
pages/play/activity/activity.js
View file @
45cb8b11
...
@@ -2,23 +2,40 @@ const App = getApp()
...
@@ -2,23 +2,40 @@ const App = getApp()
Page
({
Page
({
data
:
{
data
:
{
option
:
{},
imageBase
:
App
.
globalData
.
appImageBase
,
statusActive
:
0
,
statusList
:
[
{
id
:
'0'
,
name
:
'全部'
}
],
navigationTitle
:
'主题活动'
,
activity
:
[],
activity
:
[],
selectedActivity
:
[],
other
:
[],
other
:
[],
shopInfo
:
{},
shopInfo
:
{},
options
:
{}
},
},
onLoad
:
function
(
options
)
{
onLoad
:
function
(
options
)
{
if
(
options
.
fromPage
===
'serviceDetail'
)
this
.
setData
({
shopInfo
:
wx
.
getStorageSync
(
'shopInfoBuffer'
)})
if
(
options
.
fromPage
===
'serviceDetail'
)
{
let
shopInfo
=
wx
.
getStorageSync
(
'shopInfoBuffer'
)
console
.
log
(
shopInfo
)
this
.
setData
({
options
:
options
,
shopInfo
:
shopInfo
})
}
this
.
getActivityList
(
1
)
this
.
getActivityList
(
1
)
this
.
getActivityList
(
0
)
this
.
getActivityList
(
0
)
},
},
onActivityDetail
:
function
(
funcItem
)
{
onActivityDetail
:
function
(
event
)
{
wx
.
navigateTo
({
wx
.
navigateTo
({
url
:
'/pages/play/activity-detail/activity-detail?id='
+
funcItem
.
currentTarget
.
dataset
.
id
url
:
'/pages/play/activity-detail/activity-detail?id='
+
event
.
currentTarget
.
dataset
.
id
})
})
},
},
...
@@ -38,28 +55,45 @@ Page({
...
@@ -38,28 +55,45 @@ Page({
url
:
'/api/v1/activity/getList'
,
url
:
'/api/v1/activity/getList'
,
data
:
funcParam
,
data
:
funcParam
,
success
:
function
(
res
)
{
success
:
function
(
res
)
{
var
tmpArr
=
[];
let
tmpArr
=
[];
let
funcData
=
res
.
data
.
list
res
.
data
.
list
.
forEach
(
item
=>
{
res
.
data
.
list
.
forEach
(
item
=>
{
var
tmpItem
=
{
let
tmpItem
=
{
id
:
item
.
id
,
id
:
item
.
id
,
cover
:
item
.
cover
,
cover
:
item
.
cover
,
title
:
item
.
name
,
title
:
item
.
name
,
date
:
item
.
activeDate
,
//'6月30日-7月12日 10:00-12:00',
date
:
item
.
activeDate
,
//'6月30日-7月12日 10:00-12:00',
describe
:
item
.
summary
,
describe
:
item
.
summary
,
beginDate
:
item
.
activeDate
.
split
(
'-'
)[
0
],
beginDate
:
item
.
activeDate
.
split
(
'-'
)[
0
],
tagIds
:
item
.
tagIds
,
tagNames
:
item
.
tagNames
,
price
:
item
.
visitorPrice
,
// 普通价
priceText
:
App
.
modular
.
utils
.
formatAmount
(
item
.
visitorPrice
),
// 普通价文本格式
priceSpecial
:
item
.
ownerPrice
,
// 业主价
priceSpecialText
:
App
.
modular
.
utils
.
formatAmount
(
item
.
ownerPrice
),
// 业主价文本格式
priceType
:
1
,
}
let
funcUserType
=
wx
.
getStorageSync
(
'userInfo'
).
userType
// 根据后台判断价格显示类型
// 活动价优先级最高,如果存在活动价,则只显示活动价和普通价
if
(
tmpItem
.
priceDiscount
)
{
tmpItem
.
priceType
=
1
}
else
{
// 活动价不存在,进一步判断普通价与业主价是否一致,如果不一致,则显示两者
if
(
tmpItem
.
price
!==
tmpItem
.
priceSpecial
&&
funcUserType
)
{
tmpItem
.
priceType
=
2
}
else
{
tmpItem
.
priceType
=
3
}
}
}
tmpArr
.
push
(
tmpItem
)
tmpArr
.
push
(
tmpItem
)
})
})
// var year = new Date().getFullYear()
// // 活动开始时间倒序排序
// tmpArr.sort(function(a,b) {
// return new Date(year + "/" + b.beginDate.replace(/月/g,"\/").replace(/日/g,"\/")) - new Date(year + "/" + a.beginDate.replace(/月/g,"\/").replace(/日/g,"\/"))
// })
if
(
type
==
1
)
{
if
(
type
==
1
)
{
that
.
setTabs
(
tmpArr
)
that
.
setData
({
that
.
setData
({
activity
:
tmpArr
activity
:
tmpArr
,
selectedActivity
:
tmpArr
})
})
}
else
{
}
else
{
that
.
setData
({
that
.
setData
({
...
@@ -68,5 +102,45 @@ Page({
...
@@ -68,5 +102,45 @@ Page({
}
}
}
}
})
})
},
// 设置标签
setTabs
:
function
(
tmpArr
)
{
let
that
=
this
let
statusList
=
this
.
data
.
statusList
let
tagIds
=
[]
let
tagNames
=
[]
tmpArr
.
forEach
(
item
=>
{
tagIds
=
tagIds
.
concat
(
item
.
tagIds
.
split
(
','
))
tagNames
=
tagNames
.
concat
(
item
.
tagNames
)
})
tagIds
=
Array
.
from
(
new
Set
(
tagIds
))
tagNames
=
Array
.
from
(
new
Set
(
tagNames
))
for
(
let
i
=
0
,
l
=
tagIds
.
length
;
i
<
l
;
i
++
)
{
let
status
=
{
id
:
tagIds
[
i
],
name
:
tagNames
[
i
]
}
statusList
.
push
(
status
)
}
that
.
setData
({
statusList
})
},
// 选择标签
onSelectionStatus
:
function
(
event
)
{
let
index
=
event
.
currentTarget
.
dataset
.
index
let
statusList
=
this
.
data
.
statusList
let
selectedActivity
=
this
.
data
.
activity
console
.
log
(
selectedActivity
)
if
(
index
!==
0
)
{
selectedActivity
=
selectedActivity
.
filter
(
item
=>
{
item
.
tagNames
=
[].
concat
(
statusList
[
index
].
name
)
return
item
.
tagIds
.
includes
(
statusList
[
index
].
id
)
})
}
}
this
.
setData
({
selectedActivity
,
statusActive
:
index
})
},
})
})
\ No newline at end of file
pages/play/activity/activity.wxml
View file @
45cb8b11
<!-- 畅玩 - 活动列表 -->
<!-- 畅玩 - 活动列表 -->
<navigation class="navigation" titleText="
主题活动
" background="#ffffff" backIcon="/image/back.png"></navigation>
<navigation class="navigation" titleText="
{{shopInfo.name + navigationTitle}}
" background="#ffffff" backIcon="/image/back.png"></navigation>
<view class="container">
<view class="container con-s">
<block wx:if="{{activity.length > 0}}">
<!-- 活动类别 -->
<view class="title row">
<view class="status row align-c" wx:if="{{!options.fromPage}}">
<image src="./image/title.png"></image>
<block wx:for="{{statusList}}" wx:for-index="index" wx:for-item="item" wx:key="index">
<view class="status-item row con-c align-c" data-index="{{index}}" bindtap="onSelectionStatus">
<view class="row con-c align-c {{index === statusActive ? 'status-item-active' : ''}}">
<text>{{item.name}}</text>
</view>
</view>
</view>
</block>
</view>
<block wx:if="{{activity.length > 0}}">
<view class="list">
<view class="list">
<block wx:for="{{
a
ctivity}}" wx:for-index="index" wx:for-item="item" wx:key="index">
<block wx:for="{{
selectedA
ctivity}}" wx:for-index="index" wx:for-item="item" wx:key="index">
<view class="item" data-id="{{item.id}}" bindtap="onActivityDetail">
<view class="item" data-id="{{item.id}}" bindtap="onActivityDetail">
<view class="item-cover" wx:if="{{item.cover !== ''}}">
<view class="item-cover" wx:if="{{item.cover !== ''}}">
<image src="{{item.cover}}" mode="aspectFill"></image>
<image src="{{item.cover}}" mode="aspectFill"></image>
</view>
</view>
<view class="item-info col">
<view class="item-info col">
<text class="item-title">{{item.title}}</text>
<view class="item-title row con-b align-c">
<text class="item-date">{{item.date}}</text>
<text>{{item.title}}</text>
<text class="item-describe">{{item.describe}}</text>
<text wx:if="{{item.tagNames[0]}}">{{item.tagNames[0]}}</text>
</view>
<view class="item-date row align-c">
<image src="{{imageBase + 'icon/clock-2.png'}}"></image>
<text>{{item.date}}</text>
</view>
<view class="item-describe">
<text>{{item.describe}}</text>
</view>
<view class="item-operation row con-b align-c">
<view class="row align-c" wx:if="{{item.priceType === 1}}">
<text>活动价</text>
<text class="price-symbol">¥</text>
<text>{{item.priceSpecialText == '0' ? '免费' : item.priceSpecialText}}</text>
<text>{{item.priceText}}</text>
</view>
<view class="row align-c" wx:if="{{item.priceType === 2}}">
<text>业主价</text>
<text class="price-symbol">¥</text>
<text>{{item.priceSpecialText == '0' ? '免费' : item.priceSpecialText}}</text>
<text>{{item.priceText}}</text>
</view>
<view class="row align-c" wx:if="{{item.priceType === 3}}">
<text style="display: none"></text>
<text class="price-symbol">¥</text>
<text>{{item.priceText == '0' ? '免费' : item.priceText}}</text>
</view>
<view>
<button class="row con-c align-c" catchtap="onReport" data-id="{{item.id}}">报名</button>
</view>
</view>
</view>
</view>
</view>
</view>
</block>
</block>
...
@@ -29,18 +65,38 @@
...
@@ -29,18 +65,38 @@
</view>
</view>
<view class="other row" >
<view class="other row" >
<view class="route-list row con-b">
<!-- 左侧列表 -->
<view class="route-list-left">
<block wx:for="{{other}}" wx:for-index="index" wx:for-item="item" wx:key="index">
<block wx:for="{{other}}" wx:for-index="index" wx:for-item="item" wx:key="index">
<view class="other-item col
" data-id="{{item.id}}" bindtap="onActivityDetail">
<view class="route-item" wx:if="{{index % 2 === 0}}
" data-id="{{item.id}}" bindtap="onActivityDetail">
<view
>
<view class="row con-c align-c"
>
<image src="{{item.cover}}
"></image>
<image src="{{item.cover}}" mode="aspectFill
"></image>
</view>
</view>
<view class="other-item-info col">
<text class="route-item-title">{{item.title}}</text>
<text>{{item.title}}</text>
<text class="route-item-content">{{item.date}}</text>
<text>{{item.date}}</text>
</view>
</view>
</block>
</view>
</view>
<!-- 右侧列表 -->
<view class="route-list-right">
<block wx:for="{{touristRouteList}}" wx:for-index="index" wx:for-item="item" wx:key="index">
<view class="route-item" wx:if="{{index % 2 === 1}}" data-item="{{item}}" bindtap="onTouristRouteDetail">
<view class="row con-c align-c">
<image src="{{item.cover}}" mode="aspectFill"></image>
</view>
<view class="route-item-tags row align-c">
<block wx:for="{{item.tags}}" wx:for-index="indexTags" wx:for-item="itemTags" wx:key="indexTags">
<text>{{'# ' + itemTags}}</text>
</block>
</block>
<view class="other-item col"></view>
</view>
<text class="route-item-title">{{item.title}}</text>
<text class="route-item-content">{{item.date}}</text>
</view>
</block>
</view>
</view>
</view>
</view>
</block>
</block>
</view>
</view>
\ No newline at end of file
pages/play/activity/activity.wxss
View file @
45cb8b11
...
@@ -5,32 +5,70 @@
...
@@ -5,32 +5,70 @@
}
}
.container {
.container {
min-height: 100
%
;
min-height: 100
vh
;
margin-top: 120rpx;
margin-top: 120rpx;
padding-bottom: 100rpx;
background: linear-gradient(#ffffff, #F2F2F2);
background: linear-gradient(#ffffff, #F2F2F2);
}
}
/* 状态筛选菜单 */
.status {
width: 750rpx;
height: 76rpx;
margin-top: 80rpx;
padding: 0 40rpx;
border-bottom: 1px #E2E7EF solid;
overflow: scroll;
flex-wrap: nowrap;
}
.status-item {
height: 76rpx;
margin-right: 80rpx;
font-size: 26rpx;
font-weight: 400;
color: #959DA9;
}
.status-item text {
display: inline-block;
white-space: nowrap;
}
.status-item:last-child {
padding-right: 40rpx;
}
.status-item-active {
height: 76rpx;
color: #15191F;
font-weight: 600;
border-bottom: 4rpx #15191F solid;
}
.status::-webkit-scrollbar {
width: 0;
height: 0;
color: transparent;
}
.title {
.title {
width: 750rpx;
width: 750rpx;
height: 96rpx;
height: 96rpx;
margin-top:
5
0rpx;
margin-top:
4
0rpx;
padding: 0 40rpx;
padding: 0 40rpx;
}
}
.title image {
.title image {
width: 1
84
rpx;
width: 1
38
rpx;
height: 96rpx;
height: 96rpx;
}
}
/* 活动列表 */
/* 活动列表 */
.list {
.list {
padding: 0 40rpx 50rpx 40rpx;
padding: 0
rpx
40rpx 50rpx 40rpx;
}
}
.item {
.item {
width: 670rpx;
width: 670rpx;
height:
644
rpx;
height:
708
rpx;
margin-top:
48
rpx;
margin-top:
64
rpx;
border-radius: 2px;
border-radius: 2px;
overflow: hidden;
overflow: hidden;
background: #ffffff;
background: #ffffff;
...
@@ -41,13 +79,15 @@
...
@@ -41,13 +79,15 @@
}
}
.item-title {
.item-title {
width: 606rpx;
height: 44rpx;
height: 48rpx;
margin-top: 32rpx;
margin-top: 30rpx;
}
.item-title text:nth-child(1) {
font-size: 34rpx;
font-size: 34rpx;
font-weight: bold;
font-weight: bold;
color: #15191F;
color: #15191F;
line-height: 4
8
rpx;
line-height: 4
4
rpx;
display: -webkit-box;
display: -webkit-box;
overflow: hidden;
overflow: hidden;
white-space: normal;
white-space: normal;
...
@@ -57,22 +97,41 @@
...
@@ -57,22 +97,41 @@
-webkit-box-orient: vertical;
-webkit-box-orient: vertical;
}
}
.item-title text:nth-child(2) {
width: 96rpx;
height: 32rpx;
border-radius: 4rpx;
border: 1px solid #86C5E1;
background: rgba(134, 197, 225, 0.1);
text-align: center;
font-size: 18rpx;
font-weight: 500;
line-height: 24rpx;
color: #86C5E1;
}
.item-date {
.item-date {
width: 606rpx;
width: 606rpx;
height:
36
rpx;
height:
40
rpx;
margin-top:
24
rpx;
margin-top:
8
rpx;
font-size: 26rpx;
font-size: 26rpx;
color: #15191F;
color: #656E7B;
line-height: 36rpx;
line-height: 40rpx;
}
.item-date image {
width: 32rpx;
height: 32rpx;
margin-right: 8rpx;
}
}
.item-describe {
.item-describe {
width: 606rpx;
width: 606rpx;
height:
72
rpx;
height:
80
rpx;
margin-top: 16rpx;
margin-top: 16rpx;
font-size: 26rpx;
font-size: 26rpx;
color: #959DA9;
color: #959DA9;
line-height:
36
rpx;
line-height:
40
rpx;
display: -webkit-box;
display: -webkit-box;
overflow: hidden;
overflow: hidden;
white-space: normal;
white-space: normal;
...
@@ -82,50 +141,110 @@
...
@@ -82,50 +141,110 @@
-webkit-box-orient: vertical;
-webkit-box-orient: vertical;
}
}
.price-symbol {
margin-top: 8rpx;
color: #15191F;
font-size: 18rpx;
font-weight: 600;
}
.item-operation {
margin-top: 16rpx;
}
.item-operation text:nth-child(1) {
width: 78rpx;
height: 32rpx;
margin-right: 12rpx;
background: linear-gradient(180deg, #3F4357 0%, #252532 100%);
border-radius: 4rpx;
text-align: center;
font-size: 18rpx;
font-weight: 500;
line-height: 28rpx;
color: #E8D0AF;
}
.item-operation text:nth-child(3) {
margin-right: 16rpx;
text-align: center;
font-size: 30rpx;
font-weight: 600;
line-height: 36rpx;
color: #15191F;
}
.item-operation text:nth-child(4) {
text-align: center;
font-size: 22rpx;
font-weight: 400;
line-height: 32rpx;
color: #C2C7CF;
text-decoration: line-through;
}
.item-operation button {
flex-grow: 1;
width: 132rpx;
height: 56rpx;
border-radius: 4rpx;
background: #86C5E1;
color: #FFFFFF;
font-size: 26rpx;
font-weight: 500;
line-height: 36rpx;
}
.item-cover image {
.item-cover image {
width: 670rpx;
width: 670rpx;
height: 376rpx;
height: 376rpx;
}
}
/* 往期活动 */
/* 往期活动 */
.other {
.route-list {
width: 710rpx;
margin-top: 48rpx;
margin: 50rpx 0 50rpx 40rpx;
overflow: scroll;
}
}
.other-item {
.route-list-left,
min-width: 286rpx;
.route-list-right {
height: 476rpx;
width: 320rpx;
margin-right: 32rpx;
}
background: #ffffff;
border-radius: 2px;
.route-item {
display: flex;
flex-direction: column;
max-width: 328rpx;
margin-top: 16rpx;
border-radius: 4rpx;
overflow: hidden;
overflow: hidden;
background: #ffffff;
}
}
.other-item:last-child {
.route-item image {
width: 1rpx !important;
height: 354rpx;
min-width: 1rpx !important;
}
}
.
other-item-info
{
.
route-list-right .route-item:first-child image
{
padding: 0 32
rpx;
height: 354
rpx;
}
}
.other-item-info text {
.route-item-title {
max-width: 224rpx;
display: -webkit-box;
height: 36rpx;
margin: 32rpx 32rpx 8rpx;
margin-top: 12rpx;
font-size: 26rpx;
font-size: 26rpx;
font-weight: bold;
font-weight: bold
er
;
color: #
15191F
;
color: #
000000
;
line-height: 36rpx;
overflow: hidden;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
text-overflow: ellipsis;
line-clamp: 2;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
}
.other-item image {
.route-item-content {
width: 286rpx;
margin: 0 32rpx 32rpx 32rpx;
height: 340rpx;
font-size: 22rpx;
color: #959DA9;
}
}
pages/play/activity/image/title-2.png
View file @
45cb8b11
2.82 KB
|
W:
|
H:
5.61 KB
|
W:
|
H:
2-up
Swipe
Onion skin
pages/play/service-detail/service-detail.js
View file @
45cb8b11
...
@@ -9,6 +9,7 @@ let logicData = {
...
@@ -9,6 +9,7 @@ let logicData = {
Page
({
Page
({
data
:
{
data
:
{
imageBase
:
App
.
globalData
.
appImageBase
,
imageBase
:
App
.
globalData
.
appImageBase
,
appResourcesBase
:
App
.
globalData
.
appResourcesBase
,
option
:
{},
option
:
{},
// 弹出控制
// 弹出控制
...
@@ -74,6 +75,14 @@ Page({
...
@@ -74,6 +75,14 @@ Page({
winActivity
:
false
,
// 近期活动
winActivity
:
false
,
// 近期活动
winCommodity
:
false
,
// 商品列表
winCommodity
:
false
,
// 商品列表
winCommodityMenu
:
false
,
winCommodityMenu
:
false
,
officeService
:
0
,
officeServiceText
:
'5.0'
,
// 门店服务评分
officeProduct
:
0
,
officeProductText
:
'5.0'
,
// 门店产品评分
officeEnvironmental
:
0
,
officeEnvironmentalText
:
'5.0'
,
// 门店环境评分
},
},
onLoad
:
function
(
options
)
{
onLoad
:
function
(
options
)
{
...
@@ -138,7 +147,8 @@ Page({
...
@@ -138,7 +147,8 @@ Page({
default
:
default
:
this
.
queryCommodity
()
this
.
queryCommodity
()
}
}
// 查询评价
this
.
getOfficeAppraise
()
this
.
getAppraise
()
this
.
getAppraise
()
},
},
...
@@ -389,8 +399,42 @@ Page({
...
@@ -389,8 +399,42 @@ Page({
'officeId'
:
this
.
data
.
shopInfo
.
id
,
'officeId'
:
this
.
data
.
shopInfo
.
id
,
},
},
success
:
(
response
)
=>
{
success
:
(
response
)
=>
{
let
funcResponse
=
response
.
data
.
list
let
funcList
=
[]
for
(
let
i
=
0
,
l
=
funcResponse
.
length
;
i
<
l
;
i
++
)
{
let
funcItem
=
{
'cover'
:
funcResponse
[
i
].
cover
,
'id'
:
funcResponse
[
i
].
id
,
'title'
:
funcResponse
[
i
].
name
,
'officeId'
:
funcResponse
[
i
].
officeId
,
'price'
:
funcResponse
[
i
].
visitorPrice
,
// 普通价
'priceText'
:
App
.
modular
.
utils
.
formatAmount
(
funcResponse
[
i
].
visitorPrice
),
// 普通价文本格式
'priceSpecial'
:
funcResponse
[
i
].
ownerPrice
,
// 业主价
'priceSpecialText'
:
App
.
modular
.
utils
.
formatAmount
(
funcResponse
[
i
].
ownerPrice
),
// 业主价文本格式
'tags'
:
funcResponse
[
i
].
tags
,
'tagId'
:
funcResponse
[
i
].
tagId
,
'time'
:
funcResponse
[
i
].
activeDate
+
' '
+
funcResponse
[
i
].
activeTime
,
// 活动时间
'priceType'
:
1
,
}
let
funcUserType
=
wx
.
getStorageSync
(
'userInfo'
).
userType
// 根据后台判断价格显示类型
// 活动价优先级最高,如果存在活动价,则只显示活动价和普通价
if
(
funcItem
.
priceDiscount
)
{
funcItem
.
priceType
=
1
}
else
{
// 活动价不存在,进一步判断普通价与业主价是否一致,如果不一致,则显示两者
if
(
funcItem
.
price
!==
funcItem
.
priceSpecial
&&
funcUserType
)
{
funcItem
.
priceType
=
2
}
else
{
funcItem
.
priceType
=
3
}
}
funcList
.
push
(
funcItem
)
}
this
.
setData
({
this
.
setData
({
winActivity
:
true
winActivity
:
true
,
detailActivity
:
funcList
})
})
}
}
})
})
...
@@ -413,8 +457,8 @@ Page({
...
@@ -413,8 +457,8 @@ Page({
'pageSize'
:
10
,
'pageSize'
:
10
,
},
},
success
:
(
response
)
=>
{
success
:
(
response
)
=>
{
let
funcCommodityList
=
[]
let
funcResponse
=
response
.
data
let
funcResponse
=
response
.
data
let
funcCommodityList
=
[]
for
(
let
i
=
0
,
l
=
funcResponse
.
length
;
i
<
l
;
i
++
)
{
for
(
let
i
=
0
,
l
=
funcResponse
.
length
;
i
<
l
;
i
++
)
{
let
funcItem
=
{
let
funcItem
=
{
'id'
:
funcResponse
[
i
].
id
,
// 商品标识
'id'
:
funcResponse
[
i
].
id
,
// 商品标识
...
@@ -512,22 +556,73 @@ Page({
...
@@ -512,22 +556,73 @@ Page({
* @returns
* @returns
*/
*/
getAppraise
:
function
()
{
getAppraise
:
function
()
{
let
that
=
this
App
.
wxRequest
({
App
.
wxRequest
({
url
:
'/api/v1/appraise/getList'
,
url
:
'/api/v1/appraise/getList'
,
data
:
{
data
:
{
'pageNo'
:
'1'
,
'pageNo'
:
'1'
,
'pageSize'
:
'-1'
,
'pageSize'
:
'-1'
,
'officeId'
:
th
is
.
data
.
shopInfo
.
id
'officeId'
:
th
at
.
data
.
shopInfo
.
id
},
},
success
:
(
res
)
=>
{
success
:
(
res
)
=>
{
let
funcData
=
res
.
data
let
funcData
=
res
.
data
.
list
this
.
setData
({
let
funcList
=
[]
detailEvaluate
:
funcData
.
list
let
officeServiceText
=
'0'
let
officeProductText
=
'0'
let
officeEnvironmentalText
=
'0'
console
.
log
(
JSON
.
stringify
(
funcData
))
for
(
let
i
=
0
,
l
=
funcData
.
length
;
i
<
l
;
i
++
)
{
let
funcItem
=
{
'avatar'
:
funcData
[
i
].
headImg
,
// 头像
'name'
:
funcData
[
i
].
nickname
,
'userType'
:
funcData
[
i
].
userType
,
'content'
:
funcData
[
i
].
content
,
// 内容
'imgUrls'
:
funcData
[
i
].
imgUrls
,
// 图片
'environmentalEvaluation'
:
funcData
[
i
].
environmentalEvaluation
,
// 环境评分
'productEvaluation'
:
funcData
[
i
].
productEvaluation
,
// 产品评分
'serviceEvaluation'
:
funcData
[
i
].
serviceEvaluation
,
// 服务评分
'date'
:
funcData
[
i
].
createDate
,
// 评价时间
'star'
:
Math
.
floor
((
funcData
[
i
].
environmentalEvaluation
+
funcData
[
i
].
productEvaluation
+
funcData
[
i
].
serviceEvaluation
)
/
3
)
}
funcList
.
push
(
funcItem
)
}
if
(
funcList
.
length
===
0
)
{
officeServiceText
=
'5.0'
officeProductText
=
'5.0'
officeEnvironmentalText
=
'5.0'
that
.
setData
({
officeServiceText
,
officeProductText
,
officeEnvironmentalText
})
})
}
}
that
.
setData
({
detailEvaluate
:
funcList
,
})
})
},
}
})
},
// 查询门店评分
getOfficeAppraise
:
function
()
{
let
that
=
this
let
officeId
=
wx
.
getStorageSync
(
'shopInfoBuffer'
).
id
App
.
wxRequest
({
url
:
'/api/v1/appraise/getOfficeAppraise'
,
data
:
{
'officeId'
:
officeId
},
success
:
function
(
response
)
{
let
funcData
=
response
.
data
that
.
setData
({
detailEvaluate
:
funcData
.
list
,
officeServiceText
:
funcData
.
serviceEvaluation
.
toFixed
(
1
),
officeProductText
:
funcData
.
productEvaluatio
.
toFixed
(
1
),
officeEnvironmentalText
:
funcData
.
environmentalEvaluation
.
toFixed
(
1
),
})
}
})
},
onBuy
:
function
(
event
)
{
onBuy
:
function
(
event
)
{
let
id
=
event
.
currentTarget
.
dataset
.
id
let
id
=
event
.
currentTarget
.
dataset
.
id
wx
.
navigateTo
({
wx
.
navigateTo
({
...
@@ -573,10 +668,10 @@ Page({
...
@@ -573,10 +668,10 @@ Page({
break
break
}
}
},
},
// 点击下方按钮
onContact
:
function
()
{
onContact
:
function
()
{
wx
.
makePhoneCall
({
wx
.
navigateTo
({
phoneNumber
:
this
.
data
.
info
.
contact
url
:
'/pages/commodity/project-detail/project-detail'
})
})
},
},
...
@@ -688,7 +783,7 @@ Page({
...
@@ -688,7 +783,7 @@ Page({
* @param {object} - funcEvent
* @param {object} - funcEvent
* @returns
* @returns
*/
*/
onA
ctivityAll
:
function
()
{
onA
llActivity
:
function
()
{
wx
.
navigateTo
({
wx
.
navigateTo
({
url
:
'/pages/play/activity/activity?fromPage=serviceDetail'
,
url
:
'/pages/play/activity/activity?fromPage=serviceDetail'
,
})
})
...
...
pages/play/service-detail/service-detail.wxml
View file @
45cb8b11
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
<view class="commodity-card" wx:if="{{winActivity}}">
<view class="commodity-card" wx:if="{{winActivity}}">
<view class="commodity-card-title row con-b align-e">
<view class="commodity-card-title row con-b align-e">
<text>近期活动</text>
<text>近期活动</text>
<text bindtap="onA
ctivityAll
">查看全部</text>
<text bindtap="onA
llActivity
">查看全部</text>
</view>
</view>
<view class="commodity-card-list row">
<view class="commodity-card-list row">
<block wx:for="{{detailActivity}}" wx:for-index="index" wx:for-item="item" wx:key="index">
<block wx:for="{{detailActivity}}" wx:for-index="index" wx:for-item="item" wx:key="index">
...
@@ -65,10 +65,22 @@
...
@@ -65,10 +65,22 @@
<text>{{item.time}}</text>
<text>{{item.time}}</text>
</view>
</view>
<view class="commodity-card-item-operation row con-b align-c">
<view class="commodity-card-item-operation row con-b align-c">
<view class="row align-c">
<view class="row align-c" wx:if="{{item.priceType === 1}}">
<text>活动价</text>
<text class="price-symbol">¥</text>
<text>{{item.priceSpecialText == '0' ? '免费' : item.priceSpecialText}}</text>
<text>{{item.priceText}}</text>
</view>
<view class="row align-c" wx:if="{{item.priceType === 2}}">
<text>业主价</text>
<text>业主价</text>
<text>免费</text>
<text class="price-symbol">¥</text>
<text>{{item.price}}</text>
<text>{{item.priceSpecialText == '0' ? '免费' : item.priceSpecialText}}</text>
<text>{{item.priceText}}</text>
</view>
<view class="row align-c" wx:if="{{item.priceType === 3}}">
<text style="display: none"></text>
<text class="price-symbol">¥</text>
<text>{{item.priceText == '0' ? '免费' : item.priceText}}</text>
</view>
</view>
<view>
<view>
<button class="row con-c align-c">报名</button>
<button class="row con-c align-c">报名</button>
...
@@ -79,6 +91,7 @@
...
@@ -79,6 +91,7 @@
<block wx:if="{{detailActivity.length === 0}}">
<block wx:if="{{detailActivity.length === 0}}">
<view class="commodity-card-item-nothing col con-c align-c">
<view class="commodity-card-item-nothing col con-c align-c">
<image src="{{appResourcesBase + 'service/nothing.png'}}"></image>
<text>近期暂无活动安排</text>
<text>近期暂无活动安排</text>
</view>
</view>
</block>
</block>
...
@@ -108,7 +121,6 @@
...
@@ -108,7 +121,6 @@
<text class="detail-price-discount">活动价</text>
<text class="detail-price-discount">活动价</text>
<text class="price-symbol">¥</text>
<text class="price-symbol">¥</text>
<text>{{item.priceDiscountText == '0' ? '免费' : item.priceDiscountText}}</text>
<text>{{item.priceDiscountText == '0' ? '免费' : item.priceDiscountText}}</text>
<text class="price-unit">/人</text>
<text>{{'¥' + item.priceText}}</text>
<text>{{'¥' + item.priceText}}</text>
</view>
</view>
...
@@ -117,7 +129,6 @@
...
@@ -117,7 +129,6 @@
<text class="detail-price-special">业主价</text>
<text class="detail-price-special">业主价</text>
<text class="price-symbol">¥</text>
<text class="price-symbol">¥</text>
<text>{{item.priceSpecialText == '0' ? '免费' : item.priceSpecialText}}</text>
<text>{{item.priceSpecialText == '0' ? '免费' : item.priceSpecialText}}</text>
<text class="price-unit">/人</text>
<text>{{'¥' + item.priceText}}</text>
<text>{{'¥' + item.priceText}}</text>
</view>
</view>
...
@@ -126,8 +137,6 @@
...
@@ -126,8 +137,6 @@
<text class="">业主价</text>
<text class="">业主价</text>
<text class="price-symbol">¥</text>
<text class="price-symbol">¥</text>
<text>{{item.priceText == '0' ? '免费' : item.priceText}}</text>
<text>{{item.priceText == '0' ? '免费' : item.priceText}}</text>
<text class="price-unit">/人</text>
<text></text>
</view>
</view>
<view>
<view>
<button class="row con-c align-c" data-item="{{item}}" bindtap="onBuy">购买</button>
<button class="row con-c align-c" data-item="{{item}}" bindtap="onBuy">购买</button>
...
@@ -166,19 +175,19 @@
...
@@ -166,19 +175,19 @@
<view class="evaluate-option-item row align-c">
<view class="evaluate-option-item row align-c">
<image src="{{imageBase + 'icon/evaluate-1.png'}}"></image>
<image src="{{imageBase + 'icon/evaluate-1.png'}}"></image>
<text>服务</text>
<text>服务</text>
<text>
0.5
</text>
<text>
{{officeServiceText}}
</text>
<text>分</text>
<text>分</text>
</view>
</view>
<view class="evaluate-option-item row align-c">
<view class="evaluate-option-item row align-c">
<image src="{{imageBase + 'icon/shop-1.png'}}"></image>
<image src="{{imageBase + 'icon/shop-1.png'}}"></image>
<text>产品</text>
<text>产品</text>
<text>
0.5
</text>
<text>
{{officeProductText}}
</text>
<text>分</text>
<text>分</text>
</view>
</view>
<view class="evaluate-option-item row align-c">
<view class="evaluate-option-item row align-c">
<image src="{{imageBase + 'icon/album-1.png'}}"></image>
<image src="{{imageBase + 'icon/album-1.png'}}"></image>
<text>环境</text>
<text>环境</text>
<text>
0.5
</text>
<text>
{{officeEnvironmentalText}}
</text>
<text>分</text>
<text>分</text>
</view>
</view>
</view>
</view>
...
...
pages/play/service-detail/service-detail.wxss
View file @
45cb8b11
...
@@ -235,7 +235,20 @@
...
@@ -235,7 +235,20 @@
.commodity-card-item-nothing {
.commodity-card-item-nothing {
width: 670rpx;
width: 670rpx;
height: 544rpx;
height: 544rpx;
background: #F5F6F8;
}
.commodity-card-item-nothing image {
width: 96rpx;
height: 76rpx;
}
.commodity-card-item-nothing text {
margin-top: 42rpx;
font-size: 30rpx;
color: #959DA9;
line-height: 42rpx;
font-weight: 600;
}
}
.commodity-card-item {
.commodity-card-item {
...
@@ -405,17 +418,18 @@
...
@@ -405,17 +418,18 @@
height: 32rpx;
height: 32rpx;
margin-right: 12rpx;
margin-right: 12rpx;
background: linear-gradient(180deg, #3F4357 0%, #252532 100%);
background: linear-gradient(180deg, #3F4357 0%, #252532 100%);
border-radius: 4px;
border-radius: 4
r
px;
text-align: center;
text-align: center;
font-size: 18rpx;
font-size: 18rpx;
font-weight: 500;
font-weight: 500;
line-height:
28
rpx;
line-height:
32
rpx;
color: #E8D0AF;
color: #E8D0AF;
}
}
.commodity-card-item-operation text:nth-child(3) {
.commodity-card-item-operation text:nth-child(3) {
margin-right: 16rpx;
text-align: center;
text-align: center;
font-size: 30rpx;
font-size: 30rpx;
font-weight: 800;
font-weight: 800;
...
@@ -423,7 +437,7 @@
...
@@ -423,7 +437,7 @@
color: #15191F;
color: #15191F;
}
}
.commodity-card-item-operation text:nth-child(
5
) {
.commodity-card-item-operation text:nth-child(
4
) {
text-align: center;
text-align: center;
font-size: 22rpx;
font-size: 22rpx;
font-weight: 400;
font-weight: 400;
...
@@ -438,13 +452,6 @@
...
@@ -438,13 +452,6 @@
font-size: 18rpx;
font-size: 18rpx;
font-weight: 600;
font-weight: 600;
}
}
.price-unit {
margin-top: 8rpx;
margin-right: 16rpx;
color: #15191F;
font-size: 18rpx;
font-weight: 600;
}
.commodity-card-item-operation button {
.commodity-card-item-operation button {
flex-grow: 1;
flex-grow: 1;
...
@@ -602,6 +609,10 @@
...
@@ -602,6 +609,10 @@
width: 670rpx;
width: 670rpx;
min-height: 292rpx;
min-height: 292rpx;
margin: 48rpx 40rpx 0 40rpx;
margin: 48rpx 40rpx 0 40rpx;
border-bottom: 1rpx solid #E2E7EF;
}
.evaluate-item:last-child {
border-bottom: none;
}
}
.evaluate-item-avatar {
.evaluate-item-avatar {
...
@@ -628,13 +639,13 @@
...
@@ -628,13 +639,13 @@
.evaluate-item-info-text text:nth-child(2) {
.evaluate-item-info-text text:nth-child(2) {
width: 60rpx;
width: 60rpx;
height: 32rpx;
height: 32rpx;
border-radius: 4px;
border-radius: 4
r
px;
background: linear-gradient(180deg, #3F4357 0%, #252532 100%);
background: linear-gradient(180deg, #3F4357 0%, #252532 100%);
text-align: center;
text-align: center;
font-size: 18rpx;
font-size: 18rpx;
font-weight: 500;
font-weight: 500;
line-height:
28
rpx;
line-height:
32
rpx;
color: #E8D0AF;
color: #E8D0AF;
}
}
...
@@ -648,6 +659,10 @@
...
@@ -648,6 +659,10 @@
color: #959DA9;
color: #959DA9;
}
}
.evaluate-item-info-star {
margin-top: 8rpx;
}
.evaluate-item-info-star image {
.evaluate-item-info-star image {
width: 28rpx;
width: 28rpx;
height: 28rpx;
height: 28rpx;
...
@@ -655,16 +670,18 @@
...
@@ -655,16 +670,18 @@
}
}
.evaluate-item-content {
.evaluate-item-content {
display: -webkit-box;
position: relative;
position: relative;
width: 670rpx;
width: 670rpx;
max-height: 132rpx;
max-height: 132rpx;
margin-top: 32rpx;
margin-top: 32rpx;
overflow: hidden;
font-size: 26rpx;
font-size: 26rpx;
font-weight: 400;
font-weight: 400;
line-height: 44rpx;
line-height: 44rpx;
color: #15191F;
color: #15191F;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
overflow: hidden;
}
}
.evaluate-item-content-more {
.evaluate-item-content-more {
...
...
project.config.json
deleted
100644 → 0
View file @
05f095e5
{
"description"
:
"项目配置文件"
,
"packOptions"
:
{
"ignore"
:
[]
},
"setting"
:
{
"urlCheck"
:
true
,
"es6"
:
true
,
"enhance"
:
true
,
"postcss"
:
true
,
"preloadBackgroundData"
:
false
,
"minified"
:
true
,
"newFeature"
:
true
,
"coverView"
:
true
,
"nodeModules"
:
true
,
"autoAudits"
:
false
,
"showShadowRootInWxmlPanel"
:
true
,
"scopeDataCheck"
:
false
,
"uglifyFileName"
:
false
,
"checkInvalidKey"
:
true
,
"checkSiteMap"
:
false
,
"uploadWithSourceMap"
:
true
,
"compileHotReLoad"
:
false
,
"useMultiFrameRuntime"
:
false
,
"useApiHook"
:
true
,
"babelSetting"
:
{
"ignore"
:
[],
"disablePlugins"
:
[],
"outputPath"
:
""
},
"useIsolateContext"
:
true
,
"useCompilerModule"
:
true
,
"userConfirmedUseCompilerModuleSwitch"
:
false
,
"packNpmManually"
:
false
,
"packNpmRelationList"
:
[],
"enableEngineNative"
:
false
},
"compileType"
:
"miniprogram"
,
"libVersion"
:
"2.10.0"
,
"appid"
:
"wx37a9b7a3d92029f2"
,
"projectname"
:
"%E4%B8%96%E8%8C%82%E5%B0%8F%E7%A8%8B%E5%BA%8F%E4%BA%8C%E6%9C%9F"
,
"debugOptions"
:
{
"hidedInDevtools"
:
[]
},
"isGameTourist"
:
false
,
"simulatorType"
:
"wechat"
,
"simulatorPluginLibVersion"
:
{},
"condition"
:
{
"search"
:
{
"current"
:
-1
,
"list"
:
[]
},
"conversation"
:
{
"current"
:
-1
,
"list"
:
[]
},
"plugin"
:
{
"current"
:
-1
,
"list"
:
[]
},
"game"
:
{
"currentL"
:
-1
,
"list"
:
[]
},
"gamePlugin"
:
{
"current"
:
-1
,
"list"
:
[]
},
"miniprogram"
:
{
"current"
:
-1
,
"list"
:
[
{
"id"
:
-1
,
"name"
:
"pages/commodity/menu-food/menu-food"
,
"pathName"
:
"pages/commodity/menu-food/menu-food"
,
"query"
:
""
,
"scene"
:
null
},
{
"id"
:
-1
,
"name"
:
"pages/play/home/home"
,
"pathName"
:
"pages/play/home/home"
,
"query"
:
""
,
"scene"
:
null
},
{
"id"
:
-1
,
"name"
:
"pages/play/service-detail/service-detail"
,
"pathName"
:
"pages/play/service-detail/service-detail"
,
"query"
:
"id=1&type=4"
,
"scene"
:
null
},
{
"id"
:
-1
,
"name"
:
"pages/mine/home/home"
,
"pathName"
:
"pages/mine/home/home"
,
"scene"
:
null
}
]
}
}
}
\ 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