Commit 61aa7e70 authored by Mac's avatar Mac

1

parent ee761ac0
......@@ -204,10 +204,10 @@
<text class="btnsmall" :style="{ color: mc }">¥</text>
<text
class="btnnumfont" :style="{ color: mc }"
>{{ g.price*g.ride_num}}</text>
>{{ g.price*RideNum}}</text>
</view>
<text style='font-size: 12px;margin-left: 5px;'>({{g.price}}*{{g.ride_num}})</text>
<text style='font-size: 12px;margin-left: 5px;'>({{g.price}}*{{RideNum}})</text>
</view>
<view class='btnstyle' @click="goUrl()">
预订
......@@ -274,6 +274,7 @@
showCoupons: false,
SmallShopId:0,//分享微店id
uid:0,//分享的上级id
RideNum:1,//出行人数
}
},
onLoad(option){
......@@ -301,6 +302,9 @@
if(option && option.Pickcar){
this.Pickcar = option.Pickcar
}
if(option && option.RideNum){//出行人数
this.RideNum = option.RideNum
}
if(option && option.StartTime){
this.STime = this.getTime(option.StartTime)
this.StartTime= option.StartTime
......@@ -543,7 +547,9 @@
uni.navigateTo({
url:'/pages/guidecar/place_order?GoodsId='+this.GoodsId+'&Number='+this.g.ride_num+'&ShoppingAddress='+this.address+
'&StartTime='+this.StartTime+
'&EndTime='+this.EndTime
'&EndTime='+this.EndTime+
'&RideNum='+this.RideNum
})
......
......@@ -67,7 +67,7 @@
</view>
</view>
<view class="itemb" style="justify-content: space-between;margin-top: 10px;">
<view class="itemb" style="width: 200px;background: #FAF8F9;height:43px ;">
<view class="itemb" style="max-width: 360rpx;height:43px ;padding-right: 3px;">
<image :src="x.guidephoto" mode="aspectFill" style="width: 30px;height: 30px;border-radius: 15px;"></image>
<view style="display: flex;flex-direction: column;justify-content: space-between;height: 30px;margin-left: 8px;">
<view class="itemb">
......@@ -169,7 +169,7 @@ export default {
onLoad(options) {
if(options && options.item){
let item = JSON.parse(decodeURIComponent(options.item))
console.log(item)
this.msg.CarClass = item.CarClass
this.msg.CarType = item.CarType
this.msg.EndTime = item.EndTime
......@@ -365,13 +365,16 @@ getGuideCarBrandList(){
uni.navigateTo({
url:this.PagePath+'?GoodsId='+x.id +'&address='+this.address+'&Pickcar='+this.Pickcar+
'&StartTime='+this.msg.StartTime+
'&EndTime='+this.msg.EndTime
'&EndTime='+this.msg.EndTime+
'&RideNum='+this.msg.RideNum
})
}else{//如果没有跳转地址的时候 默认
uni.navigateTo({
url:'/pages/guidecar/guidecarGoodsdetails?GoodsId='+x.id +'&address='+this.address+'&Pickcar='+this.Pickcar+
'&StartTime='+this.msg.StartTime+
'&EndTime='+this.msg.EndTime
'&EndTime='+this.msg.EndTime+
'&RideNum='+this.msg.RideNum
})
}
......@@ -464,8 +467,8 @@ getGuideCarBrandList(){
text-overflow: ellipsis;
font-weight: bold;
}
.c_t_r .price{
font-size: 14px;
.guidecarList .price{
font-size: 12px;
color: #ff4544;
}
.guidecarList .line{
......
......@@ -47,7 +47,7 @@
<view class="topB" v-if="info.IsShowCarClass==1" @click="show=true">
<span class='titext'>车辆类型</span>
<view style="display: flex;flex-direction: row;align-items: center;">
<span class='ztext' :style="{'color':msg.CarClass==''?'#E2E2E2':'#1C1E1F'}">{{carName}}</span><u-icon name="arrow-down" size="28" color="#C8C8C8"></u-icon>
<span class='ztext' style='color: #1C1E1F;'>{{carName}}</span><u-icon name="arrow-down" size="28" color="#C8C8C8"></u-icon>
</view>
</view>
<view class="topB" v-if="info.IsShowTravelGuestNum==1" style="align-items: center;">
......@@ -298,6 +298,8 @@
},
(res) => {
this.classList = res.data
let obj = {Name: "不限", Id: 0}
this.classList.unshift(obj)
this.classList.forEach(x=>{
x.checked = false
})
......@@ -483,7 +485,8 @@
let tic= 0;
that.classList.forEach((x,i)=>{
if(x.Id == msg.CarClass){
tic = i+1
console.log(i)
tic = i
}
})
uni.navigateTo({
......@@ -561,7 +564,6 @@
width: 100%;
display: flex;
flex-direction: row;
align-items: center;
padding: 15px 0;
}
......
......@@ -5,7 +5,7 @@
<u-search
action-text="搜索"
:focus="true"
:clearabled="true"
:show-action="true"
radius="40"
v-model="searchKey"
......@@ -166,6 +166,9 @@
},
changeHandler(val) {
if(val==''){
this.show=false
}
},
}
......
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