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
619af0b0
Commit
619af0b0
authored
Oct 11, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
774adf30
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
3 deletions
+42
-3
index.vue
components/auth/index.vue
+2
-2
jz_LineDetail.vue
pages/jiuzhai/jz_LineDetail.vue
+40
-1
No files found.
components/auth/index.vue
View file @
619af0b0
...
...
@@ -76,7 +76,7 @@ export default {
// #endif
let
x
=
this
.
pageinfo
.
hotspot
;
let
y
=
this
.
pageinfo
.
hotspot_cancel
;
this
.
sureStyle
=
`height:
${
x
.
height
}
rpx;width:
${
x
.
width
}
rpx;left:
${
x
.
left
}
rpx;top:
${
x
.
top
}
rpx;
background-color: #000000
`
;
this
.
sureStyle
=
`height:
${
x
.
height
}
rpx;width:
${
x
.
width
}
rpx;left:
${
x
.
left
}
rpx;top:
${
x
.
top
}
rpx;`
;
this
.
cancelStyle
=
`height:
${
y
.
height
}
rpx;width:
${
y
.
width
}
rpx;left:
${
y
.
left
}
rpx;top:
${
y
.
top
}
rpx;`
;
},
methods
:
{
...
...
@@ -397,7 +397,7 @@ export default {
:
0
;
//是否开启相亲模式
if
(
IsOpenMiAi
==
0
)
{
//不是相亲模式的时候去更新头像和昵称
// #ifdef MP-WEIXIN
//
#ifdef MP-WEIXIN
that
.
updateuserinfo
(
that
.
msg
);
//更新用户头像
// #endif
}
...
...
pages/jiuzhai/jz_LineDetail.vue
View file @
619af0b0
...
...
@@ -99,6 +99,8 @@
>
2728人出游
</text
>
</view>
<!--
<view
class=
"jz_OrderNow"
@
click=
"downloadFile"
>
下载
</view>
<view
class=
"jz_OrderNow"
@
click=
"downloadFile2"
>
下载2
</view>
-->
<view
class=
"jz_MainTitle"
>
<text
v-if=
"dataList.title"
>
{{
dataList
.
title
}}
</text>
</view>
...
...
@@ -892,7 +894,8 @@
<text
style=
"font-size: 22rpx"
>
¥
</text>
<text
style=
"font-size: 40rpx"
>
{{
$utils.getretailer() == true
? currentPrice.b2BPrice
<!-- b2b -->
? currentPrice.b2CPrice
: currentPrice.b2CPrice
}}
</text>
<text
style=
"font-size: 22rpx"
>
/起
</text>
...
...
@@ -988,6 +991,41 @@ export default {
this
.
mainColor
=
this
.
$uiConfig
.
mainColor
;
},
methods
:
{
downloadFile
(){
let
msg
=
{
"configId"
:
"7274"
,
"cityId"
:
"0"
,
"tcid"
:
"11409"
,
"orderId"
:
"0"
,
"FileName"
:
"2021-10-11飞猪平台九寨沟3天2晚3日游"
,
"isShowBase"
:
1
,
"isShowFlight"
:
1
,
"isShowFeature"
:
1
,
"isShowFee"
:
1
,
"isShowShop"
:
1
,
"isShowTip"
:
1
,
"isShowB2B"
:
1
,
"isShowTrip"
:
1
,
"isShowTitle"
:
0
,
"isShowGuest"
:
0
,
"isShowMan"
:
1
,
"isShowTCNUM"
:
1
,
"isShowTripImage"
:
1
,
"isShowVisa"
:
1
,
"isShowVideoImg"
:
1
,
"isPc"
:
2
,
"templateId"
:
3
,
"UId"
:
615
}
this
.
apipostDownload
(
"GetWebHtmlTwo_V2"
,
msg
,
(
res
)
=>
{
console
.
log
(
res
)
let
url
=
"https://reborn.oytour.com"
+
res
.
data
uni
.
downloadFile
({
url
:
url
,
success
:
(
res
)
=>
{
if
(
res
.
statusCode
===
200
)
{
console
.
log
(
'下载成功'
);
}
}
});
})
}
,
downloadFile2
(){
let
url
=
"https://reborn.oytour.com/Upload/Temporary/C7274_T11409_CTY0_OD0_MMDD637695432017412893_1_1.pdf"
uni
.
downloadFile
({
url
:
url
,
success
:
(
res
)
=>
{
console
.
log
(
'suc'
,
res
);
if
(
res
.
statusCode
===
200
)
{
console
.
log
(
'下载成功'
);
}
},
fail
(
err
){
console
.
log
(
'err'
,
err
);
}
});
},
openOrderPreview
()
{
if
(
this
.
canCreateOrder
&&
this
.
finishFirstLoad
)
{
this
.
showOrderPreviwe
=
true
;
...
...
@@ -1218,6 +1256,7 @@ export default {
encodeURIComponent
(
this
.
dataList
.
feature
.
importantTipText
),
});
},
// #ifdef MP-WEIXIN
//分享朋友圈
onShareTimeline
()
{
...
...
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