作者 lihongjuan

3443443

正在显示 100 个修改的文件 包含 3089 行增加0 行删除

要显示太多修改。

为保证性能只显示 100 of 100+ 个文件。

  1 +//app.js
  2 +App({
  3 + onLaunch: function () {
  4 + // 展示本地存储能力
  5 + var logs = wx.getStorageSync('logs') || []
  6 + logs.unshift(Date.now())
  7 + wx.setStorageSync('logs', logs)
  8 +
  9 + // 登录
  10 + wx.login({
  11 + success: res => {
  12 + // 发送 res.code 到后台换取 openId, sessionKey, unionId
  13 + }
  14 + })
  15 + // 获取用户信息
  16 + wx.getSetting({
  17 + success: res => {
  18 + if (res.authSetting['scope.userInfo']) {
  19 + // 已经授权,可以直接调用 getUserInfo 获取头像昵称,不会弹框
  20 + wx.getUserInfo({
  21 + success: res => {
  22 + // 可以将 res 发送给后台解码出 unionId
  23 + this.globalData.userInfo = res.userInfo
  24 +
  25 + // 由于 getUserInfo 是网络请求,可能会在 Page.onLoad 之后才返回
  26 + // 所以此处加入 callback 以防止这种情况
  27 + if (this.userInfoReadyCallback) {
  28 + this.userInfoReadyCallback(res)
  29 + }
  30 + }
  31 + })
  32 + }
  33 + }
  34 + })
  35 + },
  36 + globalData: {
  37 + userInfo: null
  38 + }
  39 +})
  1 +{
  2 + "pages": [
  3 + "pages/hoteldetail/hoteldetail",
  4 + "pages/ruzhuxuzhi/ruzhuxuzhi",
  5 + "pages/jiudiandetail/jiudiandetail",
  6 + "pages/fangxingintro/fangxingintro",
  7 +
  8 + "pages/yudingfinish/yudingfinish",
  9 + "pages/yuding/yuding",
  10 + "pages/roomdetail/roomdetail",
  11 + "pages/gongluedetail/gongluedetail",
  12 + "pages/selectcity/selectcity",
  13 + "pages/houselist/houselist",
  14 + "pages/experience/experience",
  15 + "pages/gonglue/gonglue",
  16 + "pages/tiyan/tiyan",
  17 + "pages/huiyuanxieyi/huiyuanxieyi",
  18 + "pages/zhucexieyi/zhucexieyi",
  19 + "pages/huiyuanindex/huiyuanindex",
  20 + "pages/huiyuan/huiyuan",
  21 + "pages/yudingzhinan/yudingzhinan",
  22 + "pages/wantruzhu/wantruzhu",
  23 + "pages/opencity/opencity",
  24 + "pages/lixiangzhong/lixiangzhong",
  25 + "pages/login/login",
  26 + "pages/index/index",
  27 + "pages/logs/logs"
  28 +
  29 + ],
  30 + "permission": {
  31 + "scope.userLocation": {
  32 + "desc": "你的位置信息将用于小程序位置接口的效果展示"
  33 + }
  34 + },
  35 + "window": {
  36 + "backgroundTextStyle": "light",
  37 + "navigationBarBackgroundColor": "#fff",
  38 + "navigationBarTitleText": "WeChat",
  39 + "navigationBarTextStyle": "black"
  40 + },
  41 + "sitemapLocation": "sitemap.json"
  42 +}
  1 +/**app.wxss**/
  2 +.register {
  3 + width: 100%;
  4 + height: 100%;
  5 + background-color: rgba(0, 0, 0, 0.5);
  6 + position: fixed;
  7 + top: 0;
  8 + left: 0;
  9 + right: 0;
  10 + z-index: 99;
  11 +}
  12 +
  13 +image{
  14 + width:100%;
  15 + height:100%;
  16 +}
  17 +
  18 +/* 轮播图 */
  19 +.swiper_image{
  20 + width:750rpx;
  21 + height:376rpx;
  22 + font-size: 0;
  23 + margin: 30rpx auto 0;
  24 + position: relative;
  25 + box-shadow:0px -1px 6px 0px rgba(212,137,96,0.11);
  26 +
  27 +
  28 +}
  29 +.swiper_item_img{
  30 +
  31 + height:376rpx;
  32 +}
  33 +.swiper_image image{
  34 + width:100%;
  35 + height:100%;
  36 + /* box-shadow:0px -1px 6px 0px rgba(212,137,96,0.11); */
  37 +
  38 +}
  39 +.swiper_item_img swiper-item{
  40 + width:686rpx;
  41 + height:376rpx;
  42 + box-shadow:0px -1px 6px 0px rgba(212,137,96,0.11);
  43 + display:felx;
  44 + align-items: center;justify-content: center;
  45 +
  46 +
  47 +}
  48 +.swiper_item_img swiper-item image{
  49 + width:100%;
  50 + height:100%;
  51 +
  52 +}
  53 +
  54 +
  55 +.dots{
  56 + /* width: 156rpx; */
  57 +
  58 + display: flex;
  59 + align-items: center;
  60 + flex-direction: row;
  61 + position: absolute;
  62 + justify-content: center;
  63 + left: 0;
  64 + right:0;
  65 + bottom: 20rpx;
  66 +}
  67 +/*未选中时的小圆点样式 */
  68 +.dot{
  69 + width: 12rpx;
  70 + height: 12rpx;
  71 + border-radius: 50%;
  72 + margin-right: 26rpx;
  73 + background-color:#fff;
  74 +}
  75 +/*选中以后的小圆点样式 */
  76 +.active{
  77 + width: 12rpx;
  78 + height: 12rpx;
  79 + border-radius:50%;
  80 + background-color: #FF5A4E;
  81 +
  82 +
  83 +}

198 字节

314 字节

382 字节

682 字节

553 字节

272 字节

236 字节

489 字节

732 字节

531 字节

477 字节

495 字节

446 字节

573 字节

652 字节

653 字节

353 字节

720 字节

322 字节

  1 +// pages/experience/experience.js
  2 +Page({
  3 +
  4 + /**
  5 + * 页面的初始数据
  6 + */
  7 + data: {
  8 + imgUrls: [
  9 + '/img/tuijianimg1.png',
  10 + '/img/tuijianimg1.png',
  11 + '/img/tuijianimg1.png',
  12 + ],
  13 + indicatorDots: false,
  14 + autoplay: true,
  15 + interval: 2000,
  16 + duration: 1000,
  17 + currentSwiper: 0,
  18 + },
  19 +
  20 + /**
  21 + * 生命周期函数--监听页面加载
  22 + */
  23 + onLoad: function(options) {
  24 +
  25 + },
  26 +
  27 + swiperChange: function (e) {
  28 + this.setData({
  29 + currentSwiper: e.detail.current
  30 + })
  31 + },
  32 +
  33 + /**
  34 + * 生命周期函数--监听页面初次渲染完成
  35 + */
  36 + onReady: function() {
  37 +
  38 + },
  39 +
  40 + /**
  41 + * 生命周期函数--监听页面显示
  42 + */
  43 + onShow: function() {
  44 +
  45 + },
  46 +
  47 + /**
  48 + * 生命周期函数--监听页面隐藏
  49 + */
  50 + onHide: function() {
  51 +
  52 + },
  53 +
  54 + /**
  55 + * 生命周期函数--监听页面卸载
  56 + */
  57 + onUnload: function() {
  58 +
  59 + },
  60 +
  61 + /**
  62 + * 页面相关事件处理函数--监听用户下拉动作
  63 + */
  64 + onPullDownRefresh: function() {
  65 +
  66 + },
  67 +
  68 + /**
  69 + * 页面上拉触底事件的处理函数
  70 + */
  71 + onReachBottom: function() {
  72 +
  73 + },
  74 +
  75 + /**
  76 + * 用户点击右上角分享
  77 + */
  78 + onShareAppMessage: function() {
  79 +
  80 + }
  81 +})
  1 +{
  2 + "navigationBarTitleText": "体验"
  3 +}
  1 + <view class="swiper_image">
  2 + <swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" class="swiper_item_img" bindchange="swiperChange">
  3 + <block wx:for="{{imgUrls}}" wx:key="doct">
  4 + <swiper-item style="border-radius:10px;">
  5 + <image src="{{item}}" data-index='{{index}}' class="slide-image" bindtap='viewImg' width="355" height="150" />
  6 + </swiper-item>
  7 + </block>
  8 + </swiper>
  9 +
  10 + <view class="dots">
  11 + <block wx:for="{{imgUrls}}" wx:key="">
  12 + <view class="dot{{index == currentSwiper ? ' active' : ''}}"></view>
  13 + </block>
  14 + </view>
  15 +
  16 + </view>
  17 +
  18 + <view class="pingbox">
  19 + <view class="pingboxitem">
  20 + <view class="pingboxtop">
  21 + <view class="pingleft">
  22 + <image src="/img/renwu.png"></image>
  23 + </view>
  24 +
  25 + <view class="pigright">温宁</view>
  26 + </view>
  27 +
  28 + <view class="pingword">在闹中取静的西湖,体验地道的本土生活</view>
  29 +
  30 + <view class="pingtext">杭州处于亚热带季风区,四季分明,夏季气候炎热,湿润,是新四大火炉之一。相反,冬季寒冷,干燥。春秋两季气候宜人,是观光旅游的黄金季节。</view>
  31 +
  32 + <view class="pingbottom">
  33 + <view class="pingbottomleft">
  34 + <view class="pingbottomleftimg">
  35 + <image src="/img/ditu.png"></image>
  36 + </view>
  37 +
  38 + <view class="pingdidian">杭州西湖风景民宿</view>
  39 + </view>
  40 +
  41 + <view class="pingbottomright">
  42 + <view class="pingbottomrightimg">
  43 + <image src="/img/zan.png"></image>
  44 + </view>
  45 + <view class="zannum">67</view>
  46 + </view>
  47 + </view>
  48 + </view>
  49 +
  50 + <view class="pingboxitem">
  51 + <view class="pingboxtop">
  52 + <view class="pingleft">
  53 + <image src="/img/renwu.png"></image>
  54 + </view>
  55 +
  56 + <view class="pigright">温宁</view>
  57 + </view>
  58 +
  59 + <view class="pingword">在闹中取静的西湖,体验地道的本土生活</view>
  60 +
  61 + <view class="pingtext">杭州处于亚热带季风区,四季分明,夏季气候炎热,湿润,是新四大火炉之一。相反,冬季寒冷,干燥。春秋两季气候宜人,是观光旅游的黄金季节。</view>
  62 +
  63 + <view class="pingbottom">
  64 + <view class="pingbottomleft">
  65 + <view class="pingbottomleftimg">
  66 + <image src="/img/ditu.png"></image>
  67 + </view>
  68 +
  69 + <view class="pingdidian">杭州西湖风景民宿</view>
  70 + </view>
  71 +
  72 + <view class="pingbottomright">
  73 + <view class="pingbottomrightimg">
  74 + <image src="/img/zan.png"></image>
  75 + </view>
  76 + <view class="zannum">67</view>
  77 + </view>
  78 + </view>
  79 + </view>
  80 +
  81 + <view class="pingboxitem">
  82 + <view class="pingboxtop">
  83 + <view class="pingleft">
  84 + <image src="/img/renwu.png"></image>
  85 + </view>
  86 +
  87 + <view class="pigright">温宁</view>
  88 + </view>
  89 +
  90 + <view class="pingword">在闹中取静的西湖,体验地道的本土生活</view>
  91 +
  92 + <view class="pingtext">杭州处于亚热带季风区,四季分明,夏季气候炎热,湿润,是新四大火炉之一。相反,冬季寒冷,干燥。春秋两季气候宜人,是观光旅游的黄金季节。</view>
  93 +
  94 + <view class="pingbottom">
  95 + <view class="pingbottomleft">
  96 + <view class="pingbottomleftimg">
  97 + <image src="/img/ditu.png"></image>
  98 + </view>
  99 +
  100 + <view class="pingdidian">杭州西湖风景民宿</view>
  101 + </view>
  102 +
  103 + <view class="pingbottomright">
  104 + <view class="pingbottomrightimg">
  105 + <image src="/img/zan.png"></image>
  106 + </view>
  107 + <view class="zannum">67</view>
  108 + </view>
  109 + </view>
  110 + </view>
  111 +
  112 + <view class="pingboxitem">
  113 + <view class="pingboxtop">
  114 + <view class="pingleft">
  115 + <image src="/img/renwu.png"></image>
  116 + </view>
  117 +
  118 + <view class="pigright">温宁</view>
  119 + </view>
  120 +
  121 + <view class="pingword">在闹中取静的西湖,体验地道的本土生活</view>
  122 +
  123 + <view class="pingtext">杭州处于亚热带季风区,四季分明,夏季气候炎热,湿润,是新四大火炉之一。相反,冬季寒冷,干燥。春秋两季气候宜人,是观光旅游的黄金季节。</view>
  124 +
  125 + <view class="pingbottom">
  126 + <view class="pingbottomleft">
  127 + <view class="pingbottomleftimg">
  128 + <image src="/img/ditu.png"></image>
  129 + </view>
  130 +
  131 + <view class="pingdidian">杭州西湖风景民宿</view>
  132 + </view>
  133 +
  134 + <view class="pingbottomright">
  135 + <view class="pingbottomrightimg">
  136 + <image src="/img/zan.png"></image>
  137 + </view>
  138 + <view class="zannum">67</view>
  139 + </view>
  140 + </view>
  141 + </view>
  142 + </view>
  1 +/* 轮播图 */
  2 +.swiper_image{
  3 + width:750rpx;
  4 + height:376rpx;
  5 + font-size: 0;
  6 + margin: 30rpx auto 0;
  7 + position: relative;
  8 + box-shadow:0px -1px 6px 0px rgba(212,137,96,0.11);
  9 +
  10 +
  11 +}
  12 +.swiper_item_img{
  13 +
  14 + height:376rpx;
  15 +}
  16 +.swiper_image image{
  17 + width:100%;
  18 + height:100%;
  19 + /* box-shadow:0px -1px 6px 0px rgba(212,137,96,0.11); */
  20 +
  21 +}
  22 +.swiper_item_img swiper-item{
  23 + width:686rpx;
  24 + height:376rpx;
  25 + box-shadow:0px -1px 6px 0px rgba(212,137,96,0.11);
  26 + display:felx;
  27 + align-items: center;justify-content: center;
  28 +
  29 +
  30 +}
  31 +.swiper_item_img swiper-item image{
  32 + width:100%;
  33 + height:100%;
  34 +
  35 +}
  36 +
  37 +
  38 +.dots{
  39 + /* width: 156rpx; */
  40 + height: 36rpx;
  41 + display: flex;
  42 + flex-direction: row;
  43 + position: absolute;
  44 + justify-content: center;
  45 + left: 0;
  46 + right:0;
  47 + bottom: 20rpx;
  48 +}
  49 +/*未选中时的小圆点样式 */
  50 +.dot{
  51 + width: 12rpx;
  52 + height: 12rpx;
  53 + border-radius: 50%;
  54 + margin-right: 26rpx;
  55 + background-color:#fff;
  56 +}
  57 +/*选中以后的小圆点样式 */
  58 +.active{
  59 + width: 12rpx;
  60 + height: 12rpx;
  61 + border-radius:50%;
  62 + background-color: #FF5A4E;
  63 +
  64 +
  65 +}
  66 +
  67 +.pingboxtop{
  68 + display:flex;
  69 + align-items: center
  70 +}
  71 +.pingleft{
  72 + width:82rpx;
  73 + height: 82rpx;
  74 + font-size: 0;
  75 + border-radius: 50%;
  76 +}
  77 +.pingbox{
  78 + padding: 0 34rpx;
  79 + box-sizing: border-box;
  80 + margin-bottom:20rpx;
  81 +
  82 +}
  83 +.pingleft image{
  84 + border-radius: 50%;
  85 +}
  86 +.pingboxitem{
  87 + padding: 24rpx 0;
  88 + box-sizing: border-box
  89 +}
  90 +.pigright{
  91 + color:#06121E;
  92 + font-size: 32rpx;
  93 + margin-left:28rpx;
  94 +}
  95 +.pingbottom{
  96 + display:flex;
  97 + align-items: center;
  98 + justify-content: space-between;
  99 + margin-top:24rpx;
  100 +
  101 +}
  102 +.pingbottomleftimg{
  103 + width:35rpx;
  104 + height:33rpx;
  105 + font-size: 0
  106 +}
  107 +.pingbottomleft{
  108 + display:flex;
  109 + align-items: center
  110 +}
  111 +.pingdidian{
  112 + color:#06121E;
  113 + font-size: 28rpx;
  114 + margin-left:12rpx;
  115 +}
  116 +.pingbottomright{
  117 + display:flex;
  118 + align-items: center;
  119 +}
  120 +
  121 +.pingbottomrightimg{
  122 + width:28rpx;
  123 + height:28rpx;
  124 + font-size: 0
  125 +}
  126 +.zannum{
  127 + color:#FF5A4E;
  128 + font-size: 24rpx;
  129 +}
  1 +// pages/hoteldetail/hoteldetail.js
  2 +Page({
  3 +
  4 + /**
  5 + * 页面的初始数据
  6 + */
  7 + data: {
  8 + imgUrls: [
  9 + '/img/tuijianimg1.png',
  10 + '/img/tuijianimg1.png',
  11 + '/img/tuijianimg1.png',
  12 + ],
  13 + indicatorDots: false,
  14 + autoplay: true,
  15 + interval: 2000,
  16 + duration: 1000,
  17 + currentSwiper: 0,
  18 + selitem: 1
  19 + },
  20 +
  21 + /**
  22 + * 生命周期函数--监听页面加载
  23 + */
  24 + onLoad: function (options) {
  25 +
  26 + },
  27 +
  28 + selkind(e) {
  29 + this.setData({
  30 + selitem: e.currentTarget.dataset.type
  31 + })
  32 + },
  33 + swiperChange: function (e) {
  34 + this.setData({
  35 + currentSwiper: e.detail.current
  36 + })
  37 + },
  38 + /**
  39 + * 生命周期函数--监听页面初次渲染完成
  40 + */
  41 + onReady: function () {
  42 +
  43 + },
  44 +
  45 + /**
  46 + * 生命周期函数--监听页面显示
  47 + */
  48 + onShow: function () {
  49 +
  50 + },
  51 +
  52 + /**
  53 + * 生命周期函数--监听页面隐藏
  54 + */
  55 + onHide: function () {
  56 +
  57 + },
  58 +
  59 + /**
  60 + * 生命周期函数--监听页面卸载
  61 + */
  62 + onUnload: function () {
  63 +
  64 + },
  65 +
  66 + /**
  67 + * 页面相关事件处理函数--监听用户下拉动作
  68 + */
  69 + onPullDownRefresh: function () {
  70 +
  71 + },
  72 +
  73 + /**
  74 + * 页面上拉触底事件的处理函数
  75 + */
  76 + onReachBottom: function () {
  77 +
  78 + },
  79 +
  80 + /**
  81 + * 用户点击右上角分享
  82 + */
  83 + onShareAppMessage: function () {
  84 +
  85 + }
  86 +})
  1 +{
  2 + "usingComponents": {}
  3 +}
  1 +<view class="swiper_image">
  2 + <swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" class="swiper_item_img" bindchange="swiperChange">
  3 + <block wx:for="{{imgUrls}}" wx:key="doct">
  4 + <swiper-item style="border-radius:10px;">
  5 + <image src="{{item}}" data-index='{{index}}' class="slide-image" bindtap='viewImg' width="355" height="150" />
  6 + </swiper-item>
  7 + </block>
  8 + </swiper>
  9 +
  10 + <view class="dots">
  11 + <block wx:for="{{imgUrls}}" wx:key="">
  12 + <view class="dot{{index == currentSwiper ? ' active' : ''}}"></view>
  13 + </block>
  14 + </view>
  15 +
  16 +</view>
  17 +
  18 +<view class="minsuintor">
  19 + <view class="minsutou">蔓图精品民宿</view>
  20 +
  21 + <view class="suconcatbox">
  22 + <view class="suhead suheadone">
  23 + <view class="suheadleft">
  24 + <view class="suheadleimg">
  25 + <image src="/img/ditu.png"></image>
  26 + </view>
  27 +
  28 + <view class="sunheadword">北京海淀区蔓图精品民宿</view>
  29 +
  30 +
  31 + </view>
  32 +
  33 + <view class="suheadright">
  34 + <image src="/img/dianhua.png"></image>
  35 + </view>
  36 + </view>
  37 +
  38 + <view class="suhead suheadsec">
  39 + <view class="suheadleft">
  40 + <view class="suheadleimg">
  41 + <image src="/img/haibao.png"></image>
  42 + </view>
  43 +
  44 + <view class="sunheadword">08月29日-08月31日</view>
  45 + </view>
  46 + <view class="ruzhuright">
  47 + <view class="ruzhu">
  48 + 入住
  49 + <text class="ruzhunum">2</text>晚
  50 + </view>
  51 +
  52 + <view class="ruzhuyou">
  53 + <image src="/img/yourow.png"></image>
  54 + </view>
  55 + </view>
  56 +
  57 + </view>
  58 + </view>
  59 +</view>
  60 +
  61 +<view class="minsulist">
  62 + <view class='minsuitem {{selitem==1?"selactive":""}}' bindtap="selkind" data-type="1">房型介绍</view>
  63 + <view class='minsuitem {{selitem==2?"selactive":""}}' bindtap="selkind" data-type="2">酒店介绍</view>
  64 + <view class='minsuitem {{selitem==3?"selactive":""}}' bindtap="selkind" data-type="3">入住须知</view>
  65 + <view class='minsuitem {{selitem==4?"selactive":""}}' bindtap="selkind" data-type="4">游玩攻略</view>
  66 +</view>
  67 +
  68 +<!--房型介绍 -->
  69 +
  70 +<view class="fangjieshao" wx:if="{{selitem==1}}">
  71 + <view class="fangjieshaoitem">
  72 + <view class="fangjietop">
  73 + <image src="/img/tuijianimg3.png"></image>
  74 + </view>
  75 +
  76 + <view class="fangjiebot">
  77 + <view class="fangjieleft">尊享大床房</view>
  78 +
  79 + <view class="fangjieprice">¥197</view>
  80 + </view>
  81 +
  82 + <view class="fangjiabot">
  83 + <view class="fangjiabotleft">
  84 + <view class="fangjiabotlefttop">55㎡ 1张1.8米大床</view>
  85 +
  86 + <view class="kindtext">
  87 +
  88 + <text class="fangjiabotbottom">有窗</text>
  89 + <text class="jinzhang">房屋紧张</text>
  90 +
  91 + </view>
  92 + </view>
  93 +
  94 + <view class="yudingqita">
  95 + <view class="yudingqitaleft">预定其他日期</view>
  96 + <view class="yudingyou">
  97 + <image src="/img/whiteyourow.png"></image>
  98 + </view>
  99 + </view>
  100 +
  101 + <!-- <view class="fangjiabotright">免费预订</view> -->
  102 + </view>
  103 + </view>
  104 +
  105 + <view class="fangjieshaoitem">
  106 + <view class="fangjietop">
  107 + <image src="/img/tuijianimg3.png"></image>
  108 + </view>
  109 +
  110 + <view class="fangjiebot">
  111 + <view class="fangjieleft">尊享大床房</view>
  112 +
  113 + <view class="fangjieprice">¥197</view>
  114 + </view>
  115 +
  116 + <view class="fangjiabot">
  117 + <view class="fangjiabotleft">
  118 + <view class="fangjiabotlefttop">55㎡ 1张1.8米大床</view>
  119 +
  120 + <view class="fangjiabotbottom">有窗</view>
  121 + </view>
  122 +
  123 + <view class="fangjiabotright">免费预订</view>
  124 + </view>
  125 + </view>
  126 +
  127 + <view class="fangjieshaoitem">
  128 + <view class="fangjietop">
  129 + <image src="/img/tuijianimg3.png"></image>
  130 + </view>
  131 +
  132 + <view class="fangjiebot">
  133 + <view class="fangjieleft">尊享大床房</view>
  134 +
  135 + <view class="fangjieprice">¥197</view>
  136 + </view>
  137 +
  138 + <view class="fangjiabot">
  139 + <view class="fangjiabotleft">
  140 + <view class="fangjiabotlefttop">55㎡ 1张1.8米大床</view>
  141 +
  142 + <view class="fangjiabotbottom">有窗</view>
  143 + </view>
  144 +
  145 + <view class="fangjiabotright">免费预订</view>
  146 + </view>
  147 + </view>
  148 +</view>
  149 +
  150 +<!-- 酒店介绍 -->
  151 +
  152 +<view class="jiudianbigbox" wx:if="{{selitem==2}}">
  153 + <!-- 酒店介绍 -->
  154 +
  155 + <view class="jiudianintortext">
  156 + <view class="jiudainjie">
  157 + <view class="jiudianjieleft">酒店介绍</view>
  158 + <view class="judianjieright">
  159 + <image src="/img/yourow.png"></image>
  160 + </view>
  161 + </view>
  162 +
  163 + <view class="jiudiancontentitem">
  164 + <view class="jiudianboxtop">
  165 + <view class="jiudiantopleft">
  166 + <image src="/img/jieshaojiu.png"></image>
  167 + </view>
  168 + <view class="jiudianhuan">周边环境</view>
  169 +
  170 + </view>
  171 +
  172 + <view class="zhoubiantext">
  173 + 上海艾格瑞公寓位于具有“上海缩影”之称的虹口,坐拥浦江繁华内环核心,占据内环具有价值“黄金三角生活圈”。公寓毗邻瑞虹天地商圈、四川北路商圈、海伦路商圈之众多商场和写字楼,步行可达和平公园、鲁迅公园、1933老场坊、多伦路文化名人街,乘车前往外滩、陆家嘴约十余分钟。   公寓设有标准层和行政层,标准层设有7种各具特色的北欧风房型,行政层设有3种舒适简约套房房型,每间房间配有无线上网服务。
  174 + </view>
  175 + </view>
  176 +
  177 + <view class="jiudiancontentitem">
  178 + <view class="jiudianboxtop">
  179 + <view class="jiudiantopleft">
  180 + <image src="/img/shejistyle.png"></image>
  181 + </view>
  182 + <view class="jiudianhuan">设计风格</view>
  183 +
  184 + </view>
  185 +
  186 + <view class="zhoubiantext">
  187 + 酒店设计现代、简约。 游玩回到水晶可以在露台喝茶聊天,看书发呆。尽情享受度假时光。
  188 + </view>
  189 + </view>
  190 + <view class="jiudiancontentitem">
  191 + <view class="jiudianboxtop">
  192 + <view class="jiudiantopleft">
  193 + <image src="/img/jiaotong.png"></image>
  194 + </view>
  195 + <view class="jiudianhuan">交通路线</view>
  196 +
  197 + </view>
  198 +
  199 + <view class="zhoubiantext">
  200 + 酒店临近16号线永丰南站,步行4分钟即可到达地铁站;
  201 + </view>
  202 + </view>
  203 +
  204 + <view class="jiudiancontentitem">
  205 + <view class="jiudianboxtop">
  206 + <view class="jiudiantopleft">
  207 + <image src="/img/tuijianreson.png"></image>
  208 + </view>
  209 + <view class="jiudianhuan">推荐理由</view>
  210 +
  211 + </view>
  212 +
  213 + <view class="zhoubiantext">
  214 + 公寓内还设有健身房、咖啡厅、公共会客厅、棋牌桌游吧、会议室、商务中心等设施。在这里,可以充分感受上海气息的品质居住体验,愿能成为您商务、旅行下榻的优选。
  215 + </view>
  216 + </view>
  217 +
  218 +
  219 + </view>
  220 +
  221 +
  222 +
  223 + <!-- 设施服务 -->
  224 +
  225 + <view class="jiudianintortext">
  226 + <view class="jiudainjie">
  227 + <view class="jiudianjieleft">设施服务</view>
  228 + <view class="judianjieright">
  229 + <image src="/img/yourow.png"></image>
  230 + </view>
  231 + </view>
  232 +
  233 + <view class="jiaotong">
  234 +
  235 + <view class="jiaotongitem">
  236 + <view class="jiaotongtop">交通服务</view>
  237 +
  238 + <view class="jiaotongbottom">
  239 + <view class="jiaotongbottomitem">
  240 + <view class="jiaotongitemleft">
  241 + <image src="/img/duigou.png"></image>
  242 + </view>
  243 + <view class="jiaotongitemname">免费停车</view>
  244 + </view>
  245 +
  246 + <view class="jiaotongbottomitem">
  247 + <view class="jiaotongitemleft">
  248 + <image src="/img/duigou.png"></image>
  249 + </view>
  250 + <view class="jiaotongitemname">自行车租赁服务</view>
  251 + </view>
  252 + </view>
  253 + </view>
  254 +
  255 + <view class="jiaotongitem">
  256 + <view class="jiaotongtop">餐饮服务</view>
  257 +
  258 + <view class="jiaotongbottom">
  259 + <view class="jiaotongbottomitem">
  260 + <view class="jiaotongitemleft">
  261 + <image src="/img/duigou.png"></image>
  262 + </view>
  263 + <view class="jiaotongitemname">中餐厅</view>
  264 + </view>
  265 +
  266 + <view class="jiaotongbottomitem">
  267 + <view class="jiaotongitemleft">
  268 + <image src="/img/duigou.png"></image>
  269 + </view>
  270 + <view class="jiaotongitemname">咖啡厅</view>
  271 + </view>
  272 +
  273 + <view class="jiaotongbottomitem">
  274 + <view class="jiaotongitemleft">
  275 + <image src="/img/duigou.png"></image>
  276 + </view>
  277 + <view class="jiaotongitemname">送餐服务</view>
  278 + </view>
  279 +
  280 + <view class="jiaotongbottomitem">
  281 + <view class="jiaotongitemleft">
  282 + <image src="/img/duigou.png"></image>
  283 + </view>
  284 + <view class="jiaotongitemname">烧烤</view>
  285 + </view>
  286 + </view>
  287 + </view>
  288 +
  289 + <view class="jiaotongitem">
  290 + <view class="jiaotongtop">网络设施</view>
  291 +
  292 + <view class="jiaotongbottom">
  293 + <view class="jiaotongbottomitem">
  294 + <view class="jiaotongitemleft">
  295 + <image src="/img/duigou.png"></image>
  296 + </view>
  297 + <view class="jiaotongitemname">客房WIFI</view>
  298 + </view>
  299 +
  300 + <view class="jiaotongbottomitem">
  301 + <view class="jiaotongitemleft">
  302 + <image src="/img/duigou.png"></image>
  303 + </view>
  304 + <view class="jiaotongitemname">公共区域WIFI</view>
  305 + </view>
  306 + </view>
  307 + </view>
  308 +
  309 +
  310 + <view class="jiaotongitem">
  311 + <view class="jiaotongtop">娱乐和健身设施</view>
  312 +
  313 + <view class="jiaotongbottom">
  314 + <view class="jiaotongbottomitem">
  315 + <view class="jiaotongitemleft">
  316 + <image src="/img/duigou.png"></image>
  317 + </view>
  318 + <view class="jiaotongitemname">茶室</view>
  319 + </view>
  320 +
  321 + <view class="jiaotongbottomitem">
  322 + <view class="jiaotongitemleft">
  323 + <image src="/img/duigou.png"></image>
  324 + </view>
  325 + <view class="jiaotongitemname">健身房</view>
  326 + </view>
  327 + </view>
  328 + </view>
  329 +
  330 +
  331 + <view class="jiaotongitem">
  332 + <view class="jiaotongtop">服务项目</view>
  333 +
  334 + <view class="jiaotongbottom">
  335 + <view class="jiaotongbottomitem">
  336 + <view class="jiaotongitemleft">
  337 + <image src="/img/duigou.png"></image>
  338 + </view>
  339 + <view class="jiaotongitemname">会议室</view>
  340 + </view>
  341 +
  342 + <view class="jiaotongbottomitem">
  343 + <view class="jiaotongitemleft">
  344 + <image src="/img/duigou.png"></image>
  345 + </view>
  346 + <view class="jiaotongitemname">全天前天</view>
  347 + </view>
  348 + </view>
  349 + </view>
  350 +
  351 + </view>
  352 +
  353 +
  354 +
  355 + </view>
  356 +
  357 +
  358 +
  359 +</view>
  360 +
  361 +
  362 +
  363 +
  364 +
  365 +<view class="jiudianbottom">
  366 + <view class="jiudianbottomleft">
  367 + <view class="jiudianitem">
  368 + <view class="jiudianitemtop">
  369 + <image src="/img/pin.png"></image>
  370 + </view>
  371 +
  372 + <view class="jiudianitembot">首页</view>
  373 + </view>
  374 + <view class="jiudianitem">
  375 + <view class="jiudianitemtop">
  376 + <image src="/img/kefu.png"></image>
  377 + </view>
  378 +
  379 + <view class="jiudianitembot kename">客服</view>
  380 + </view>
  381 + <view class="jiudianitem">
  382 + <view class="jiudianitemtop">
  383 + <image src="/img/shou.png"></image>
  384 + </view>
  385 +
  386 + <view class="jiudianitembot">收藏</view>
  387 + </view>
  388 + </view>
  389 +
  390 + <view class="jiudianbottomright">购买会员免费入住</view>
  391 +</view>
  1 +page {
  2 + background: #F9F9F9;
  3 +}
  4 +
  5 +.minsuintor {
  6 + padding: 40rpx 44rpx;
  7 + box-sizing: border-box;
  8 + background: #fff;
  9 +}
  10 +
  11 +.minsutou {
  12 + color: #06121e;
  13 + font-size: 38rpx;
  14 + font-weight: bold;
  15 +}
  16 +
  17 +.suhead {
  18 + display: flex;
  19 + align-items: center;
  20 + justify-content: space-between;
  21 + padding: 30rpx 32rpx 30rpx 0;
  22 + box-sizing: border-box;
  23 +}
  24 +
  25 +.suheadone {
  26 + margin-top: 32rpx;
  27 +}
  28 +
  29 +.suheadsec {
  30 + margin-top: 16rpx;
  31 +}
  32 +
  33 +.suheadleft {
  34 + display: flex;
  35 + align-items: center;
  36 +}
  37 +
  38 +.suheadleimg {
  39 + width: 40rpx;
  40 + height: 40rpx;
  41 + font-size: 0;
  42 +}
  43 +
  44 +.sunheadword {
  45 + color: #06121e;
  46 + font-size: 28rpx;
  47 + margin-left: 12rpx;
  48 +}
  49 +
  50 +.suheadright {
  51 + width: 44rpx;
  52 + height: 44rpx;
  53 + font-size: 0;
  54 +}
  55 +
  56 +.ruzhu {
  57 + color: #06121e;
  58 + font-size: 28rpx;
  59 +}
  60 +
  61 +.ruzhunum {
  62 + color: #ff5a4e;
  63 + font-size: 28rpx;
  64 +}
  65 +
  66 +.ruzhuright {
  67 + display: flex;
  68 + align-items: center;
  69 +}
  70 +
  71 +.ruzhuyou {
  72 + width: 18rpx;
  73 + height: 18rpx;
  74 + font-size: 0;
  75 + margin-left: 16rpx;
  76 +}
  77 +
  78 +.minsulist {
  79 + display: flex;
  80 + align-items: center;
  81 + padding: 32rpx 58rpx;
  82 + box-sizing: border-box;
  83 + justify-content: space-between;
  84 + background: #fff;
  85 + margin-top:20rpx;
  86 +}
  87 +
  88 +.minsuitem {
  89 + color: #06121e;
  90 + font-size: 26rpx;
  91 +}
  92 +
  93 +.selactive {
  94 + color: #06121e;
  95 + font-size: 38rpx;
  96 + font-weight: bold;
  97 + position: relative;
  98 +}
  99 +
  100 +.selactive::after {
  101 + position: absolute;
  102 + display: block;
  103 + content: '';
  104 + width: 48rpx;
  105 + height: 6rpx;
  106 + background: #ff5a4e;
  107 + left: 50%;
  108 + right: 50%;
  109 + transform: translateX(-50%);
  110 + bottom: -12rpx;
  111 + border-radius: 4rpx;
  112 +}
  113 +
  114 +.judianjieright {
  115 + width: 34rpx;
  116 + height: 34rpx;
  117 + font-size: 0;
  118 +}
  119 +
  120 +.jiudainjie {
  121 + width: 686rpx;
  122 + margin: 24rpx auto 0;
  123 + padding: 38rpx 32rpx;
  124 + box-sizing: border-box;
  125 + display: flex;
  126 + align-items: center;
  127 + justify-content: space-between;
  128 + box-shadow: 0px 16rpx 24rpx rgba(0, 0, 0, 0.02);
  129 + opacity: 1;
  130 + border-radius: 20rpx;
  131 +}
  132 +
  133 +.jiudianjieleft {
  134 + color: #06121e;
  135 + font-size: 32rpx;
  136 + font-weight: bold;
  137 +}
  138 +
  139 +.fuwujie {
  140 + margin-bottom: 52rpx;
  141 +}
  142 +
  143 +.jiudianbottomleft {
  144 + display: flex;
  145 + align-items: center;
  146 + justify-content: space-between;
  147 + padding: 12rpx 34rpx;
  148 + box-sizing: border-box;
  149 + width: 350rpx;
  150 +}
  151 +
  152 +.jiudianbottomright {
  153 + width: 400rpx;
  154 + height: 98rpx;
  155 + background: linear-gradient(180deg, rgba(252, 169, 162, 1) 0%, rgba(255, 119, 117, 1) 100%);
  156 + opacity: 1;
  157 + color: #fff;
  158 + font-size: 32rpx;
  159 + text-align: center;
  160 + line-height: 98rpx;
  161 +}
  162 +
  163 +.jiudianbottom {
  164 + display: flex;
  165 + align-items: center;
  166 +}
  167 +
  168 +.jiudianitem {
  169 + display: flex;
  170 + flex-direction: column;
  171 + justify-content: center;
  172 + align-items: center;
  173 +}
  174 +
  175 +.jiudianitemtop {
  176 + width: 40rpx;
  177 + height: 40rpx;
  178 + font-size: 0;
  179 +}
  180 +
  181 +.jiudianitembot {
  182 + color: #bdc4ce;
  183 + font-size: 22rpx;
  184 +}
  185 +
  186 +.kename {
  187 + color: #ff5a4e;
  188 + font-size: 22rpx;
  189 +}
  190 +
  191 +.fangjietop {
  192 + width: 686rpx;
  193 + height: 320rpx;
  194 + font-size: 0;
  195 + margin: 28rpx auto 0;
  196 +}
  197 +
  198 +.fangjieshao {
  199 + padding: 0 32rpx 0rpx;
  200 + box-sizing: border-box;
  201 + margin-bottom:54rpx;
  202 +}
  203 +
  204 +.fangjieleft {
  205 + color: #06121e;
  206 + font-size: 32rpx;
  207 + font-weight: bold;
  208 +}
  209 +
  210 +.fangjiebot {
  211 + display: flex;
  212 + align-items: center;
  213 + justify-content: space-between;
  214 + margin-top: 32rpx;
  215 + padding: 0 32rpx;
  216 + box-sizing: border-box
  217 +}
  218 +
  219 +.fangjieprice {
  220 + color: #ff5a4e;
  221 + font-size: 24rpx;
  222 + font-weight: bold;
  223 +}
  224 +
  225 +.fangjiabot {
  226 + display: flex;
  227 + align-items: center;
  228 + justify-content: space-between;
  229 + margin-top:14rpx;
  230 + padding: 0 32rpx;
  231 + box-sizing: border-box
  232 +
  233 +}
  234 +
  235 +.fangjiabotlefttop {
  236 + color: #8c9198;
  237 + font-size: 24rpx;
  238 +}
  239 +
  240 +.fangjiabotbottom {
  241 + color: #ff5a4e;
  242 + font-size: 22rpx;
  243 +}
  244 +.jinzhang{
  245 + color:#EB9E52;
  246 + font-size: 22rpx;
  247 + margin-left:40rpx;
  248 +}
  249 +
  250 +.fangjiabotright {
  251 + width: 150rpx;
  252 + height: 60rpx;
  253 + background: rgba(255, 90, 78, 1);
  254 + opacity: 1;
  255 + border-radius: 40rpx;
  256 + color:#fff;
  257 + font-size: 28rpx;
  258 + text-align: center;
  259 + line-height: 60rpx
  260 +}
  261 +.fangjieshaoitem{
  262 + background: #fff;
  263 + padding-bottom: 30rpx
  264 +}
  265 +
  266 +.yudingqita{
  267 + width:240rpx;
  268 + height:60rpx;
  269 + background:rgba(255,90,78,1);
  270 + opacity:1;
  271 + border-radius:40rpx;
  272 + display:flex;
  273 + align-items: center;
  274 + padding: 0 24rpx;
  275 + box-sizing: border-box
  276 +}
  277 +.yudingqitaleft{
  278 + color:#fff;
  279 + font-size: 28rpx;
  280 +}
  281 +.yudingyou{
  282 + width:22rpx;
  283 + height:22rpx;
  284 + font-size: 0;
  285 + margin-left:5rpx;
  286 +}
  1 +// pages/gonglue/gonglue.js
  2 +Page({
  3 +
  4 + /**
  5 + * 页面的初始数据
  6 + */
  7 + data: {
  8 +
  9 + },
  10 +
  11 + /**
  12 + * 生命周期函数--监听页面加载
  13 + */
  14 + onLoad: function (options) {
  15 +
  16 + },
  17 +
  18 + /**
  19 + * 生命周期函数--监听页面初次渲染完成
  20 + */
  21 + onReady: function () {
  22 +
  23 + },
  24 +
  25 + /**
  26 + * 生命周期函数--监听页面显示
  27 + */
  28 + onShow: function () {
  29 +
  30 + },
  31 +
  32 + /**
  33 + * 生命周期函数--监听页面隐藏
  34 + */
  35 + onHide: function () {
  36 +
  37 + },
  38 +
  39 + /**
  40 + * 生命周期函数--监听页面卸载
  41 + */
  42 + onUnload: function () {
  43 +
  44 + },
  45 +
  46 + /**
  47 + * 页面相关事件处理函数--监听用户下拉动作
  48 + */
  49 + onPullDownRefresh: function () {
  50 +
  51 + },
  52 +
  53 + /**
  54 + * 页面上拉触底事件的处理函数
  55 + */
  56 + onReachBottom: function () {
  57 +
  58 + },
  59 +
  60 + /**
  61 + * 用户点击右上角分享
  62 + */
  63 + onShareAppMessage: function () {
  64 +
  65 + }
  66 +})
  1 +{
  2 + "navigationBarTitleText": "攻略"
  3 +}
  1 +<view class="gongluelist">
  2 + <view class="gonglueitem">
  3 + <image src="/img/hangzhou.png"></image>
  4 +
  5 + <view class="gonglueword">
  6 + <view class="wordtop">朗丽兹西山花园酒店</view>
  7 +
  8 + <view class="wordbottom">
  9 + <view class="wordbotleft">
  10 + <image src="/img/weizhi.png"></image>
  11 + </view>
  12 + <view class="wordbotright">海淀区吴镇蔓图精品民宿</view>
  13 + </view>
  14 + </view>
  15 +
  16 + <view class="gongluepic">
  17 + <view class="gongluetu">
  18 + <image src="/img/hong.png"></image>
  19 + </view>
  20 + <view class="peoplenum">58人种草</view>
  21 + </view>
  22 +
  23 +
  24 + </view>
  25 + <view class="gonglueitem">
  26 + <image src="/img/hangzhou.png"></image>
  27 +
  28 + <view class="gonglueword">
  29 + <view class="wordtop">朗丽兹西山花园酒店</view>
  30 +
  31 + <view class="wordbottom">
  32 + <view class="wordbotleft">
  33 + <image src="/img/weizhi.png"></image>
  34 + </view>
  35 + <view class="wordbotright">海淀区吴镇蔓图精品民宿</view>
  36 + </view>
  37 + </view>
  38 +
  39 + <view class="gongluepic">
  40 + <view class="gongluetu">
  41 + <image src="/img/hong.png"></image>
  42 + </view>
  43 + <view class="peoplenum">58人种草</view>
  44 + </view>
  45 +
  46 +
  47 + </view>
  48 + <view class="gonglueitem">
  49 + <image src="/img/hangzhou.png"></image>
  50 +
  51 + <view class="gonglueword">
  52 + <view class="wordtop">朗丽兹西山花园酒店</view>
  53 +
  54 + <view class="wordbottom">
  55 + <view class="wordbotleft">
  56 + <image src="/img/weizhi.png"></image>
  57 + </view>
  58 + <view class="wordbotright">海淀区吴镇蔓图精品民宿</view>
  59 + </view>
  60 + </view>
  61 +
  62 + <view class="gongluepic">
  63 + <view class="gongluetu">
  64 + <image src="/img/hong.png"></image>
  65 + </view>
  66 + <view class="peoplenum">58人种草</view>
  67 + </view>
  68 +
  69 +
  70 + </view>
  71 + <view class="gonglueitem">
  72 + <image src="/img/hangzhou.png"></image>
  73 +
  74 + <view class="gonglueword">
  75 + <view class="wordtop">朗丽兹西山花园酒店</view>
  76 +
  77 + <view class="wordbottom">
  78 + <view class="wordbotleft">
  79 + <image src="/img/weizhi.png"></image>
  80 + </view>
  81 + <view class="wordbotright">海淀区吴镇蔓图精品民宿</view>
  82 + </view>
  83 + </view>
  84 +
  85 + <view class="gongluepic">
  86 + <view class="gongluetu">
  87 + <image src="/img/hong.png"></image>
  88 + </view>
  89 + <view class="peoplenum">58人种草</view>
  90 + </view>
  91 +
  92 +
  93 + </view>
  94 +</view>
  1 +.gonglueitem{
  2 + width:686rpx;
  3 + height:368rpx;
  4 + font-size: 0;
  5 + margin:26rpx auto 0;
  6 + border-radius: 16rpx;
  7 + position: relative
  8 +}
  9 +.wordbottom{
  10 + width:338rpx;
  11 + height:52rpx;
  12 + background:rgba(0,0,0,1);
  13 + opacity:0.5;
  14 + border-radius:28rpx;
  15 + background: #000000;
  16 + margin-top:16rpx;
  17 + display:flex;
  18 + align-items: center;
  19 + padding: 10rpx 20rpx;
  20 + box-sizing: border-box;
  21 +
  22 +}
  23 +.gonglueword{
  24 + position: absolute;
  25 + top:222rpx;
  26 + left:38rpx;
  27 +}
  28 +.wordtop{
  29 + color:#FFFFFF;
  30 + font-size: 36rpx;
  31 +}
  32 +
  33 +.wordbotleft{
  34 + width:24rpx;
  35 + height:24rpx;
  36 + font-size: 0
  37 +}
  38 +.wordbotright{
  39 + color:#fff;
  40 + font-size: 24rpx;
  41 + margin-left:10rpx;
  42 +}
  43 +.gongluetu{
  44 + width:142rpx;
  45 + height:48rpx;
  46 + font-size: 0;
  47 + position: relative
  48 +}
  49 +.gongluepic{
  50 + position: absolute;
  51 + top:30rpx;
  52 + right:0;
  53 +
  54 +}
  55 +.peoplenum{
  56 + color:#FFFFFF;
  57 + font-size: 24rpx;
  58 + position: absolute;
  59 + top:8rpx;
  60 + right:14rpx;
  61 +}
  62 +.gongluelist{
  63 + margin-bottom:36rpx;
  64 +}
  1 +// pages/gongluedetail/gongluedetail.js
  2 +Page({
  3 +
  4 + /**
  5 + * 页面的初始数据
  6 + */
  7 + data: {
  8 + imgUrls: [
  9 + '/img/tuijianimg1.png',
  10 + '/img/tuijianimg1.png',
  11 + '/img/tuijianimg1.png',
  12 + ],
  13 + indicatorDots: false,
  14 + autoplay: true,
  15 + interval: 2000,
  16 + duration: 1000,
  17 + currentSwiper: 0,
  18 + },
  19 +
  20 + /**
  21 + * 生命周期函数--监听页面加载
  22 + */
  23 + onLoad: function (options) {
  24 +
  25 + },
  26 +
  27 + swiperChange: function (e) {
  28 + this.setData({
  29 + currentSwiper: e.detail.current
  30 + })
  31 + },
  32 +
  33 + /**
  34 + * 生命周期函数--监听页面初次渲染完成
  35 + */
  36 + onReady: function () {
  37 +
  38 + },
  39 +
  40 + /**
  41 + * 生命周期函数--监听页面显示
  42 + */
  43 + onShow: function () {
  44 +
  45 + },
  46 +
  47 + /**
  48 + * 生命周期函数--监听页面隐藏
  49 + */
  50 + onHide: function () {
  51 +
  52 + },
  53 +
  54 + /**
  55 + * 生命周期函数--监听页面卸载
  56 + */
  57 + onUnload: function () {
  58 +
  59 + },
  60 +
  61 + /**
  62 + * 页面相关事件处理函数--监听用户下拉动作
  63 + */
  64 + onPullDownRefresh: function () {
  65 +
  66 + },
  67 +
  68 + /**
  69 + * 页面上拉触底事件的处理函数
  70 + */
  71 + onReachBottom: function () {
  72 +
  73 + },
  74 +
  75 + /**
  76 + * 用户点击右上角分享
  77 + */
  78 + onShareAppMessage: function () {
  79 +
  80 + }
  81 +})
  1 +{
  2 + "navigationBarTitleText": "攻略详情"
  3 +}
  1 +<!-- <view class="gongdetailtop">
  2 + <image src="/img/tuijianimg1.png"></image>
  3 +
  4 +
  5 +
  6 +
  7 +</view> -->
  8 +
  9 +
  10 +<view class="swiper_image">
  11 + <swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" class="swiper_item_img" bindchange="swiperChange">
  12 + <block wx:for="{{imgUrls}}" wx:key="doct">
  13 + <swiper-item style="border-radius:10px;">
  14 + <image src="{{item}}" data-index='{{index}}' class="slide-image" bindtap='viewImg' width="355" height="150" />
  15 +
  16 +
  17 + </swiper-item>
  18 + </block>
  19 +
  20 +
  21 +
  22 +
  23 +
  24 +
  25 + </swiper>
  26 +
  27 + <view class="dongdetailbot">
  28 +
  29 + <view class="topimg">
  30 + <image src="/img/hong.png"></image>
  31 + </view>
  32 +
  33 + <view class="zhongcaoname">58人种草</view>
  34 + </view>
  35 +
  36 + <view class="dots">
  37 + <block wx:for="{{imgUrls}}" wx:key="">
  38 + <view class="dot{{index == currentSwiper ? ' active' : ''}}"></view>
  39 + </block>
  40 + </view>
  41 +
  42 +</view>
  43 +
  44 +
  45 +<view class="gongdetailbox">
  46 + <view class="detailboxhead">
  47 + <view class="detailboxtop">西湖美景民宿</view>
  48 + <view class="detailboxbotm">
  49 + <view class="detailboxbotleft">
  50 + <image src="/img/ditu.png"></image>
  51 + </view>
  52 +
  53 + <view class="detailboxbotright">杭州西湖风景民宿</view>
  54 + </view>
  55 + </view>
  56 +
  57 + <view class="gongluebox">
  58 + <view class="gonglueboxitem">
  59 + <view class="gongboxtop">
  60 + <text class="textnum">01</text>
  61 + <text class="textwen">在闹中取静的西湖,体验地道的本土生活</text>
  62 + </view>
  63 +
  64 + <view class="gongboximg">
  65 + <image src="/img/dali.png"></image>
  66 + </view>
  67 +
  68 + <view class="gongboxtext">杭州处于亚热带季风区,四季分明,、夏季气候炎热,湿润,是新四大火炉之一。相反,冬季寒冷,干燥。春秋两季气候宜人,是观光旅游的黄金季节。</view>
  69 + </view>
  70 +
  71 + <view class="gonglueboxitem">
  72 + <view class="gongboxtop">
  73 + <text class="textnum">01</text>
  74 + <text class="textwen">在闹中取静的西湖,体验地道的本土生活</text>
  75 + </view>
  76 +
  77 + <view class="gongboximg">
  78 + <image src="/img/dali.png"></image>
  79 + </view>
  80 +
  81 + <view class="gongboxtext">杭州处于亚热带季风区,四季分明,、夏季气候炎热,湿润,是新四大火炉之一。相反,冬季寒冷,干燥。春秋两季气候宜人,是观光旅游的黄金季节。</view>
  82 + </view>
  83 +
  84 +
  85 + <view class="gonglueboxitem">
  86 + <view class="gongboxtop">
  87 + <text class="textnum">01</text>
  88 + <text class="textwen">在闹中取静的西湖,体验地道的本土生活</text>
  89 + </view>
  90 +
  91 + <view class="gongboximg">
  92 + <image src="/img/dali.png"></image>
  93 + </view>
  94 +
  95 + <view class="gongboxtext">杭州处于亚热带季风区,四季分明,、夏季气候炎热,湿润,是新四大火炉之一。相反,冬季寒冷,干燥。春秋两季气候宜人,是观光旅游的黄金季节。</view>
  96 + </view>
  97 +
  98 + <view class="gonglueboxitem">
  99 + <view class="gongboxtop">
  100 + <text class="textnum">01</text>
  101 + <text class="textwen">在闹中取静的西湖,体验地道的本土生活</text>
  102 + </view>
  103 +
  104 + <view class="gongboximg">
  105 + <image src="/img/dali.png"></image>
  106 + </view>
  107 +
  108 + <view class="gongboxtext">杭州处于亚热带季风区,四季分明,、夏季气候炎热,湿润,是新四大火炉之一。相反,冬季寒冷,干燥。春秋两季气候宜人,是观光旅游的黄金季节。</view>
  109 + </view>
  110 + </view>
  111 +
  112 +
  113 +</view>
  114 +
  115 +
  116 +<view class="ongbottom">
  117 + <view class="gongbottmleft">
  118 +
  119 + <view class="gongimgtop">
  120 + <view class="gongbotleftimg">
  121 + <image src="/img/xin.png"></image>
  122 + </view>
  123 +
  124 + <view class="gongimgtext">已种草</view>
  125 +
  126 + </view>
  127 +
  128 + <view class="bongbotrig">
  129 +
  130 + <text class="buyname">购买会员免费入住</text>
  131 +
  132 +
  133 +
  134 + <view class="redyou">
  135 + <image src="/img/redyou.png"></image>
  136 + </view>
  137 +
  138 + </view>
  139 + </view>
  140 +
  141 + <view class="gongbottmright">攻略中的民宿</view>
  142 +
  143 +
  144 +</view>
  1 +page {
  2 + background: #fff;
  3 +}
  4 +
  5 +.gongdetailtop {
  6 + width: 750rpx;
  7 + height: 376rpx;
  8 + font-size: 0;
  9 + position: relative;
  10 +}
  11 +
  12 +.dongdetailbot {
  13 + position: absolute;
  14 + top: 46rpx;
  15 + right: 0;
  16 +}
  17 +
  18 +.topimg {
  19 + width: 142rpx;
  20 + height: 48rpx;
  21 + font-size: 0;
  22 + position: relative;
  23 +}
  24 +
  25 +.zhongcaoname {
  26 + color: #fff;
  27 + font-size: 24rpx;
  28 + position: absolute;
  29 + top: 6rpx;
  30 + right: 14rpx;
  31 +}
  32 +
  33 +.gongdetailbox {
  34 + padding: 0 32rpx;
  35 + box-sizing: border-box;
  36 +}
  37 +
  38 +.detailboxtop {
  39 + color: #06121e;
  40 + font-size: 40rpx;
  41 + font-weight: bold;
  42 + margin-top: 40rpx;
  43 +}
  44 +
  45 +.detailboxhead {
  46 + border-bottom: 24rpx solid #f9f9f9;
  47 +}
  48 +
  49 +.detailboxbotm {
  50 + display: flex;
  51 + align-items: center;
  52 + padding: 32rpx 0;
  53 + box-sizing: border-box;
  54 +}
  55 +
  56 +.detailboxbotleft {
  57 + width: 35rpx;
  58 + height: 33rpx;
  59 + font-size: 0;
  60 +}
  61 +
  62 +.detailboxbotright {
  63 + color: #06121e;
  64 + font-size: 28rpx;
  65 + margin-left: 20rpx;
  66 + width: 615rpx;
  67 + overflow: hidden;
  68 + text-overflow: ellipsis;
  69 + white-space: nowrap;
  70 +}
  71 +
  72 +.gongboximg {
  73 + width: 684rpx;
  74 + height: 392rpx;
  75 + font-size: 0;
  76 + margin-top: 20rpx;
  77 +}
  78 +
  79 +.gongboxtext {
  80 + color: #06121e;
  81 + font-size: 28rpx;
  82 + margin-top: 40rpx;
  83 +}
  84 +
  85 +.textnum {
  86 + color: #06121e;
  87 + font-size: 44rpx;
  88 + font-weight: bold;
  89 +}
  90 +
  91 +.textwen {
  92 + color: #06121e;
  93 + font-size: 36rpx;
  94 + font-weight: bold;
  95 + margin-left: 10rpx;
  96 +}
  97 +
  98 +.gonglueboxitem {
  99 + margin-bottom: 24rpx;
  100 +}
  101 +
  102 +.gongboxtop {
  103 + margin-top: 50rpx;
  104 +}
  105 +
  106 +.gongbottmleft {
  107 + display: flex;
  108 + align-items: center;
  109 + padding: 8rpx 32rpx;
  110 + box-sizing: border-box;
  111 +}
  112 +
  113 +.gongbotleftimg {
  114 + width: 60rpx;
  115 + height: 50rpx;
  116 + font-size: 0;
  117 +}
  118 +
  119 +.ongbottom {
  120 +
  121 + display:flex;
  122 + align-items: center;
  123 + justify-content: space-between
  124 +}
  125 +
  126 +.gongimgtext {
  127 + color: #ff5a4e;
  128 + font-size: 24rpx;
  129 +}
  130 +
  131 +.bongbotrig {
  132 + color: #ff5a4e;
  133 + font-size: 22rpx;
  134 + margin-left: 74rpx;
  135 + display:flex;
  136 + align-items: center
  137 +}
  138 +
  139 +.gongbottmright {
  140 + width: 296rpx;
  141 + height: 98rpx;
  142 + background: linear-gradient(180deg, rgba(252, 169, 162, 1) 0%, rgba(255, 119, 117, 1) 100%);
  143 + opacity: 1;
  144 + color:#fff;
  145 + font-size: 32rpx;
  146 + text-align: center;
  147 + line-height: 98rpx;
  148 +
  149 +}
  150 +.sanjiao{
  151 + font-size: 30rpx;
  152 +}
  153 +
  154 +.redyou{
  155 + width:20rpx;
  156 + height:20rpx;
  157 + font-size: 0;
  158 + margin-left:10rpx;
  159 +}
  160 +.swiper_image{
  161 + position: relative
  162 +}
  1 +// pages/hoteldetail/hoteldetail.js
  2 +Page({
  3 +
  4 + /**
  5 + * 页面的初始数据
  6 + */
  7 + data: {
  8 + imgUrls: [
  9 + '/img/tuijianimg1.png',
  10 + '/img/tuijianimg1.png',
  11 + '/img/tuijianimg1.png',
  12 + ],
  13 + indicatorDots: false,
  14 + autoplay: true,
  15 + interval: 2000,
  16 + duration: 1000,
  17 + currentSwiper: 0,
  18 + selitem:4
  19 + },
  20 +
  21 + /**
  22 + * 生命周期函数--监听页面加载
  23 + */
  24 + onLoad: function (options) {
  25 +
  26 + },
  27 +
  28 + selkind(e){
  29 + this.setData({
  30 + selitem:e.currentTarget.dataset.type
  31 + })
  32 + },
  33 + swiperChange: function (e) {
  34 + this.setData({
  35 + currentSwiper: e.detail.current
  36 + })
  37 + },
  38 + /**
  39 + * 生命周期函数--监听页面初次渲染完成
  40 + */
  41 + onReady: function () {
  42 +
  43 + },
  44 +
  45 + /**
  46 + * 生命周期函数--监听页面显示
  47 + */
  48 + onShow: function () {
  49 +
  50 + },
  51 +
  52 + /**
  53 + * 生命周期函数--监听页面隐藏
  54 + */
  55 + onHide: function () {
  56 +
  57 + },
  58 +
  59 + /**
  60 + * 生命周期函数--监听页面卸载
  61 + */
  62 + onUnload: function () {
  63 +
  64 + },
  65 +
  66 + /**
  67 + * 页面相关事件处理函数--监听用户下拉动作
  68 + */
  69 + onPullDownRefresh: function () {
  70 +
  71 + },
  72 +
  73 + /**
  74 + * 页面上拉触底事件的处理函数
  75 + */
  76 + onReachBottom: function () {
  77 +
  78 + },
  79 +
  80 + /**
  81 + * 用户点击右上角分享
  82 + */
  83 + onShareAppMessage: function () {
  84 +
  85 + }
  86 +})
  1 +{
  2 + "navigationBarTitleText": "酒店详情"
  3 +}
  1 +<view class="swiper_image">
  2 + <swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" class="swiper_item_img" bindchange="swiperChange">
  3 + <block wx:for="{{imgUrls}}" wx:key="doct">
  4 + <swiper-item style="border-radius:10px;">
  5 + <image src="{{item}}" data-index='{{index}}' class="slide-image" bindtap='viewImg' width="355" height="150" />
  6 + </swiper-item>
  7 + </block>
  8 + </swiper>
  9 +
  10 + <view class="dots">
  11 + <block wx:for="{{imgUrls}}" wx:key="">
  12 + <view class="dot{{index == currentSwiper ? ' active' : ''}}"></view>
  13 + </block>
  14 + </view>
  15 +
  16 +</view>
  17 +
  18 +<view class="minsuintor">
  19 + <view class="minsutou">蔓图精品民宿</view>
  20 +
  21 + <view class="suconcatbox">
  22 + <view class="suhead suheadone">
  23 + <view class="suheadleft">
  24 + <view class="suheadleimg">
  25 + <image src="/img/ditu.png"></image>
  26 + </view>
  27 +
  28 + <view class="sunheadword">北京海淀区蔓图精品民宿</view>
  29 +
  30 +
  31 + </view>
  32 +
  33 + <view class="suheadright">
  34 + <image src="/img/dianhua.png"></image>
  35 + </view>
  36 + </view>
  37 +
  38 + <view class="suhead suheadsec">
  39 + <view class="suheadleft">
  40 + <view class="suheadleimg">
  41 + <image src="/img/haibao.png"></image>
  42 + </view>
  43 +
  44 + <view class="sunheadword">08月29日-08月31日</view>
  45 + </view>
  46 + <view class="ruzhuright">
  47 + <view class="ruzhu">
  48 + 入住
  49 + <text class="ruzhunum">2</text>晚
  50 + </view>
  51 +
  52 + <view class="ruzhuyou">
  53 + <image src="/img/yourow.png"></image>
  54 + </view>
  55 + </view>
  56 +
  57 + </view>
  58 + </view>
  59 +</view>
  60 +
  61 +<view class="minsulist">
  62 + <view class='minsuitem {{selitem==1?"selactive":""}}' bindtap="selkind" data-type="1">房型介绍</view>
  63 + <view class='minsuitem {{selitem==2?"selactive":""}}' bindtap="selkind" data-type="2">酒店介绍</view>
  64 + <view class='minsuitem {{selitem==3?"selactive":""}}' bindtap="selkind" data-type="3">入住须知</view>
  65 + <view class='minsuitem {{selitem==4?"selactive":""}}' bindtap="selkind" data-type="4">游玩攻略</view>
  66 +</view>
  67 +
  68 +
  69 +<!-- 房型介绍 -->
  70 +
  71 +<view class="fangxing" wx:if="{{selitem==1}}">
  72 + <view class="jiudainjie">
  73 + <view class="jiudianjieleft">酒店介绍</view>
  74 + <view class="judianjieright">
  75 + <image src="/img/yourow.png"></image>
  76 + </view>
  77 + </view>
  78 +
  79 + <view class="jiudainjie fuwujie">
  80 + <view class="jiudianjieleft">设施服务</view>
  81 + <view class="judianjieright">
  82 + <image src="/img/yourow.png"></image>
  83 + </view>
  84 + </view>
  85 +
  86 +</view>
  87 +
  88 +<!-- 酒店介绍 -->
  89 +<view class="jiudianbigbox" wx:if="{{selitem==2}}">
  90 +
  91 +
  92 + <view class="jiudianintortext">
  93 + <view class="jiudainjieintro">
  94 + <view class="jiudianjieleft">酒店介绍</view>
  95 + <view class="judianjieright intoryou">
  96 + <image src="/img/yourow.png"></image>
  97 + </view>
  98 + </view>
  99 +
  100 + <view class="jiudiancontentitem">
  101 + <view class="jiudianboxtop">
  102 + <view class="jiudiantopleft">
  103 + <image src="/img/jieshaojiu.png"></image>
  104 + </view>
  105 + <view class="jiudianhuan">周边环境</view>
  106 +
  107 + </view>
  108 +
  109 + <view class="zhoubiantext">
  110 + 上海艾格瑞公寓位于具有“上海缩影”之称的虹口,坐拥浦江繁华内环核心,占据内环具有价值“黄金三角生活圈”。公寓毗邻瑞虹天地商圈、四川北路商圈、海伦路商圈之众多商场和写字楼,步行可达和平公园、鲁迅公园、1933老场坊、多伦路文化名人街,乘车前往外滩、陆家嘴约十余分钟。   公寓设有标准层和行政层,标准层设有7种各具特色的北欧风房型,行政层设有3种舒适简约套房房型,每间房间配有无线上网服务。
  111 + </view>
  112 + </view>
  113 +
  114 + <view class="jiudiancontentitem">
  115 + <view class="jiudianboxtop">
  116 + <view class="jiudiantopleft">
  117 + <image src="/img/shejistyle.png"></image>
  118 + </view>
  119 + <view class="jiudianhuan">设计风格</view>
  120 +
  121 + </view>
  122 +
  123 + <view class="zhoubiantext">
  124 + 酒店设计现代、简约。 游玩回到水晶可以在露台喝茶聊天,看书发呆。尽情享受度假时光。
  125 + </view>
  126 + </view>
  127 + <view class="jiudiancontentitem">
  128 + <view class="jiudianboxtop">
  129 + <view class="jiudiantopleft">
  130 + <image src="/img/jiaotong.png"></image>
  131 + </view>
  132 + <view class="jiudianhuan">交通路线</view>
  133 +
  134 + </view>
  135 +
  136 + <view class="zhoubiantext">
  137 + 酒店临近16号线永丰南站,步行4分钟即可到达地铁站;
  138 + </view>
  139 + </view>
  140 +
  141 + <view class="jiudiancontentitem">
  142 + <view class="jiudianboxtop">
  143 + <view class="jiudiantopleft">
  144 + <image src="/img/tuijianreson.png"></image>
  145 + </view>
  146 + <view class="jiudianhuan">推荐理由</view>
  147 +
  148 + </view>
  149 +
  150 + <view class="zhoubiantext">
  151 + 公寓内还设有健身房、咖啡厅、公共会客厅、棋牌桌游吧、会议室、商务中心等设施。在这里,可以充分感受上海气息的品质居住体验,愿能成为您商务、旅行下榻的优选。
  152 + </view>
  153 + </view>
  154 +
  155 +
  156 + </view>
  157 +
  158 +
  159 +
  160 + <!-- 设施服务 -->
  161 +
  162 + <view class="jiudianintortext">
  163 + <view class="jiudainjieintro">
  164 + <view class="jiudianjieleft">设施服务</view>
  165 + <view class="judianjieright intoryou">
  166 + <image src="/img/yourow.png"></image>
  167 + </view>
  168 + </view>
  169 +
  170 + <view class="jiaotong">
  171 +
  172 + <view class="jiaotongitem">
  173 + <view class="jiaotongtop">交通服务</view>
  174 +
  175 + <view class="jiaotongbottom">
  176 + <view class="jiaotongbottomitem">
  177 + <view class="jiaotongitemleft">
  178 + <image src="/img/duigou.png"></image>
  179 + </view>
  180 + <view class="jiaotongitemname">免费停车</view>
  181 + </view>
  182 +
  183 + <view class="jiaotongbottomitem">
  184 + <view class="jiaotongitemleft">
  185 + <image src="/img/duigou.png"></image>
  186 + </view>
  187 + <view class="jiaotongitemname">自行车租赁服务</view>
  188 + </view>
  189 + </view>
  190 + </view>
  191 +
  192 + <view class="jiaotongitem">
  193 + <view class="jiaotongtop">餐饮服务</view>
  194 +
  195 + <view class="jiaotongbottom">
  196 + <view class="jiaotongbottomitem">
  197 + <view class="jiaotongitemleft">
  198 + <image src="/img/duigou.png"></image>
  199 + </view>
  200 + <view class="jiaotongitemname">中餐厅</view>
  201 + </view>
  202 +
  203 + <view class="jiaotongbottomitem">
  204 + <view class="jiaotongitemleft">
  205 + <image src="/img/duigou.png"></image>
  206 + </view>
  207 + <view class="jiaotongitemname">咖啡厅</view>
  208 + </view>
  209 +
  210 + <view class="jiaotongbottomitem">
  211 + <view class="jiaotongitemleft">
  212 + <image src="/img/duigou.png"></image>
  213 + </view>
  214 + <view class="jiaotongitemname">送餐服务</view>
  215 + </view>
  216 +
  217 + <view class="jiaotongbottomitem">
  218 + <view class="jiaotongitemleft">
  219 + <image src="/img/duigou.png"></image>
  220 + </view>
  221 + <view class="jiaotongitemname">烧烤</view>
  222 + </view>
  223 + </view>
  224 + </view>
  225 +
  226 + <view class="jiaotongitem">
  227 + <view class="jiaotongtop">网络设施</view>
  228 +
  229 + <view class="jiaotongbottom">
  230 + <view class="jiaotongbottomitem">
  231 + <view class="jiaotongitemleft">
  232 + <image src="/img/duigou.png"></image>
  233 + </view>
  234 + <view class="jiaotongitemname">客房WIFI</view>
  235 + </view>
  236 +
  237 + <view class="jiaotongbottomitem">
  238 + <view class="jiaotongitemleft">
  239 + <image src="/img/duigou.png"></image>
  240 + </view>
  241 + <view class="jiaotongitemname">公共区域WIFI</view>
  242 + </view>
  243 + </view>
  244 + </view>
  245 +
  246 +
  247 + <view class="jiaotongitem">
  248 + <view class="jiaotongtop">娱乐和健身设施</view>
  249 +
  250 + <view class="jiaotongbottom">
  251 + <view class="jiaotongbottomitem">
  252 + <view class="jiaotongitemleft">
  253 + <image src="/img/duigou.png"></image>
  254 + </view>
  255 + <view class="jiaotongitemname">茶室</view>
  256 + </view>
  257 +
  258 + <view class="jiaotongbottomitem">
  259 + <view class="jiaotongitemleft">
  260 + <image src="/img/duigou.png"></image>
  261 + </view>
  262 + <view class="jiaotongitemname">健身房</view>
  263 + </view>
  264 + </view>
  265 + </view>
  266 +
  267 +
  268 + <view class="jiaotongitem">
  269 + <view class="jiaotongtop">服务项目</view>
  270 +
  271 + <view class="jiaotongbottom">
  272 + <view class="jiaotongbottomitem">
  273 + <view class="jiaotongitemleft">
  274 + <image src="/img/duigou.png"></image>
  275 + </view>
  276 + <view class="jiaotongitemname">会议室</view>
  277 + </view>
  278 +
  279 + <view class="jiaotongbottomitem">
  280 + <view class="jiaotongitemleft">
  281 + <image src="/img/duigou.png"></image>
  282 + </view>
  283 + <view class="jiaotongitemname">全天前天</view>
  284 + </view>
  285 + </view>
  286 + </view>
  287 +
  288 + </view>
  289 +
  290 +
  291 +
  292 + </view>
  293 +
  294 +
  295 +
  296 +</view>
  297 +<!-- 入住须知 -->
  298 +
  299 +<view class="ruzhuxuzhi" wx:if="{{selitem==3}}">
  300 + <view class="ruzhuxuname">入住须知</view>
  301 + <view></view>
  302 +
  303 +</view>
  304 +
  305 +<!-- 游玩攻略 -->
  306 +<view class="youwangong" wx:if="{{selitem==4}}">
  307 +
  308 + <view class="youwanitem">
  309 + <view class="youwantop">在·杭州</view>
  310 +
  311 + <view class="youwantextname">为您解锁地区</view>
  312 +
  313 + <view class='youwanimgbox'>
  314 + <view class="youwanimg">
  315 + <image src="/img/lineimg2.png"></image>
  316 + </view>
  317 + <view class="youwanimg">
  318 + <image src="/img/lineimg2.png"></image>
  319 + </view>
  320 + <view class="youwanimg">
  321 + <image src="/img/lineimg2.png"></image>
  322 + </view>
  323 + </view>
  324 +
  325 + <view class="youwantext">杭州处于亚热带季风区,四季分明,、夏季气候炎热,湿润,是新四大火炉之一。相反,冬季寒冷,干燥。春秋两季气候宜人,是观光旅游的黄金季节。</view>
  326 + </view>
  327 + <view class="youwanitem">
  328 + <view class="youwantop">在·杭州</view>
  329 +
  330 + <view class="youwantextname">为您解锁地区</view>
  331 +
  332 + <view class='youwanimgbox'>
  333 + <view class="youwanimg">
  334 + <image src="/img/lineimg2.png"></image>
  335 + </view>
  336 + <view class="youwanimg">
  337 + <image src="/img/lineimg2.png"></image>
  338 + </view>
  339 + <view class="youwanimg">
  340 + <image src="/img/lineimg2.png"></image>
  341 + </view>
  342 + </view>
  343 +
  344 + <view class="youwantext">杭州处于亚热带季风区,四季分明,、夏季气候炎热,湿润,是新四大火炉之一。相反,冬季寒冷,干燥。春秋两季气候宜人,是观光旅游的黄金季节。</view>
  345 + </view>
  346 + <view class="youwanitem">
  347 + <view class="youwantop">在·杭州</view>
  348 +
  349 + <view class="youwantextname">为您解锁地区</view>
  350 +
  351 + <view class='youwanimgbox'>
  352 + <view class="youwanimg">
  353 + <image src="/img/lineimg2.png"></image>
  354 + </view>
  355 + <view class="youwanimg">
  356 + <image src="/img/lineimg2.png"></image>
  357 + </view>
  358 + <view class="youwanimg">
  359 + <image src="/img/lineimg2.png"></image>
  360 + </view>
  361 + </view>
  362 +
  363 + <view class="youwantext">杭州处于亚热带季风区,四季分明,、夏季气候炎热,湿润,是新四大火炉之一。相反,冬季寒冷,干燥。春秋两季气候宜人,是观光旅游的黄金季节。</view>
  364 + </view>
  365 + <view class="youwanitem">
  366 + <view class="youwantop">在·杭州</view>
  367 +
  368 + <view class="youwantextname">为您解锁地区</view>
  369 +
  370 + <view class='youwanimgbox'>
  371 + <view class="youwanimg">
  372 + <image src="/img/lineimg2.png"></image>
  373 + </view>
  374 + <view class="youwanimg">
  375 + <image src="/img/lineimg2.png"></image>
  376 + </view>
  377 + <view class="youwanimg">
  378 + <image src="/img/lineimg2.png"></image>
  379 + </view>
  380 + </view>
  381 +
  382 + <view class="youwantext">杭州处于亚热带季风区,四季分明,、夏季气候炎热,湿润,是新四大火炉之一。相反,冬季寒冷,干燥。春秋两季气候宜人,是观光旅游的黄金季节。</view>
  383 + </view>
  384 + <view class="youwanitem">
  385 + <view class="youwantop">在·杭州</view>
  386 +
  387 + <view class="youwantextname">为您解锁地区</view>
  388 +
  389 + <view class='youwanimgbox'>
  390 + <view class="youwanimg">
  391 + <image src="/img/lineimg2.png"></image>
  392 + </view>
  393 + <view class="youwanimg">
  394 + <image src="/img/lineimg2.png"></image>
  395 + </view>
  396 + <view class="youwanimg">
  397 + <image src="/img/lineimg2.png"></image>
  398 + </view>
  399 + </view>
  400 +
  401 + <view class="youwantext">杭州处于亚热带季风区,四季分明,、夏季气候炎热,湿润,是新四大火炉之一。相反,冬季寒冷,干燥。春秋两季气候宜人,是观光旅游的黄金季节。</view>
  402 + </view>
  403 +
  404 +</view>
  405 +
  406 +<view class="jiudianbottom">
  407 + <view class="jiudianbottomleft">
  408 + <view class="jiudianitem">
  409 + <view class="jiudianitemtop">
  410 + <image src="/img/pin.png"></image>
  411 + </view>
  412 +
  413 + <view class="jiudianitembot">首页</view>
  414 + </view>
  415 + <view class="jiudianitem">
  416 + <view class="jiudianitemtop">
  417 + <image src="/img/kefu.png"></image>
  418 + </view>
  419 +
  420 + <view class="jiudianitembot kename">客服</view>
  421 + </view>
  422 + <view class="jiudianitem">
  423 + <view class="jiudianitemtop">
  424 + <image src="/img/shou.png"></image>
  425 + </view>
  426 +
  427 + <view class="jiudianitembot">收藏</view>
  428 + </view>
  429 + </view>
  430 +
  431 + <view class="jiudianbottomright">购买会员免费入住</view>
  432 +</view>
  1 +page {
  2 + background: #f7f7f7;
  3 +}
  4 +
  5 +.minsuintor {
  6 + padding: 40rpx 44rpx;
  7 + box-sizing: border-box;
  8 + background: #fff;
  9 +}
  10 +
  11 +.minsutou {
  12 + color: #06121e;
  13 + font-size: 38rpx;
  14 + font-weight: bold;
  15 +}
  16 +
  17 +.suhead {
  18 + display: flex;
  19 + align-items: center;
  20 + justify-content: space-between;
  21 + padding: 30rpx 32rpx 30rpx 0;
  22 + box-sizing: border-box;
  23 +}
  24 +
  25 +.suheadone {
  26 + margin-top: 32rpx;
  27 +}
  28 +
  29 +.suheadsec {
  30 + margin-top: 16rpx;
  31 +}
  32 +
  33 +.suheadleft {
  34 + display: flex;
  35 + align-items: center;
  36 +}
  37 +
  38 +.suheadleimg {
  39 + width: 40rpx;
  40 + height: 40rpx;
  41 + font-size: 0;
  42 +}
  43 +
  44 +.sunheadword {
  45 + color: #06121e;
  46 + font-size: 28rpx;
  47 + margin-left: 12rpx;
  48 +}
  49 +
  50 +.suheadright {
  51 + width: 44rpx;
  52 + height: 44rpx;
  53 + font-size: 0;
  54 +}
  55 +
  56 +.ruzhu {
  57 + color: #06121e;
  58 + font-size: 28rpx;
  59 +}
  60 +
  61 +.ruzhunum {
  62 + color: #ff5a4e;
  63 + font-size: 28rpx;
  64 +}
  65 +
  66 +.ruzhuright {
  67 + display: flex;
  68 + align-items: center;
  69 +}
  70 +
  71 +.ruzhuyou {
  72 + width: 18rpx;
  73 + height: 18rpx;
  74 + font-size: 0;
  75 + margin-left: 16rpx;
  76 +}
  77 +
  78 +.minsulist {
  79 + display: flex;
  80 + align-items: center;
  81 + padding: 32rpx 58rpx;
  82 + box-sizing: border-box;
  83 + justify-content: space-between;
  84 + background: #fff;
  85 +}
  86 +
  87 +.minsuitem {
  88 + color: #06121e;
  89 + font-size: 26rpx;
  90 +}
  91 +
  92 +.selactive {
  93 + color: #06121e;
  94 + font-size: 38rpx;
  95 + font-weight: bold;
  96 + position: relative;
  97 +}
  98 +
  99 +.selactive::after {
  100 + position: absolute;
  101 + display: block;
  102 + content: '';
  103 + width: 48rpx;
  104 + height: 6rpx;
  105 + background: #ff5a4e;
  106 + left: 50%;
  107 + right: 50%;
  108 + transform: translateX(-50%);
  109 + bottom: -12rpx;
  110 + border-radius: 4rpx;
  111 +}
  112 +
  113 +.judianjieright {
  114 + width: 34rpx;
  115 + height: 34rpx;
  116 + font-size: 0;
  117 +}
  118 +
  119 +.jiudainjie {
  120 + width: 686rpx;
  121 + margin: 24rpx auto;
  122 + padding: 38rpx 32rpx;
  123 + box-sizing: border-box;
  124 + display: flex;
  125 + align-items: center;
  126 + justify-content: space-between;
  127 + box-shadow: 0px 16rpx 24rpx rgba(0, 0, 0, 0.02);
  128 + opacity: 1;
  129 + border-radius: 20rpx;
  130 + background: #fff;
  131 +}
  132 +
  133 +.jiudainjieintro {
  134 + display: flex;
  135 + align-items: center;
  136 + justify-content: space-between;
  137 + padding: 40rpx 0;
  138 + box-sizing: border-box;
  139 +}
  140 +
  141 +.jiudianjieleft {
  142 + color: #06121e;
  143 + font-size: 32rpx;
  144 + font-weight: bold;
  145 +}
  146 +
  147 +.fuwujie {
  148 + margin-bottom: 52rpx;
  149 +}
  150 +
  151 +.jiudianbottomleft {
  152 + display: flex;
  153 + align-items: center;
  154 + justify-content: space-between;
  155 + padding: 12rpx 34rpx;
  156 + box-sizing: border-box;
  157 + width: 350rpx;
  158 + background: #fff;
  159 +}
  160 +
  161 +.jiudianbottomright {
  162 + width: 400rpx;
  163 + height: 98rpx;
  164 + background: linear-gradient(180deg, rgba(252, 169, 162, 1) 0%, rgba(255, 119, 117, 1) 100%);
  165 + opacity: 1;
  166 + color: #fff;
  167 + font-size: 32rpx;
  168 + text-align: center;
  169 + line-height: 98rpx;
  170 +}
  171 +
  172 +.jiudianbottom {
  173 + display: flex;
  174 + align-items: center;
  175 + position: fixed;
  176 + bottom: 0;
  177 +}
  178 +
  179 +.jiudianitem {
  180 + display: flex;
  181 + flex-direction: column;
  182 + justify-content: center;
  183 + align-items: center;
  184 +}
  185 +
  186 +.jiudianitemtop {
  187 + width: 40rpx;
  188 + height: 40rpx;
  189 + font-size: 0;
  190 +}
  191 +
  192 +.jiudianitembot {
  193 + color: #bdc4ce;
  194 + font-size: 22rpx;
  195 +}
  196 +
  197 +.kename {
  198 + color: #ff5a4e;
  199 + font-size: 22rpx;
  200 +}
  201 +
  202 +.jiudianboxtop {
  203 + display: flex;
  204 + align-items: center;
  205 + margin-top: 38rpx;
  206 +}
  207 +
  208 +.jiudiantopleft {
  209 + width: 48rpx;
  210 + height: 48rpx;
  211 + font-size: 0;
  212 +}
  213 +
  214 +.jiudianintortext {
  215 + width: 686rpx;
  216 + margin: 24rpx auto 0;
  217 + padding: 0 32rpx 24rpx;
  218 + box-sizing: border-box;
  219 + box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.02);
  220 + opacity: 1;
  221 + border-radius: 20px;
  222 + background: #fff;
  223 +}
  224 +
  225 +.jiudianhuan {
  226 + color: #06121e;
  227 + font-size: 32rpx;
  228 + margin-left: 10rpx;
  229 +}
  230 +
  231 +.zhoubiantext {
  232 + color: #5b5e63;
  233 + font-size: 28rpx;
  234 + margin-top: 24rpx;
  235 +}
  236 +
  237 +.jiudianbigbox {
  238 + margin-bottom: 156rpx;
  239 +}
  240 +
  241 +.jiaotongtop {
  242 + color: #06121e;
  243 + font-size: 30rpx;
  244 +}
  245 +
  246 +.jiaotongitemleft {
  247 + width: 48rpx;
  248 + height: 48rpx;
  249 + font-size: 0;
  250 +}
  251 +
  252 +.jiaotongbottomitem {
  253 + display: flex;
  254 + align-items: center;
  255 + margin-top: 16rpx;
  256 + margin-right: 40rpx;
  257 +}
  258 +
  259 +.jiaotongitemname {
  260 + color: #5b5e63;
  261 + font-size: 28rpx;
  262 + margin-left: 12rpx;
  263 +}
  264 +
  265 +.jiaotongbottom {
  266 + display: flex;
  267 + align-items: center;
  268 + flex-wrap: wrap;
  269 +}
  270 +
  271 +.jiaotongitem {
  272 + margin-top: 20rpx;
  273 +}
  274 +
  275 +.fangxing {
  276 + margin-bottom: 146rpx;
  277 +}
  278 +
  279 +.intoryou {
  280 + width: 30rpx;
  281 + height: 30rpx;
  282 + font-size: 0;
  283 + transform: rotate(90deg);
  284 +}
  285 +
  286 +/* 入住须知 */
  287 +
  288 +.ruzhuxuzhi {
  289 + width: 686rpx;
  290 +
  291 + background: rgba(255, 255, 255, 1);
  292 + box-shadow: 0px 16rpx 24rpx rgba(0, 0, 0, 0.02);
  293 + opacity: 1;
  294 + border-radius: 20rpx;
  295 + padding: 40rpx 32rpx;
  296 + box-sizing: border-box;
  297 + margin: 24rpx auto 0;
  298 +}
  299 +.ruzhuxuname{
  300 + color:#06121E;
  301 + font-size: 32rpx;
  302 + font-weight: bold;
  303 +
  304 +}
  305 +.youwangong{
  306 + /* padding: 50rpx 0rpx 50rpx 32rpx;
  307 + box-sizing: border-box; */
  308 + background: #fff;
  309 + margin-top:24rpx;
  310 + margin-bottom:156rpx;
  311 +}
  312 +.youwanitem{
  313 + padding:50rpx 0 50rpx 32rpx;
  314 + box-sizing: border-box
  315 +}
  316 +
  317 +/* 游玩攻略 */
  318 +.youwantop{
  319 + color:#06121E;
  320 + font-size: 36rpx;
  321 + font-weight:bold;
  322 +}
  323 +.youwantextname{
  324 + color:#8C9198;
  325 + font-size: 24rpx;
  326 + margin-top:5rpx;
  327 +
  328 +}
  329 +.youwanimgbox{
  330 + display:flex;
  331 + align-items: center;
  332 + overflow-x: scroll;
  333 + margin-top:34rpx;
  334 +
  335 +}
  336 +.youwanimg{
  337 + width:670rpx;
  338 + height: 392rpx;
  339 + font-size: 0;
  340 + flex:0 0 auto;
  341 + margin-right:20rpx;
  342 +}
  343 +.youwantext{
  344 + color:#06121E;
  345 + font-size: 28rpx;
  346 + width:656rpx;
  347 + margin:34rpx auto 0;
  348 +}
  1 +// pages/houselist/houselist.js
  2 +Page({
  3 +
  4 + /**
  5 + * 页面的初始数据
  6 + */
  7 + data: {
  8 + showlist:false
  9 + },
  10 +
  11 + /**
  12 + * 生命周期函数--监听页面加载
  13 + */
  14 + onLoad: function (options) {
  15 +
  16 + },
  17 +
  18 + /**
  19 + * 生命周期函数--监听页面初次渲染完成
  20 + */
  21 + onReady: function () {
  22 +
  23 + },
  24 +
  25 + /**
  26 + * 生命周期函数--监听页面显示
  27 + */
  28 + onShow: function () {
  29 +
  30 + },
  31 +
  32 + /**
  33 + * 生命周期函数--监听页面隐藏
  34 + */
  35 + onHide: function () {
  36 +
  37 + },
  38 +
  39 + /**
  40 + * 生命周期函数--监听页面卸载
  41 + */
  42 + onUnload: function () {
  43 +
  44 + },
  45 +
  46 + /**
  47 + * 页面相关事件处理函数--监听用户下拉动作
  48 + */
  49 + onPullDownRefresh: function () {
  50 +
  51 + },
  52 +
  53 + /**
  54 + * 页面上拉触底事件的处理函数
  55 + */
  56 + onReachBottom: function () {
  57 +
  58 + },
  59 +
  60 + /**
  61 + * 用户点击右上角分享
  62 + */
  63 + onShareAppMessage: function () {
  64 +
  65 + }
  66 +})
  1 +{
  2 + "navigationBarTitleText": "房源列表"
  3 +}
  1 +<view class="headlist">
  2 + <view class="headlistleft">
  3 + <view class="leftimg">
  4 + <image src="/img/sousuo.png"></image>
  5 + </view>
  6 + <view class="headenter">
  7 + <input placeholder='' placeholder-class="enterword" />
  8 + </view>
  9 + </view>
  10 +
  11 + <view class="housetime">
  12 + <view class="houseleft">
  13 + <view class="houselefttop">08月21日</view>
  14 + <view class="houseleftbottom">(周三入住)</view>
  15 + </view>
  16 +
  17 + <view class="middletime">
  18 +
  19 + <view class="housemiddle">
  20 + <view class="housemiddletop">共2晚</view>
  21 + <image src="/img/rowright.png"></image>
  22 + </view>
  23 + </view>
  24 +
  25 + <view class="houseleft">
  26 + <view class="houselefttop">08月21日</view>
  27 + <view class="houseleftbottom">(周三入住)</view>
  28 + </view>
  29 + </view>
  30 +
  31 +
  32 + <view class="tuijian">
  33 +
  34 + <view class="nodata" wx:if="{{showlist}}">
  35 +
  36 + <view class="nodataimg">
  37 + <image src="/img/tuijian.png"></image>
  38 + </view>
  39 +
  40 + <view class="nodatatext">
  41 + 您搜索的 <text class="area">北京</text> 区域房源正在准备中,上线后将第一时间推送到您的首页,敬请期待!
  42 + </view>
  43 +
  44 + </view>
  45 +
  46 +
  47 + <view class="tuijianlist" wx:else>
  48 + <view class="tuijianitem">
  49 + <view class="tuijainimg">
  50 + <image src="/img/tuijianimg1.png"></image>
  51 +
  52 + <view class='linethirname tuituname'>
  53 +
  54 + <view class="linethileft">
  55 + <image src="/img/weizhi.png"></image>
  56 + </view>
  57 + <view class="lineright">丽江 玉龙纳西族自治县</view>
  58 + </view>
  59 + </view>
  60 +
  61 + <view class="tuijianintro">
  62 + <view class="tuijianname">朗丽兹西山花园酒店</view>
  63 + <view class="tuijianleft">
  64 + <view class="tuijainleftname">吴镇蔓图精品民宿</view>
  65 + <view class="tuijianrightname">
  66 + <view class="tuitu">
  67 + <image src="/img/ditu.png"></image>
  68 + </view>
  69 +
  70 + <view class="dituname">海淀区蔓图精品民宿</view>
  71 + </view>
  72 + </view>
  73 +
  74 + <view class="kind">
  75 + <view class="lindleft">
  76 + <view class="leftitem">原木轻著</view>
  77 + <view class="leftitem">豪华精致</view>
  78 +
  79 + </view>
  80 + <view class="lieright">
  81 + <view class="lineleftmoney zhemoney">¥888</view>
  82 + <view class="lineleftmoney">会员免费</view>
  83 + </view>
  84 +
  85 + </view>
  86 + </view>
  87 + </view>
  88 +
  89 + <view class="tuijianitem">
  90 + <view class="tuijainimg">
  91 + <image src="/img/tuijianimg2.png"></image>
  92 +
  93 + <view class='linethirname tuituname'>
  94 +
  95 + <view class="linethileft">
  96 + <image src="/img/weizhi.png"></image>
  97 + </view>
  98 + <view class="lineright">丽江 玉龙纳西族自治县</view>
  99 + </view>
  100 + </view>
  101 +
  102 + <view class="tuijianintro">
  103 + <view class="tuijianname">朗丽兹西山花园酒店</view>
  104 + <view class="tuijianleft">
  105 + <view class="tuijainleftname">吴镇蔓图精品民宿</view>
  106 + <view class="tuijianrightname">
  107 + <view class="tuitu">
  108 + <image src="/img/ditu.png"></image>
  109 + </view>
  110 +
  111 + <view class="dituname">海淀区蔓图精品民宿</view>
  112 + </view>
  113 + </view>
  114 +
  115 + <view class="kind">
  116 + <view class="lindleft">
  117 + <view class="leftitem">原木轻著</view>
  118 + <view class="leftitem">豪华精致</view>
  119 +
  120 + </view>
  121 + <view class="lieright">
  122 + <view class="lineleftmoney zhemoney">¥888</view>
  123 + <view class="lineleftmoney">会员免费</view>
  124 + </view>
  125 +
  126 + </view>
  127 + </view>
  128 + </view>
  129 + <view class="tuijianitem">
  130 + <view class="tuijainimg">
  131 + <image src="/img/tuijianimg3.png"></image>
  132 +
  133 + <view class='linethirname tuituname'>
  134 +
  135 + <view class="linethileft">
  136 + <image src="/img/weizhi.png"></image>
  137 + </view>
  138 + <view class="lineright">丽江 玉龙纳西族自治县</view>
  139 + </view>
  140 + </view>
  141 +
  142 + <view class="tuijianintro">
  143 + <view class="tuijianname">朗丽兹西山花园酒店</view>
  144 + <view class="tuijianleft">
  145 + <view class="tuijainleftname">吴镇蔓图精品民宿</view>
  146 + <view class="tuijianrightname">
  147 + <view class="tuitu">
  148 + <image src="/img/ditu.png"></image>
  149 + </view>
  150 +
  151 + <view class="dituname">海淀区蔓图精品民宿</view>
  152 + </view>
  153 + </view>
  154 +
  155 + <view class="kind">
  156 + <view class="lindleft">
  157 + <view class="leftitem">原木轻著</view>
  158 + <view class="leftitem">豪华精致</view>
  159 +
  160 + </view>
  161 + <view class="lieright">
  162 + <view class="lineleftmoney zhemoney">¥888</view>
  163 + <view class="lineleftmoney">会员免费</view>
  164 + </view>
  165 +
  166 + </view>
  167 + </view>
  168 + </view>
  169 +
  170 + </view>
  171 + </view>
  172 +</view>
  1 +@import '../lixiangzhong/lixiangzhong.wxss';
  2 +page{
  3 + background: #fff
  4 +}
  5 +.headlistleft{
  6 + display:flex;
  7 + align-items: center;
  8 + justify-content: center;
  9 + padding: 40rpx 106rpx;
  10 + border-bottom:1rpx solid #f5f5f5;
  11 +}
  12 +.leftimg{
  13 + width:40rpx;
  14 + height:40rpx;
  15 + font-size: 0
  16 +}
  17 +.headenter input{
  18 + color:#8C9198;
  19 + font-size: 28rpx;
  20 +}
  21 +.headenter{
  22 + margin-left:20rpx;
  23 +}
  24 +.enterword{
  25 + color:#8C9198;
  26 + font-size: 28rpx;
  27 +}
  28 +.housetime{
  29 + display:flex;
  30 + align-items: center;
  31 + padding: 40rpx 106rpx;
  32 + box-sizing: border-box;
  33 + justify-content: space-between
  34 +}
  35 +.housemiddle{
  36 + width:96rpx;
  37 + height:56rpx;
  38 + font-size: 0;
  39 + position: relative
  40 +}
  41 +.houselefttop{
  42 + color:#06121E;
  43 + font-size: 36rpx;
  44 + font-weight: bold
  45 +}
  46 +.houseleftbottom{
  47 + color:#8C9198;
  48 + font-size:24rpx;
  49 + text-align: center;
  50 + margin-top:8rpx;
  51 +}
  52 +.housemiddletop{
  53 + width:80rpx;
  54 + color:#FF5A4E;
  55 + font-size: 24rpx;
  56 + text-align: center;
  57 + position: absolute;
  58 + top:-15rpx;
  59 +
  60 +}
  61 +.nodataimg{
  62 + width:356rpx;
  63 + height:210rpx;
  64 + font-size: 0;
  65 + margin:58rpx auto 0;
  66 +}
  67 +.nodatatext{
  68 + color:#8C9198;
  69 + font-size: 24rpx;
  70 + width:524rpx;
  71 + margin:24rpx auto 0;
  72 + line-height: 1.6
  73 +}
  74 +.area{
  75 + color:#06121E;
  76 + font-size: 24rpx;
  77 +}