Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhengke
jz_Travel
Commits
f589bd63
Commit
f589bd63
authored
Oct 12, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xiugai
parent
fc6be58c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
19 deletions
+11
-19
jz_LineDetail.vue
pages/jiuzhai/jz_LineDetail.vue
+3
-9
jz_Reserve.vue
pages/jiuzhai/jz_Reserve.vue
+8
-10
No files found.
pages/jiuzhai/jz_LineDetail.vue
View file @
f589bd63
...
...
@@ -80,11 +80,7 @@
<view
class=
"jz_TopPrice"
>
<view
class=
"jz_LineTitle"
>
<text
class=
"jz_renmin"
>
¥
</text
><text
class=
"jz_B2bPrice"
>
{{
$utils
.
getretailer
()
==
true
?
currentPrice
.
b2BPrice
:
currentPrice
.
b2CPrice
}}
</text>
><text
class=
"jz_B2bPrice"
>
{{
currentPrice
.
b2CPrice
}}
</text>
<text
style=
"color: #999999; font-size: 24rpx; font-weight: 400"
>
/人起
</text
>
...
...
@@ -181,9 +177,7 @@
<view
v-if=
"item.remainNum > 0"
style=
"color: #ff3166; font-size: 26rpx"
>
¥
{{
$utils
.
getretailer
()
==
true
?
item
.
b2BPrice
:
item
.
b2CPrice
}}
</view
>
¥
{{
item
.
b2CPrice
}}
</view
>
<view
v-if=
"item.remainNum == 0"
style=
"padding: 20rpx 0"
>
<text
style=
"font-size: 32rpx; font-weight: 600"
>
已售罄
</text>
...
...
@@ -1269,7 +1263,7 @@ export default {
myObj
.
babyPrice
=
this
.
currentPrice
.
babyPrice
;
myObj
.
babyChargePrice
=
this
.
currentPrice
.
babyChargePrice
;
myObj
.
b2BMemberPrice
=
this
.
currentPrice
.
b2BMemberPrice
;
myObj
.
tcid
=
this
.
currentPrice
.
tcid
;
let
imgCover
=
JSON
.
parse
(
this
.
dataList
.
imgCover
);
if
(
imgCover
.
length
>
0
)
{
// myCurrentInfo.CoverImg = imgCover[0].Url;
...
...
pages/jiuzhai/jz_Reserve.vue
View file @
f589bd63
...
...
@@ -341,11 +341,7 @@
<text
style=
"margin-right: 30rpx"
>
成人
</text>
</view>
<view
style=
"text-align: right"
>
{{
orderMsg
.
ManNum
}}
人 × ¥
{{
$utils
.
getretailer
()
?
currentPriceInfo
.
b2BPrice
:
currentPriceInfo
.
b2CPrice
}}
</view
>
{{
orderMsg
.
ManNum
}}
人 × ¥
{{
currentPriceInfo
.
b2CPrice
}}
</view
>
</view>
<view
...
...
@@ -571,11 +567,13 @@ export default {
//计算价格
calcMoney
()
{
var
price
=
0
;
if
(
this
.
$utils
.
getretailer
())
{
price
=
this
.
currentPriceInfo
.
b2BPrice
;
}
else
{
price
=
this
.
currentPriceInfo
.
b2CPrice
;
}
// if (this.$utils.getretailer()) {
// price = this.currentPriceInfo.b2BPrice;
// } else {
// price = this.currentPriceInfo.b2CPrice;
// }
price
=
this
.
currentPriceInfo
.
b2CPrice
;
this
.
orderMsg
.
ChirdNum
=
parseInt
(
this
.
orderMsg
.
ChirdNoBedNum
)
+
parseInt
(
this
.
orderMsg
.
ChirdNeedBedNum
);
...
...
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