Commit 6e98c052 authored by youjie's avatar youjie

no message

parent c2bcc7e0
<template>
<view class="carrHeader" :style="[titleStyle]">
<view class="carrHeaderBox">
<view class="carrHeader-left">
<view class="carrHeader-left-icon" @click="goBack">
<u-icon name="arrow-left" size="38" color="#000"></u-icon>
<view class="row" @click="goBack">
<view class="carrHeader-left">
<view class="carrHeader-left-icon">
<u-icon name="arrow-left" size="38" color="#000"></u-icon>
</view>
</view>
<view class="carrHeader-title">
<slot>{{title?title:''}}</slot>
</view>
</view>
<view class="carrHeader-title">
<slot>{{title?title:''}}</slot>
</view>
<view class="carrHeader-right row">
<view class="carrHeader-S row items-center justify-center">
......
......@@ -169,7 +169,7 @@
<template v-if="dataList.BuyNotes">
<view class="busTispTitle">购买须知</view>
<view class="busTispInfor">
{{ dataList.BuyNotes }}
<rich-text :nodes="dataList.BuyNotes"></rich-text>
</view>
</template>
<view class="busTispTitle">
......@@ -192,7 +192,7 @@
<template v-if="dataList.CancelPolicy">
<view class="busTispTitle">取消政策</view>
<view class="busTispInfor" style="border: 0;">
{{ dataList.CancelPolicy }}
<rich-text :nodes="dataList.CancelPolicy"></rich-text>
</view>
</template>
......
......@@ -93,7 +93,7 @@
<view class="ResInforL">取消政策</view>
<view class="ResInforR">
<text>
{{ dataList.CancelPolicy }}
<rich-text :nodes="dataList.CancelPolicy"></rich-text>
</text>
</view>
</view>
......
......@@ -63,7 +63,7 @@
style="
box-shadow: 0px -10px 30px 0px rgba(36, 36, 36, 0.06);
margin-top: 40rpx;
margin-bottom: 40rpx;
margin-bottom: 100rpx;
display: flex;
"
>
......@@ -170,7 +170,7 @@ export default {
<style scoped>
@import url("@/asset/css/flex.css");
.hotelRegionBox{
height: 1218rpx;
height: 100%;
}
.hotelRegionL{
width: 183rpx;
......
......@@ -228,7 +228,7 @@
.hotel-SubR {
max-width: 102rpx;
height: 35rpx;
height: 39rpx;
margin-right: 10rpx;
position: relative;
top: 6rpx;
......
......@@ -69,15 +69,28 @@
v-model="item.ChildAgeDetails"
@change="(e)=>{ageChange(e,index)}"
style="margin-left: 10rpx;"
></u-number-box> -->
></u-number-box>
<template v-if="item.ChildAgeTexts.length>1">
<text v-for="(items,indexs) in item.ChildAgeTexts"
:key="indexs" @click="eitAge(index,indexs)">
:key="indexs" @click="eitAge(index,indexs)"
:style="{'color':current==indexs?'#B99846':''}">
{{ items }}<template v-if="indexs!=(item.ChildAgeTexts.length-1)">,</template>
</text>
</template>
</template> -->
<view class="row" v-for="(items,indexs) in item.ChildAgeTexts" :key="indexs">
<uni-section title="" type="line">
<uni-data-select :ref="`select_${index}`"
:placeholder="`年龄`"
v-model="items.number"
:localdata="TypeList"
:clear="false"
@change="(e)=>{ageChange(e,index,indexs)}"
></uni-data-select>
</uni-section>
<u-icon name="arrow" :size="32" color="#ccc" style="position: relative;top: -9rpx;"></u-icon>
</view>
<uni-section title="" type="line">
<!-- <uni-section title="" type="line">
<uni-data-select :ref="`select_${index}`"
:placeholder="`年龄${item.numberOfChildren>1?'(选多次)':''}`"
v-model="item.ChildAgeDetails"
......@@ -86,7 +99,7 @@
@change="(e)=>{ageChange(e,index)}"
></uni-data-select>
</uni-section>
<u-icon name="arrow" :size="32" color="#ccc" style="position: relative;top: -9rpx;"></u-icon>
<u-icon name="arrow" :size="32" color="#ccc" style="position: relative;top: -9rpx;"></u-icon>-->
</view>
</view>
</view>
......@@ -186,19 +199,8 @@ export default {
this.current = indexs
this.$refs[`select_${index}`][0].toggleSelector();
},
ageChange(e,index){
let list = this.parameters.searchroomGroup[index].ChildAgeTexts
if(this.current>=0){
this.parameters.searchroomGroup[index].ChildAgeTexts[this.current] = e
this.current = -1
}else{
if(list.length==0||list.length<this.parameters.searchroomGroup[index].numberOfChildren){
this.parameters.searchroomGroup[index].ChildAgeTexts.push(e)
}else{
this.parameters.searchroomGroup[index].ChildAgeTexts[list.length-1] = e
}
}
this.parameters.searchroomGroup[index].ChildAgeDetails = e
ageChange(e,index,indexs){
this.parameters.searchroomGroup[index].ChildAgeTexts[indexs].number = e
},
etChange(e,index){
this.parameters.searchroomGroup[index].numberOfChildren = e.value;
......@@ -214,6 +216,13 @@ export default {
this.parameters.searchroomGroup[index].ChildAgeDetails = this.parameters.searchroomGroup[index].ChildAgeTexts[length-1]
}
}
}else if(e.value>this.parameters.searchroomGroup[index].ChildAgeTexts.length){
let num = e.value-this.parameters.searchroomGroup[index].ChildAgeTexts.length
for(let i=0;i<num;i++){
this.parameters.searchroomGroup[index].ChildAgeTexts.push({
number: 1,
})
}
}
this.peopleChange()
},
......
......@@ -432,15 +432,10 @@
if (qitem.RatePlanList && qitem.RatePlanList.length > 0) {
qitem.RatePlanList.forEach(pItem => {
if (pItem.PriceList && pItem.PriceList.length > 0) {
pItem.PriceList.forEach(mItem => {
var tempObj = _this.qBedTypeList.find(
mItem => mItem.BedType == _this
.qMsg.BedType);
if (mItem.MealAmount &&
pItem.BedType == tempObj.BedType) {
tempRetePlanList.push(pItem)
}
})
var tempObj = _this.qBedTypeList.find(mItem => mItem.BedType == _this.qMsg.BedType);
if (pItem.BedType == tempObj.BedType) {
tempRetePlanList.push(pItem)
}
}
})
}
......
......@@ -55,6 +55,7 @@
</template>
<script>
const img = '../../static/images/position.png';
import rangeSlider from "./components/range-slider.vue";
import canlendar from "./components/time/index";
import hotelGood from "./components/hotel-good.vue";
......@@ -96,9 +97,9 @@
id: null,
latitude: 39.909,
longitude: 116.39742,
iconPath: '',
iconPath: img,
title: '',
alpha: 0,
alpha: 1,
width: 20,
height: 30,
callout:{
......@@ -197,9 +198,8 @@
},
mounted() {
// #ifdef MP-WEIXIN
this.getLocation()
this.initMiniProgramMap();
// #endif
},
methods: {
initMiniProgramMap(){
......
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