Commit 619af0b0 authored by 罗超's avatar 罗超

1

parent 774adf30
...@@ -76,7 +76,7 @@ export default { ...@@ -76,7 +76,7 @@ export default {
// #endif // #endif
let x = this.pageinfo.hotspot; let x = this.pageinfo.hotspot;
let y = this.pageinfo.hotspot_cancel; 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;`; this.cancelStyle = `height:${y.height}rpx;width:${y.width}rpx;left:${y.left}rpx;top:${y.top}rpx;`;
}, },
methods: { methods: {
......
...@@ -99,6 +99,8 @@ ...@@ -99,6 +99,8 @@
>2728人出游</text >2728人出游</text
> >
</view> </view>
<!-- <view class="jz_OrderNow" @click="downloadFile">下载</view>
<view class="jz_OrderNow" @click="downloadFile2">下载2</view> -->
<view class="jz_MainTitle"> <view class="jz_MainTitle">
<text v-if="dataList.title">{{ dataList.title }}</text> <text v-if="dataList.title">{{ dataList.title }}</text>
</view> </view>
...@@ -892,7 +894,8 @@ ...@@ -892,7 +894,8 @@
<text style="font-size: 22rpx">¥</text> <text style="font-size: 22rpx">¥</text>
<text style="font-size: 40rpx">{{ <text style="font-size: 40rpx">{{
$utils.getretailer() == true $utils.getretailer() == true
? currentPrice.b2BPrice <!-- b2b -->
? currentPrice.b2CPrice
: currentPrice.b2CPrice : currentPrice.b2CPrice
}}</text> }}</text>
<text style="font-size: 22rpx">/起</text> <text style="font-size: 22rpx">/起</text>
...@@ -988,6 +991,41 @@ export default { ...@@ -988,6 +991,41 @@ export default {
this.mainColor = this.$uiConfig.mainColor; this.mainColor = this.$uiConfig.mainColor;
}, },
methods: { 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() { openOrderPreview() {
if (this.canCreateOrder && this.finishFirstLoad) { if (this.canCreateOrder && this.finishFirstLoad) {
this.showOrderPreviwe = true; this.showOrderPreviwe = true;
...@@ -1218,6 +1256,7 @@ export default { ...@@ -1218,6 +1256,7 @@ export default {
encodeURIComponent(this.dataList.feature.importantTipText), encodeURIComponent(this.dataList.feature.importantTipText),
}); });
}, },
// #ifdef MP-WEIXIN // #ifdef MP-WEIXIN
//分享朋友圈 //分享朋友圈
onShareTimeline() { onShareTimeline() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment