作者 lihongjuan

3443443

正在显示 175 个修改的文件 包含 9311 行增加0 行删除
  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 +}
  1 +// pages/huiyuan/huiyuan.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='huiyuanpage'>
  2 + <image src="/img/sun_81.png"></image>
  3 + <view class="pinzhi">
  4 + <view class="pinzhitop">品质住宿 全年免费</view>
  5 +
  6 + <view class="pinzhilistbox">
  7 + <view class="pinzhilist">
  8 + <view class="pinzhileft">
  9 + <image src="/img/sun_21.png"></image>
  10 + </view>
  11 + <view class="pinzhiright">
  12 + <view class="buxiandiqu">不限地区</view>
  13 + <view class="pinzhibottom">全国范围消费任享</view>
  14 + </view>
  15 + </view>
  16 +
  17 +
  18 +
  19 + <view class="pinzhilist">
  20 + <view class="pinzhileft">
  21 + <image src="/img/sun_22.png"></image>
  22 + </view>
  23 + <view class="pinzhiright">
  24 + <view class="buxiandiqu">不限酒店</view>
  25 + <view class="pinzhibottom">合作度假酒店全部通用</view>
  26 + </view>
  27 + </view>
  28 +
  29 + <view class="pinzhilist">
  30 + <view class="pinzhileft">
  31 + <image src="/img/sun_23.png"></image>
  32 + </view>
  33 + <view class="pinzhiright">
  34 + <view class="buxiandiqu">不限时间</view>
  35 + <view class="pinzhibottom">节假日、周末均可入住</view>
  36 + </view>
  37 + </view>
  38 +
  39 + <view class="pinzhilist">
  40 + <view class="pinzhileft">
  41 + <image src="/img/sun_24.png"></image>
  42 + </view>
  43 + <view class="pinzhiright">
  44 + <view class="buxiandiqu">不限次数</view>
  45 + <view class="pinzhibottom">有效期内不限定房次数</view>
  46 + </view>
  47 + </view>
  48 + <view class="pinzhilist">
  49 + <view class="pinzhileft">
  50 + <image src="/img/sun_25.png"></image>
  51 + </view>
  52 + <view class="pinzhiright">
  53 + <view class="buxiandiqu">消费无忧</view>
  54 + <view class="pinzhibottom">不住也能抵游侠旅游代金劵</view>
  55 + </view>
  56 + </view>
  57 +
  58 + <view class="pinzhilist">
  59 + <view class="pinzhileft">
  60 + <image src="/img/sun_26.png"></image>
  61 + </view>
  62 + <view class="pinzhiright">
  63 + <view class="buxiandiqu">会员活动</view>
  64 + <view class="pinzhibottom">不定期下线活动,畅想会员特权</view>
  65 + </view>
  66 + </view>
  67 + </view>
  68 +
  69 +
  70 + </view>
  71 +</view>
  72 +
  73 +<view class="dainilaiojie">
  74 + <image src="/img/sun_29.png"></image>
  75 +
  76 + <view class="dainiliaojie">带你了解理想中会员</view>
  77 +</view>
  78 +
  79 +<!-- 会员权益 -->
  80 +
  81 +<view class="huiyuan">
  82 +
  83 + <view class="huioyuantop">
  84 + <view class="huiyuantopleft">会员权益</view>
  85 + <view class="huiyuantopright">
  86 + <image src="/img/yourow.png"></image>
  87 + </view>
  88 + </view>
  89 +
  90 + <view class="huiyuantext">在会员有效期内免费入住本平台上的所有合作度假酒店,不限地区、不限酒店、不限总次数,所有合作房型不限时间随意挑选!您不入住也能将购买会员金额转为旅游侠旅游线路代金劵。 不定期可免费参加平台举办的不定期线下优质会员活动。</view>
  91 +</view>
  92 +
  93 +<!-- 平台优势 -->
  94 +
  95 +
  96 +<view class="huiyuan">
  97 +
  98 + <view class="huioyuantop">
  99 + <view class="huiyuantopleft">平台优势</view>
  100 + <view class="huiyuantopright">
  101 + <image src="/img/yourow.png"></image>
  102 + </view>
  103 + </view>
  104 +
  105 + <view class="pingtaiadvantage">
  106 + <view class="advantageleft">
  107 + <image src="/img/sun_88.png"></image>
  108 + </view>
  109 +
  110 + <view class="advantageright">
  111 + 我们的创业团队深耕与酒店、民宿、媒体、旅游、金融及互联网技术服务行业
  112 + </view>
  113 + </view>
  114 +
  115 + <view class="pingtaiadvantage">
  116 + <view class="advantageleft">
  117 + <image src="/img/sun_89.png"></image>
  118 + </view>
  119 +
  120 + <view class="advantageright">
  121 + 原创策划出数千条深度旅游线路,并协同我们的优秀团队甄选出特色旅游度假民宿,为会员发掘优质旅宿产品
  122 + </view>
  123 + </view>
  124 +
  125 +
  126 +</view>
  127 +
  128 +<!-- 精选酒店 -->
  129 +
  130 +<view class="jiudian">
  131 + <view class="huioyuantop">
  132 + <view class="huiyuantopleft">精选酒店</view>
  133 +
  134 + <view class="jiudianright">
  135 +
  136 + <view class="jiudianleft">持续更新中</view>
  137 + <view class="huiyuantopright">
  138 + <image src="/img/yourow.png"></image>
  139 + </view>
  140 + </view>
  141 +
  142 + </view>
  143 +
  144 + <view class="sholist">
  145 + <view class="sjopitem">
  146 + <view class="shopitemimg">
  147 + <image src="/img/anji.png"></image>
  148 + </view>
  149 +
  150 + <view class="shoname">安吉</view>
  151 + </view>
  152 +
  153 + <view class="sjopitem">
  154 + <view class="shopitemimg">
  155 + <image src="/img/tianjin.png"></image>
  156 + </view>
  157 +
  158 + <view class="shoname">天津</view>
  159 + </view>
  160 + <view class="sjopitem">
  161 + <view class="shopitemimg">
  162 + <image src="/img/dali.png"></image>
  163 + </view>
  164 +
  165 + <view class="shoname">大理</view>
  166 + </view>
  167 +
  168 +
  169 + <view class="sjopitem">
  170 + <view class="shopitemimg">
  171 + <image src="/img/fujian.png"></image>
  172 + </view>
  173 +
  174 + <view class="shoname">福建</view>
  175 + </view>
  176 + <view class="sjopitem">
  177 + <view class="shopitemimg">
  178 + <image src="/img/suzhou.png"></image>
  179 + </view>
  180 +
  181 + <view class="shoname">苏州</view>
  182 + </view>
  183 +
  184 + <view class="sjopitem">
  185 + <view class="shopitemimg">
  186 + <image src="/img/hangzhou.png"></image>
  187 + </view>
  188 +
  189 + <view class="shoname">杭州</view>
  190 + </view>
  191 + </view>
  192 +
  193 + <view class="anpai">已上线72家酒店,覆盖24所城市</view>
  194 +</view>
  195 +
  196 +<!-- 订房问题 -->
  197 +
  198 +<view class="huiyuan">
  199 +
  200 + <view class="huioyuantop">
  201 + <view class="huiyuantopleft">订房问题</view>
  202 + <view class="huiyuantopright">
  203 + <image src="/img/yourow.png"></image>
  204 + </view>
  205 + </view>
  206 +
  207 + <view class="huiyuantext">1、平台每月上新新民俗,保证房源供应,周末及节假日房源抢手,可提前安排行程,错峰出行,订房无压力。2、为了避免资源浪费,预订平台酒店需要支付预订保证金,会员在顺利办理退房手续后,将在一个工作日退还保证金</view>
  208 +</view>
  209 +
  210 +<!-- 分享有礼 -->
  211 +
  212 +<view class="sharepresent">
  213 + <view class="huioyuantop">
  214 + <view class="huiyuantopleft">精选酒店</view>
  215 +
  216 + <view class="jiudianright">
  217 +
  218 + <view class="jiudianleft">持续更新中</view>
  219 + <view class="huiyuantopright">
  220 + <image src="/img/yourow.png"></image>
  221 + </view>
  222 + </view>
  223 +
  224 + </view>
  225 +
  226 + <view class="presentcontent">您可在“我的”页面一键生成并分享专属情怀海报。若有好友通过您的分享购买会员,每个会员100元的现金奖励放在您的个人账户。</view>
  227 +
  228 + <view class="yudingti">
  229 + <view class='yudingtinum'>1</view>
  230 + <view class="yudingtiword">查看我想去的城市可无酒店?</view>
  231 + </view>
  232 +
  233 + <view class="shareimg">
  234 + <image src="/img/share.png"></image>
  235 + </view>
  236 +
  237 + <view class="yudingti">
  238 + <view class='yudingtinum'>2</view>
  239 + <view class="yudingtiword">登录状态下,长按保存海报</view>
  240 + </view>
  241 +
  242 + <view class="savehai">
  243 + <image src="/img/savehaibao.png"></image>
  244 + </view>
  245 +
  246 + <view class="yudingti">
  247 + <view class='yudingtinum'>3</view>
  248 + <view class="yudingtiword">您可以将海报分享到各大论坛</view>
  249 + </view>
  250 +
  251 + <view class="fenhaibao">
  252 + <image src="/img/fenhaibao.png"></image>
  253 + </view>
  254 +
  255 + <view class="yudingti">
  256 + <view class='yudingtinum'>4</view>
  257 + <view class="yudingtiword">在“我的”页面下方,点击“我的钱包”绑定银 行卡信息即可。
  258 + </view>
  259 + </view>
  260 +
  261 +
  262 + <view class="wode">
  263 + <image src="/img/wode.png"></image>
  264 + </view>
  265 +</view>
  266 +
  267 +<!--底部导航 -->
  268 +
  269 +<view class="dibuinfo">
  270 + <view class="dibuinfoleft">
  271 + <view class="dibuitem">
  272 + <view class="dibuitemtop">
  273 + <image src="/img/pin.png"></image>
  274 + </view>
  275 +
  276 + <view class="dibuitembottom">首页</view>
  277 + </view>
  278 +
  279 + <view class="dibuitem">
  280 + <view class="dibuitemtop">
  281 + <image src="/img/kefu.png"></image>
  282 + </view>
  283 +
  284 + <view class="dibuitembottom">客服</view>
  285 + </view>
  286 + <view class="dibuitem">
  287 + <view class="dibuitemtop">
  288 + <image src="/img/haibao.png"></image>
  289 + </view>
  290 +
  291 + <view class="dibuitembottom">保存海报</view>
  292 + </view>
  293 + </view>
  294 +
  295 + <view class="dibuinforight">立即购买会员</view>
  296 +</view>
  1 +page {
  2 + background: #fae3b2;
  3 +}
  4 +
  5 +.huiyuanpage {
  6 + width: 750rpx;
  7 + height: 800rpx;
  8 + font-size: 0;
  9 + position: relative;
  10 +}
  11 +
  12 +.pinzhi {
  13 + width: 684rpx;
  14 + height: 938rpx;
  15 + background: #fff;
  16 + border-radius: 16rpx;
  17 + margin: 0 auto;
  18 + position: absolute;
  19 + top: 635rpx;
  20 + left: 34rpx;
  21 +}
  22 +
  23 +.pinzhitop {
  24 + width: 400rpx;
  25 + height: 80rpx;
  26 + background: linear-gradient(180deg, rgba(252, 169, 162, 1) 0%, rgba(255, 119, 117, 1) 100%);
  27 + opacity: 1;
  28 + border-radius: 0px 0px 32rpx 32rpx;
  29 + margin: 0 auto;
  30 + color: #fff;
  31 + font-size: 32rpx;
  32 + text-align: center;
  33 + position: absolute;
  34 + top: -10rpx;
  35 + left: 142rpx;
  36 +}
  37 +
  38 +.pinzhileft {
  39 + width: 32rpx;
  40 + height: 32rpx;
  41 + font-size: 0;
  42 +}
  43 +
  44 +.pinzhilistbox {
  45 + margin-top: 116rpx;
  46 +}
  47 +
  48 +.pinzhilist:first-child {
  49 + margin-top: 0;
  50 +}
  51 +
  52 +.pinzhilist {
  53 + margin-top: 52rpx;
  54 + padding: 0 72rpx;
  55 + box-sizing: border-box;
  56 + display: flex;
  57 + align-items: center;
  58 +}
  59 +
  60 +.buxiandiqu {
  61 + color: #06121e;
  62 + font-size: 28rpx;
  63 + font-weight: bold;
  64 +}
  65 +
  66 +.pinzhibottom {
  67 + color: #8c9198;
  68 + font-size: 24rpx;
  69 +}
  70 +
  71 +.pinzhiright {
  72 + margin-left: 24rpx;
  73 + margin-top: 12rpx;
  74 +}
  75 +
  76 +.dainilaiojie {
  77 + width: 600rpx;
  78 + height: 106rpx;
  79 + font-size: 0;
  80 + margin: 821rpx auto 0;
  81 + position: relative;
  82 +}
  83 +
  84 +.dainiliaojie {
  85 + color: #fff;
  86 + font-size: 32rpx;
  87 + position: absolute;
  88 + top: 28rpx;
  89 + left: 138rpx;
  90 +}
  91 +
  92 +.huioyuantop {
  93 + display: flex;
  94 + align-items: center;
  95 + justify-content: space-between;
  96 +}
  97 +
  98 +.huiyuan {
  99 + width: 686rpx;
  100 + height: 406rpx;
  101 + background: #fff;
  102 + margin: 50rpx auto 0;
  103 + padding: 42rpx 32rpx;
  104 + box-sizing: border-box;
  105 + border-radius: 20rpx;
  106 +}
  107 +
  108 +.huiyuantopleft {
  109 + color: #06121e;
  110 + font-size: 32rpx;
  111 + font-weight: bold;
  112 +}
  113 +
  114 +.huiyuantopright {
  115 + width: 30rpx;
  116 + height: 30rpx;
  117 + font-size: 0;
  118 + transform: rotate(90deg);
  119 +}
  120 +
  121 +.huiyuantext {
  122 + color: #5b5e63;
  123 + font-size: 28rpx;
  124 + margin-top: 72rpx;
  125 + height: 244rpx;
  126 + overflow-y: scroll;
  127 +}
  128 +
  129 +.advantageleft {
  130 + width: 60rpx;
  131 + height: 60rpx;
  132 + font-size: 0;
  133 + flex: 0 0 auto;
  134 +}
  135 +
  136 +.advantageright {
  137 + color: #5b5e63;
  138 + font-size: 28rpx;
  139 + margin-left: 12rpx;
  140 +}
  141 +
  142 +.pingtaiadvantage {
  143 + display: flex;
  144 + margin-top: 58rpx;
  145 +}
  146 +
  147 +/* 精选酒店 */
  148 +
  149 +.jiudian {
  150 + width: 686rpx;
  151 + height: 614rpx;
  152 + background: rgba(255, 255, 255, 1);
  153 + box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.02);
  154 + opacity: 1;
  155 + border-radius: 20rpx;
  156 + margin: 24rpx auto 0;
  157 + padding: 42rpx 32rpx;
  158 + box-sizing: border-box;
  159 +}
  160 +
  161 +.jiudianright {
  162 + display: flex;
  163 + align-items: center;
  164 +}
  165 +
  166 +.jiudianleft {
  167 + color: #ff5a4e;
  168 + font-size: 24rpx;
  169 + margin-right: 32rpx;
  170 +
  171 +}
  172 +
  173 +.sholist {
  174 + margin-top: 74rpx;
  175 + display:flex;
  176 + align-items: center;
  177 + flex-wrap: wrap
  178 +}
  179 +
  180 +.shopitemimg {
  181 + width: 190rpx;
  182 + height: 120rpx;
  183 + font-size: 0;
  184 +}
  185 +
  186 +.shoname {
  187 + width: 190rpx;
  188 + color: #3d444d;
  189 + font-size: 28rpx;
  190 + text-align: center;
  191 + margin-top: 10rpx;
  192 +}
  193 +.sjopitem{
  194 + margin-right:17rpx;
  195 + margin-bottom:24rpx;
  196 +}
  197 +.anpai{
  198 + color:#5B5E63;
  199 + font-size: 24rpx;
  200 + text-align: center
  201 +}
  202 +
  203 +.sharepresent{
  204 + width:686rpx;
  205 + border-radius: 20rpx;
  206 + padding: 42rpx 32rpx;
  207 + box-sizing: border-box;
  208 + background: #fff;
  209 + margin:24rpx auto 42rpx;
  210 +}
  211 +.presentcontent{
  212 + color:#5B5E63;
  213 + font-size: 28rpx;
  214 + margin-top:72rpx;
  215 +
  216 +}
  217 +
  218 +.yudingti{
  219 + display:flex;
  220 + align-items: center;
  221 + margin-top:28rpx;
  222 +}
  223 +.yudingtiword{
  224 + color:#06121E;
  225 + font-size: 32rpx;
  226 + font-weight: bold;
  227 + margin-left:20rpx;
  228 +}
  229 +.questext{
  230 + color:#5B5E63;
  231 + font-size: 28rpx;
  232 + margin-top:72rpx;
  233 +}
  234 +
  235 +.yudingtinum{
  236 + width:40rpx;
  237 + height:40rpx;
  238 + background: #FF5A4E;
  239 + color:#fff;
  240 + font-size: 28rpx;
  241 + text-align: center;
  242 + line-height: 40rpx;
  243 + border-radius: 8rpx;
  244 + flex:0 0 auto;
  245 +}
  246 +.shareimg{
  247 + width:625rpx;
  248 + height:288rpx;
  249 + font-size: 0;
  250 + margin:24rpx auto 0;
  251 +}
  252 +.savehai{
  253 + width:625rpx;
  254 + height:303rpx;
  255 + font-size: 0;
  256 + margin-top:24rpx;
  257 +}
  258 +
  259 +.fenhaibao{
  260 + width:624rpx;
  261 + height:254rpx;
  262 + font-size: 0;
  263 + margin:24rpx auto 0;
  264 +}
  265 +
  266 +.wode{
  267 + width:625rpx;
  268 + height:282rpx;
  269 + font-size: 0;
  270 + margin:24rpx auto 0;
  271 +}
  272 +
  273 +.dibuinfo{
  274 + display:flex;
  275 + align-items: center
  276 +}
  277 +
  278 +.dibuinfoleft{
  279 + display:flex;
  280 + align-items: center;
  281 + background: #fff;
  282 + padding: 12rpx 32rpx;
  283 + box-sizing: border-box;
  284 + justify-content: space-between;
  285 + width:350rpx;
  286 +}
  287 +.dibuitemtop{
  288 + width:52rpx;
  289 + height:52rpx;
  290 + font-size: 0;
  291 + margin:0 auto;
  292 +}
  293 +.dibuitembottom{
  294 + color:#BDC4CE;
  295 + font-size: 22rpx;
  296 + margin-top:5rpx;
  297 +
  298 +}
  299 +.dibuitem{
  300 + display:flex;
  301 + flex-direction: column;
  302 + justify-content: center;
  303 + align-items: center
  304 +}
  305 +.dibuinforight{
  306 + width:400rpx;
  307 + height:98rpx;
  308 + box-sizing: border-box;
  309 + background:linear-gradient(180deg,rgba(252,169,162,1) 0%,rgba(255,119,117,1) 100%);
  310 + opacity:1;
  311 + color:#fff;
  312 + font-size: 32rpx;
  313 + text-align: center;
  314 + line-height: 98rpx;
  315 +}
  1 +// pages/huiyuanindex/huiyuanindex.js
  2 +Page({
  3 +
  4 + /**
  5 + * 页面的初始数据
  6 + */
  7 + data: {
  8 + showphone:false,
  9 + goumaishou:false
  10 + },
  11 +
  12 + /**
  13 + * 生命周期函数--监听页面加载
  14 + */
  15 + onLoad: function (options) {
  16 +
  17 + },
  18 +
  19 + /**
  20 + * 生命周期函数--监听页面初次渲染完成
  21 + */
  22 + onReady: function () {
  23 +
  24 + },
  25 +
  26 + /**
  27 + * 生命周期函数--监听页面显示
  28 + */
  29 + onShow: function () {
  30 +
  31 + },
  32 +
  33 + /**
  34 + * 生命周期函数--监听页面隐藏
  35 + */
  36 + onHide: function () {
  37 +
  38 + },
  39 +
  40 + /**
  41 + * 生命周期函数--监听页面卸载
  42 + */
  43 + onUnload: function () {
  44 +
  45 + },
  46 +
  47 + /**
  48 + * 页面相关事件处理函数--监听用户下拉动作
  49 + */
  50 + onPullDownRefresh: function () {
  51 +
  52 + },
  53 +
  54 + /**
  55 + * 页面上拉触底事件的处理函数
  56 + */
  57 + onReachBottom: function () {
  58 +
  59 + },
  60 +
  61 + /**
  62 + * 用户点击右上角分享
  63 + */
  64 + onShareAppMessage: function () {
  65 +
  66 + }
  67 +})
  1 +{
  2 + "navigationBarTitleText": "会员"
  3 +}
  1 +<!-- 绑定手机号 -->
  2 +
  3 +<view class="register" catchtouchmove='true' wx:if="{{showphone}}">
  4 + <view class="phonewrap">
  5 + <view class="phonebang">绑定手机号</view>
  6 +
  7 + <view class="phoneenter">
  8 + <view class="phoneenterleft">+86</view>
  9 + <view class="phoneenterright">
  10 + <input placeholder='请输入手机号' placeholder-class='shuru' />
  11 + </view>
  12 + </view>
  13 +
  14 + <view class="yanzheng">
  15 + <view class="yanzhengleft">
  16 + <input placeholder='请输入验证码' placeholder-class='codeenter' />
  17 + </view>
  18 + <view class="getcode">获取验证码</view>
  19 + </view>
  20 +
  21 + <view class="bangding">绑定</view>
  22 + </view>
  23 +</view>
  24 +
  25 +<!-- 确认购买信息 -->
  26 +
  27 +<view class="register" catchtouchmove='true' wx:if="{{goumaishou}}">
  28 + <view class="goumaiwrap">
  29 + <view class="goumaitop">请确认购买信息</view>
  30 + <view class="huiyuanshou">
  31 + <view class="huiyuanshouleft">会员手机号</view>
  32 + <view class="huiyuanshouright">13254732134</view>
  33 + </view>
  34 +
  35 + <view class="goumaizhi">
  36 + <view class="goumaihzileft">
  37 + 购买会员即表示您同意
  38 + </view>
  39 +
  40 + <view class="goumaihziright">
  41 + 《会员协议》
  42 + </view>
  43 + </view>
  44 +
  45 + <view class="buynow">点击购买</view>
  46 + </view>
  47 +</view>
  48 +
  49 +
  50 +
  51 +
  52 +
  53 +<view class='huiyuanpage'>
  54 + <image src="/img/sun_81.png"></image>
  55 + <view class="pinzhi">
  56 + <view class="pinzhitop">品质住宿 全年免费</view>
  57 +
  58 + <view class="pinzhilistbox">
  59 + <view class="pinzhilist">
  60 + <view class="pinzhileft">
  61 + <image src="/img/sun_21.png"></image>
  62 + </view>
  63 + <view class="pinzhiright">
  64 + <view class="buxiandiqu">不限地区</view>
  65 + <view class="pinzhibottom">全国范围消费任享</view>
  66 + </view>
  67 + </view>
  68 +
  69 +
  70 +
  71 + <view class="pinzhilist">
  72 + <view class="pinzhileft">
  73 + <image src="/img/sun_22.png"></image>
  74 + </view>
  75 + <view class="pinzhiright">
  76 + <view class="buxiandiqu">不限酒店</view>
  77 + <view class="pinzhibottom">合作度假酒店全部通用</view>
  78 + </view>
  79 + </view>
  80 +
  81 + <view class="pinzhilist">
  82 + <view class="pinzhileft">
  83 + <image src="/img/sun_23.png"></image>
  84 + </view>
  85 + <view class="pinzhiright">
  86 + <view class="buxiandiqu">不限时间</view>
  87 + <view class="pinzhibottom">节假日、周末均可入住</view>
  88 + </view>
  89 + </view>
  90 +
  91 + <view class="pinzhilist">
  92 + <view class="pinzhileft">
  93 + <image src="/img/sun_24.png"></image>
  94 + </view>
  95 + <view class="pinzhiright">
  96 + <view class="buxiandiqu">不限次数</view>
  97 + <view class="pinzhibottom">有效期内不限定房次数</view>
  98 + </view>
  99 + </view>
  100 + <view class="pinzhilist">
  101 + <view class="pinzhileft">
  102 + <image src="/img/sun_25.png"></image>
  103 + </view>
  104 + <view class="pinzhiright">
  105 + <view class="buxiandiqu">消费无忧</view>
  106 + <view class="pinzhibottom">不住也能抵游侠旅游代金劵</view>
  107 + </view>
  108 + </view>
  109 +
  110 + <view class="pinzhilist">
  111 + <view class="pinzhileft">
  112 + <image src="/img/sun_26.png"></image>
  113 + </view>
  114 + <view class="pinzhiright">
  115 + <view class="buxiandiqu">会员活动</view>
  116 + <view class="pinzhibottom">不定期下线活动,畅想会员特权</view>
  117 + </view>
  118 + </view>
  119 + </view>
  120 +
  121 +
  122 + </view>
  123 +</view>
  124 +
  125 +<view class="dainilaiojie">
  126 + <image src="/img/sun_29.png"></image>
  127 +
  128 + <view class="dainiliaojie">带你了解理想中会员</view>
  129 +</view>
  130 +
  131 +<view class="listbox">
  132 + <view class="listboxitem">
  133 +
  134 + <view class="boxitemleft">会员权益</view>
  135 +
  136 + <view class="boxitemright">
  137 + <image src="/img/yourow.png"></image>
  138 + </view>
  139 +
  140 + </view>
  141 + <view class="listboxitem">
  142 +
  143 + <view class="boxitemleft">平台优势</view>
  144 +
  145 + <view class="boxitemright">
  146 + <image src="/img/yourow.png"></image>
  147 + </view>
  148 +
  149 + </view>
  150 + <view class="listboxitem">
  151 +
  152 + <view class="boxitemleft">精选酒店</view>
  153 +
  154 + <view class="boxitemright">
  155 + <image src="/img/yourow.png"></image>
  156 + </view>
  157 +
  158 + </view>
  159 + <view class="listboxitem">
  160 +
  161 + <view class="boxitemleft">订房问题</view>
  162 +
  163 + <view class="boxitemright">
  164 + <image src="/img/yourow.png"></image>
  165 + </view>
  166 +
  167 + </view>
  168 + <view class="listboxitem">
  169 +
  170 + <view class="boxitemleft">分享有礼</view>
  171 +
  172 + <view class="boxitemright">
  173 + <image src="/img/yourow.png"></image>
  174 + </view>
  175 +
  176 + </view>
  177 +</view>
  178 +
  179 +
  180 +
  181 +
  182 +
  183 +
  184 +
  185 +
  186 +<!--底部导航 -->
  187 +
  188 +<view class="dibuinfo">
  189 + <view class="dibuinfoleft">
  190 + <view class="dibuitem">
  191 + <view class="dibuitemtop">
  192 + <image src="/img/pin.png"></image>
  193 + </view>
  194 +
  195 + <view class="dibuitembottom">首页</view>
  196 + </view>
  197 +
  198 + <view class="dibuitem">
  199 + <view class="dibuitemtop">
  200 + <image src="/img/kefu.png"></image>
  201 + </view>
  202 +
  203 + <view class="dibuitembottom">客服</view>
  204 + </view>
  205 + <view class="dibuitem">
  206 + <view class="dibuitemtop">
  207 + <image src="/img/haibao.png"></image>
  208 + </view>
  209 +
  210 + <view class="dibuitembottom">保存海报</view>
  211 + </view>
  212 + </view>
  213 +
  214 + <view class="dibuinforight">立即购买会员</view>
  215 +</view>
  1 +page {
  2 + background: #fae3b2;
  3 +}
  4 +
  5 +.huiyuanpage {
  6 + width: 750rpx;
  7 + height: 800rpx;
  8 + font-size: 0;
  9 + position: relative;
  10 +}
  11 +
  12 +.pinzhi {
  13 + width: 684rpx;
  14 + height: 938rpx;
  15 + background: #fff;
  16 + border-radius: 16rpx;
  17 + margin: 0 auto;
  18 + position: absolute;
  19 + top: 635rpx;
  20 + left: 34rpx;
  21 +}
  22 +
  23 +.pinzhitop {
  24 + width: 400rpx;
  25 + height: 80rpx;
  26 + background: linear-gradient(180deg, rgba(252, 169, 162, 1) 0%, rgba(255, 119, 117, 1) 100%);
  27 + opacity: 1;
  28 + border-radius: 0px 0px 32rpx 32rpx;
  29 + margin: 0 auto;
  30 + color: #fff;
  31 + font-size: 32rpx;
  32 + text-align: center;
  33 + position: absolute;
  34 + top: -10rpx;
  35 + left: 142rpx;
  36 +}
  37 +
  38 +.pinzhileft {
  39 + width: 32rpx;
  40 + height: 32rpx;
  41 + font-size: 0;
  42 +}
  43 +
  44 +.pinzhilistbox {
  45 + margin-top: 116rpx;
  46 +}
  47 +
  48 +.pinzhilist:first-child {
  49 + margin-top: 0;
  50 +}
  51 +
  52 +.pinzhilist {
  53 + margin-top: 52rpx;
  54 + padding: 0 72rpx;
  55 + box-sizing: border-box;
  56 + display: flex;
  57 + align-items: center;
  58 +}
  59 +
  60 +.buxiandiqu {
  61 + color: #06121e;
  62 + font-size: 28rpx;
  63 + font-weight: bold;
  64 +}
  65 +
  66 +.pinzhibottom {
  67 + color: #8c9198;
  68 + font-size: 24rpx;
  69 +}
  70 +
  71 +.pinzhiright {
  72 + margin-left: 24rpx;
  73 + margin-top: 12rpx;
  74 +}
  75 +
  76 +.dainilaiojie {
  77 + width: 600rpx;
  78 + height: 106rpx;
  79 + font-size: 0;
  80 + margin: 821rpx auto 0;
  81 + position: relative;
  82 +}
  83 +
  84 +.dainiliaojie {
  85 + color: #fff;
  86 + font-size: 32rpx;
  87 + position: absolute;
  88 + top: 28rpx;
  89 + left: 138rpx;
  90 +}
  91 +
  92 +.huioyuantop {
  93 + display: flex;
  94 + align-items: center;
  95 + justify-content: space-between;
  96 +}
  97 +
  98 +.huiyuan {
  99 + width: 686rpx;
  100 + height: 406rpx;
  101 + background: #fff;
  102 + margin: 50rpx auto 0;
  103 + padding: 42rpx 32rpx;
  104 + box-sizing: border-box;
  105 + border-radius: 20rpx;
  106 +}
  107 +
  108 +.huiyuantopleft {
  109 + color: #06121e;
  110 + font-size: 32rpx;
  111 + font-weight: bold;
  112 +}
  113 +
  114 +.huiyuantopright {
  115 + width: 30rpx;
  116 + height: 30rpx;
  117 + font-size: 0;
  118 + transform: rotate(90deg);
  119 +}
  120 +
  121 +.huiyuantext {
  122 + color: #5b5e63;
  123 + font-size: 28rpx;
  124 + margin-top: 72rpx;
  125 + height: 244rpx;
  126 + overflow-y: scroll;
  127 +}
  128 +
  129 +.advantageleft {
  130 + width: 60rpx;
  131 + height: 60rpx;
  132 + font-size: 0;
  133 + flex: 0 0 auto;
  134 +}
  135 +
  136 +.advantageright {
  137 + color: #5b5e63;
  138 + font-size: 28rpx;
  139 + margin-left: 12rpx;
  140 +}
  141 +
  142 +.pingtaiadvantage {
  143 + display: flex;
  144 + margin-top: 58rpx;
  145 +}
  146 +
  147 +/* 精选酒店 */
  148 +
  149 +.jiudian {
  150 + width: 686rpx;
  151 + height: 614rpx;
  152 + background: rgba(255, 255, 255, 1);
  153 + box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.02);
  154 + opacity: 1;
  155 + border-radius: 20rpx;
  156 + margin: 24rpx auto 0;
  157 + padding: 42rpx 32rpx;
  158 + box-sizing: border-box;
  159 +}
  160 +
  161 +.jiudianright {
  162 + display: flex;
  163 + align-items: center;
  164 +}
  165 +
  166 +.jiudianleft {
  167 + color: #ff5a4e;
  168 + font-size: 24rpx;
  169 + margin-right: 32rpx;
  170 +}
  171 +
  172 +.sholist {
  173 + margin-top: 74rpx;
  174 + display: flex;
  175 + align-items: center;
  176 + flex-wrap: wrap;
  177 +}
  178 +
  179 +.shopitemimg {
  180 + width: 190rpx;
  181 + height: 120rpx;
  182 + font-size: 0;
  183 +}
  184 +
  185 +.shoname {
  186 + width: 190rpx;
  187 + color: #3d444d;
  188 + font-size: 28rpx;
  189 + text-align: center;
  190 + margin-top: 10rpx;
  191 +}
  192 +
  193 +.sjopitem {
  194 + margin-right: 17rpx;
  195 + margin-bottom: 24rpx;
  196 +}
  197 +
  198 +.anpai {
  199 + color: #5b5e63;
  200 + font-size: 24rpx;
  201 + text-align: center;
  202 +}
  203 +
  204 +.sharepresent {
  205 + width: 686rpx;
  206 + border-radius: 20rpx;
  207 + padding: 42rpx 32rpx;
  208 + box-sizing: border-box;
  209 + background: #fff;
  210 + margin: 24rpx auto 42rpx;
  211 +}
  212 +
  213 +.presentcontent {
  214 + color: #5b5e63;
  215 + font-size: 28rpx;
  216 + margin-top: 72rpx;
  217 +}
  218 +
  219 +.yudingti {
  220 + display: flex;
  221 + align-items: center;
  222 + margin-top: 28rpx;
  223 +}
  224 +
  225 +.yudingtiword {
  226 + color: #06121e;
  227 + font-size: 32rpx;
  228 + font-weight: bold;
  229 + margin-left: 20rpx;
  230 +}
  231 +
  232 +.questext {
  233 + color: #5b5e63;
  234 + font-size: 28rpx;
  235 + margin-top: 72rpx;
  236 +}
  237 +
  238 +.yudingtinum {
  239 + width: 40rpx;
  240 + height: 40rpx;
  241 + background: #ff5a4e;
  242 + color: #fff;
  243 + font-size: 28rpx;
  244 + text-align: center;
  245 + line-height: 40rpx;
  246 + border-radius: 8rpx;
  247 + flex: 0 0 auto;
  248 +}
  249 +
  250 +.shareimg {
  251 + width: 625rpx;
  252 + height: 288rpx;
  253 + font-size: 0;
  254 + margin: 24rpx auto 0;
  255 +}
  256 +
  257 +.savehai {
  258 + width: 625rpx;
  259 + height: 303rpx;
  260 + font-size: 0;
  261 + margin-top: 24rpx;
  262 +}
  263 +
  264 +.fenhaibao {
  265 + width: 624rpx;
  266 + height: 254rpx;
  267 + font-size: 0;
  268 + margin: 24rpx auto 0;
  269 +}
  270 +
  271 +.wode {
  272 + width: 625rpx;
  273 + height: 282rpx;
  274 + font-size: 0;
  275 + margin: 24rpx auto 0;
  276 +}
  277 +
  278 +.dibuinfo {
  279 + display: flex;
  280 + align-items: center;
  281 +}
  282 +
  283 +.dibuinfoleft {
  284 + display: flex;
  285 + align-items: center;
  286 + background: #fff;
  287 + padding: 12rpx 32rpx;
  288 + box-sizing: border-box;
  289 + justify-content: space-between;
  290 + width: 350rpx;
  291 +}
  292 +
  293 +.dibuitemtop {
  294 + width: 52rpx;
  295 + height: 52rpx;
  296 + font-size: 0;
  297 + margin: 0 auto;
  298 +}
  299 +
  300 +.dibuitembottom {
  301 + color: #bdc4ce;
  302 + font-size: 22rpx;
  303 + margin-top: 5rpx;
  304 +}
  305 +
  306 +.dibuitem {
  307 + display: flex;
  308 + flex-direction: column;
  309 + justify-content: center;
  310 + align-items: center;
  311 +}
  312 +
  313 +.dibuinforight {
  314 + width: 400rpx;
  315 + height: 98rpx;
  316 + box-sizing: border-box;
  317 + background: linear-gradient(180deg, rgba(252, 169, 162, 1) 0%, rgba(255, 119, 117, 1) 100%);
  318 + opacity: 1;
  319 + color: #fff;
  320 + font-size: 32rpx;
  321 + text-align: center;
  322 + line-height: 98rpx;
  323 +}
  324 +
  325 +.listboxitem {
  326 + width: 686rpx;
  327 + height: 120rpx;
  328 + background: rgba(255, 255, 255, 1);
  329 + box-shadow: 0px 16rpx 24rpx rgba(0, 0, 0, 0.02);
  330 + opacity: 1;
  331 + border-radius: 20rpx;
  332 + margin: 0 auto;
  333 + padding: 38rpx 32rpx;
  334 + box-sizing: border-box;
  335 +}
  336 +
  337 +.boxitemright {
  338 + width: 25rpx;
  339 + height: 25rpx;
  340 + font-size: 0;
  341 +}
  342 +
  343 +.listboxitem {
  344 + display: flex;
  345 + align-items: center;
  346 + justify-content: space-between;
  347 + margin-top: 24rpx;
  348 +}
  349 +
  350 +.listbox {
  351 + margin-bottom: 50rpx;
  352 +}
  353 +
  354 +/* 绑定手机号 */
  355 +
  356 +.phonewrap {
  357 + width: 622rpx;
  358 + height: 496rpx;
  359 + background: rgba(255, 255, 255, 1);
  360 + opacity: 1;
  361 + position: absolute;
  362 + top: 50%;
  363 + left: 50%;
  364 + transform: translate(-50%, -50%);
  365 + border-radius: 20rpx;
  366 + padding: 30rpx 32rpx;
  367 + box-sizing: border-box;
  368 +}
  369 +
  370 +.phonebang {
  371 + color: #06121e;
  372 + font-size: 36rpx;
  373 + font-weight: bold;
  374 + text-align: center;
  375 + padding-bottom: 32rpx;
  376 + border-bottom: 1rpx solid #f5f5f5;
  377 +}
  378 +
  379 +.phoneenter {
  380 + display: flex;
  381 + align-items: center;
  382 + padding: 16rpx 40rpx;
  383 + box-sizing: border-box;
  384 + margin-top: 38rpx;
  385 +}
  386 +
  387 +.phoneenterleft {
  388 + color: #06121e;
  389 + font-size: 32rpx;
  390 +}
  391 +
  392 +.phoneenterright {
  393 + color: #8c9198;
  394 + font-size: 26rpx;
  395 + margin-left: 10rpx;
  396 +}
  397 +
  398 +.shuru {
  399 + color: #8c9198;
  400 + font-size: 26rpx;
  401 +}
  402 +
  403 +.yanzheng {
  404 + display: flex;
  405 + align-items: center;
  406 + margin-top: 24rpx;
  407 +}
  408 +
  409 +.yanzhengleft {
  410 + width: 360rpx;
  411 + padding: 24rpx 40rpx;
  412 + box-sizing: border-box;
  413 + color: #8c9198;
  414 + font-size: 24rpx;
  415 +}
  416 +
  417 +.getcode {
  418 + width: 176rpx;
  419 + height: 80rpx;
  420 + border: 2rpx solid rgba(255, 90, 78, 1);
  421 + opacity: 1;
  422 + border-radius: 16rpx;
  423 + color: #ff5a4e;
  424 + font-size: 24rpx;
  425 + padding: 24rpx 28rpx;
  426 + box-sizing: border-box;
  427 + margin-left: 24rpx;
  428 +}
  429 +
  430 +.bangding {
  431 + width: 442rpx;
  432 + height: 80rpx;
  433 + background: linear-gradient(180deg, rgba(252, 169, 162, 1) 0%, rgba(255, 119, 117, 1) 100%);
  434 + opacity: 1;
  435 + border-radius: 44rpx;
  436 + color: #fff;
  437 + font-size: 28rpx;
  438 + text-align: center;
  439 + line-height: 80rpx;
  440 + margin: 42rpx auto 0;
  441 +}
  442 +
  443 +.goumaiwrap {
  444 + width: 622rpx;
  445 + height: 460rpx;
  446 + background: rgba(255, 255, 255, 1);
  447 + opacity: 1;
  448 + position: absolute;
  449 + top: 50%;
  450 + left: 50%;
  451 + transform: translate(-50%, -50%);
  452 + border-radius: 15rpx;
  453 + padding: 30rpx 60rpx;
  454 + box-sizing: border-box;
  455 +}
  456 +
  457 +.goumaitop {
  458 + color: #06121e;
  459 + font-size: 36rpx;
  460 + padding-bottom: 32rpx;
  461 + box-sizing: border-box;
  462 + border-bottom: 1rpx solid #f5f5f5;
  463 + font-weight: bold;
  464 + text-align: center;
  465 +}
  466 +
  467 +.huiyuanshou {
  468 + display: flex;
  469 + align-items: center;
  470 + margin-top: 60rpx;
  471 +}
  472 +
  473 +.huiyuanshouleft {
  474 + color: #8c9198;
  475 + font-size: 28rpx;
  476 +}
  477 +
  478 +.huiyuanshouright {
  479 + color: #06121e;
  480 + font-size: 28rpx;
  481 + margin-left: 40rpx;
  482 +}
  483 +
  484 +.goumaizhi {
  485 + display: flex;
  486 + align-items: center;
  487 + margin-top: 24rpx;
  488 +}
  489 +
  490 +.goumaihziright {
  491 + color: #ff5a4e;
  492 + font-size: 28rpx;
  493 +}
  494 +
  495 +.goumaihzileft {
  496 + color: #8c9198;
  497 + font-size: 28rpx;
  498 +}
  499 +
  500 +.buynow {
  501 + width: 442rpx;
  502 + height: 80rpx;
  503 + background: linear-gradient(180deg, rgba(252, 169, 162, 1) 0%, rgba(255, 119, 117, 1) 100%);
  504 + opacity: 1;
  505 + border-radius: 44rpx;
  506 + color: #fff;
  507 + font-size: 28rpx;
  508 + text-align: center;
  509 + line-height: 80rpx;
  510 + margin:62rpx auto 0;
  511 +}
  512 +
  513 +.dibuinforight {
  514 + width: 442rpx;
  515 + height: 80rpx;
  516 + background: linear-gradient(180deg, rgba(252, 169, 162, 1) 0%, rgba(255, 119, 117, 1) 100%);
  517 + opacity: 1;
  518 + border-radius: 44rpx;
  519 + color:#fff;
  520 + font-size: 28rpx;
  521 + text-align: center;
  522 + line-height: 80rpx
  523 +}
  1 +// pages/huiyuanxieyi/huiyuanxieyi.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="xieyiname">
  2 + <view class="xieyinametop">会员协议</view>
  3 + <view class="xieyicontent">[审慎阅读]您在申请购买守麦流程中点击同意本协议之 前,应当认真阅读本协议。请您务必审慎阅读、充分理解 条款内容,特别是免除或限制责任的条款、法律适用和争 议解决条款。免除或者限制责任的条款将以粗体下划线标 识,您应重点阅读。如你对协议有任何疑问,请联系守麦 小程序平台客服。 [签约动作]当您按照签约页面提示填写信息、阅读并同, 意本协议且完成全部购买守麦程序后,即表示您已充分阅 读、理解并接受本协议的全部内容,并与守麦达成-致, 成为“守麦会员”。阅读本协议的过程中,如果您不同意 本协议或其中任何条款约定,您应立即停止购买流程。 守麦会员服务协议 最新版本生效时间: 2019年09月10日 导言 本协议是守麦会员与杭州守麦网络科技有限公司(下 称“守麦”)之间关于您成为守麦会员及使用守麦提供的 会员服务(下称“会员服务”)所订立的有效契约,具有 法律效力。“ 会员服务”是指守麦为守麦会员提供的会员, 权益;“守麦会员” 是指完成了成为守麦会员的所有程序 且在会员服务期限内遵守相关服务使用规则下享受守麦会 员服务的自然人。 守麦已经以标粗体下划线或其他合理方式提示您重点 阅读协议中与您的权益(可能)存在重大关系的条款(包括</view>
  4 +</view>
  1 +.xieyinametop{
  2 + color:#06121E;
  3 + font-size: 28rpx;
  4 + text-align: center;
  5 + margin-top:34rpx;
  6 +}
  7 +.xieyicontent{
  8 + color:#06121E;
  9 + font-size: 28rpx;
  10 +
  11 + padding: 0 32rpx;
  12 + box-sizing: border-box;
  13 + margin-top:78rpx;
  14 + margin-bottom:40rpx;
  15 +}
  1 +//index.js
  2 +//获取应用实例
  3 +const app = getApp()
  4 +
  5 +Page({
  6 + data: {
  7 + motto: 'Hello World',
  8 + userInfo: {},
  9 + hasUserInfo: false,
  10 + canIUse: wx.canIUse('button.open-type.getUserInfo')
  11 + },
  12 + //事件处理函数
  13 + bindViewTap: function() {
  14 + wx.navigateTo({
  15 + url: '../logs/logs'
  16 + })
  17 + },
  18 + onLoad: function () {
  19 + if (app.globalData.userInfo) {
  20 + this.setData({
  21 + userInfo: app.globalData.userInfo,
  22 + hasUserInfo: true
  23 + })
  24 + } else if (this.data.canIUse){
  25 + // 由于 getUserInfo 是网络请求,可能会在 Page.onLoad 之后才返回
  26 + // 所以此处加入 callback 以防止这种情况
  27 + app.userInfoReadyCallback = res => {
  28 + this.setData({
  29 + userInfo: res.userInfo,
  30 + hasUserInfo: true
  31 + })
  32 + }
  33 + } else {
  34 + // 在没有 open-type=getUserInfo 版本的兼容处理
  35 + wx.getUserInfo({
  36 + success: res => {
  37 + app.globalData.userInfo = res.userInfo
  38 + this.setData({
  39 + userInfo: res.userInfo,
  40 + hasUserInfo: true
  41 + })
  42 + }
  43 + })
  44 + }
  45 + },
  46 + getUserInfo: function(e) {
  47 + console.log(e)
  48 + app.globalData.userInfo = e.detail.userInfo
  49 + this.setData({
  50 + userInfo: e.detail.userInfo,
  51 + hasUserInfo: true
  52 + })
  53 + }
  54 +})
  1 +{
  2 + "usingComponents": {}
  3 +}
  1 +<!--index.wxml-->
  2 +<view class="container">
  3 + <view class="userinfo">
  4 + <button wx:if="{{!hasUserInfo && canIUse}}" open-type="getUserInfo" bindgetuserinfo="getUserInfo"> 获取头像昵称 </button>
  5 + <block wx:else>
  6 + <image bindtap="bindViewTap" class="userinfo-avatar" src="{{userInfo.avatarUrl}}" mode="cover"></image>
  7 + <text class="userinfo-nickname">{{userInfo.nickName}}</text>
  8 + </block>
  9 + </view>
  10 + <view class="usermotto">
  11 + <text class="user-motto">{{motto}}</text>
  12 + </view>
  13 +</view>
  1 +/**index.wxss**/
  2 +.userinfo {
  3 + display: flex;
  4 + flex-direction: column;
  5 + align-items: center;
  6 +}
  7 +
  8 +.userinfo-avatar {
  9 + width: 128rpx;
  10 + height: 128rpx;
  11 + margin: 20rpx;
  12 + border-radius: 50%;
  13 +}
  14 +
  15 +.userinfo-nickname {
  16 + color: #aaa;
  17 +}
  18 +
  19 +.usermotto {
  20 + margin-top: 200px;
  21 +}
  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 + "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 +<view class="jiudianbigbox">
  70 + <!-- 酒店介绍 -->
  71 +
  72 + <view class="jiudianintortext">
  73 + <view class="jiudainjie">
  74 + <view class="jiudianjieleft">酒店介绍</view>
  75 + <view class="judianjieright">
  76 + <image src="/img/yourow.png"></image>
  77 + </view>
  78 + </view>
  79 +
  80 + <view class="jiudiancontentitem">
  81 + <view class="jiudianboxtop">
  82 + <view class="jiudiantopleft">
  83 + <image src="/img/jieshaojiu.png"></image>
  84 + </view>
  85 + <view class="jiudianhuan">周边环境</view>
  86 +
  87 + </view>
  88 +
  89 + <view class="zhoubiantext">
  90 + 上海艾格瑞公寓位于具有“上海缩影”之称的虹口,坐拥浦江繁华内环核心,占据内环具有价值“黄金三角生活圈”。公寓毗邻瑞虹天地商圈、四川北路商圈、海伦路商圈之众多商场和写字楼,步行可达和平公园、鲁迅公园、1933老场坊、多伦路文化名人街,乘车前往外滩、陆家嘴约十余分钟。   公寓设有标准层和行政层,标准层设有7种各具特色的北欧风房型,行政层设有3种舒适简约套房房型,每间房间配有无线上网服务。
  91 + </view>
  92 + </view>
  93 +
  94 + <view class="jiudiancontentitem">
  95 + <view class="jiudianboxtop">
  96 + <view class="jiudiantopleft">
  97 + <image src="/img/shejistyle.png"></image>
  98 + </view>
  99 + <view class="jiudianhuan">设计风格</view>
  100 +
  101 + </view>
  102 +
  103 + <view class="zhoubiantext">
  104 + 酒店设计现代、简约。 游玩回到水晶可以在露台喝茶聊天,看书发呆。尽情享受度假时光。
  105 + </view>
  106 + </view>
  107 + <view class="jiudiancontentitem">
  108 + <view class="jiudianboxtop">
  109 + <view class="jiudiantopleft">
  110 + <image src="/img/jiaotong.png"></image>
  111 + </view>
  112 + <view class="jiudianhuan">交通路线</view>
  113 +
  114 + </view>
  115 +
  116 + <view class="zhoubiantext">
  117 + 酒店临近16号线永丰南站,步行4分钟即可到达地铁站;
  118 + </view>
  119 + </view>
  120 +
  121 + <view class="jiudiancontentitem">
  122 + <view class="jiudianboxtop">
  123 + <view class="jiudiantopleft">
  124 + <image src="/img/tuijianreson.png"></image>
  125 + </view>
  126 + <view class="jiudianhuan">推荐理由</view>
  127 +
  128 + </view>
  129 +
  130 + <view class="zhoubiantext">
  131 + 公寓内还设有健身房、咖啡厅、公共会客厅、棋牌桌游吧、会议室、商务中心等设施。在这里,可以充分感受上海气息的品质居住体验,愿能成为您商务、旅行下榻的优选。
  132 + </view>
  133 + </view>
  134 +
  135 +
  136 + </view>
  137 +
  138 +
  139 +
  140 + <!-- 设施服务 -->
  141 +
  142 + <view class="jiudianintortext">
  143 + <view class="jiudainjie">
  144 + <view class="jiudianjieleft">设施服务</view>
  145 + <view class="judianjieright">
  146 + <image src="/img/yourow.png"></image>
  147 + </view>
  148 + </view>
  149 +
  150 + <view class="jiaotong">
  151 +
  152 + <view class="jiaotongitem">
  153 + <view class="jiaotongtop">交通服务</view>
  154 +
  155 + <view class="jiaotongbottom">
  156 + <view class="jiaotongbottomitem">
  157 + <view class="jiaotongitemleft">
  158 + <image src="/img/duigou.png"></image>
  159 + </view>
  160 + <view class="jiaotongitemname">免费停车</view>
  161 + </view>
  162 +
  163 + <view class="jiaotongbottomitem">
  164 + <view class="jiaotongitemleft">
  165 + <image src="/img/duigou.png"></image>
  166 + </view>
  167 + <view class="jiaotongitemname">自行车租赁服务</view>
  168 + </view>
  169 + </view>
  170 + </view>
  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 +
  190 + <view class="jiaotongbottomitem">
  191 + <view class="jiaotongitemleft">
  192 + <image src="/img/duigou.png"></image>
  193 + </view>
  194 + <view class="jiaotongitemname">送餐服务</view>
  195 + </view>
  196 +
  197 + <view class="jiaotongbottomitem">
  198 + <view class="jiaotongitemleft">
  199 + <image src="/img/duigou.png"></image>
  200 + </view>
  201 + <view class="jiaotongitemname">烧烤</view>
  202 + </view>
  203 + </view>
  204 + </view>
  205 +
  206 + <view class="jiaotongitem">
  207 + <view class="jiaotongtop">网络设施</view>
  208 +
  209 + <view class="jiaotongbottom">
  210 + <view class="jiaotongbottomitem">
  211 + <view class="jiaotongitemleft">
  212 + <image src="/img/duigou.png"></image>
  213 + </view>
  214 + <view class="jiaotongitemname">客房WIFI</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">公共区域WIFI</view>
  222 + </view>
  223 + </view>
  224 + </view>
  225 +
  226 +
  227 + <view class="jiaotongitem">
  228 + <view class="jiaotongtop">娱乐和健身设施</view>
  229 +
  230 + <view class="jiaotongbottom">
  231 + <view class="jiaotongbottomitem">
  232 + <view class="jiaotongitemleft">
  233 + <image src="/img/duigou.png"></image>
  234 + </view>
  235 + <view class="jiaotongitemname">茶室</view>
  236 + </view>
  237 +
  238 + <view class="jiaotongbottomitem">
  239 + <view class="jiaotongitemleft">
  240 + <image src="/img/duigou.png"></image>
  241 + </view>
  242 + <view class="jiaotongitemname">健身房</view>
  243 + </view>
  244 + </view>
  245 + </view>
  246 +
  247 +
  248 + <view class="jiaotongitem">
  249 + <view class="jiaotongtop">服务项目</view>
  250 +
  251 + <view class="jiaotongbottom">
  252 + <view class="jiaotongbottomitem">
  253 + <view class="jiaotongitemleft">
  254 + <image src="/img/duigou.png"></image>
  255 + </view>
  256 + <view class="jiaotongitemname">会议室</view>
  257 + </view>
  258 +
  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 + </view>
  266 + </view>
  267 +
  268 + </view>
  269 +
  270 +
  271 +
  272 + </view>
  273 +
  274 +
  275 +
  276 +</view>
  277 +
  278 +
  279 +<view class="jiudianbottom">
  280 + <view class="jiudianbottomleft">
  281 + <view class="jiudianitem">
  282 + <view class="jiudianitemtop">
  283 + <image src="/img/pin.png"></image>
  284 + </view>
  285 +
  286 + <view class="jiudianitembot">首页</view>
  287 + </view>
  288 + <view class="jiudianitem">
  289 + <view class="jiudianitemtop">
  290 + <image src="/img/kefu.png"></image>
  291 + </view>
  292 +
  293 + <view class="jiudianitembot kename">客服</view>
  294 + </view>
  295 + <view class="jiudianitem">
  296 + <view class="jiudianitemtop">
  297 + <image src="/img/shou.png"></image>
  298 + </view>
  299 +
  300 + <view class="jiudianitembot">收藏</view>
  301 + </view>
  302 + </view>
  303 +
  304 + <view class="jiudianbottomright">购买会员免费入住</view>
  305 +</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 +}
  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 + display: flex;
  121 + align-items: center;
  122 + justify-content: space-between;
  123 + border-bottom: 1rpx solid #f5f5f5;
  124 + padding: 40rpx 0;
  125 + box-sizing: border-box;
  126 +}
  127 +
  128 +.jiudianjieleft {
  129 + color: #06121e;
  130 + font-size: 32rpx;
  131 + font-weight: bold;
  132 +}
  133 +
  134 +.fuwujie {
  135 + margin-bottom: 52rpx;
  136 +}
  137 +
  138 +.jiudianbottomleft {
  139 + display: flex;
  140 + align-items: center;
  141 + justify-content: space-between;
  142 + padding: 12rpx 34rpx;
  143 + box-sizing: border-box;
  144 + width: 350rpx;
  145 + background: #fff;
  146 +}
  147 +
  148 +.jiudianbottomright {
  149 + width: 400rpx;
  150 + height: 98rpx;
  151 + background: linear-gradient(180deg, rgba(252, 169, 162, 1) 0%, rgba(255, 119, 117, 1) 100%);
  152 + opacity: 1;
  153 + color: #fff;
  154 + font-size: 32rpx;
  155 + text-align: center;
  156 + line-height: 98rpx;
  157 +}
  158 +
  159 +.jiudianbottom {
  160 + display: flex;
  161 + align-items: center;
  162 + position: fixed;
  163 + bottom: 0;
  164 + left: 0;
  165 +}
  166 +
  167 +.jiudianitem {
  168 + display: flex;
  169 + flex-direction: column;
  170 + justify-content: center;
  171 + align-items: center;
  172 +}
  173 +
  174 +.jiudianitemtop {
  175 + width: 40rpx;
  176 + height: 40rpx;
  177 + font-size: 0;
  178 +}
  179 +
  180 +.jiudianitembot {
  181 + color: #bdc4ce;
  182 + font-size: 22rpx;
  183 +}
  184 +
  185 +.kename {
  186 + color: #ff5a4e;
  187 + font-size: 22rpx;
  188 +}
  189 +
  190 +.jiudianboxtop {
  191 + display: flex;
  192 + align-items: center;
  193 + margin-top: 38rpx;
  194 +}
  195 +
  196 +.jiudiantopleft {
  197 + width: 48rpx;
  198 + height: 48rpx;
  199 + font-size: 0;
  200 +}
  201 +
  202 +.jiudianintortext {
  203 + width: 686rpx;
  204 + margin: 24rpx auto 0;
  205 + padding: 0 32rpx 24rpx;
  206 + box-sizing: border-box;
  207 + box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.02);
  208 + opacity: 1;
  209 + border-radius: 20px;
  210 + background: #fff
  211 +}
  212 +
  213 +.jiudianhuan {
  214 + color: #06121e;
  215 + font-size: 32rpx;
  216 + margin-left: 10rpx;
  217 +}
  218 +
  219 +.zhoubiantext {
  220 + color: #5b5e63;
  221 + font-size: 28rpx;
  222 + margin-top: 24rpx;
  223 +}
  224 +.jiudianbigbox{
  225 + margin-bottom: 156rpx;
  226 +}
  227 +.jiaotongtop{
  228 + color:#06121E;
  229 + font-size: 30rpx;
  230 +}
  231 +.jiaotongitemleft{
  232 + width:48rpx;
  233 + height:48rpx;
  234 + font-size: 0
  235 +}
  236 +
  237 +.jiaotongbottomitem{
  238 + display:flex;
  239 + align-items: center;
  240 + margin-top:16rpx;
  241 + margin-right:40rpx;
  242 +
  243 +}
  244 +.jiaotongitemname{
  245 + color:#5B5E63;
  246 + font-size: 28rpx;
  247 + margin-left:12rpx;
  248 +
  249 +}
  250 +.jiaotongbottom{
  251 + display:flex;
  252 + align-items: center;
  253 + flex-wrap: wrap;
  254 +}
  255 +.jiaotongitem{
  256 + margin-top:20rpx;
  257 +}
  1 +// pages/lixiangzhong/lixiangzhong.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="head">
  2 + <view class="headleft">
  3 + <view class="headleftimg">
  4 + <image src="/img/renwu.png"></image>
  5 +
  6 + <view class="zuanimg">
  7 + <image src="/img/zuanshi.png"></image>
  8 + </view>
  9 + </view>
  10 + <view class="headname">爱旅行的小李</view>
  11 + </view>
  12 + <view class="headright">会员剩余214天到期</view>
  13 +</view>
  14 +<view class="zhilist">
  15 + <view class="zhiitem">
  16 + <view class="zhiitemimg">
  17 + <image src="/img/wangguan.png"></image>
  18 + </view>
  19 + <view class="zhiitemname">会员指南</view>
  20 + </view>
  21 + <view class="zhiitem">
  22 + <view class="zhiitemimg">
  23 +
  24 + <image src="/img/sun_02.png"></image>
  25 + </view>
  26 + <view class="zhiitemname">会员指南</view>
  27 + </view>
  28 + <view class="zhiitem">
  29 + <view class="zhiitemimg">
  30 +
  31 + <image src="/img/nav_03.png"></image>
  32 + </view>
  33 + <view class="zhiitemname">会员指南</view>
  34 + </view>
  35 +</view>
  36 +
  37 +<view class="searchlist">
  38 + <view class="searchhead">
  39 + <view class="searchleft">
  40 + <image src="/img/sousuo.png"></image>
  41 + </view>
  42 + <view class="searchname">
  43 + <input placeholder='请输入搜索内容' placeholder-class='entername' />
  44 + </view>
  45 + </view>
  46 +
  47 + <view class="enterbox">
  48 + <view class="enterboxleft">
  49 + <view class="enterboxlist">
  50 + <view class="boxleft"></view>
  51 + <view class="boxmiddle">08月21日</view>
  52 + <view class="boxright">(周三入住)</view>
  53 + </view>
  54 + <view class="enterboxlist boxlistsec">
  55 + <view class="boxleft"></view>
  56 + <view class="boxmiddle">08月23日</view>
  57 + <view class="boxright">(周五离店)</view>
  58 + </view>
  59 + </view>
  60 + <view class="enterboxright">共2晚</view>
  61 + </view>
  62 +
  63 + <view class="searchnametext">查找房源</view>
  64 +</view>
  65 +<!-- 开放城市 -->
  66 +<view class="chengshilist">
  67 +
  68 + <view class="chengshihead">
  69 + <view class="chengshileft">开放城市</view>
  70 + <view class="chengshiright">
  71 + <view class="rightname">全部</view>
  72 + <view class="rihghtimg">
  73 + <image src="/img/yourow.png"></image>
  74 + </view>
  75 + </view>
  76 + </view>
  77 +
  78 + <view class="citylist">
  79 + <view class="cityimg">
  80 + <image src="/img/img1.png"></image>
  81 +
  82 + <view class="listimgname">
  83 + <view class="topname">天津</view>
  84 + <view class="bottompname">TianJin</view>
  85 + </view>
  86 + </view>
  87 + <view class="cityimg">
  88 + <image src="/img/img2.png"></image>
  89 + <view class="listimgname">
  90 + <view class="topname">台湾</view>
  91 + <view class="bottompname">TaiWan</view>
  92 + </view>
  93 + </view>
  94 + <view class="cityimg">
  95 + <image src="/img/img3.png"></image>
  96 + </view>
  97 + </view>
  98 +</view>
  99 +<!-- 最近上线 -->
  100 +<view class="recentline">
  101 + <view class="recentlinetop">
  102 + 最近上线
  103 + </view>
  104 + <view class="recentlinebottom">立即开启您的度假之旅</view>
  105 +
  106 + <view class="recnetlinebox">
  107 + <view class="recentlineimg">
  108 + <image src="/img/lineimg1.png"></image>
  109 +
  110 + <view class="linetext">
  111 + <view class="linetopname">仰望雪山-方艺术天堂</view>
  112 +
  113 + <view class="linesecname">丽江古原雪山庄园</view>
  114 + <view class='linethirname'>
  115 +
  116 + <view class="linethileft">
  117 + <image src="/img/weizhi.png"></image>
  118 + </view>
  119 + <view class="lineright">丽江 玉龙纳西族自治县</view>
  120 + </view>
  121 + </view>
  122 + </view>
  123 + <view class="recentlineimg">
  124 + <image src="/img/lineimg2.png"></image>
  125 + </view>
  126 + </view>
  127 +
  128 +
  129 +</view>
  130 +
  131 +<!--为您推荐 -->
  132 +<view class="tuijian">
  133 + <view class="chengshihead tuihead">
  134 + <view class="chengshileft">为您推荐</view>
  135 + <view class="chengshiright">
  136 + <view class="rightname">全部</view>
  137 + <view class="rihghtimg">
  138 + <image src="/img/yourow.png"></image>
  139 + </view>
  140 + </view>
  141 + </view>
  142 +
  143 + <view class="tuijianlist">
  144 + <view class="tuijianitem">
  145 + <view class="tuijainimg">
  146 + <image src="/img/tuijianimg1.png"></image>
  147 +
  148 + <view class='linethirname tuituname'>
  149 +
  150 + <view class="linethileft">
  151 + <image src="/img/weizhi.png"></image>
  152 + </view>
  153 + <view class="lineright">丽江 玉龙纳西族自治县</view>
  154 + </view>
  155 + </view>
  156 +
  157 + <view class="tuijianintro">
  158 + <view class="tuijianname">朗丽兹西山花园酒店</view>
  159 + <view class="tuijianleft">
  160 + <view class="tuijainleftname">吴镇蔓图精品民宿</view>
  161 + <view class="tuijianrightname">
  162 + <view class="tuitu">
  163 + <image src="/img/ditu.png"></image>
  164 + </view>
  165 +
  166 + <view class="dituname">海淀区蔓图精品民宿</view>
  167 + </view>
  168 + </view>
  169 +
  170 + <view class="kind">
  171 + <view class="lindleft">
  172 + <view class="leftitem">原木轻著</view>
  173 + <view class="leftitem">豪华精致</view>
  174 +
  175 + </view>
  176 + <view class="lieright">
  177 + <view class="lineleftmoney zhemoney">¥888</view>
  178 + <view class="lineleftmoney">会员免费</view>
  179 + </view>
  180 +
  181 + </view>
  182 + </view>
  183 + </view>
  184 +
  185 + <view class="tuijianitem">
  186 + <view class="tuijainimg">
  187 + <image src="/img/tuijianimg2.png"></image>
  188 +
  189 + <view class='linethirname tuituname'>
  190 +
  191 + <view class="linethileft">
  192 + <image src="/img/weizhi.png"></image>
  193 + </view>
  194 + <view class="lineright">丽江 玉龙纳西族自治县</view>
  195 + </view>
  196 + </view>
  197 +
  198 + <view class="tuijianintro">
  199 + <view class="tuijianname">朗丽兹西山花园酒店</view>
  200 + <view class="tuijianleft">
  201 + <view class="tuijainleftname">吴镇蔓图精品民宿</view>
  202 + <view class="tuijianrightname">
  203 + <view class="tuitu">
  204 + <image src="/img/ditu.png"></image>
  205 + </view>
  206 +
  207 + <view class="dituname">海淀区蔓图精品民宿</view>
  208 + </view>
  209 + </view>
  210 +
  211 + <view class="kind">
  212 + <view class="lindleft">
  213 + <view class="leftitem">原木轻著</view>
  214 + <view class="leftitem">豪华精致</view>
  215 +
  216 + </view>
  217 + <view class="lieright">
  218 + <view class="lineleftmoney zhemoney">¥888</view>
  219 + <view class="lineleftmoney">会员免费</view>
  220 + </view>
  221 +
  222 + </view>
  223 + </view>
  224 + </view>
  225 + <view class="tuijianitem">
  226 + <view class="tuijainimg">
  227 + <image src="/img/tuijianimg3.png"></image>
  228 +
  229 + <view class='linethirname tuituname'>
  230 +
  231 + <view class="linethileft">
  232 + <image src="/img/weizhi.png"></image>
  233 + </view>
  234 + <view class="lineright">丽江 玉龙纳西族自治县</view>
  235 + </view>
  236 + </view>
  237 +
  238 + <view class="tuijianintro">
  239 + <view class="tuijianname">朗丽兹西山花园酒店</view>
  240 + <view class="tuijianleft">
  241 + <view class="tuijainleftname">吴镇蔓图精品民宿</view>
  242 + <view class="tuijianrightname">
  243 + <view class="tuitu">
  244 + <image src="/img/ditu.png"></image>
  245 + </view>
  246 +
  247 + <view class="dituname">海淀区蔓图精品民宿</view>
  248 + </view>
  249 + </view>
  250 +
  251 + <view class="kind">
  252 + <view class="lindleft">
  253 + <view class="leftitem">原木轻著</view>
  254 + <view class="leftitem">豪华精致</view>
  255 +
  256 + </view>
  257 + <view class="lieright">
  258 + <view class="lineleftmoney zhemoney">¥888</view>
  259 + <view class="lineleftmoney">会员免费</view>
  260 + </view>
  261 +
  262 + </view>
  263 + </view>
  264 + </view>
  265 +
  266 + </view>
  267 +</view>
  1 +page {
  2 + background: #fff;
  3 +}
  4 +
  5 +.headleftimg {
  6 + width: 72rpx;
  7 + height: 72rpx;
  8 + font-size: 0;
  9 + position: relative;
  10 +}
  11 +
  12 +.head {
  13 + padding: 24rpx 38rpx;
  14 + box-sizing: border-box;
  15 + display: flex;
  16 + align-items: center;
  17 + justify-content: space-between;
  18 + border-bottom: 24rpx solid #f8f8f8;
  19 +}
  20 +
  21 +.headleft {
  22 + display: flex;
  23 + align-items: center;
  24 +}
  25 +
  26 +.zuanimg {
  27 + width: 30rpx;
  28 + height: 30rpx;
  29 + font-size: 0;
  30 + position: absolute;
  31 + top: 44rpx;
  32 + right: -10rpx;
  33 +}
  34 +
  35 +.headname {
  36 + color: #06121e;
  37 + font-size: 28rpx;
  38 + margin-left: 28rpx;
  39 +}
  40 +
  41 +.headright {
  42 + color: #8c9198;
  43 + font-size: 20rpx;
  44 +}
  45 +
  46 +.zhilist {
  47 + display: flex;
  48 + align-items: center;
  49 + justify-content: space-around;
  50 + padding: 22rpx 0;
  51 + box-sizing: border-box;
  52 + border-bottom: 24rpx solid #f8f8f8;
  53 +}
  54 +
  55 +.zhiitem {
  56 + display: flex;
  57 + flex-direction: column;
  58 + justify-content: center;
  59 + align-items: center;
  60 +}
  61 +
  62 +.zhiitemimg {
  63 + width: 60rpx;
  64 + height: 60rpx;
  65 + font-size: 0;
  66 +}
  67 +
  68 +.zhiitemname {
  69 + color: #06121e;
  70 + font-size: 28rpx;
  71 + margin-top: 6rpx;
  72 +}
  73 +
  74 +.searchlist {
  75 + padding-bottom: 40rpx;
  76 +}
  77 +
  78 +.searchleft {
  79 + width: 28rpx;
  80 + height: 28rpx;
  81 + font-size: 0;
  82 +}
  83 +
  84 +.searchhead {
  85 + display: flex;
  86 + align-items: center;
  87 + justify-content: center;
  88 + padding: 22rpx 92rpx;
  89 + box-sizing: border-box;
  90 + border-bottom: 1rpx solid #f5f5f5;
  91 +}
  92 +
  93 +.searchname {
  94 + margin-left: 12rpx;
  95 + color: #06121e;
  96 + font-size: 28rpx;
  97 +}
  98 +
  99 +.entername {
  100 + color: #06121e;
  101 + font-size: 28rpx;
  102 +}
  103 +
  104 +.boxleft {
  105 + width: 16rpx;
  106 + height: 16rpx;
  107 + border-radius: 50%;
  108 + background: #ff5a4e;
  109 +}
  110 +
  111 +.enterboxlist {
  112 + display: flex;
  113 + align-items: center;
  114 + padding: 28rpx 0;
  115 + box-sizing: border-box;
  116 + border-bottom: 1rpx solid #f5f5f5;
  117 +}
  118 +
  119 +.enterbox {
  120 + padding: 0 72rpx;
  121 + box-sizing: border-box;
  122 + display: flex;
  123 + align-items: center;
  124 + justify-content: space-between;
  125 +}
  126 +
  127 +.enterboxleft {
  128 + width: 500rpx;
  129 +}
  130 +
  131 +.boxmiddle {
  132 + color: #06121e;
  133 + font-size: 36rpx;
  134 + margin-left: 30rpx;
  135 +}
  136 +
  137 +.boxright {
  138 + color: #8c9198;
  139 + font-size: 24rpx;
  140 + margin-left: 8rpx;
  141 +}
  142 +
  143 +.enterboxright {
  144 + color: #ff5a4e;
  145 + font-size: 24rpx;
  146 +}
  147 +
  148 +.searchnametext {
  149 + color: #fff;
  150 + font-size: 32rpx;
  151 + width: 618rpx;
  152 + height: 88rpx;
  153 + background: linear-gradient(90deg, rgba(255, 114, 113, 1) 0%, rgba(255, 122, 120, 1) 13%, rgba(252, 172, 165, 1) 100%, rgba(255, 194, 82, 1) 100%);
  154 + box-shadow: 0px 8rpx 16rpx rgba(253, 164, 158, 0.3);
  155 + opacity: 1;
  156 + border-radius: 44rpx;
  157 + margin: 0 auto;
  158 + text-align: center;
  159 + line-height: 88rpx;
  160 + margin-top: 20rpx;
  161 +}
  162 +
  163 +.boxlistsec {
  164 + border-bottom: none;
  165 +}
  166 +
  167 +.chengshilist {
  168 + background: #f9f9f9;
  169 + padding: 42rpx 32rpx;
  170 + box-sizing: border-box;
  171 +}
  172 +
  173 +.chengshihead {
  174 + display: flex;
  175 + align-items: center;
  176 + justify-content: space-between;
  177 +}
  178 +
  179 +.chengshiright {
  180 + display: flex;
  181 + align-items: center;
  182 +}
  183 +
  184 +.chengshileft {
  185 + color: #06121e;
  186 + font-size: 36rpx;
  187 + font-weight: bold;
  188 +}
  189 +
  190 +.rightname {
  191 + color: #06121e;
  192 + font-size: 28rpx;
  193 +}
  194 +
  195 +.rihghtimg {
  196 + width: 22rpx;
  197 + height: 22rpx;
  198 + font-size: 0;
  199 + margin-left: 20rpx;
  200 +}
  201 +
  202 +.citylist {
  203 + display: flex;
  204 + align-items: center;
  205 + flex-wrap: nowrap;
  206 + overflow-x: scroll;
  207 + margin-top: 32rpx;
  208 +}
  209 +
  210 +.cityimg {
  211 + width: 275rpx;
  212 + height: 180rpx;
  213 + font-size: 0;
  214 + margin-left: 14rpx;
  215 + flex: 0 0 auto;
  216 + position: relative;
  217 +}
  218 +
  219 +.listimgname {
  220 + position: absolute;
  221 + right: 22rpx;
  222 + bottom: 14rpx;
  223 +}
  224 +
  225 +.topname {
  226 + color: #fff;
  227 + font-size: 24rpx;
  228 + text-align: right;
  229 +}
  230 +
  231 +.bottompname {
  232 + color: #fff;
  233 + font-size: 24rpx;
  234 + margin-top: 4rpx;
  235 +}
  236 +
  237 +.recentline {
  238 + padding: 0 32rpx;
  239 + box-sizing: border-box;
  240 +}
  241 +
  242 +.recnetlinebox {
  243 + display: flex;
  244 + align-items: center;
  245 + flex-wrap: nowrap;
  246 + overflow-x: scroll;
  247 + margin-top: 24rpx;
  248 +}
  249 +
  250 +.recentlineimg {
  251 + width: 633rpx;
  252 + height: 330rpx;
  253 + font-size: 0;
  254 + flex: 0 0 auto;
  255 + margin-left: 18rpx;
  256 + position: relative;
  257 +}
  258 +
  259 +.recentlineimg:first-child {
  260 + margin-left: 0;
  261 +}
  262 +
  263 +.recentlinetop {
  264 + color: #06121e;
  265 + font-size: 36rpx;
  266 + font-weight: bold;
  267 + margin-top: 50rpx;
  268 +}
  269 +
  270 +.recentlinebottom {
  271 + color: #8c9198;
  272 + font-size: 22rpx;
  273 + margin-top: 6rpx;
  274 +}
  275 +
  276 +.linetext {
  277 + position: absolute;
  278 + left: 46rpx;
  279 + bottom: 52rpx;
  280 +}
  281 +
  282 +.linetopname {
  283 + color: #fff;
  284 + font-size: 36rpx;
  285 +}
  286 +
  287 +.linesecname {
  288 + color: #fff;
  289 + font-size: 26rpx;
  290 +}
  291 +
  292 +.linethirname {
  293 + display: flex;
  294 + align-items: center;
  295 + background: rgba(0, 0, 0, 1);
  296 + opacity: 0.5;
  297 + border-radius: 28rpx;
  298 + padding: 10rpx 22rpx;
  299 + box-sizing: border-box;
  300 + margin-top: 14rpx;
  301 +}
  302 +
  303 +.linethileft {
  304 + width: 22rpx;
  305 + height: 24rpx;
  306 + font-size: 0;
  307 +}
  308 +
  309 +.lineright {
  310 + color: #fff;
  311 + font-size: 24rpx;
  312 + margin-left: 14rpx;
  313 + z-index: 99;
  314 +}
  315 +
  316 +.tuijian {
  317 + padding: 0 32rpx;
  318 + box-sizing: border-box;
  319 + margin-bottom: 70rpx;
  320 +}
  321 +
  322 +.tuihead {
  323 + padding: 28rpx 0;
  324 + box-sizing: border-box;
  325 +}
  326 +
  327 +.tuijainimg {
  328 + width: 686rpx;
  329 + height: 386rpx;
  330 + font-size: 0;
  331 + border-radius: 16rpx;
  332 + position: relative;
  333 +}
  334 +
  335 +.tuituname {
  336 + position: absolute;
  337 + left: 24rpx;
  338 + bottom: 24rpx;
  339 +}
  340 +
  341 +.tuijianname {
  342 + color: #06121e;
  343 + font-size: 32rpx;
  344 + margin-top: 14rpx;
  345 + font-weight: bold;
  346 +}
  347 +
  348 +.tuijianleft {
  349 + display: flex;
  350 + align-items: center;
  351 + margin-top: 14rpx;
  352 +}
  353 +
  354 +.tuijainleftname {
  355 + color: #8c9198;
  356 + font-size: 24rpx;
  357 +}
  358 +
  359 +.tuijianrightname {
  360 + display: flex;
  361 + align-items: center;
  362 + color: #8c9198;
  363 + font-size: 24rpx;
  364 +}
  365 +
  366 +.tuitu {
  367 + width: 32rpx;
  368 + height: 34rpx;
  369 + font-size: 0;
  370 + margin-left: 16rpx;
  371 +}
  372 +
  373 +.dituname {
  374 + margin-left: 4rpx;
  375 +}
  376 +
  377 +.lindleft {
  378 + display: flex;
  379 + align-items: center;
  380 +}
  381 +
  382 +.leftitem {
  383 + color: #ff5a4e;
  384 + font-size: 24rpx;
  385 + margin-right: 28rpx;
  386 +}
  387 +
  388 +.kind {
  389 + margin-top: 18rpx;
  390 + display: flex;
  391 + align-items: center;
  392 + justify-content: space-between;
  393 +}
  394 +
  395 +.lieright {
  396 + width: 200rpx;
  397 + height: 54rpx;
  398 + background: rgba(255, 114, 113, 1);
  399 + opacity: 1;
  400 + border-radius: 20rpx;
  401 + padding: 10 16rpx;
  402 + box-sizing: border-box;
  403 + display: flex;
  404 + align-items: center;
  405 +}
  406 +
  407 +.lineleftmoney {
  408 + color: #fff;
  409 + font-size: 24rpx;
  410 +}
  411 +
  412 +.zhemoney {
  413 + text-decoration: line-through;
  414 +}
  415 +
  416 +.lineleftmoney {
  417 + color: #fff;
  418 + font-size: 24rpx;
  419 + margin-left: 14rpx;
  420 +}
  421 +
  422 +.tuijianitem {
  423 + margin-top: 48rpx;
  424 +}
  425 +
  426 +.tuijianitem:first-child {
  427 + margin-top: 0;
  428 +}
  1 +// pages/login/login.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="register">
  2 + <view class="loginwrap">
  3 + <view class="loginname">等录</view>
  4 + <view class="logintext">
  5 + 理想中希望获取您的头像昵称信息,以便
  6 + 您更好的使用
  7 + </view>
  8 + <view class="bottomtext">
  9 + <view class="bottomtextleft">取消</view>
  10 + <view class="bottomtextright">确认</view>
  11 + </view>
  12 + </view>
  13 +</view>
  1 +/* pages/login/login.wxss */
  2 +.loginwrap{
  3 + position: absolute;
  4 + width:622rpx;
  5 + height:397rpx;
  6 + background:rgba(255,255,255,1);
  7 + opacity:1;
  8 + border-radius: 15rpx;
  9 + top:310rpx;
  10 + left:51rpx;
  11 + padding: 30rpx 60rpx;
  12 + box-sizing: border-box;
  13 +
  14 +}
  15 +.loginname{
  16 + color:#06121E;
  17 + font-weight: bold;
  18 + font-size: 36rpx;
  19 + text-align: center
  20 +}
  21 +.logintext{
  22 + color:#8C9198;
  23 + font-size: 28rpx;
  24 + margin-top:74rpx;
  25 +}
  26 +.bottomtext{
  27 + display:flex;
  28 + align-items: center;
  29 + justify-content: space-between;
  30 + margin-top:42rpx;
  31 +}
  32 +.bottomtextleft{
  33 + width:214rpx;
  34 + height:80rpx;
  35 + background:rgba(238,238,238,1);
  36 + opacity:1;
  37 + border-radius:44rpx;
  38 + color:#8C9198;
  39 + font-size: 28rpx;
  40 + text-align: center;
  41 + line-height: 80rpx;
  42 +
  43 +}
  44 +.bottomtextright{
  45 + width:214rpx;
  46 + height:80rpx;
  47 + background:linear-gradient(180deg,rgba(252,169,162,1) 0%,rgba(255,119,117,1) 100%);
  48 + opacity:1;
  49 + border-radius:44rpx;
  50 + color:#fff;
  51 + font-size: 28rpx;
  52 + text-align: center;
  53 + line-height: 80rpx;
  54 +}
  1 +//logs.js
  2 +const util = require('../../utils/util.js')
  3 +
  4 +Page({
  5 + data: {
  6 + logs: []
  7 + },
  8 + onLoad: function () {
  9 + this.setData({
  10 + logs: (wx.getStorageSync('logs') || []).map(log => {
  11 + return util.formatTime(new Date(log))
  12 + })
  13 + })
  14 + }
  15 +})
  1 +{
  2 + "navigationBarTitleText": "查看启动日志",
  3 + "usingComponents": {}
  4 +}
  1 +<!--logs.wxml-->
  2 +<view class="container log-list">
  3 + <block wx:for="{{logs}}" wx:for-item="log">
  4 + <text class="log-item">{{index + 1}}. {{log}}</text>
  5 + </block>
  6 +</view>
  1 +.log-list {
  2 + display: flex;
  3 + flex-direction: column;
  4 + padding: 40rpx;
  5 +}
  6 +.log-item {
  7 + margin: 10rpx;
  8 +}
  1 +// pages/opencity/opencity.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="citylist">
  2 +
  3 + <view class="citylsititem">
  4 + <image src="/img/sun_40.png"></image>
  5 +
  6 + <view class="citytext">
  7 + <view class="citychinese">天津</view>
  8 + <view class="cityenglish">TianJin</view>
  9 + </view>
  10 + </view>
  11 + <view class="citylsititem">
  12 + <image src="/img/sun_41.png"></image>
  13 +
  14 + <view class="citytext">
  15 + <view class="citychinese">杭州</view>
  16 + <view class="cityenglish">Hangzhou</view>
  17 + </view>
  18 + </view>
  19 + <view class="citylsititem">
  20 + <image src="/img/sun_42.png"></image>
  21 +
  22 + <view class="citytext">
  23 + <view class="citychinese">大理</view>
  24 + <view class="cityenglish">dali</view>
  25 + </view>
  26 + </view>
  27 + <view class="citylsititem">
  28 + <image src="/img/sun_43.png"></image>
  29 +
  30 + <view class="citytext">
  31 + <view class="citychinese">福建</view>
  32 + <view class="cityenglish">Fujian</view>
  33 + </view>
  34 + </view>
  35 + </view>
  1 +.citylsititem{
  2 + width:680rpx;
  3 + height:306rpx;
  4 + font-size: 0;
  5 + margin:0 auto 32rpx;
  6 + position:relative;
  7 +
  8 +}
  9 +.citytext{
  10 + position: absolute;
  11 + bottom:32rpx;
  12 + right:58rpx;
  13 +}
  14 +.citychinese{
  15 + color:#fff;
  16 + font-size: 32rpx;
  17 + text-align: right
  18 +}
  19 +.cityenglish{
  20 + color:#fff;
  21 + font-size: 32rpx;
  22 + text-align: right;
  23 + margin-top:4rpx;
  24 +}
  1 +// pages/roomdetail/roomdetail.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 + swiperChange: function (e) {
  27 + this.setData({
  28 + currentSwiper: e.detail.current
  29 + })
  30 + },
  31 + /**
  32 + * 生命周期函数--监听页面初次渲染完成
  33 + */
  34 + onReady: function () {
  35 +
  36 + },
  37 +
  38 + /**
  39 + * 生命周期函数--监听页面显示
  40 + */
  41 + onShow: function () {
  42 +
  43 + },
  44 +
  45 + /**
  46 + * 生命周期函数--监听页面隐藏
  47 + */
  48 + onHide: function () {
  49 +
  50 + },
  51 +
  52 + /**
  53 + * 生命周期函数--监听页面卸载
  54 + */
  55 + onUnload: function () {
  56 +
  57 + },
  58 +
  59 + /**
  60 + * 页面相关事件处理函数--监听用户下拉动作
  61 + */
  62 + onPullDownRefresh: function () {
  63 +
  64 + },
  65 +
  66 + /**
  67 + * 页面上拉触底事件的处理函数
  68 + */
  69 + onReachBottom: function () {
  70 +
  71 + },
  72 +
  73 + /**
  74 + * 用户点击右上角分享
  75 + */
  76 + onShareAppMessage: function () {
  77 +
  78 + }
  79 +})
  1 +{
  2 + "navigationBarTitleText": "酒店详情"
  3 +}
  1 +<view class="roomtop">
  2 + <image src="/img/lineimg2.png"></image>
  3 +
  4 + <view class="jiudianbox">
  5 + <view class="jiudianname">尊享大床房</view>
  6 +
  7 + <view class="swiper_image">
  8 + <swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" class="swiper_item_img" bindchange="swiperChange">
  9 + <block wx:for="{{imgUrls}}" wx:key="doct">
  10 + <swiper-item style="border-radius:10px;">
  11 + <image src="{{item}}" data-index='{{index}}' class="slide-image" bindtap='viewImg' width="355" height="150" />
  12 + </swiper-item>
  13 + </block>
  14 + </swiper>
  15 +
  16 + <view class="dots">
  17 + <block wx:for="{{imgUrls}}" wx:key="">
  18 + <view class="dot{{index == currentSwiper ? ' active' : ''}}"></view>
  19 + </block>
  20 + </view>
  21 +
  22 + </view>
  23 +
  24 + <view class="rulelist">
  25 + <view class="ruleitem">
  26 + <view class="ruleitemleft">
  27 + <view class="leftname">面积</view>
  28 + <view class="rightname">20-23ml</view>
  29 + </view>
  30 +
  31 + <view class="ruleitemright">
  32 + <view class="leftname">所在楼层</view>
  33 + <view class="rightname">2-9层</view>
  34 + </view>
  35 + </view>
  36 +
  37 + <view class="ruleitem">
  38 + <view class="ruleitemleft">
  39 + <view class="leftname">房型</view>
  40 + <view class="rightname">双人</view>
  41 + </view>
  42 +
  43 + <view class="ruleitemright">
  44 + <view class="leftname">床型</view>
  45 + <view class="rightname">1.8大床</view>
  46 + </view>
  47 + </view>
  48 + </view>
  49 +
  50 + <view class="rulelist">
  51 + <view class="ruleitem">
  52 + <view class="ruleitemleft">
  53 + <view class="leftname">可住</view>
  54 + <view class="rightname">2人</view>
  55 + </view>
  56 +
  57 + <view class="ruleitemright">
  58 + <view class="leftname">窗户</view>
  59 + <view class="rightname">有窗</view>
  60 + </view>
  61 + </view>
  62 +
  63 + <view class="ruleitem">
  64 + <view class="ruleitemleft">
  65 + <view class="leftname">加床</view>
  66 + <view class="rightname">不可加床</view>
  67 + </view>
  68 +
  69 + <view class="ruleitemright">
  70 + <view class="leftname">上网方式</view>
  71 + <view class="rightname">免费wifi</view>
  72 + </view>
  73 + </view>
  74 + </view>
  75 +
  76 + <view class="lijiding">立即预订</view>
  77 +
  78 +
  79 + </view>
  80 +</view>
  1 +.roomtop {
  2 + width: 750rpx;
  3 + height: 284rpx;
  4 + font-size: 0;
  5 + position: relative;
  6 +}
  7 +
  8 +.jiudianbox {
  9 + width: 750rpx;
  10 + background: #fff;
  11 + /* height: 500rpx; */
  12 + opacity: 1;
  13 + border-radius: 20rpx 20rpx 0rpx 0rpx;
  14 + position: absolute;
  15 + top: 260rpx;
  16 + margin-bottom:40rpx;
  17 +}
  18 +
  19 +.jiudianname {
  20 + color: #06121e;
  21 + font-size: 32rpx;
  22 + padding: 28rpx 32rpx;
  23 +}
  24 +
  25 +/* 轮播图 */
  26 +
  27 +.swiper_image {
  28 + width: 686rpx;
  29 + height: 344rpx;
  30 + font-size: 0;
  31 + margin: 0 auto 0;
  32 + position: relative;
  33 + box-shadow: 0px -1px 6px 0px rgba(212, 137, 96, 0.11);
  34 +}
  35 +
  36 +.swiper_item_img {
  37 + height: 344rpx;
  38 +}
  39 +
  40 +.swiper_image image {
  41 + width: 100%;
  42 + height: 100%;
  43 + /* box-shadow:0px -1px 6px 0px rgba(212,137,96,0.11); */
  44 +}
  45 +
  46 +.swiper_item_img swiper-item {
  47 + width: 686rpx;
  48 + height: 344rpx;
  49 + box-shadow: 0px -1px 6px 0px rgba(212, 137, 96, 0.11);
  50 + display: felx;
  51 + align-items: center;
  52 + justify-content: center;
  53 +}
  54 +
  55 +.swiper_item_img swiper-item image {
  56 + width: 100%;
  57 + height: 100%;
  58 +}
  59 +
  60 +.rulelist {
  61 + padding: 0 50rpx 48rpx 50rpx;
  62 + box-sizing: border-box;
  63 + border-bottom: 1rpx solid #f5f5f5;
  64 + padding-bottom: 48rpx;
  65 +}
  66 +
  67 +.ruleitem {
  68 + display: flex;
  69 + align-items: center;
  70 + margin-top: 48rpx;
  71 +}
  72 +
  73 +.ruleitemleft {
  74 + width: 300rpx;
  75 + display: flex;
  76 + align-items: center;
  77 +}
  78 +
  79 +.leftname {
  80 + color: #8c9198;
  81 + font-size: 24rpx;
  82 +}
  83 +
  84 +.rightname {
  85 + color: #06121e;
  86 + font-size: 24rpx;
  87 + margin-left: 40rpx;
  88 +}
  89 +
  90 +.ruleitemright {
  91 + display: flex;
  92 + align-items: center;
  93 + margin-left: 115rpx;
  94 +}
  95 +
  96 +.lijiding {
  97 + width: 684rpx;
  98 + height: 88rpx;
  99 + background: linear-gradient(180deg, rgba(252, 169, 162, 1) 0%, rgba(255, 119, 117, 1) 100%);
  100 + opacity: 1;
  101 + border-radius: 48rpx;
  102 + color:#fff;
  103 + font-size: 32rpx;
  104 + text-align: center;
  105 + line-height: 88rpx;
  106 + margin:68rpx auto 0;
  107 +}
  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 + "navigationBarTitleText": "酒店详情"
  3 +}
  1 +
  2 +<view class="swiper_image">
  3 + <swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" class="swiper_item_img" bindchange="swiperChange">
  4 + <block wx:for="{{imgUrls}}" wx:key="doct">
  5 + <swiper-item style="border-radius:10px;">
  6 + <image src="{{item}}" data-index='{{index}}' class="slide-image" bindtap='viewImg' width="355" height="150" />
  7 + </swiper-item>
  8 + </block>
  9 + </swiper>
  10 +
  11 + <view class="dots">
  12 + <block wx:for="{{imgUrls}}" wx:key="">
  13 + <view class="dot{{index == currentSwiper ? ' active' : ''}}"></view>
  14 + </block>
  15 + </view>
  16 +
  17 +</view>
  18 +
  19 +<view class="minsuintor">
  20 + <view class="minsutou">蔓图精品民宿</view>
  21 +
  22 + <view class="suconcatbox">
  23 + <view class="suhead suheadone">
  24 + <view class="suheadleft">
  25 + <view class="suheadleimg">
  26 + <image src="/img/ditu.png"></image>
  27 + </view>
  28 +
  29 + <view class="sunheadword">北京海淀区蔓图精品民宿</view>
  30 +
  31 +
  32 + </view>
  33 +
  34 + <view class="suheadright">
  35 + <image src="/img/dianhua.png"></image>
  36 + </view>
  37 + </view>
  38 +
  39 + <view class="suhead suheadsec">
  40 + <view class="suheadleft">
  41 + <view class="suheadleimg">
  42 + <image src="/img/haibao.png"></image>
  43 + </view>
  44 +
  45 + <view class="sunheadword">08月29日-08月31日</view>
  46 + </view>
  47 + <view class="ruzhuright">
  48 + <view class="ruzhu">
  49 + 入住
  50 + <text class="ruzhunum">2</text>晚
  51 + </view>
  52 +
  53 + <view class="ruzhuyou">
  54 + <image src="/img/yourow.png"></image>
  55 + </view>
  56 + </view>
  57 +
  58 + </view>
  59 + </view>
  60 +</view>
  61 +
  62 +<view class="minsulist">
  63 + <view class='minsuitem {{selitem==1?"selactive":""}}' bindtap="selkind" data-type="1">房型介绍</view>
  64 + <view class='minsuitem {{selitem==2?"selactive":""}}' bindtap="selkind" data-type="2">酒店介绍</view>
  65 + <view class='minsuitem {{selitem==3?"selactive":""}}' bindtap="selkind" data-type="3">入住须知</view>
  66 + <view class='minsuitem {{selitem==4?"selactive":""}}' bindtap="selkind" data-type="4">游玩攻略</view>
  67 +</view>
  68 +
  69 +<view class="jiudainjie">
  70 + <view class="jiudianjieleft">酒店介绍</view>
  71 + <view class="judianjieright">
  72 + <image src="/img/yourow.png"></image>
  73 + </view>
  74 +</view>
  75 +
  76 +<view class="jiudainjie fuwujie">
  77 + <view class="jiudianjieleft">设施服务</view>
  78 + <view class="judianjieright">
  79 + <image src="/img/yourow.png"></image>
  80 + </view>
  81 +</view>
  82 +
  83 +<view class="jiudianbottom">
  84 + <view class="jiudianbottomleft">
  85 + <view class="jiudianitem">
  86 + <view class="jiudianitemtop">
  87 + <image src="/img/pin.png"></image>
  88 + </view>
  89 +
  90 + <view class="jiudianitembot">首页</view>
  91 + </view>
  92 + <view class="jiudianitem">
  93 + <view class="jiudianitemtop">
  94 + <image src="/img/kefu.png"></image>
  95 + </view>
  96 +
  97 + <view class="jiudianitembot kename">客服</view>
  98 + </view>
  99 + <view class="jiudianitem">
  100 + <view class="jiudianitemtop">
  101 + <image src="/img/shou.png"></image>
  102 + </view>
  103 +
  104 + <view class="jiudianitembot">收藏</view>
  105 + </view>
  106 + </view>
  107 +
  108 + <view class="jiudianbottomright">购买会员免费入住</view>
  109 +</view>
  1 +page {
  2 + background: #fff;
  3 +}
  4 +
  5 +.minsuintor {
  6 + padding: 40rpx 44rpx;
  7 + box-sizing: border-box;
  8 +}
  9 +
  10 +.minsutou {
  11 + color: #06121e;
  12 + font-size: 38rpx;
  13 + font-weight: bold;
  14 +}
  15 +
  16 +.suhead {
  17 + display: flex;
  18 + align-items: center;
  19 + justify-content: space-between;
  20 + padding: 30rpx 32rpx 30rpx 0;
  21 + box-sizing: border-box;
  22 +}
  23 +
  24 +.suheadone {
  25 + margin-top: 32rpx;
  26 +}
  27 +
  28 +.suheadsec {
  29 + margin-top: 16rpx;
  30 +}
  31 +
  32 +.suheadleft {
  33 + display: flex;
  34 + align-items: center;
  35 +}
  36 +
  37 +.suheadleimg {
  38 + width: 40rpx;
  39 + height: 40rpx;
  40 + font-size: 0;
  41 +}
  42 +
  43 +.sunheadword {
  44 + color: #06121e;
  45 + font-size: 28rpx;
  46 + margin-left: 12rpx;
  47 +}
  48 +
  49 +.suheadright {
  50 + width: 44rpx;
  51 + height: 44rpx;
  52 + font-size: 0;
  53 +}
  54 +
  55 +.ruzhu {
  56 + color: #06121e;
  57 + font-size: 28rpx;
  58 +}
  59 +
  60 +.ruzhunum {
  61 + color: #ff5a4e;
  62 + font-size: 28rpx;
  63 +}
  64 +
  65 +.ruzhuright {
  66 + display: flex;
  67 + align-items: center;
  68 +}
  69 +
  70 +.ruzhuyou {
  71 + width: 18rpx;
  72 + height: 18rpx;
  73 + font-size: 0;
  74 + margin-left: 16rpx;
  75 +}
  76 +
  77 +.minsulist {
  78 + display: flex;
  79 + align-items: center;
  80 + padding: 32rpx 58rpx;
  81 + box-sizing: border-box;
  82 + justify-content: space-between;
  83 +}
  84 +
  85 +.minsuitem {
  86 + color: #06121e;
  87 + font-size: 26rpx;
  88 +}
  89 +
  90 +.selactive {
  91 + color: #06121e;
  92 + font-size: 38rpx;
  93 + font-weight: bold;
  94 + position: relative;
  95 +}
  96 +
  97 +.selactive::after {
  98 + position: absolute;
  99 + display: block;
  100 + content: '';
  101 + width: 48rpx;
  102 + height: 6rpx;
  103 + background: #ff5a4e;
  104 + left: 50%;
  105 + right: 50%;
  106 + transform: translateX(-50%);
  107 + bottom: -12rpx;
  108 + border-radius: 4rpx;
  109 +}
  110 +
  111 +.judianjieright {
  112 + width: 34rpx;
  113 + height: 34rpx;
  114 + font-size: 0;
  115 +}
  116 +
  117 +.jiudainjie {
  118 + width: 686rpx;
  119 + margin: 24rpx auto 0;
  120 + padding: 38rpx 32rpx;
  121 + box-sizing: border-box;
  122 + display: flex;
  123 + align-items: center;
  124 + justify-content: space-between;
  125 + box-shadow: 0px 16rpx 24rpx rgba(0, 0, 0, 0.02);
  126 + opacity: 1;
  127 + border-radius: 20rpx;
  128 +}
  129 +.jiudianjieleft{
  130 + color:#06121E;
  131 + font-size: 32rpx;
  132 + font-weight: bold;
  133 +}
  134 +.fuwujie{
  135 + margin-bottom:52rpx;
  136 +}
  137 +.jiudianbottomleft{
  138 + display:flex;
  139 + align-items: center;
  140 + justify-content: space-between;
  141 + padding: 12rpx 34rpx;
  142 + box-sizing: border-box;
  143 + width:350rpx;
  144 +
  145 +}
  146 +
  147 +.jiudianbottomright{
  148 + width:400rpx;
  149 + height:98rpx;
  150 + background:linear-gradient(180deg,rgba(252,169,162,1) 0%,rgba(255,119,117,1) 100%);
  151 + opacity:1;
  152 + color:#fff;
  153 + font-size: 32rpx;
  154 + text-align: center;
  155 + line-height: 98rpx;
  156 +}
  157 +
  158 +.jiudianbottom{
  159 + display:flex;
  160 + align-items: center
  161 +}
  162 +
  163 +.jiudianitem{
  164 + display:flex;
  165 + flex-direction: column;
  166 + justify-content: center;
  167 + align-items: center
  168 +}
  169 +.jiudianitemtop{
  170 + width:40rpx;
  171 + height:40rpx;
  172 + font-size: 0
  173 +}
  174 +.jiudianitembot{
  175 + color:#BDC4CE;
  176 + font-size: 22rpx;
  177 +}
  178 +.kename{
  179 + color:#FF5A4E;
  180 + font-size:22rpx;
  181 +}
  1 +// pages/selectcity/selectcity.js
  2 +Page({
  3 +
  4 + /**
  5 + * 页面的初始数据
  6 + */
  7 + data: {
  8 + letter: ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"],
  9 + newcity: ['北京', '上海', '广州', '深圳', '成都', '杭州'],
  10 + citylist: [{ "letter": "A", "data": [{ "id": "v7", "cityName": "安徽" }] }, { "letter": "B", "data": [{ "id": "v10", "cityName": "巴中" }, { "id": "v4", "cityName": "包头" }, { "id": "v1", "cityName": "北京" }] }, { "letter": "C", "data": [{ "id": "v15", "cityName": "成都" }] }, { "letter": "D", "data": [{ "id": "v21", "cityName": "稻城" }] }, { "letter": "G", "data": [{ "id": "v17", "cityName": "广州" }, { "id": "v29", "cityName": "桂林" }] }, { "letter": "H", "data": [{ "id": "v9", "cityName": "海南" }, { "id": "v3", "cityName": "呼和浩特" }] }, { "letter": "L", "data": [{ "id": "v24", "cityName": "洛阳" }, { "id": "v20", "cityName": "拉萨" }, { "id": "v14", "cityName": "丽江" }] }, { "letter": "M", "data": [{ "id": "v13", "cityName": "眉山" }] }, { "letter": "N", "data": [{ "id": "v27", "cityName": "南京" }] }, { "letter": "S", "data": [{ "id": "v18", "cityName": "三亚" }, { "id": "v2", "cityName": "上海" }] }, { "letter": "T", "data": [{ "id": "v5", "cityName": "天津" }] }, { "letter": "W", "data": [{ "id": "v12", "cityName": "乌鲁木齐" }, { "id": "v25", "cityName": "武汉" }] }, { "letter": "X", "data": [{ "id": "v23", "cityName": "西安" }, { "id": "v28", "cityName": "香港" }, { "id": "v19", "cityName": "厦门" }] }, { "letter": "Z", "data": [{ "id": "v8", "cityName": "张家口" }] }],
  11 +
  12 + currentCity:''
  13 + },
  14 +
  15 + /**
  16 + * 生命周期函数--监听页面加载
  17 + */
  18 + onLoad: function(options) {
  19 + this.getcity()
  20 + },
  21 +
  22 + //获取用户当前位置
  23 + getcity() {
  24 + let that = this;
  25 + wx.getLocation({
  26 + type: 'gcj02',
  27 + success: function (res) {
  28 + // 经纬度
  29 + var latitude = res.latitude
  30 + var longitude = res.longitude
  31 +
  32 +
  33 + var aK = that.data.aK
  34 + wx.request({
  35 + url: 'https://api.map.baidu.com/geocoder/v2/?ak=y8jPDTMIuAnaVscUztce1RKfNx8v5sok&location=' + latitude + ',' + longitude + '&output=json',
  36 + data: {},
  37 + header: {
  38 + 'content-type': 'application/json'
  39 + },
  40 + success: function (res) {
  41 + console.log('1234567890', res)
  42 + var province = res.data.result.addressComponent.province;
  43 + let district = res.data.result.addressComponent.district
  44 + that.setData({
  45 + currentCity: province
  46 + })
  47 +
  48 + }
  49 + })
  50 +
  51 + },
  52 + fail: function () {
  53 + wx.showToast({
  54 + title: '授权失败,请打开GPS重新进入页面授权',
  55 + icon: 'none',
  56 + duration: 2000
  57 + })
  58 + }
  59 + })
  60 + },
  61 +
  62 + reseatweizhi(){
  63 + this.getcity()
  64 + },
  65 +
  66 + letterTap(e) {
  67 + console.log(e)
  68 + const Item = e.currentTarget.dataset.item;
  69 + this.setData({
  70 + cityListId: Item
  71 + });
  72 + // let scrollHeight = wx.getSystemInfoSync().windowHeight;
  73 + // this.setData({
  74 + // scrollHeight: scrollHeight
  75 + // })
  76 +
  77 + // var query = wx.createSelectorQuery();
  78 +
  79 + // var that = this;
  80 + // query.select('.city_left').boundingClientRect(function (rect) {
  81 + // console.log('66666',rect)
  82 +
  83 + // }).exec();
  84 +
  85 +
  86 + //滚动到某一位置
  87 + // var me = this;
  88 + // var query = wx.createSelectorQuery().in(me);
  89 + // query.selectViewport().scrollOffset()
  90 + // query.select("#comment").boundingClientRect();
  91 + // query.exec(function (res) {
  92 + // console.log(res);
  93 + // var miss = res[0].scrollTop + res[1].top - 10;
  94 + // wx.pageScrollTo({
  95 + // scrollTop: miss,
  96 + // duration: 300
  97 + // });
  98 +
  99 + // });
  100 +
  101 +
  102 + // if (Item == '#') {
  103 + // this.setData({
  104 + // scrollHeight: this.data.len
  105 + // });
  106 +
  107 +
  108 + // } else {
  109 +
  110 + // }
  111 + // console.log('77777', Item)
  112 +
  113 + // console.log('909090', this.data.scrollHeight)
  114 +
  115 + // console.log("..............." + this.data.cityListId);
  116 + },
  117 +
  118 + /**
  119 + * 生命周期函数--监听页面初次渲染完成
  120 + */
  121 + onReady: function() {
  122 +
  123 + },
  124 +
  125 + /**
  126 + * 生命周期函数--监听页面显示
  127 + */
  128 + onShow: function() {
  129 +
  130 + },
  131 +
  132 + /**
  133 + * 生命周期函数--监听页面隐藏
  134 + */
  135 + onHide: function() {
  136 +
  137 + },
  138 +
  139 + /**
  140 + * 生命周期函数--监听页面卸载
  141 + */
  142 + onUnload: function() {
  143 +
  144 + },
  145 +
  146 + /**
  147 + * 页面相关事件处理函数--监听用户下拉动作
  148 + */
  149 + onPullDownRefresh: function() {
  150 +
  151 + },
  152 +
  153 + /**
  154 + * 页面上拉触底事件的处理函数
  155 + */
  156 + onReachBottom: function() {
  157 +
  158 + },
  159 +
  160 + /**
  161 + * 用户点击右上角分享
  162 + */
  163 + onShareAppMessage: function() {
  164 +
  165 + }
  166 +})
  1 +{
  2 + "navigationBarTitleText": "选择城市"
  3 +}
  1 +<view class="selcityhead">
  2 + <view class="selcityleft">
  3 + <view class="selcityimg">
  4 + <image src="/img/sousuo.png"></image>
  5 + </view>
  6 +
  7 + <view class="selinput">
  8 + <input placeholder='请输入搜索城市' placeholder-class='searchcity' />
  9 + </view>
  10 + </view>
  11 +
  12 + <view class="selcityright">取消</view>
  13 +</view>
  14 +
  15 +<view class="cityhead">
  16 + <view class="cityheadleft">
  17 + <view class="selimgsize">
  18 + <image src="/img/ditu.png"></image>
  19 + </view>
  20 + <view class="cityleftname">{{currentCity}}</view>
  21 + <view class="cityleftding">当前定位</view>
  22 + </view>
  23 +
  24 + <view class="cityheadright" bindtap="reseatweizhi">重新定位</view>
  25 +</view>
  26 +
  27 +
  28 +<view class='city_box'>
  29 + <view class='city_left'>
  30 + <scroll-view style='width:100%;height:100%;' scroll-with-animation scroll-into-view='{{cityListId}}' class="citybox" scroll-y='true' scroll-top="{{scrollHeight}}">
  31 +
  32 + <view class='new_city'>
  33 + <view class='new_city_title'>热门城市</view>
  34 + <view class='new_city_box'>
  35 + <text class='new_city_text' wx:for='{{newcity}}' wx:key='this' data-types='new' catchtap='cityTap' data-val='{{item}}'>{{item}}</text>
  36 + </view>
  37 + </view>
  38 +
  39 +
  40 +
  41 + <view class='city_list_box'>
  42 + <block wx:for='{{citylist}}' wx:key='this' wx:for-item='letterItem' wx:for-index='letterIndex'>
  43 + <view class='city_first_letter' id='{{letterItem.letter}}'>{{letterItem.letter}}</view>
  44 + <text class='city_name' wx:for='{{letterItem.data}}' wx:key='this' data-types='list' catchtap='cityTap' data-index='{{index}}' data-val='{{item}}'>{{item.cityName}}</text>
  45 + </block>
  46 + </view>
  47 + </scroll-view>
  48 + </view>
  49 + <view class='city_right'>
  50 + <text class='letter_item' wx:for='{{letter}}' wx:key='this' catchtap='letterTap' data-item='{{item}}'>{{item}}</text>
  51 + </view>
  52 +</view>
  1 +page{
  2 + padding: 0 24rpx;
  3 + box-sizing: border-box;
  4 + height:100%;
  5 +}
  6 +.selcityhead{
  7 + display:flex;
  8 + align-items: center;
  9 + padding: 24rpx 0 40rpx;
  10 + box-sizing: border-box;
  11 + justify-content: space-between;
  12 + border-bottom:1rpx soild #EEE;
  13 +}
  14 +.selcityleft{
  15 + width:580rpx;
  16 + background: #F9F9F9;
  17 + display:flex;
  18 + align-items: center;
  19 + padding: 14rpx 34rpx;
  20 + box-sizing: border-box;
  21 +}
  22 +.selcityimg{
  23 + width:28rpx;
  24 + height:28rpx;
  25 + font-size: 0
  26 +}
  27 +.selinput{
  28 + width:502rpx;
  29 + color:#BDC4CE;
  30 + font-size: 28rpx;
  31 + margin-left:10rpx;
  32 +}
  33 +.searchcity{
  34 + color:#BDC4CE;
  35 + font-size: 28rpx;
  36 +}
  37 +.selcityright{
  38 + color:#06121E;
  39 + font-size: 28rpx;
  40 +
  41 +}
  42 +.cityhead{
  43 + display:flex;
  44 + align-items: center;
  45 + justify-content: space-between;
  46 + width:750
  47 +}
  48 +.cityheadleft{
  49 + display:flex;
  50 + align-items: center;
  51 +}
  52 +.selimgsize{
  53 + width:40rpx;
  54 + height:40rpx;
  55 + font-size: 0;
  56 +}
  57 +.cityleftname{
  58 + color:#06121E;
  59 + font-size: 32rpx;
  60 + margin-left:12rpx;
  61 + font-weight: bold;
  62 +}
  63 +.cityleftding{
  64 + color:#8C9198;
  65 + font-size: 24rpx;
  66 + margin-left:12rpx;
  67 +}
  68 +.cityheadright{
  69 + color:#FF5A4E;
  70 + font-size: 24rpx;
  71 +}
  72 +.dituimg{
  73 + width:40rpx;
  74 + height:40rpx;
  75 + font-size: 0;
  76 +}
  77 +
  78 +/* 字母排序城市 */
  79 +
  80 +.city_box{
  81 + height:100%;
  82 + background: #fff;
  83 + display: flex;
  84 +}
  85 +.city_left{
  86 + flex: 1;
  87 +}
  88 +.city_right{
  89 + width: 60rpx;
  90 + display: flex;
  91 + flex-direction: column;
  92 + justify-content: space-around;
  93 +}
  94 +.letter_item{
  95 + flex: 1;
  96 + display: block;
  97 + font-size: 24rpx;
  98 + color: #33B9FF;
  99 + text-align: center;
  100 +}
  101 +.city_locate,.national{
  102 + height: 80rpx;
  103 + line-height: 80rpx;
  104 + border-bottom: 1px solid #efefef;
  105 + font-size: 28rpx;
  106 + color: #333;
  107 + padding-left: 25rpx;
  108 +}
  109 +.city_locate_title{
  110 + color: #999;
  111 + margin-right: 20rpx;
  112 +}
  113 +.new_city{
  114 + /* background: #efefef; */
  115 + font-size: 28rpx;
  116 + margin-top:44rpx;
  117 +}
  118 +.new_city_title{
  119 + line-height: 50rpx;
  120 + color: #BDC4CE;
  121 + padding-left: 25rpx;
  122 + margin-bottom: 20rpx;
  123 +}
  124 +.new_city_box{
  125 + display: flex;
  126 + flex-wrap: wrap;
  127 +}
  128 +.new_city_text{
  129 + /* width: 200rpx; */
  130 + text-align: center;
  131 + line-height: 70rpx;
  132 + background: #fff;
  133 + border-radius: 35rpx;
  134 + margin:0 22rpx 22rpx 0;
  135 + font-size: 22rpx;
  136 + color:#06121E;
  137 + padding: 12rpx 70rpx;
  138 + box-sizing: border-box;
  139 +}
  140 +.city_first_letter{
  141 + line-height: 40rpx;
  142 + height: 40rpx;
  143 + padding-left: 25rpx;
  144 + font-size: 28rpx;
  145 + background: #eee;
  146 + color: #999;
  147 +}
  148 +.city_name{
  149 + display: block;
  150 + line-height: 80rpx;
  151 + height: 80rpx;
  152 + border-bottom: 1px solid #efefef;
  153 + font-size: 28rpx;
  154 + color: #333;
  155 + padding-left: 25rpx;
  156 +}
  1 +// pages/tiyan/tiyan.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="tiyanhead">
  2 +
  3 + <view class="tiyanzuo">
  4 + <view class='tiyanleft'>最新发布</view>
  5 + <view class="tiyanzhong">最多点赞</view>
  6 + </view>
  7 +
  8 + <view class="tiyanright">
  9 + <view class='tiyanyou'>
  10 + <image src="/img/xie.png"></image>
  11 + </view>
  12 + <view class="tiyanxie">写笔记</view>
  13 + </view>
  14 +</view>
  15 +
  16 +<view class="tiyanbox">
  17 + <view class="tiyanboxitem">
  18 + <view class="tiyanboxleft">
  19 + <image src="/img/tiyan1.png"></image>
  20 + </view>
  21 + <view class="tiyanboxright">
  22 + <view class="tiyantop">
  23 + <view class="tiyantopleft">
  24 + <image src="/img/tiyanren.png"></image>
  25 + </view>
  26 +
  27 + <view class="tiyanname">温宁</view>
  28 +
  29 +
  30 +
  31 + </view>
  32 +
  33 + <view class="tiyantext">
  34 + 位置很好,距离天津站也比较近,交通便捷,推荐!
  35 + </view>
  36 +
  37 + <view class="tiyanbottom">
  38 + <view class="tiyanbotleft">
  39 + <view class="tiyanbolefimg">
  40 + <image src="/img/ditu.png"></image>
  41 + </view>
  42 + <view class="ditutext">海淀区蔓图精品民宿</view>
  43 + </view>
  44 +
  45 + <view class="tiyanright">
  46 + <view class="tiyanzanimg">
  47 + <image src="/img/zan.png"></image>
  48 + </view>
  49 + <view class="zannum">67</view>
  50 + </view>
  51 +
  52 + </view>
  53 + </view>
  54 + </view>
  55 + <view class="tiyanboxitem">
  56 + <view class="tiyanboxleft">
  57 + <image src="/img/tiyan1.png"></image>
  58 + </view>
  59 + <view class="tiyanboxright">
  60 + <view class="tiyantop">
  61 + <view class="tiyantopleft">
  62 + <image src="/img/tiyanren.png"></image>
  63 + </view>
  64 +
  65 + <view class="tiyanname">温宁</view>
  66 +
  67 +
  68 +
  69 + </view>
  70 +
  71 + <view class="tiyantext">
  72 + 位置很好,距离天津站也比较近,交通便捷,推荐!
  73 + </view>
  74 +
  75 + <view class="tiyanbottom">
  76 + <view class="tiyanbotleft">
  77 + <view class="tiyanbolefimg">
  78 + <image src="/img/ditu.png"></image>
  79 + </view>
  80 + <view class="ditutext">海淀区蔓图精品民宿</view>
  81 + </view>
  82 +
  83 + <view class="tiyanright">
  84 + <view class="tiyanzanimg">
  85 + <image src="/img/zan.png"></image>
  86 + </view>
  87 + <view class="zannum">67</view>
  88 + </view>
  89 +
  90 + </view>
  91 + </view>
  92 + </view>
  93 +
  94 + <view class="tiyanboxitem">
  95 + <view class="tiyanboxleft">
  96 + <image src="/img/tiyan1.png"></image>
  97 + </view>
  98 + <view class="tiyanboxright">
  99 + <view class="tiyantop">
  100 + <view class="tiyantopleft">
  101 + <image src="/img/tiyanren.png"></image>
  102 + </view>
  103 +
  104 + <view class="tiyanname">温宁</view>
  105 +
  106 +
  107 +
  108 + </view>
  109 +
  110 + <view class="tiyantext">
  111 + 位置很好,距离天津站也比较近,交通便捷,推荐!
  112 + </view>
  113 +
  114 + <view class="tiyanbottom">
  115 + <view class="tiyanbotleft">
  116 + <view class="tiyanbolefimg">
  117 + <image src="/img/ditu.png"></image>
  118 + </view>
  119 + <view class="ditutext">海淀区蔓图精品民宿</view>
  120 + </view>
  121 +
  122 + <view class="tiyanright">
  123 + <view class="tiyanzanimg">
  124 + <image src="/img/zan.png"></image>
  125 + </view>
  126 + <view class="zannum">67</view>
  127 + </view>
  128 +
  129 + </view>
  130 + </view>
  131 + </view>
  132 +
  133 + <view class="tiyanboxitem">
  134 + <view class="tiyanboxleft">
  135 + <image src="/img/tiyan1.png"></image>
  136 + </view>
  137 + <view class="tiyanboxright">
  138 + <view class="tiyantop">
  139 + <view class="tiyantopleft">
  140 + <image src="/img/tiyanren.png"></image>
  141 + </view>
  142 +
  143 + <view class="tiyanname">温宁</view>
  144 +
  145 +
  146 +
  147 + </view>
  148 +
  149 + <view class="tiyantext">
  150 + 位置很好,距离天津站也比较近,交通便捷,推荐!
  151 + </view>
  152 +
  153 + <view class="tiyanbottom">
  154 + <view class="tiyanbotleft">
  155 + <view class="tiyanbolefimg">
  156 + <image src="/img/ditu.png"></image>
  157 + </view>
  158 + <view class="ditutext">海淀区蔓图精品民宿</view>
  159 + </view>
  160 +
  161 + <view class="tiyanright">
  162 + <view class="tiyanzanimg">
  163 + <image src="/img/zan.png"></image>
  164 + </view>
  165 + <view class="zannum">67</view>
  166 + </view>
  167 +
  168 + </view>
  169 + </view>
  170 + </view>
  171 +</view>
  1 +page{
  2 + background: #fff;
  3 +}
  4 +.tiyanhead{
  5 + padding: 18rpx 34rpx;
  6 +
  7 +}
  8 +
  9 +.tiyanleft{
  10 + color:#06121E;
  11 + font-size: 38rpx;
  12 + position: relative;
  13 + font-weight: bold;
  14 +}
  15 +.tiyanleft::after{
  16 + display:block;
  17 + content:'';
  18 + width:48rpx;
  19 + height:6rpx;
  20 + background: #FF5A4E;
  21 + position: absolute;
  22 + left:48rpx;
  23 + bottom:-12rpx;
  24 + border-radius: 14rpx;
  25 +
  26 +}
  27 +.tiyanhead{
  28 + display:flex;
  29 + align-items: center;
  30 + justify-content: space-between
  31 +}
  32 +.tiyanzuo{
  33 + display:flex;
  34 + align-items: center
  35 +}
  36 +.tiyanzhong{
  37 + color:#5B5E63;
  38 + font-size: 26rpx;
  39 + margin-left:60rpx;
  40 +}
  41 +.tiyanright{
  42 + display:flex;
  43 + align-items: center;
  44 +
  45 +}
  46 +.tiyanyou{
  47 + width:44rpx;
  48 + height:40rpx;
  49 +}
  50 +.tiyanxie{
  51 + color:#5B5E63;
  52 + font-size: 26rpx;
  53 + margin-left:5rpx;
  54 +}
  55 +.tiyanbox{
  56 + margin-bottom:28rpx;
  57 +}
  58 +.tiyanboxitem{
  59 + display:flex;
  60 + align-items: center;
  61 + padding: 34rpx 20rpx;
  62 + margin-top:24rpx;
  63 +}
  64 +.tiyanboxleft{
  65 + width:220rpx;
  66 + height:220rpx;
  67 + font-size: 0;
  68 + flex:0 0 auto;
  69 +}
  70 +.tiyanbox{
  71 + padding: 24rpx 34rpx;
  72 + box-sizing: border-box
  73 +}
  74 +.tiyanboxright{
  75 + margin-left:54rpx;
  76 +}
  77 +.tiyantopleft{
  78 + width:40rpx;
  79 + height:40rpx;
  80 + font-size: 0
  81 +}
  82 +.tiyantop{
  83 + display:flex;
  84 + align-items: center
  85 +}
  86 +.tiyanname{
  87 + color:#06121E;
  88 + font-size: 28rpx;
  89 + margin-left:16rpx;
  90 +
  91 +}
  92 +.tiyantext{
  93 + color:#06121E;
  94 + font-size: 30rpx;
  95 + margin-top:18rpx;
  96 +}
  97 +.tiyanbottom{
  98 + display:flex;
  99 + align-items: center;
  100 + margin-top:46rpx;
  101 + justify-content: space-between
  102 +}
  103 +.tiyanbolefimg{
  104 + width:32rpx;
  105 + height:31rpx;
  106 + font-size: 0
  107 +}
  108 +.tiyanbotleft{
  109 + display:flex;
  110 + align-items: center
  111 +}
  112 +.tiyanright{
  113 + display:flex;
  114 + align-items: center;
  115 + margin-left:18rpx;
  116 +}
  117 +.tiyanzanimg{
  118 + width:32rpx;
  119 + height:32rpx;
  120 + font-size: 0
  121 +}
  122 +.zannum{
  123 + color:#FF5A4E;
  124 + font-size: 22rpx;
  125 + margin-left:15rpx;
  126 +}
  127 +.ditutext{
  128 + color:#8C9198;
  129 + font-size: 22rpx;
  130 + width:200rpx;
  131 + overflow: hidden;
  132 + text-overflow: ellipsis;
  133 + white-space: nowrap;
  134 + margin-left:4rpx;
  135 +}
  1 +// pages/wantruzhu/wantruzhu.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="wantheadenter">
  2 + <image src="/img/sun_19.png"></image>
  3 +</view>
  4 +
  5 +<view class="selectcity">
  6 + <view class="selectname">请选择您最想去的5个城市</view>
  7 + <view class="selectcityitem">
  8 + <view class="cityiemblock">
  9 + 北京
  10 + </view>
  11 + <view class="cityiemblock">
  12 + 天津
  13 + </view>
  14 + <view class="cityiemblock">
  15 + 石家庄
  16 + </view>
  17 + <view class="cityiemblock">
  18 + 台湾
  19 + </view>
  20 + <view class="cityiemblock">
  21 + 深圳
  22 + </view>
  23 + </view>
  24 + <view class="wanthead">
  25 + <view class="wantleft">我还想去</view>
  26 + <view class="wantright">0/20</view>
  27 + </view>
  28 +
  29 + <view class="wanttext">
  30 + <input placeholder='' placeholder-class='wantword'/>
  31 + </view>
  32 +
  33 +
  34 +</view>
  35 +
  36 +<view class="tijiao">提交</view>
  1 +.wantheadenter{
  2 + width:750rpx;
  3 + height:172rpx;
  4 + font-size: 0
  5 +}
  6 +.selectcity{
  7 + padding: 42rpx 56rpx;
  8 + box-sizing: border-box
  9 +}
  10 +.selectname{
  11 + color:#06121E;
  12 + font-size: 32rpx;
  13 + font-weight: bold;
  14 +
  15 +}
  16 +.selectcityitem{
  17 + display:flex;
  18 + align-items: center;
  19 + flex-wrap:wrap;
  20 +}
  21 +.cityiemblock{
  22 + padding: 7rpx 74rpx;
  23 + color:#06121E;
  24 + font-size: 26rpx;
  25 + margin-top:24rpx;
  26 +}
  27 +.wanthead{
  28 + display:flex;
  29 + align-items: center;
  30 + justify-content: space-between;
  31 + margin-top:44rpx;
  32 +}
  33 +.wanttext{
  34 + width:648rpx;
  35 + height:80rpx;
  36 + background:rgba(249,249,249,1);
  37 + opacity:1;
  38 + border-radius:60rpx;
  39 + border:1rpx solid #f5f5f5;
  40 + margin-top:24rpx;
  41 + display:flex;
  42 + align-items: center;
  43 + justify-content: center
  44 +}
  45 +.wanttext input{
  46 + width:500rpx;
  47 +}
  48 +.wantleft{
  49 + color:#06121E;
  50 + font-size:32rpx;
  51 + font-weight: bold;
  52 +}
  53 +.wantright{
  54 + color:#8C9198;
  55 + font-size: 24rpx;
  56 +
  57 +}
  58 +.tijiao{
  59 + width:684rpx;
  60 + height:88rpx;
  61 + background:linear-gradient(180deg,rgba(252,169,162,1) 0%,rgba(255,119,117,1) 100%);
  62 + opacity:1;
  63 + border-radius:48rpx;
  64 + margin:432rpx auto 0;
  65 + text-align: center;
  66 + line-height: 88rpx;
  67 + color:#fff;
  68 + font-size: 32rpx;
  69 +}
  1 +// pages/yuding/yuding.js
  2 +Page({
  3 +
  4 + /**
  5 + * 页面的初始数据
  6 + */
  7 + data: {
  8 + zhifushow: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="yudingtou">
  2 + <view class="yudingtouname">蔓图精品民宿</view>
  3 + <view class="yudingtoutext">尊享大床房(含早)</view>
  4 +
  5 + <view class="yudingbot">
  6 + <view class="yudingbotleft">
  7 + <image src="/img/weizhi.png"></image>
  8 + </view>
  9 +
  10 + <view class="weizhitext">北京市朝阳区香河园路左家庄15号院</view>
  11 + </view>
  12 +</view>
  13 +
  14 +<view class='yuding'>
  15 +
  16 +
  17 + <view class="housetime">
  18 + <view class="houseleft">
  19 + <view class="houselefttop">08月21日</view>
  20 + <view class="houseleftbottom">(周三入住)</view>
  21 + </view>
  22 +
  23 + <view class="middletime">
  24 +
  25 + <view class="housemiddle">
  26 + <view class="housemiddletop">共2晚</view>
  27 + <image src="/img/rowright.png"></image>
  28 + </view>
  29 + </view>
  30 +
  31 + <view class="houseleft">
  32 + <view class="houselefttop">08月21日</view>
  33 + <view class="houseleftbottom">(周三入住)</view>
  34 + </view>
  35 + </view>
  36 +
  37 + <view class="ruzhuren">入住人:李娜</view>
  38 + <view class="ruzhuphone">手机号:13216599216</view>
  39 + <view class="ruzhubot">
  40 + <view class="ruzhubotleft">
  41 + <view class="ruzhuleftimg">
  42 + <image src="/img/sun_23.png"></image>
  43 + </view>
  44 + <view class='ruzhutext'>放心订 2019-08-21 18:00前可免费取消</view>
  45 + </view>
  46 + </view>
  47 +
  48 +
  49 +</view>
  50 +
  51 +<view class="yudingsec">
  52 + <view class="yudingtopname">退订政策</view>
  53 + <view class="yudingtext">
  54 + 因个人原因无法入住已预约酒店 1、请在48小时申请取消; 2、入住前未能取消扣除30%的保证金;如未能在订单日期14:00前取消订单 3、或未能实际入住,平台扣除全额保证金
  55 + </view>
  56 +
  57 + <view class="yudingtopname">退订政策</view>
  58 + <view class="yudingtext">
  59 + 会员预订房间需预付与该房间市场价等额的保证金,离店后,保证金原路退回您的支付宝账户。
  60 + </view>
  61 +
  62 +</view>
  63 +
  64 +
  65 +<view class="yudingbottom">
  66 + <view class="yudingbottomleft">
  67 + <view class="yudingleftname">¥1902</view>
  68 + <view class="yudingleftcontent">离店退还保证金</view>
  69 + </view>
  70 +
  71 + <view class="yudingbottomright">支付保证金</view>
  72 +</view>
  73 +
  74 +
  75 +<!-- 支付保证金 -->
  76 +
  77 +<view class="register" wx:if="{{zhifushow}}">
  78 + <view class="zhifuwrap">
  79 + <view class="zhifuname">支付保证金</view>
  80 + <view class="zhifumoney">¥1902</view>
  81 +
  82 + <view class="zhifutui">退房退还保证金</view>
  83 +
  84 + <view class="zhifutuihuan">支付保证金</view>
  85 + </view>
  86 +
  87 +</view>
  1 +page {
  2 + background: #f9f9f9;
  3 +}
  4 +
  5 +.yudingtou {
  6 + width: 750rpx;
  7 + height: 348rpx;
  8 + background: linear-gradient(180deg, rgba(252, 169, 162, 1) 0%, rgba(255, 119, 117, 1) 100%);
  9 + opacity: 1;
  10 + padding: 0 32rpx;
  11 + box-sizing: border-box;
  12 + overflow: hidden;
  13 + position: relative;
  14 +}
  15 +
  16 +.yudingtouname {
  17 + color: #fff;
  18 + font-size: 40rpx;
  19 + margin-top: 60rpx;
  20 +}
  21 +
  22 +.yudingtoutext {
  23 + color: #fff;
  24 + font-size: 28rpx;
  25 + margin-top: 12rpx;
  26 +}
  27 +
  28 +.yudingbotleft {
  29 + width: 30rpx;
  30 + height: 30rpx;
  31 + font-size: 0;
  32 +}
  33 +
  34 +.weizhitext {
  35 + color: #fff;
  36 + font-size: 24rpx;
  37 + margin-left: 10rpx;
  38 +}
  39 +
  40 +.yudingbot {
  41 + display: flex;
  42 + align-items: center;
  43 + margin-top: 18rpx;
  44 +}
  45 +
  46 +.yuding {
  47 + width: 686rpx;
  48 + height: 400rpx;
  49 + background: #fff;
  50 + border-radius: 20rpx;
  51 + padding: 40rpx 60rpx;
  52 + box-sizing: border-box;
  53 + margin: 26rpx auto 0;
  54 + background: rgba(255, 255, 255, 1);
  55 + box-shadow: 0px 16rpx 24rpx rgba(0, 0, 0, 0.02);
  56 + opacity: 1;
  57 + z-index: 33;
  58 + position: absolute;
  59 + top: 246rpx;
  60 + left: 32rpx;
  61 +}
  62 +
  63 +.yudingsec {
  64 + width: 686rpx;
  65 + /* height: 400rpx; */
  66 + background: #fff;
  67 + border-radius: 20rpx;
  68 + padding: 40rpx 60rpx;
  69 + box-sizing: border-box;
  70 + margin: 0 auto 150rpx;
  71 + background: rgba(255, 255, 255, 1);
  72 + box-shadow: 0px 16rpx 24rpx rgba(0, 0, 0, 0.02);
  73 + opacity: 1;
  74 + z-index: 33;
  75 + position: absolute;
  76 + top: 695rpx;
  77 + left: 32rpx;
  78 +}
  79 +
  80 +.housetime {
  81 + display: flex;
  82 + align-items: center;
  83 + /* padding: 40rpx 106rpx; *//* box-sizing: border-box; */
  84 + justify-content: space-between;
  85 +}
  86 +
  87 +.housemiddle {
  88 + width: 96rpx;
  89 + height: 56rpx;
  90 + font-size: 0;
  91 + position: relative;
  92 +}
  93 +
  94 +.houselefttop {
  95 + color: #06121e;
  96 + font-size: 36rpx;
  97 + font-weight: bold;
  98 +}
  99 +
  100 +.houseleftbottom {
  101 + color: #8c9198;
  102 + font-size: 24rpx;
  103 + text-align: center;
  104 + margin-top: 8rpx;
  105 +}
  106 +
  107 +.housemiddletop {
  108 + width: 80rpx;
  109 + color: #ff5a4e;
  110 + font-size: 24rpx;
  111 + text-align: center;
  112 + position: absolute;
  113 + top: -15rpx;
  114 +}
  115 +
  116 +.yudingtopleftname {
  117 + color: #06121e;
  118 + font-size: 32rpx;
  119 + font-weight: bold;
  120 + width: 158rpx;
  121 + display: flex;
  122 + align-items: center;
  123 +}
  124 +
  125 +.ruzhu {
  126 + color: #8c9198;
  127 + font-size: 24rpx;
  128 + margin-top: 8rpx;
  129 + text-align: center;
  130 + width: 158rpx;
  131 +}
  132 +
  133 +.yudingtop {
  134 + display: flex;
  135 + align-items: center;
  136 +}
  137 +
  138 +.ydingname {
  139 + color: #333;
  140 +}
  141 +
  142 +.ruzhuren {
  143 + color: #5b5e63;
  144 + font-size: 28rpx;
  145 + margin-top: 28rpx;
  146 +}
  147 +
  148 +.ruzhuphone {
  149 + color: #5b5e63;
  150 + font-size: 28rpx;
  151 + margin-top: 20rpx;
  152 +}
  153 +
  154 +.ruzhubot {
  155 + display: flex;
  156 + align-items: center;
  157 +}
  158 +
  159 +.ruzhuleftimg {
  160 + width: 27rpx;
  161 + height: 27rpx;
  162 + font-size: 0;
  163 +}
  164 +
  165 +.ruzhutext {
  166 + color: #ff5a4e;
  167 + font-size: 24rpx;
  168 + margin-left: 15rpx;
  169 +}
  170 +
  171 +.ruzhubotleft {
  172 + display: flex;
  173 + align-items: center;
  174 + margin-top: 82rpx;
  175 +}
  176 +
  177 +.yudingtext {
  178 + color: #8c9198;
  179 + font-size: 28rpx;
  180 + margin-top: 26rpx;
  181 +}
  182 +
  183 +.yudingtopname {
  184 + color: #06121e;
  185 + font-size: 32rpx;
  186 + font-weight: bold;
  187 + margin-top: 24rpx;
  188 +}
  189 +
  190 +.yudingbottom {
  191 + display: flex;
  192 + align-items: center;
  193 + position: fixed;
  194 + bottom: 0;
  195 + left: 0;
  196 + z-index: 44;
  197 +}
  198 +
  199 +.yudingbottomleft {
  200 + width: 510rpx;
  201 + display: flex;
  202 + align-items: center;
  203 + padding: 32rpx;
  204 + box-sizing: border-box;
  205 + background: #fff;
  206 +}
  207 +
  208 +.yudingbottomright {
  209 + width: 240rpx;
  210 + padding: 36rpx 0;
  211 + /* height:98rpx; */
  212 + background: linear-gradient(180deg, rgba(252, 169, 162, 1) 0%, rgba(255, 119, 117, 1) 100%);
  213 + opacity: 1;
  214 + color: #fff;
  215 + font-size: 28rpx;
  216 + text-align: center;
  217 + box-sizing: border-box;
  218 +}
  219 +
  220 +.yudingleftname {
  221 + color: #ff5a4e;
  222 + font-size: 36rpx;
  223 + font-weight: bold;
  224 +}
  225 +
  226 +.yudingleftcontent {
  227 + color: #5b5e63;
  228 + font-size: 24rpx;
  229 + margin-left: 20rpx;
  230 +}
  231 +
  232 +.zhifuwrap {
  233 + width: 622rpx;
  234 + height: 403rpx;
  235 + background: rgba(255, 255, 255, 1);
  236 + opacity: 1;
  237 + position: absolute;
  238 + top: 50%;
  239 + left: 50%;
  240 + transform: translate(-50%, -50%);
  241 + padding: 30rpx 84rpx;
  242 + box-sizing: border-box;
  243 + border-radius: 16rpx;
  244 +}
  245 +
  246 +.zhifuname {
  247 + color: #06121e;
  248 + font-size: 36rpx;
  249 + text-align: center;
  250 + font-weight: bold;
  251 +}
  252 +
  253 +.zhifumoney {
  254 + color: #ff5a4e;
  255 + font-size: 40rpx;
  256 + text-align: center;
  257 + margin-top: 60rpx;
  258 +}
  259 +
  260 +.zhifutui {
  261 + color: #8c9198;
  262 + font-size: 26rpx;
  263 + text-align: center;
  264 + margin-top: 14rpx;
  265 +}
  266 +
  267 +.zhifutuihuan {
  268 + width: 442rpx;
  269 + height: 80rpx;
  270 + background: linear-gradient(180deg, rgba(252, 169, 162, 1) 0%, rgba(255, 119, 117, 1) 100%);
  271 + opacity: 1;
  272 + border-radius: 44rpx;
  273 + color:#fff;
  274 + text-align: center;
  275 + line-height: 80rpx;
  276 + margin-top:32rpx;
  277 +}
  1 +// pages/yudingfinish/yudingfinish.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 +
  2 +<view class="yudingsucehead">
  3 + <view class="yudingstop">
  4 + <view class="yudingstopleft">
  5 + <image src="/img/yudingfinish.png"></image>
  6 + </view>
  7 + <view class="yudingstopright">保证金支付成功,欢迎入住!</view>
  8 + </view>
  9 +
  10 + <view class="seedetail">
  11 + <view class="seedetailzuo">查看详情</view>
  12 + <view class="seedetailyou">
  13 + <image src="/img/yourowrow.png"></image>
  14 + </view>
  15 + </view>
  16 +</view>
  17 +
  18 +<view class="mantu">
  19 + <view class="mantuname">蔓图精品民宿</view>
  20 + <view class="mantugao">高级大床房 1间(含早)</view>
  21 + <view class="mantuyue">2019-08-21日 周三 至 2019-08-23日 周五</view>
  22 + <view class="totalwan">共2晚</view>
  23 +
  24 + <view class='zongjia'>
  25 + <view class="zongjialeft">总价</view>
  26 + <view class="zongjiaright">¥1902</view>
  27 + </view>
  28 +</view>
  29 +
  30 +<view class="backindex">返回首页</view>
  1 +page {
  2 + background: #f4f8fb;
  3 +}
  4 +
  5 +.yudingsucehead {
  6 + width: 750rpx;
  7 + height: 232rpx;
  8 + background: linear-gradient(180deg, rgba(252, 169, 162, 1) 0%, rgba(255, 119, 117, 1) 100%);
  9 + opacity: 1;
  10 + padding: 50rpx 22rpx;
  11 + box-sizing: border-box;
  12 +}
  13 +
  14 +.yudingstop {
  15 + display: flex;
  16 + align-items: center;
  17 +}
  18 +
  19 +.yudingstopleft {
  20 + width: 80rpx;
  21 + height: 80rpx;
  22 + font-size: 0;
  23 +}
  24 +
  25 +.yudingstopright {
  26 + color: #fff;
  27 + font-size: 40rpx;
  28 +}
  29 +
  30 +.seedetail {
  31 + display: flex;
  32 + align-items: center;
  33 + justify-content: flex-end;
  34 +}
  35 +
  36 +.seedetailyou {
  37 + width: 12rpx;
  38 + height: 12rpx;
  39 + font-size: 0;
  40 +}
  41 +
  42 +.seedetailzuo {
  43 + color: #fff;
  44 + font-size: 24rpx;
  45 +}
  46 +
  47 +.mantu {
  48 + width: 686rpx;
  49 + height: 476rpx;
  50 + background: rgba(255, 255, 255, 1);
  51 + box-shadow: 0px 16rpx 24rpx rgba(0, 0, 0, 0.02);
  52 + opacity: 1;
  53 + border-radius: 20rpx;
  54 + padding: 48rpx 32rpx;
  55 + box-sizing: border-box;
  56 + position: absolute;
  57 + top: 194rpx;
  58 + left: 32rpx;
  59 +}
  60 +
  61 +.mantuname {
  62 + color: #06121e;
  63 + font-size: 40rpx;
  64 + font-weight: bold;
  65 +}
  66 +
  67 +.mantugao {
  68 + color: #5b5e63;
  69 + font-size: 28rpx;
  70 + margin-top: 16rpx;
  71 +}
  72 +
  73 +.mantuyue {
  74 + color: #5b5e63;
  75 + font-size: 28rpx;
  76 + margin-top: 66rpx;
  77 +}
  78 +
  79 +.totalwan {
  80 + color: #ff5a4e;
  81 + font-size: 28rpx;
  82 + text-align: center;
  83 + margin-top: 32rpx;
  84 +}
  85 +
  86 +.zongjia {
  87 + display: flex;
  88 + align-items: center;
  89 + justify-content: space-between;
  90 + margin-top: 60rpx;
  91 +}
  92 +
  93 +.zongjialeft {
  94 + color: #06121e;
  95 + font-size: 28rpx;
  96 +}
  97 +
  98 +.zongjiaright {
  99 + color: #ff5a4e;
  100 + font-size: 36rpx;
  101 +}
  102 +
  103 +.backindex {
  104 + width: 646rpx;
  105 + height: 88rpx;
  106 + border: 1px solid rgba(140, 145, 152, 1);
  107 + opacity: 1;
  108 + border-radius: 44rpx;
  109 + margin:40rpx auto 0;
  110 + position: absolute;
  111 + top:710rpx;
  112 + left:52rpx;
  113 + text-align: center;
  114 + line-height: 88rpx;
  115 +}
  1 +// pages/yudingzhinan/yudingzhinan.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="seecity">
  2 + <view class="yudingti">
  3 + <view class='yudingtinum'>1</view>
  4 + <view class="yudingtiword">查看我想去的城市可无酒店?</view>
  5 + </view>
  6 +
  7 + <view class="questext">1、您可在“首页”页面,在搜索栏输入你想去的城市,点击(查找房源)查看在该城市合作的所以酒店</view>
  8 +
  9 + <view class="searchlist">
  10 + <view class="searchhead">
  11 + <view class="searchleft">
  12 + <image src="/img/sousuo.png"></image>
  13 + </view>
  14 + <view class="searchname">
  15 + <input placeholder='请输入搜索内容' placeholder-class='entername' />
  16 + </view>
  17 + </view>
  18 +
  19 + <view class="enterbox">
  20 + <view class="enterboxleft">
  21 + <view class="enterboxlist">
  22 + <view class="boxleft"></view>
  23 + <view class="boxmiddle">08月21日</view>
  24 + <view class="boxright">(周三入住)</view>
  25 + </view>
  26 + <view class="enterboxlist boxlistsec">
  27 + <view class="boxleft"></view>
  28 + <view class="boxmiddle">08月23日</view>
  29 + <view class="boxright">(周五离店)</view>
  30 + </view>
  31 + </view>
  32 + <view class="enterboxright">共2晚</view>
  33 + </view>
  34 +
  35 + <view class="searchnametext">查找房源</view>
  36 + </view>
  37 +
  38 + <view class="questext sectext">2、您可在“首页-查看全部酒店”页面,查看我们全部民宿。</view>
  39 +
  40 +
  41 +
  42 + <view class="yutuiimg">
  43 + <image src="/img/sun_45.png"></image>
  44 + </view>
  45 +</view>
  46 +
  47 +<view class="seecity">
  48 + <view class="yudingti">
  49 + <view class='yudingtinum'>2</view>
  50 + <view class="yudingtiword">如何收藏心仪的酒店?</view>
  51 + </view>
  52 +
  53 + <view class="colecttext">点击酒店信息页面底部(收藏),可在(我的-我的收藏)查看你所收藏的酒店
  54 + <view class="colllectimg">
  55 + <image src="/img/sun_46.png"></image>
  56 + </view>
  57 +
  58 + <view class="xinyiimg">
  59 + <image src="/img/sun_47.png"></image>
  60 + </view>
  61 +
  62 + </view>
  63 +</view>
  64 +
  65 +<view class="seecity">
  66 + <view class="yudingti">
  67 + <view class='yudingtinum'>3</view>
  68 + <view class="yudingtiword">如何预订房间?</view>
  69 + </view>
  70 +
  71 + <view class="questext">1、选好心仪酒店,查看酒店所以房型,通过房型图片查看该房型详细信息</view>
  72 + <view class="yudingimg">
  73 + <image src="/img/sun_48.png"></image>
  74 + </view>
  75 +
  76 + <view class="questext sectext">2、页面选择入住日期,向下滑动选择房型,点击房型的(免费预订)</view>
  77 +
  78 + <view class="select1img">
  79 + <image src="/img/sun_49.png"></image>
  80 + </view>
  81 +
  82 + <view class="select1img">
  83 + <image src="/img/sun_50.png"></image>
  84 + </view>
  85 +
  86 + <view class="questext sectext">3、支付保证金</view>
  87 +
  88 + <view class="zhifuimg">
  89 + <image src="/img/sun_51.png"></image>
  90 + </view>
  91 +
  92 +
  93 +</view>
  94 +
  95 +<view class="seecity">
  96 + <view class="yudingti">
  97 + <view class='yudingtinum'>4</view>
  98 + <view class="yudingtiword">如何确认是否预约成功?</view>
  99 + </view>
  100 +
  101 + <view class="questext">点击酒(我的-我的订单-待出行)查看所以已预定成功的房型</view>
  102 +
  103 + <view class="yudingimg">
  104 + <image src="/img/sun_52.png"></image>
  105 + </view>
  106 +</view>
  107 +
  108 +<view class="seecity">
  109 + <view class="yudingti">
  110 + <view class='yudingtinum'>5</view>
  111 + <view class="yudingtiword">如何办理入住</view>
  112 + </view>
  113 +
  114 + <view class="questext">在规定时间内抵达酒店,出示会员订单及本人身份证原件即可办理入住,点击入住须知可查看入住时间,所需证件等详细信息</view>
  115 +
  116 + <view class="cancelimg">
  117 + <image src="/img/sun_53.png"></image>
  118 + </view>
  119 +
  120 +</view>
  121 +
  122 +<view class="seecity">
  123 + <view class="yudingti">
  124 + <view class='yudingtinum'>6</view>
  125 + <view class="yudingtiword">如何取消已预订的房间?</view>
  126 + </view>
  127 +
  128 + <view class="questext">1、点击我的-我的订单-待出行</view>
  129 +
  130 + <view class="quxiaoimg">
  131 + <image src="/img/sun_54.png"></image>
  132 + </view>
  133 +
  134 + <view class="questext sectext">2、点击(我的-我的订单-订单详情-取消订单)</view>
  135 + <view class="wnxinti">温馨提示:若因个人原因无法入住预订酒店,请务必提前48小时申请取消。如您未能48小时申请取消订单,平台将扣除30%保证金。未取消预订且未实际入住,将被扣除全部保证金</view>
  136 +
  137 + <view class="quimg">
  138 + <image src="/img/sun_55.png"></image>
  139 + </view>
  140 +</view>
  141 +
  142 +<view class="seecity">
  143 + <view class="yudingti">
  144 + <view class='yudingtinum'>7</view>
  145 + <view class="yudingtiword">保证金如何退还给我?</view>
  146 + </view>
  147 +
  148 +
  149 +</view>
  150 +
  151 +<view class="seecity">
  152 + <view class="yudingti">
  153 + <view class='yudingtinum'>8</view>
  154 + <view class="yudingtiword">如何联系客服?</view>
  155 + </view>
  156 +
  157 + <view class="questext">如以上内容未解决您的疑问,请点击(我的客服),客服会为您解答。</view>
  158 +
  159 + <view class="kefuimg">
  160 + <image src="/img/sun_56.png"></image>
  161 + </view>
  162 +</view>
  1 +page{
  2 + background: #F9F9F9
  3 +}
  4 +.yudingtinum{
  5 + width:40rpx;
  6 + height:40rpx;
  7 + background: #FF5A4E;
  8 + color:#fff;
  9 + font-size: 28rpx;
  10 + text-align: center;
  11 + line-height: 40rpx;
  12 + border-radius: 8rpx;
  13 +}
  14 +.seecity{
  15 + width:686rpx;
  16 + margin:24rpx auto 0;
  17 + background: #fff;
  18 + padding: 42rpx 30rpx;
  19 + box-sizing: border-box
  20 +
  21 +}
  22 +.yudingti{
  23 + display:flex;
  24 + align-items: center
  25 +}
  26 +.yudingtiword{
  27 + color:#06121E;
  28 + font-size: 32rpx;
  29 + font-weight: bold;
  30 + margin-left:20rpx;
  31 +}
  32 +.questext{
  33 + color:#5B5E63;
  34 + font-size: 28rpx;
  35 + margin-top:72rpx;
  36 +
  37 +
  38 +}
  39 +
  40 +.searchlist {
  41 + padding-bottom: 40rpx;
  42 +}
  43 +
  44 +.searchleft {
  45 + width: 28rpx;
  46 + height: 28rpx;
  47 + font-size: 0;
  48 +}
  49 +
  50 +.searchhead {
  51 + display: flex;
  52 + align-items: center;
  53 + justify-content: center;
  54 + padding: 22rpx 92rpx;
  55 + box-sizing: border-box;
  56 + border-bottom: 1rpx solid #f5f5f5;
  57 +}
  58 +
  59 +.searchname {
  60 + margin-left: 12rpx;
  61 + color: #06121e;
  62 + font-size: 28rpx;
  63 +}
  64 +
  65 +.entername {
  66 + color: #06121e;
  67 + font-size: 28rpx;
  68 +}
  69 +
  70 +.boxleft {
  71 + width: 16rpx;
  72 + height: 16rpx;
  73 + border-radius: 50%;
  74 + background: #ff5a4e;
  75 +}
  76 +
  77 +.enterboxlist {
  78 + display: flex;
  79 + align-items: center;
  80 + padding: 28rpx 0;
  81 + box-sizing: border-box;
  82 + border-bottom: 1rpx solid #f5f5f5;
  83 +}
  84 +
  85 +.enterbox {
  86 + padding: 0 32rpx;
  87 + box-sizing: border-box;
  88 + display: flex;
  89 + align-items: center;
  90 + justify-content: space-between;
  91 +}
  92 +
  93 +.enterboxleft {
  94 + width: 465rpx;
  95 +}
  96 +
  97 +.boxmiddle {
  98 + color: #06121e;
  99 + font-size: 36rpx;
  100 + margin-left: 30rpx;
  101 +}
  102 +
  103 +.boxright {
  104 + color: #8c9198;
  105 + font-size: 24rpx;
  106 + margin-left: 8rpx;
  107 +}
  108 +
  109 +.enterboxright {
  110 + color: #ff5a4e;
  111 + font-size: 24rpx;
  112 +}
  113 +
  114 +.searchnametext {
  115 + color: #fff;
  116 + font-size: 32rpx;
  117 + width: 618rpx;
  118 + height: 88rpx;
  119 + background: linear-gradient(90deg, rgba(255, 114, 113, 1) 0%, rgba(255, 122, 120, 1) 13%, rgba(252, 172, 165, 1) 100%, rgba(255, 194, 82, 1) 100%);
  120 + box-shadow: 0px 8rpx 16rpx rgba(253, 164, 158, 0.3);
  121 + opacity: 1;
  122 + border-radius: 44rpx;
  123 + margin: 0 auto;
  124 + text-align: center;
  125 + line-height: 88rpx;
  126 + margin-top: 20rpx;
  127 +}
  128 +.sectext{
  129 + margin-top:20rpx;
  130 +}
  131 +
  132 +.chengshihead {
  133 + display: flex;
  134 + align-items: center;
  135 + justify-content: space-between;
  136 + margin-top:40rpx;
  137 +}
  138 +
  139 +.chengshiright {
  140 + display: flex;
  141 + align-items: center;
  142 +}
  143 +
  144 +.chengshileft {
  145 + color: #06121e;
  146 + font-size: 36rpx;
  147 + font-weight: bold;
  148 +}
  149 +
  150 +.rightname {
  151 + color: #06121e;
  152 + font-size: 28rpx;
  153 +}
  154 +
  155 +.rihghtimg {
  156 + width: 22rpx;
  157 + height: 22rpx;
  158 + font-size: 0;
  159 + margin-left: 20rpx;
  160 +}
  161 +.yutuiimg{
  162 + width:625rpx;
  163 + height:158rpx;
  164 + font-size: 0;
  165 + margin-top:12rpx;
  166 +}
  167 +.colecttext{
  168 + color:#5B5E63;
  169 + font-size: 28rpx;
  170 + margin-top:72rpx;
  171 +}
  172 +.colllectimg{
  173 + width:661rpx;
  174 + height:118rpx;
  175 + font-size: 0;
  176 + margin-top:4rpx;
  177 +}
  178 +.xinyiimg{
  179 + width:626rpx;
  180 + height:290rpx;
  181 + font-size: 0;
  182 + margin-top:12rpx;
  183 +}
  184 +.yudingimg{
  185 + width:626rpx;
  186 + height:470rpx;
  187 + font-size:0;
  188 + margin-top:4rpx;
  189 +}
  190 +.select1img{
  191 + width:661rpx;
  192 + height:190rpx;
  193 + font-size:0
  194 +}
  195 +.zhifuimg{
  196 + width:661rpx;
  197 + height:468rpx;
  198 + font-size: 0;
  199 + margin-top:12rpx;
  200 +}
  201 +.yudingimg{
  202 + width:626rpx;
  203 + height:270rpx;
  204 + font-size: 0;
  205 + margin-top:8rpx;
  206 +}
  207 +.cancelimg{
  208 + width:626rpx;
  209 + height:100rpx;
  210 + font-size: 0;
  211 + margin-top:8rpx;
  212 +}
  213 +.quxiaoimg{
  214 + width:626rpx;
  215 + height:270rpx;
  216 + font-size:0;
  217 + margin-top:12rpx;
  218 +}
  219 +.wnxinti{
  220 + color:#5B5E63;
  221 + font-size:28rpx;
  222 + margin-top:10rpx;
  223 +}
  224 +.quimg{
  225 + width:626rpx;
  226 + height:98rpx;
  227 + font-size:0
  228 +}
  229 +.kefuimg{
  230 + width:626rpx;
  231 + height:288rpx;
  232 + font-size: 0;
  233 + margin-top:24rpx;
  234 +}
  1 +// pages/zhucexieyi/zhucexieyi.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="xieyiname">
  2 + <view class="xieyinametop">注册协议</view>
  3 + <view class="xieyicontent">[审慎阅读]您在申请购买守麦流程中点击同意本协议之 前,应当认真阅读本协议。请您务必审慎阅读、充分理解 条款内容,特别是免除或限制责任的条款、法律适用和争 议解决条款。免除或者限制责任的条款将以粗体下划线标 识,您应重点阅读。如你对协议有任何疑问,请联系守麦 小程序平台客服。 [签约动作]当您按照签约页面提示填写信息、阅读并同, 意本协议且完成全部购买守麦程序后,即表示您已充分阅 读、理解并接受本协议的全部内容,并与守麦达成-致, 成为“守麦会员”。阅读本协议的过程中,如果您不同意 本协议或其中任何条款约定,您应立即停止购买流程。 守麦会员服务协议 最新版本生效时间: 2019年09月10日 导言 本协议是守麦会员与杭州守麦网络科技有限公司(下 称“守麦”)之间关于您成为守麦会员及使用守麦提供的 会员服务(下称“会员服务”)所订立的有效契约,具有 法律效力。“ 会员服务”是指守麦为守麦会员提供的会员, 权益;“守麦会员” 是指完成了成为守麦会员的所有程序 且在会员服务期限内遵守相关服务使用规则下享受守麦会 员服务的自然人。 守麦已经以标粗体下划线或其他合理方式提示您重点 阅读协议中与您的权益(可能)存在重大关系的条款(包括</view>
  4 +</view>
  1 +.xieyinametop{
  2 + color:#06121E;
  3 + font-size: 28rpx;
  4 + text-align: center;
  5 + margin-top:34rpx;
  6 +}
  7 +.xieyicontent{
  8 + color:#06121E;
  9 + font-size: 28rpx;
  10 +
  11 + padding: 0 32rpx;
  12 + box-sizing: border-box;
  13 + margin-top:78rpx;
  14 + margin-bottom:40rpx;
  15 +}
  1 +{
  2 + "description": "项目配置文件",
  3 + "packOptions": {
  4 + "ignore": []
  5 + },
  6 + "setting": {
  7 + "urlCheck": false,
  8 + "es6": true,
  9 + "postcss": true,
  10 + "minified": true,
  11 + "newFeature": true,
  12 + "autoAudits": false,
  13 + "checkInvalidKey": true
  14 + },
  15 + "compileType": "miniprogram",
  16 + "libVersion": "2.8.3",
  17 + "appid": "wx1f51f42105b63343",
  18 + "projectname": "wineshopyuyue",
  19 + "debugOptions": {
  20 + "hidedInDevtools": []
  21 + },
  22 + "isGameTourist": false,
  23 + "simulatorType": "wechat",
  24 + "simulatorPluginLibVersion": {},
  25 + "condition": {
  26 + "search": {
  27 + "current": -1,
  28 + "list": []
  29 + },
  30 + "conversation": {
  31 + "current": -1,
  32 + "list": []
  33 + },
  34 + "game": {
  35 + "currentL": -1,
  36 + "list": []
  37 + },
  38 + "miniprogram": {
  39 + "current": -1,
  40 + "list": []
  41 + }
  42 + }
  43 +}
  1 +{
  2 + "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html",
  3 + "rules": [{
  4 + "action": "allow",
  5 + "page": "*"
  6 + }]
  7 +}
  1 +const formatTime = date => {
  2 + const year = date.getFullYear()
  3 + const month = date.getMonth() + 1
  4 + const day = date.getDate()
  5 + const hour = date.getHours()
  6 + const minute = date.getMinutes()
  7 + const second = date.getSeconds()
  8 +
  9 + return [year, month, day].map(formatNumber).join('/') + ' ' + [hour, minute, second].map(formatNumber).join(':')
  10 +}
  11 +
  12 +const formatNumber = n => {
  13 + n = n.toString()
  14 + return n[1] ? n : '0' + n
  15 +}
  16 +
  17 +module.exports = {
  18 + formatTime: formatTime
  19 +}