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 @@
...
@@ -80,11 +80,7 @@
<view
class=
"jz_TopPrice"
>
<view
class=
"jz_TopPrice"
>
<view
class=
"jz_LineTitle"
>
<view
class=
"jz_LineTitle"
>
<text
class=
"jz_renmin"
>
¥
</text
<text
class=
"jz_renmin"
>
¥
</text
><text
class=
"jz_B2bPrice"
>
{{
><text
class=
"jz_B2bPrice"
>
{{
currentPrice
.
b2CPrice
}}
</text>
$utils
.
getretailer
()
==
true
?
currentPrice
.
b2BPrice
:
currentPrice
.
b2CPrice
}}
</text>
<text
style=
"color: #999999; font-size: 24rpx; font-weight: 400"
>
<text
style=
"color: #999999; font-size: 24rpx; font-weight: 400"
>
/人起
</text
/人起
</text
>
>
...
@@ -181,9 +177,7 @@
...
@@ -181,9 +177,7 @@
<view
<view
v-if=
"item.remainNum > 0"
v-if=
"item.remainNum > 0"
style=
"color: #ff3166; font-size: 26rpx"
style=
"color: #ff3166; font-size: 26rpx"
>
¥
{{
>
¥
{{
item
.
b2CPrice
}}
</view
$utils
.
getretailer
()
==
true
?
item
.
b2BPrice
:
item
.
b2CPrice
}}
</view
>
>
<view
v-if=
"item.remainNum == 0"
style=
"padding: 20rpx 0"
>
<view
v-if=
"item.remainNum == 0"
style=
"padding: 20rpx 0"
>
<text
style=
"font-size: 32rpx; font-weight: 600"
>
已售罄
</text>
<text
style=
"font-size: 32rpx; font-weight: 600"
>
已售罄
</text>
...
@@ -1269,7 +1263,7 @@ export default {
...
@@ -1269,7 +1263,7 @@ export default {
myObj
.
babyPrice
=
this
.
currentPrice
.
babyPrice
;
myObj
.
babyPrice
=
this
.
currentPrice
.
babyPrice
;
myObj
.
babyChargePrice
=
this
.
currentPrice
.
babyChargePrice
;
myObj
.
babyChargePrice
=
this
.
currentPrice
.
babyChargePrice
;
myObj
.
b2BMemberPrice
=
this
.
currentPrice
.
b2BMemberPrice
;
myObj
.
b2BMemberPrice
=
this
.
currentPrice
.
b2BMemberPrice
;
myObj
.
tcid
=
this
.
currentPrice
.
tcid
;
let
imgCover
=
JSON
.
parse
(
this
.
dataList
.
imgCover
);
let
imgCover
=
JSON
.
parse
(
this
.
dataList
.
imgCover
);
if
(
imgCover
.
length
>
0
)
{
if
(
imgCover
.
length
>
0
)
{
// myCurrentInfo.CoverImg = imgCover[0].Url;
// myCurrentInfo.CoverImg = imgCover[0].Url;
...
...
pages/jiuzhai/jz_Reserve.vue
View file @
f589bd63
...
@@ -341,11 +341,7 @@
...
@@ -341,11 +341,7 @@
<text
style=
"margin-right: 30rpx"
>
成人
</text>
<text
style=
"margin-right: 30rpx"
>
成人
</text>
</view>
</view>
<view
style=
"text-align: right"
<view
style=
"text-align: right"
>
{{
orderMsg
.
ManNum
}}
人 × ¥
{{
>
{{
orderMsg
.
ManNum
}}
人 × ¥
{{
currentPriceInfo
.
b2CPrice
}}
</view
$utils
.
getretailer
()
?
currentPriceInfo
.
b2BPrice
:
currentPriceInfo
.
b2CPrice
}}
</view
>
>
</view>
</view>
<view
<view
...
@@ -571,11 +567,13 @@ export default {
...
@@ -571,11 +567,13 @@ export default {
//计算价格
//计算价格
calcMoney
()
{
calcMoney
()
{
var
price
=
0
;
var
price
=
0
;
if
(
this
.
$utils
.
getretailer
())
{
// if (this.$utils.getretailer()) {
price
=
this
.
currentPriceInfo
.
b2BPrice
;
// price = this.currentPriceInfo.b2BPrice;
}
else
{
// } else {
price
=
this
.
currentPriceInfo
.
b2CPrice
;
// price = this.currentPriceInfo.b2CPrice;
}
// }
price
=
this
.
currentPriceInfo
.
b2CPrice
;
this
.
orderMsg
.
ChirdNum
=
this
.
orderMsg
.
ChirdNum
=
parseInt
(
this
.
orderMsg
.
ChirdNoBedNum
)
+
parseInt
(
this
.
orderMsg
.
ChirdNoBedNum
)
+
parseInt
(
this
.
orderMsg
.
ChirdNeedBedNum
);
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