Commit 769f9e80 authored by 罗超's avatar 罗超

1

parent 3f67a01d
......@@ -215,7 +215,6 @@
},
onLoad(options) {
let that = this;
// options = {user_id:123978,SmallShopId:0,Up:0,JumpType:14}
uni.getSystemInfo({
success(res) {
that.titleStyle = {
......@@ -825,9 +824,9 @@
}else if(that.JumpType == 14){//用户资料填写
uni.navigateTo({ url: "/pages/blindDate/editData"});
}else if(that.JumpType == 15){//门票详情
uni.navigateTo({ url: "/pages/ticketCoupons/detail?id"+that.GoodsId});
uni.navigateTo({ url: "/pages/ticketCoupons/detail?id="+that.GoodsId});
}else if(that.JumpType == 16){//餐食详情
uni.navigateTo({ url: "/pages/restaurant/detail?id"+that.GoodsId});
uni.navigateTo({ url: "/pages/restaurant/detail?id="+that.GoodsId});
}else if(that.JumpType == 17){//景点专车
uni.navigateTo({ url: '/pages/guidecar/bookaCarList?carMsg='+that.carMsg})
}else if(that.JumpType == 18){ //酒店详情
......
<template>
<view class="restaurant-detail">
<view class="restaurant-detail" v-if="details.Name">
<scroll-view scroll-y="true" style="width: 100%;height: 100%;" @scroll="scroll">
<view class="media" :style="{'opacity':(100-boxOption)+'%'}">
<u-swiper :list="imgsList" :effect3d="false" :height="407" :interval="5000" :border-radius="0"
......@@ -211,7 +211,7 @@
info: ''
}],
Date: "",
up:"",
Up:0,
nearbyType:0,
foodArr: [], //推荐景点
}
......@@ -241,6 +241,7 @@
this.Date = tomorrow
console.log(this.calendar,this.Date)
this.Up = uni.getStorageSync("mall_UserInfo")?uni.getStorageSync("mall_UserInfo").UserPageType:0;
},
onShareTimeline() {
// setTimeout(() => {
......@@ -282,6 +283,7 @@
if(SmallShopId == 0){//如果微店id为0 去找所属微店id
SmallShopId = u.UserSmallShopId? u.UserSmallShopId:0
}
console.log("/pages/index/index?id=" + this.ID + "&user_id=" + uid+ "&SmallShopId=" + SmallShopId+ "&Up=" + this.Up+'&JumpType=16')
return {
title:this.details.Name?this.details.Name:'美食',
path: "/pages/index/index?id=" + this.ID + "&user_id=" + uid+ "&SmallShopId=" + SmallShopId+ "&Up=" + this.Up+'&JumpType=16',
......@@ -289,6 +291,7 @@
};
},
onLoad(options) {
console.log(options)
if (options && options.id) {
this.ID = options.id
this.getDetail()
......
<template>
<view style="height: 100vh; overflow: hidden;width:100vw;">
<view style="height: 100vh; overflow: hidden;width:100vw;" v-if="details.Name">
<scroll-view scroll-y="true" style="width: 100%;height: 100%;" @scroll="scroll">
<view style="height: 500rpx;position: relative;z-index: 1;background-color: #E7E7E7;"
:style="{'opacity':(100-boxOption)+'%'}">
......@@ -283,7 +283,7 @@
TicketName: "",
otherDate: "其他日期",
msgPath: "",
up: "",
Up: 0,
nearbyType: 0,
scenicArr: [], //推荐景点
}
......@@ -308,6 +308,7 @@
let imageUrl = this.details.AllPicList[0].TagPicList[0].Path ? this.details.AllPicList[0].TagPicList[0].Path :
'';
let id = this.ID;
this.Up = uni.getStorageSync("mall_UserInfo")?uni.getStorageSync("mall_UserInfo").UserPageType:0;
return {
title: title,
query: "id=" + this.id + "&user_id=" + uid + "&SmallShopId=" + SmallShopId + "&Up=" + this.Up,
......
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