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
10c75293
authored
Sep 23, 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
175638ba
df0e4417
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
178 additions
and
53 deletions
app.js
pages/commodity/menu-art/menu-art.js
pages/commodity/menu-food/menu-food.js
pages/commodity/menu-snacks/menu-snacks.js
pages/commodity/project-detail/project-detail.js
pages/commodity/project-detail/project-detail.wxss
pages/commodity/project/project.js
pages/mine/appointment/appointment.js
pages/mine/appointment/appointment.wxml
pages/mine/question/question.js
pages/mine/question/question.wxml
pages/pay/order-detail/order-detail.wxml
pages/play/activity-detail/activity-detail.js
pages/play/service-detail/service-detail.js
pages/play/service-sell/service-sell.js
project.config.json
app.js
View file @
10c75293
...
...
@@ -27,6 +27,8 @@ App({
baseUrl
:
'https://sm-web2.meiqicloud.com'
,
//测试
// baseUrl: 'https://smbhyh-web.meiqicloud.com',//生产
debug
:
true
,
isRefreshToken
:
false
,
},
onLaunch
:
function
()
{
...
...
@@ -129,6 +131,7 @@ App({
url
:
'/api/v1/login/getSmallSession?code='
+
res
.
code
,
method
:
'GET'
,
success
:
(
response
)
=>
{
this
.
globalData
.
isRefreshToken
=
false
let
funcResponse
=
response
.
data
// 缓存令牌信息
...
...
@@ -253,6 +256,9 @@ App({
* @returns
*/
refreshToken
:
function
(
obj
)
{
if
(
this
.
globalData
.
isRefreshToken
)
return
this
.
globalData
.
isRefreshToken
=
true
this
.
wxRequest
({
url
:
'/api/v1/login/refreshToken'
,
header
:
{
...
...
@@ -269,6 +275,7 @@ App({
wx
.
setStorageSync
(
'token'
,
funcResponse
.
token
)
wx
.
setStorageSync
(
'tokenRefresh'
,
funcResponse
.
refreshToken
)
this
.
globalData
.
isRefreshToken
=
false
this
.
wxRequest
(
obj
)
break
...
...
pages/commodity/menu-art/menu-art.js
View file @
10c75293
...
...
@@ -212,7 +212,7 @@ Page({
let
funcUserType
=
wx
.
getStorageSync
(
'userInfo'
).
userType
// 根据后台判断价格显示类型
// 活动价优先级最高,如果存在活动价,则只显示活动价和普通价
if
(
funcItem
.
priceDiscount
)
{
if
(
funcItem
.
priceDiscount
||
funcItem
.
priceDiscount
===
0
)
{
funcItem
.
priceType
=
1
}
else
{
// 活动价不存在,进一步判断普通价与业主价是否一致,如果不一致,则显示两者
...
...
pages/commodity/menu-food/menu-food.js
View file @
10c75293
...
...
@@ -247,7 +247,7 @@ Page({
let
funcUserType
=
wx
.
getStorageSync
(
'userInfo'
).
userType
// 根据后台判断价格显示类型
// 活动价优先级最高,如果存在活动价,则只显示活动价和普通价
if
(
funcItem
.
priceDiscount
)
{
if
(
funcItem
.
priceDiscount
||
funcItem
.
priceDiscount
===
0
)
{
funcItem
.
priceType
=
1
}
else
{
// 活动价不存在,进一步判断普通价与业主价是否一致,如果不一致,则显示两者
...
...
pages/commodity/menu-snacks/menu-snacks.js
View file @
10c75293
...
...
@@ -212,7 +212,7 @@ Page({
let
funcUserType
=
wx
.
getStorageSync
(
'userInfo'
).
userType
// 根据后台判断价格显示类型
// 活动价优先级最高,如果存在活动价,则只显示活动价和普通价
if
(
funcItem
.
priceDiscount
)
{
if
(
funcItem
.
priceDiscount
||
funcItem
.
priceDiscount
===
0
)
{
funcItem
.
priceType
=
1
}
else
{
// 活动价不存在,进一步判断普通价与业主价是否一致,如果不一致,则显示两者
...
...
pages/commodity/project-detail/project-detail.js
View file @
10c75293
...
...
@@ -108,7 +108,7 @@ Page({
'dateValid'
:
App
.
modular
.
miment
().
format
(
'YYYY.MM.DD'
),
// 有效时间
'dateInvalid'
:
funcResponse
[
i
].
inventorie
[
0
].
cardNam
,
// 失效时间
'name'
:
funcResponse
[
i
].
name
,
'cover'
:
funcResponse
[
i
].
cover
Img
,
// 商品封面
'cover'
:
funcResponse
[
i
].
tickets
Img
,
// 商品封面
'price'
:
funcResponse
[
i
].
inventorie
[
0
].
sightseerPrice
,
// 普通价
'priceText'
:
App
.
modular
.
utils
.
formatAmount
(
funcResponse
[
i
].
inventorie
[
0
].
sightseerPrice
),
// 普通价文本格式
'priceSpecial'
:
funcResponse
[
i
].
inventorie
[
0
].
ownerPrice
,
// 业主价
...
...
@@ -124,7 +124,7 @@ Page({
let
funcUserType
=
wx
.
getStorageSync
(
'userInfo'
).
userType
// 根据后台判断价格显示类型
// 活动价优先级最高,如果存在活动价,则只显示活动价和普通价
if
(
funcItem
.
priceDiscount
)
{
if
(
funcItem
.
priceDiscount
||
funcItem
.
priceDiscount
===
0
)
{
funcItem
.
priceType
=
1
}
else
{
// 活动价不存在,进一步判断普通价与业主价是否一致,如果不一致,则显示两者
...
...
@@ -152,7 +152,7 @@ Page({
'dateValid'
:
App
.
modular
.
miment
().
format
(
'YYYY.MM.DD'
),
// 有效时间
'dateInvalid'
:
App
.
modular
.
miment
().
format
(
'YYYY.MM.DD'
),
// 失效时间
'name'
:
funcResponse
[
i
].
name
,
'cover'
:
funcResponse
[
i
].
cover
Img
,
// 商品封面
'cover'
:
funcResponse
[
i
].
tickets
Img
,
// 商品封面
'price'
:
funcResponse
[
i
].
sightseerPrice
,
// 普通价
'priceText'
:
App
.
modular
.
utils
.
formatAmount
(
funcResponse
[
i
].
sightseerPrice
),
// 普通价文本格式
'priceSpecial'
:
funcResponse
[
i
].
ownerPrice
,
// 业主价
...
...
@@ -168,7 +168,7 @@ Page({
let
funcUserType
=
wx
.
getStorageSync
(
'userInfo'
).
userType
// 根据后台判断价格显示类型
// 活动价优先级最高,如果存在活动价,则只显示活动价和普通价
if
(
funcItem
.
priceDiscount
)
{
if
(
funcItem
.
priceDiscount
||
funcItem
.
priceDiscount
===
0
)
{
funcItem
.
priceType
=
1
}
else
{
// 活动价不存在,进一步判断普通价与业主价是否一致,如果不一致,则显示两者
...
...
@@ -219,7 +219,7 @@ Page({
'dateValid'
:
App
.
modular
.
miment
().
format
(
'YYYY.MM.DD'
),
// 有效时间
'dateInvalid'
:
funcResponse
[
i
].
inventorie
[
0
].
cardNam
,
// 失效时间
'name'
:
funcResponse
[
i
].
name
,
'cover'
:
funcResponse
[
i
].
cover
Img
,
// 商品封面
'cover'
:
funcResponse
[
i
].
tickets
Img
,
// 商品封面
'price'
:
funcResponse
[
i
].
inventorie
[
0
].
sightseerPrice
,
// 普通价
'priceText'
:
App
.
modular
.
utils
.
formatAmount
(
funcResponse
[
i
].
inventorie
[
0
].
sightseerPrice
),
// 普通价文本格式
'priceSpecial'
:
funcResponse
[
i
].
inventorie
[
0
].
ownerPrice
,
// 业主价
...
...
@@ -235,7 +235,7 @@ Page({
let
funcUserType
=
wx
.
getStorageSync
(
'userInfo'
).
userType
// 根据后台判断价格显示类型
// 活动价优先级最高,如果存在活动价,则只显示活动价和普通价
if
(
funcItem
.
priceDiscount
)
{
if
(
funcItem
.
priceDiscount
||
funcItem
.
priceDiscount
===
0
)
{
funcItem
.
priceType
=
1
}
else
{
// 活动价不存在,进一步判断普通价与业主价是否一致,如果不一致,则显示两者
...
...
@@ -263,7 +263,7 @@ Page({
'dateValid'
:
App
.
modular
.
miment
().
format
(
'YYYY.MM.DD'
),
// 有效时间
'dateInvalid'
:
App
.
modular
.
miment
().
format
(
'YYYY.MM.DD'
),
// 失效时间
'name'
:
funcResponse
[
i
].
name
,
'cover'
:
funcResponse
[
i
].
cover
Img
,
// 商品封面
'cover'
:
funcResponse
[
i
].
tickets
Img
,
// 商品封面
'price'
:
funcResponse
[
i
].
sightseerPrice
,
// 普通价
'priceText'
:
App
.
modular
.
utils
.
formatAmount
(
funcResponse
[
i
].
sightseerPrice
),
// 普通价文本格式
'priceSpecial'
:
funcResponse
[
i
].
ownerPrice
,
// 业主价
...
...
@@ -279,7 +279,7 @@ Page({
let
funcUserType
=
wx
.
getStorageSync
(
'userInfo'
).
userType
// 根据后台判断价格显示类型
// 活动价优先级最高,如果存在活动价,则只显示活动价和普通价
if
(
funcItem
.
priceDiscount
)
{
if
(
funcItem
.
priceDiscount
||
funcItem
.
priceDiscount
===
0
)
{
funcItem
.
priceType
=
1
}
else
{
// 活动价不存在,进一步判断普通价与业主价是否一致,如果不一致,则显示两者
...
...
pages/commodity/project-detail/project-detail.wxss
View file @
10c75293
...
...
@@ -17,7 +17,7 @@
.project-cover {
width: 670rpx;
height: 376rpx;
background
-color: lightpink
;
background
: #999999
;
}
.project-info {
...
...
pages/commodity/project/project.js
View file @
10c75293
...
...
@@ -132,7 +132,7 @@ Page({
let
funcUserType
=
wx
.
getStorageSync
(
'userInfo'
).
userType
// 根据后台判断价格显示类型
// 活动价优先级最高,如果存在活动价,则只显示活动价和普通价
if
(
funcItem
.
priceDiscount
)
{
if
(
funcItem
.
priceDiscount
||
funcItem
.
priceDiscount
===
0
)
{
funcItem
.
priceType
=
1
}
else
{
// 活动价不存在,进一步判断普通价与业主价是否一致,如果不一致,则显示两者
...
...
@@ -176,7 +176,7 @@ Page({
let
funcUserType
=
wx
.
getStorageSync
(
'userInfo'
).
userType
// 根据后台判断价格显示类型
// 活动价优先级最高,如果存在活动价,则只显示活动价和普通价
if
(
funcItem
.
priceDiscount
)
{
if
(
funcItem
.
priceDiscount
||
funcItem
.
priceDiscount
===
0
)
{
funcItem
.
priceType
=
1
}
else
{
// 活动价不存在,进一步判断普通价与业主价是否一致,如果不一致,则显示两者
...
...
pages/mine/appointment/appointment.js
View file @
10c75293
...
...
@@ -136,9 +136,16 @@ Page({
onOrderPay
:
function
(
event
)
{
// 数据校验不通过
let
that
=
this
console
.
log
(
);
let
funcItem
=
event
.
currentTarget
.
dataset
.
item
console
.
log
(
funcItem
,
'jjjj'
);
let
wxRequest
=
funcItem
.
wxRequest
// 待支付返回的wx支付参数
if
(
wxRequest
)
{
wx
.
requestPayment
({
...
...
@@ -286,7 +293,8 @@ Page({
date
:
item
.
activeTime
,
address
:
item
.
address
,
num
:
item
.
number
,
amount
:
item
.
totalMoney
.
toFixed
(
2
)
amount
:
item
.
totalMoney
.
toFixed
(
2
),
wxRequest
:
item
.
wxRequest
}
tmpArr
.
push
(
obj
)
})
...
...
pages/mine/appointment/appointment.wxml
View file @
10c75293
<!--pages/myAppointment/myAppointment.wxml-->
<navigation class="navigation" titleText="我的预约" backIcon="/image/back.png" scrollStyle="{{navigationStyle}}" scrollHeight="{{navigationScroll}}" bind:navBack="onNavBack"></navigation>
<navigation class="navigation" titleText="我的预约" backIcon="/image/back.png" scrollStyle="{{navigationStyle}}"
scrollHeight="{{navigationScroll}}" bind:navBack="onNavBack"></navigation>
<view class="container all">
<view class="myActivity-container" style="min-height:{{height}}px;">
<view class="myAppointment-nav">
...
...
@@ -45,7 +46,8 @@
</view>
</view>
<!-- 未开始 -->
<view class="appointment-wrapper" wx:if="{{activity.status === '2' && activity.activeState === '0'}}">
<view class="appointment-wrapper" wx:if="{{activity.status === '2' && activity.activeState === '0'}}"
bindtap="onOrderDetail" data-item="{{activity}}">
<view class="appointment-time">{{activity.date}}</view>
<view class="appintment-activity-status">
<text>未开始</text>
...
...
@@ -77,7 +79,8 @@
</view>
</view>
<!-- 进行中 -->
<view class="appointment-wrapper" wx:if="{{activity.status === '2' && activity.activeState === '1'}}">
<view class="appointment-wrapper" wx:if="{{activity.status === '2' && activity.activeState === '1'}}"
bindtap="onOrderDetail" data-item="{{activity}}">
<view class="appointment-time">{{activity.date}}</view>
<view class="appintment-activity-status">
<text>进行中</text>
...
...
@@ -109,7 +112,8 @@
</view>
</view>
<!-- 待评价 -->
<view class="appointment-wrapper" wx:if="{{activity.status === '3' && activity.activeState === '2'}}">
<view class="appointment-wrapper" wx:if="{{activity.status === '3' && activity.activeState === '2'}}"
bindtap="onOrderDetail" data-item="{{activity}}">
<view class="appointment-time">{{activity.date}}</view>
<view class="appintment-activity-status">
<text>待评价</text>
...
...
@@ -136,13 +140,13 @@
<text>{{activity.amount}}</text>
</view>
<view class="appointment-activity-btn row">
<view
data-item="{{activity}}" catchtap="onOrderEvaluate" class="confirm-btn">去评价</view>
<view data-item="{{activity}}" catchtap="onOrderEvaluate" class="confirm-btn">去评价</view>
</view>
</view>
</view>
<!-- 已过期 -->
<view class="appointment-wrapper" wx:if="{{activity.status === '4'}}">
<view class="mask-cancel"></view>
<view class="mask-cancel"
bindtap="onOrderDetail" data-item="{{activity}}"
></view>
<view class="appointment-time mask-cancel-time">{{activity.date}}</view>
<view class="appintment-activity-status-cancel">
<text>已过期</text>
...
...
@@ -169,14 +173,14 @@
<text>{{activity.amount}}</text>
</view>
<view class="appointment-activity-btn row">
<view data-item="{{activity}}" catchtap="doCancel"
class="cancel-btn cancel
">删除报名</view>
<view data-item="{{activity}}" catchtap="doCancel"
class="cancel-btn
">删除报名</view>
</view>
</view>
</view>
<!-- 已取消 -->
<view class="appointment-wrapper" wx:if="{{activity.status === '-1'}}">
<view class="mask-cancel" bindtap="onOrderDetail" data-item="{{activity}}"></view>
<view class="appointment-time mask-cancel-time">
7月15日 10:00-12:00
</view>
<view class="appointment-time mask-cancel-time">
{{activity.date}}
</view>
<view class="appintment-activity-status-cancel">
<text>已取消</text>
</view>
...
...
@@ -202,7 +206,7 @@
<text>{{activity.amount}}</text>
</view>
<view class="appointment-activity-btn row">
<view data-item="{{activity}}" catchtap="doCancel"
class="cancel-btn cancel">删除报名</view>
<view data-item="{{activity}}" catchtap="doCancel" class="cancel-btn cancel">删除报名</view>
<view data-index="0" catchtap="goAppoint" class="confirm-btn confirm-once">再次报名</view>
</view>
</view>
...
...
@@ -211,14 +215,14 @@
</view>
<!-- 夜间入园预约、看房预约 -->
<view class="myAppointment-body" wx:if="{{data.length > 0 && active !== 0}}">
<view class="myAppointment-item" wx:for="{{data}}" wx:key="index">
<view class="myAppointment-item" wx:for="{{data}}" wx:key="index"
data-item="{{item}}" bindtap="gohotelAccommodation"
>
<image src="{{item.url}}" class="item-img"></image>
<view class="item-content">
<view class="item-title {{item.type == 0 ?'item-num-1' : ''}}">{{item.title}}</view>
<view class="item-time {{item.type == 1 ?'item-time-1' : ''}}">预约时间 {{item.time}}</view>
<view wx:if="{{item.type == 0}}" class="item-num">预约人数 {{item.num}}人</view>
</view>
<view class="button"
data-item="{{item}}" bindtap="gohotelAccommodation"
>预约凭证</view>
<view class="button" >预约凭证</view>
</view>
</view>
</view>
...
...
pages/mine/question/question.js
View file @
10c75293
...
...
@@ -2,6 +2,9 @@ const App = getApp()
Page
({
data
:
{
imageBase
:
App
.
globalData
.
appImageBase
,
resourcesBase
:
App
.
globalData
.
appResourcesBase
,
title
:
'客服中心'
,
inputHidden
:
true
,
commonProblems
:
[],
...
...
pages/mine/question/question.wxml
View file @
10c75293
...
...
@@ -40,15 +40,15 @@
</view>
<view class="footer-nav" style="padding-bottom:{{isIphoneX >=0?68:0}}rpx;">
<view class="nav-item" bindtap="call">
<image class="nav-icon" src="
./images/Hotline@2x.png
"></image>
<image class="nav-icon" src="
{{imageBase + 'icon/service-1.png'}}
"></image>
<view class="nav-item-title">客服热线</view>
</view>
<view class="nav-item" bindtap="openMask">
<image class="nav-icon" src="
./images/Wechat@2x.png
"></image>
<image class="nav-icon" src="
{{imageBase + 'icon/wechat-1.png'}}
"></image>
<view class="nav-item-title">客服微信</view>
</view>
<view class="nav-item" bindtap="feedback">
<image class="nav-icon" src="
./images/Feedback@2x.png
"></image>
<image class="nav-icon" src="
{{imageBase + 'icon/letter-1.png'}}
"></image>
<view class="nav-item-title">填写反馈</view>
</view>
</view>
...
...
pages/pay/order-detail/order-detail.wxml
View file @
10c75293
...
...
@@ -91,7 +91,7 @@
<image class="seal-long" src="{{resourcesBase+orderInfo.shopInfo.printUse}}"></image>
</view>
<view class="info-code col con-c align-c">
<text>{{
'件商品可用'}}
</text>
<text>{{
orderInfo.commodity.length}}件商品可用
</text>
<button bindtap="onFastScan" class="row con-c align-c">一键扫码</button>
<text>{{orderInfo.expireTime}}</text>
</view>
...
...
@@ -210,7 +210,7 @@
<image class="seal-long" src="{{resourcesBase+orderInfo.shopInfo.printUse}}"></image>
</view>
<view class="info-code col con-c align-c">
<text>{{
'张电影票可用'}}
</text>
<text>{{
orderInfo.commodity.length}}张电影票可用
</text>
<button bindtap="onFastScan" class="row con-c align-c">一键扫码</button>
<text>{{orderInfo.expireTime}}</text>
</view>
...
...
pages/play/activity-detail/activity-detail.js
View file @
10c75293
...
...
@@ -83,7 +83,7 @@ Page({
let
funcUserType
=
wx
.
getStorageSync
(
'userInfo'
).
userType
// 根据后台判断价格显示类型
// 活动价优先级最高,如果存在活动价,则只显示活动价和普通价
if
(
funcItem
.
priceDiscount
)
{
if
(
funcItem
.
priceDiscount
||
funcItem
.
priceDiscount
===
0
)
{
funcItem
.
priceType
=
1
}
else
{
// 活动价不存在,进一步判断普通价与业主价是否一致,如果不一致,则显示两者
...
...
pages/play/service-detail/service-detail.js
View file @
10c75293
...
...
@@ -481,7 +481,7 @@ Page({
let
funcUserType
=
wx
.
getStorageSync
(
'userInfo'
).
userType
// 根据后台判断价格显示类型
// 活动价优先级最高,如果存在活动价,则只显示活动价和普通价
if
(
funcItem
.
priceDiscount
)
{
if
(
funcItem
.
priceDiscount
||
funcItem
.
priceDiscount
===
0
)
{
funcItem
.
priceType
=
1
}
else
{
// 活动价不存在,进一步判断普通价与业主价是否一致,如果不一致,则显示两者
...
...
@@ -583,25 +583,25 @@ Page({
'isMore'
:
false
,
}
funcItem
=
{
'isMore'
:
false
,
'star'
:
4
,
'scoreService'
:
3
,
'scoreCommodity'
:
2
,
'scoreEnvironmental'
:
1
,
'userName'
:
'用户名称'
,
'userAvatar'
:
'https://gss3.bdstatic.com/84oSdTum2Q5BphGlnYG/timg?wapp&quality=80&size=b150_150&subsize=20480&cut_x=0&cut_w=0&cut_y=0&cut_h=0&sec=1369815402&srctrace&di=6a992d9158ef2273c2e9d0a77fbbbe88&wh_rate=null&src=http%3A%2F%2Ftiebapic.baidu.com%2Fforum%2Fpic%2Fitem%2F4d086e061d950a7be03653981dd162d9f2d3c96f.jpg'
,
'userType'
:
0
,
'userAlbum'
:
[
'https://dss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=975216563,2695721503&fm=111&gp=0.jpg'
,
'https://dss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=2856846879,389279115&fm=26&gp=0.jpg'
,
'https://dss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=2032511182,3555754069&fm=26&gp=0.jpg'
,
'https://dss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=2032511182,3555754069&fm=26&gp=0.jpg'
,
'https://dss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=2032511182,3555754069&fm=26&gp=0.jpg'
,
],
'date'
:
'2020.02.09'
,
'content'
:
'/sd12i301!@(#*)(#Updjs'
,
}
//
funcItem = {
//
'isMore': false,
//
'star': 4,
//
'scoreService': 3,
//
'scoreCommodity': 2,
//
'scoreEnvironmental': 1,
//
'userName': '用户名称',
//
'userAvatar': 'https://gss3.bdstatic.com/84oSdTum2Q5BphGlnYG/timg?wapp&quality=80&size=b150_150&subsize=20480&cut_x=0&cut_w=0&cut_y=0&cut_h=0&sec=1369815402&srctrace&di=6a992d9158ef2273c2e9d0a77fbbbe88&wh_rate=null&src=http%3A%2F%2Ftiebapic.baidu.com%2Fforum%2Fpic%2Fitem%2F4d086e061d950a7be03653981dd162d9f2d3c96f.jpg',
//
'userType': 0,
//
'userAlbum': [
//
'https://dss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=975216563,2695721503&fm=111&gp=0.jpg',
//
'https://dss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=2856846879,389279115&fm=26&gp=0.jpg',
//
'https://dss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=2032511182,3555754069&fm=26&gp=0.jpg',
//
'https://dss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=2032511182,3555754069&fm=26&gp=0.jpg',
//
'https://dss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=2032511182,3555754069&fm=26&gp=0.jpg',
//
],
//
'date': '2020.02.09',
//
'content': '/sd12i301!@(#*)(#Updjs',
//
}
funcItem
.
star
=
Math
.
floor
((
funcItem
.
scoreService
+
funcItem
.
scoreCommodity
+
funcItem
.
scoreEnvironmental
)
/
3
)
funcList
.
push
(
funcItem
)
}
...
...
pages/play/service-sell/service-sell.js
View file @
10c75293
...
...
@@ -65,7 +65,7 @@ Page({
let
funcUserType
=
wx
.
getStorageSync
(
'userInfo'
).
userType
// 根据后台判断价格显示类型
// 活动价优先级最高,如果存在活动价,则只显示活动价和普通价
if
(
funcItem
.
priceDiscount
)
{
if
(
funcItem
.
priceDiscount
||
funcItem
.
priceDiscount
===
0
)
{
funcItem
.
priceType
=
1
}
else
{
// 活动价不存在,进一步判断普通价与业主价是否一致,如果不一致,则显示两者
...
...
project.config.json
0 → 100644
View file @
10c75293
{
"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