|
@@ -47,7 +47,7 @@
|
|
|
<text class="select-list">周五离店</text>
|
|
<text class="select-list">周五离店</text>
|
|
|
<text class="select-list-time">07月22日</text>
|
|
<text class="select-list-time">07月22日</text>
|
|
|
</view>
|
|
</view>
|
|
|
- <uni-calendar ref="calendar" class="uni-calendar--hook" :clear-date="true" :date="info.date" :insert="info.insert" :lunar="info.lunar" :startDate="info.startDate"
|
|
|
|
|
|
|
+ <uni-calendar ref="calendar" :selected="info.selected" class="uni-calendar--hook" :clear-date="true" :date="info.date" :insert="info.insert" :lunar="info.lunar" :startDate="info.startDate"
|
|
|
:endDate="info.endDate" :range="info.range" @confirm="confirm" @close="close"/>
|
|
:endDate="info.endDate" :range="info.range" @confirm="confirm" @close="close"/>
|
|
|
</view>
|
|
</view>
|
|
|
<!-- 房型列表 -->
|
|
<!-- 房型列表 -->
|
|
@@ -57,10 +57,10 @@
|
|
|
<view class="room-name">{{item.name}}</view>
|
|
<view class="room-name">{{item.name}}</view>
|
|
|
<view class="room-mark">{{item.mark1}} {{item.mark2}} {{item.mark3}}</view>
|
|
<view class="room-mark">{{item.mark1}} {{item.mark2}} {{item.mark3}}</view>
|
|
|
<view class="room-icon">
|
|
<view class="room-icon">
|
|
|
- <image src="../../static/index/index_wifi.svg" style="width: 22rpx;height: 22rpx;"></image>
|
|
|
|
|
- <image src="../../static/index/index_kongtiao.svg" style="width: 20rpx;height: 20rpx;margin-left: 10rpx;"></image>
|
|
|
|
|
- <image src="../../static/index/index_nosmoking.svg" style="width: 22rpx;height: 22rpx;margin-left: 10rpx;"></image>
|
|
|
|
|
- <image src="../../static/index/index_lock.svg" style="width: 23rpx;height: 23rpx;margin-left: 10rpx;"></image>
|
|
|
|
|
|
|
+ <image src="../../static/index/index_wifi.svg" style="width: 30rpx;height: 30rpx;"></image>
|
|
|
|
|
+ <image src="../../static/index/index_kongtiao.svg" style="width: 26rpx;height: 26rpx;margin-left: 10rpx;"></image>
|
|
|
|
|
+ <image src="../../static/index/index_nosmoking.svg" style="width: 30rpx;height: 30rpx;margin-left: 10rpx;"></image>
|
|
|
|
|
+ <image src="../../static/index/index_lock.svg" style="width: 30rpx;height: 30rpx;margin-left: 10rpx;"></image>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="before-price"><strike>{{item.before_price}}</strike></view>
|
|
<view class="before-price"><strike>{{item.before_price}}</strike></view>
|
|
|
<view class="room-price">{{item.price}}</view>
|
|
<view class="room-price">{{item.price}}</view>
|
|
@@ -74,15 +74,18 @@
|
|
|
<uni-popup ref="inputDialog" type="dialog">
|
|
<uni-popup ref="inputDialog" type="dialog">
|
|
|
<view class="popup_bg">
|
|
<view class="popup_bg">
|
|
|
<text class="popup_title">户型详情</text>
|
|
<text class="popup_title">户型详情</text>
|
|
|
|
|
+ <text class="popup_error" @confirm="dialogInputConfirm"></text>
|
|
|
<!-- 轮播图 -->
|
|
<!-- 轮播图 -->
|
|
|
- <swiper class="swiper" circular :indicator-dots="indicatorDots" :autoplay="autoplay" :interval="interval"
|
|
|
|
|
- :duration="duration">
|
|
|
|
|
- <swiper-item>
|
|
|
|
|
- <view class="swiper-item" v-for="(item, index) in img" :key="index">
|
|
|
|
|
|
|
+ <swiper class="swiper" circular :indicator-dots="indicatorDots">
|
|
|
|
|
+ <swiper-item v-for="(item, index) in img" :key="index">
|
|
|
|
|
+ <view class="swiper-item">
|
|
|
<image :src="item.srcUrl" class="swiper-img"></image>
|
|
<image :src="item.srcUrl" class="swiper-img"></image>
|
|
|
</view>
|
|
</view>
|
|
|
</swiper-item>
|
|
</swiper-item>
|
|
|
</swiper>
|
|
</swiper>
|
|
|
|
|
+ <text class="popup_title2">便利设施</text>
|
|
|
|
|
+ <view class="popup_txt">尤其是刚上线的产品,很难通过产品的内部体系来实现快速的用户增长,所以会更加依赖于分享来达到广泛的传播,获取目标用户。
|
|
|
|
|
+所以监听用户的截图操作,提示用户进行分享,既缩短了以前分享截...</view>
|
|
|
</view>
|
|
</view>
|
|
|
<!-- <uni-popup-dialog ref="baseClose" mode="base" title="输入内容" value="对话框预置提示内容!"
|
|
<!-- <uni-popup-dialog ref="baseClose" mode="base" title="输入内容" value="对话框预置提示内容!"
|
|
|
placeholder="请输入内容" @confirm="dialogInputConfirm"></uni-popup-dialog> -->
|
|
placeholder="请输入内容" @confirm="dialogInputConfirm"></uni-popup-dialog> -->
|
|
@@ -94,7 +97,7 @@
|
|
|
<script>
|
|
<script>
|
|
|
// 导入图片
|
|
// 导入图片
|
|
|
import room1 from '../../static/index/swiper_img1.svg'
|
|
import room1 from '../../static/index/swiper_img1.svg'
|
|
|
- import room2 from '../../static/index/room_image.svg'
|
|
|
|
|
|
|
+ import room2 from '../../static/index/swiper_img1.svg'
|
|
|
export default {
|
|
export default {
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
@@ -102,7 +105,8 @@
|
|
|
info: {
|
|
info: {
|
|
|
lunar: true,
|
|
lunar: true,
|
|
|
range: true,
|
|
range: true,
|
|
|
- insert: false
|
|
|
|
|
|
|
+ insert: false,
|
|
|
|
|
+ selected: []
|
|
|
},
|
|
},
|
|
|
room:[
|
|
room:[
|
|
|
{id:1,room_img:({ url: "../../static/index/room_image.svg" }),name:'01户型',before_price:'¥419',price:'¥0.00',mark1:'22m',mark2:'无早',mark3:'大床'},
|
|
{id:1,room_img:({ url: "../../static/index/room_image.svg" }),name:'01户型',before_price:'¥419',price:'¥0.00',mark1:'22m',mark2:'无早',mark3:'大床'},
|
|
@@ -110,6 +114,7 @@
|
|
|
{id:3,room_img:({ url: "../../static/index/room_image.svg" }),name:'01户型',before_price:'¥419',price:'¥0.00',mark1:'22m',mark2:'无早',mark3:'大床'},
|
|
{id:3,room_img:({ url: "../../static/index/room_image.svg" }),name:'01户型',before_price:'¥419',price:'¥0.00',mark1:'22m',mark2:'无早',mark3:'大床'},
|
|
|
{id:4,room_img:'url(../../static/index/index_bg.svg)',name:'02户型',before_price:'¥419',price:'¥0.00',mark1:'22m',mark2:'无早',mark3:'大床'},
|
|
{id:4,room_img:'url(../../static/index/index_bg.svg)',name:'02户型',before_price:'¥419',price:'¥0.00',mark1:'22m',mark2:'无早',mark3:'大床'},
|
|
|
],
|
|
],
|
|
|
|
|
+ indicatorDots: true,//滚动图片提示条默认出现
|
|
|
img:[
|
|
img:[
|
|
|
{
|
|
{
|
|
|
value: '1',
|
|
value: '1',
|
|
@@ -150,9 +155,8 @@
|
|
|
inputDialogToggle() {
|
|
inputDialogToggle() {
|
|
|
this.$refs.inputDialog.open()
|
|
this.$refs.inputDialog.open()
|
|
|
},
|
|
},
|
|
|
- dialogInputConfirm(val) {
|
|
|
|
|
- console.log(val)
|
|
|
|
|
- this.value = val
|
|
|
|
|
|
|
+ dialogInputConfirm() {
|
|
|
|
|
+ console.log(1)
|
|
|
// 关闭窗口后,恢复默认内容
|
|
// 关闭窗口后,恢复默认内容
|
|
|
this.$refs.inputDialog.close()
|
|
this.$refs.inputDialog.close()
|
|
|
},
|
|
},
|