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
d69f3150
Commit
d69f3150
authored
Mar 04, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
线路列表
parent
b19165c0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
68 additions
and
30 deletions
+68
-30
jz_Line.vue
pages/jiuzhai/jz_Line.vue
+8
-1
jz_LineDetail.vue
pages/jiuzhai/jz_LineDetail.vue
+60
-29
No files found.
pages/jiuzhai/jz_Line.vue
View file @
d69f3150
...
@@ -498,7 +498,14 @@
...
@@ -498,7 +498,14 @@
</view>
</view>
<view
class=
"price"
style=
"text-align: unset;"
>
<view
class=
"price"
style=
"text-align: unset;"
>
<text>
¥
</text>
<text>
¥
</text>
<text
class=
"money"
>
{{
parseFloat
(
$utils
.
getretailer
()?
item
.
b2BPrice
:
item
.
b2CPrice
).
toFixed
(
2
)
}}
</text>
<text
class=
"money"
>
<!-- #ifdef MP-DI -->
{{
parseFloat
(
item
.
b2CPrice
).
toFixed
(
2
)
}}
<!-- #endif -->
<!-- #ifdef MP-AG -->
{{
parseFloat
(
item
.
b2BPrice
).
toFixed
(
2
)
}}
<!-- #endif -->
</text>
</view>
</view>
</view>
</view>
</view>
</view>
...
...
pages/jiuzhai/jz_LineDetail.vue
View file @
d69f3150
...
@@ -54,10 +54,20 @@
...
@@ -54,10 +54,20 @@
<view
class=
"col"
>
<view
class=
"col"
>
<!--
<text>
同业价:
</text>
<!--
<text>
同业价:
</text>
<text
class=
"jz_renmin"
>
¥
</text><text
class=
"jz_B2bPrice"
>
{{
discountPrice
}}
</text>
-->
<text
class=
"jz_renmin"
>
¥
</text><text
class=
"jz_B2bPrice"
>
{{
discountPrice
}}
</text>
-->
<!-- #ifdef MP-AG -->
<text>
原价:
</text>
<text>
原价:
</text>
<text
class=
"jz_renmin"
>
¥
</text><text
class=
"jz_B2bPrice"
>
{{
$utils
.
getretailer
()?
currentPrice
.
b2BPrice
:
currentPrice
.
b2CPrice
}}
</text>
<!-- #endif -->
<text
class=
"jz_renmin"
>
¥
</text>
<text
class=
"jz_B2bPrice"
>
<!-- #ifdef MP-DI -->
{{
currentPrice
.
b2CPrice
}}
<!-- #endif -->
<!-- #ifdef MP-AG -->
{{
currentPrice
.
b2BPrice
}}
<!-- #endif -->
</text>
<text
style=
"color: #999999; font-size: 28rpx; font-weight: 400"
>
/人起
</text>
<text
style=
"color: #999999; font-size: 28rpx; font-weight: 400"
>
/人起
</text>
<!-- #ifdef MP-AG -->
<view
class=
""
v-if=
"stepNumber==0&&dataList.currentPriceInfo.teamType==0"
>
<view
class=
""
v-if=
"stepNumber==0&&dataList.currentPriceInfo.teamType==0"
>
<text
style=
"font-size: 13px;color:#111"
>
<text
style=
"font-size: 13px;color:#111"
>
直客价:
<text
style=
"font-size: 20rpx;"
>
¥
</text>
{{
currentPrice
.
b2CPrice
}}
直客价:
<text
style=
"font-size: 20rpx;"
>
¥
</text>
{{
currentPrice
.
b2CPrice
}}
...
@@ -66,8 +76,9 @@
...
@@ -66,8 +76,9 @@
<text
style=
"font-size: 13px;color:#111;margin-left: 10px;"
v-else
>
<text
style=
"font-size: 13px;color:#111;margin-left: 10px;"
v-else
>
直客价:
<text
style=
"font-size: 20rpx;"
>
¥
</text>
{{
currentPrice
.
b2CPrice
}}
直客价:
<text
style=
"font-size: 20rpx;"
>
¥
</text>
{{
currentPrice
.
b2CPrice
}}
</text>
</text>
<!-- #endif -->
</view>
</view>
<!-- #ifdef MP-AG -->
<view
v-if=
"stepNumber==0&&dataList.currentPriceInfo.teamType==0"
class=
"row items-center jz_LineDetaCZ"
style=
"border-radius: 4px;overflow: hidden;font-size: 12px;"
>
<view
v-if=
"stepNumber==0&&dataList.currentPriceInfo.teamType==0"
class=
"row items-center jz_LineDetaCZ"
style=
"border-radius: 4px;overflow: hidden;font-size: 12px;"
>
<view
class=
"jz_LineDetaCZL"
>
<view
class=
"jz_LineDetaCZL"
>
<view
style=
"opacity: 0;"
>
1
</view>
<view
style=
"opacity: 0;"
>
1
</view>
...
@@ -77,6 +88,8 @@
...
@@ -77,6 +88,8 @@
<
template
v-else
>
30
</
template
>
元/人
<
template
v-else
>
30
</
template
>
元/人
</view>
</view>
</view>
</view>
<!-- #endif -->
</view>
</view>
<view
v-if=
"TotalDiscount>0"
class=
"jz_LineDetaYJDKQ"
style=
"padding: 0rpx 0 0 0;"
>
<view
v-if=
"TotalDiscount>0"
class=
"jz_LineDetaYJDKQ"
style=
"padding: 0rpx 0 0 0;"
>
<view
class=
"jz_LineDetaYJ"
>
<view
class=
"jz_LineDetaYJ"
>
...
@@ -92,7 +105,8 @@
...
@@ -92,7 +105,8 @@
</view>
</view>
<view
class=
"jz_LineDetaYJDKQ"
v-if=
"stepNumber>0 && dataList.currentPriceInfo.teamType==0"
>
<view
class=
"jz_LineDetaYJDKQ"
v-if=
"stepNumber>0 && dataList.currentPriceInfo.teamType==0"
>
<view
class=
"jz_LineDetaFL"
>
<view
class=
"jz_LineDetaFL"
>
<view
v-if=
""
class=
"row items-center jz_LineDetaCZ"
<!-- #ifdef MP-AG -->
<view
class=
"row items-center jz_LineDetaCZ"
style=
"border-radius: 4px;overflow: hidden;font-size: 12px;margin-right: 15rpx;"
>
style=
"border-radius: 4px;overflow: hidden;font-size: 12px;margin-right: 15rpx;"
>
<view
class=
"jz_LineDetaCZL"
>
<view
class=
"jz_LineDetaCZL"
>
<view
style=
"opacity: 0;"
>
1
</view>
<view
style=
"opacity: 0;"
>
1
</view>
...
@@ -102,6 +116,7 @@
...
@@ -102,6 +116,7 @@
<
template
v-else
>
30
</
template
>
元/人
<
template
v-else
>
30
</
template
>
元/人
</view>
</view>
</view>
</view>
<!-- #endif -->
<!-- <view class="jz_LineDetaFLJf" >
<!-- <view class="jz_LineDetaFLJf" >
预计:{{}}积分
预计:{{}}积分
</view> -->
</view> -->
...
@@ -1364,7 +1379,11 @@
...
@@ -1364,7 +1379,11 @@
}
,
}
,
}
,
}
,
}
,
}
,
created
()
{
}
,
created
()
{
// #ifdef MP-DI
this
.
Discounts
=
0
// #endif
}
,
onLoad
(
option
)
{
onLoad
(
option
)
{
this
.
mc
=
this
.
$uiConfig
.
mainColor
;
this
.
mc
=
this
.
$uiConfig
.
mainColor
;
if
(
!
uni
.
getStorageSync
(
"b2b_user"
)){
if
(
!
uni
.
getStorageSync
(
"b2b_user"
)){
...
@@ -1474,6 +1493,12 @@
...
@@ -1474,6 +1493,12 @@
"CustomerType"
:
0
,
//客户类型 0-同行,1-直客
"CustomerType"
:
0
,
//客户类型 0-同行,1-直客
"TCID"
:
this
.
currentPrice
.
tcid
,
"TCID"
:
this
.
currentPrice
.
tcid
,
}
}
// #ifdef MP-DI
couponParams
.
CustomerType
=
1
// #endif
// #ifdef MP-AG
couponParams
.
CustomerType
=
0
// #endif
if
(
this
.
currentPrice
.
teamType
==
"0"
)
{
if
(
this
.
currentPrice
.
teamType
==
"0"
)
{
//跟团游
//跟团游
couponParams
.
CouponsUseScope
=
2
;
couponParams
.
CouponsUseScope
=
2
;
...
@@ -1500,7 +1525,13 @@
...
@@ -1500,7 +1525,13 @@
this
.
maxCouponDiscount
=
this
.
maxCouponDiscount
<
disMoney
?
disMoney
:
this
.
maxCouponDiscount
this
.
maxCouponDiscount
=
this
.
maxCouponDiscount
<
disMoney
?
disMoney
:
this
.
maxCouponDiscount
}
}
}
)
}
)
let
money
=
this
.
$utils
.
getretailer
()?
this
.
currentPrice
.
b2BPrice
:
this
.
currentPrice
.
b2CPrice
let
money
=
0
//#ifdef MP-DI
money
=
this
.
currentPrice
.
b2CPrice
//#endif
//#ifdef MP-AG
money
=
this
.
currentPrice
.
b2BPrice
//#endif
let
maxCouponDiscount
=
this
.
maxCouponDiscount
let
maxCouponDiscount
=
this
.
maxCouponDiscount
this
.
TotalDiscount
=
this
.
maxCouponDiscount
this
.
TotalDiscount
=
this
.
maxCouponDiscount
if
(
this
.
stepNumber
<
5
){
if
(
this
.
stepNumber
<
5
){
...
...
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