Showing
10 changed files
with
95 additions
and
9 deletions
| @@ -23,13 +23,15 @@ | @@ -23,13 +23,15 @@ | ||
| 23 | "pages/book/setting/sms", | 23 | "pages/book/setting/sms", |
| 24 | "pages/book/setting/sms_buy", | 24 | "pages/book/setting/sms_buy", |
| 25 | "pages/book/crm/index", | 25 | "pages/book/crm/index", |
| 26 | - "pages/book/remark/index", | 26 | + "pages/book/remark/index", |
| 27 | "pages/book/smsbatch/index", | 27 | "pages/book/smsbatch/index", |
| 28 | "pages/book/smsbatch/update", | 28 | "pages/book/smsbatch/update", |
| 29 | "pages/book/smsbatch/detail", | 29 | "pages/book/smsbatch/detail", |
| 30 | "pages/book/smsbatch/list", | 30 | "pages/book/smsbatch/list", |
| 31 | "pages/book/smsbatch/result", | 31 | "pages/book/smsbatch/result", |
| 32 | - "pages/reserve/search" | 32 | + "pages/reserve/search", |
| 33 | + "pages/reserve/detail", | ||
| 34 | + "pages/me/follow" | ||
| 33 | ], | 35 | ], |
| 34 | "subpackages": [ | 36 | "subpackages": [ |
| 35 | { | 37 | { |
| @@ -49,7 +49,6 @@ Component({ | @@ -49,7 +49,6 @@ Component({ | ||
| 49 | }) | 49 | }) |
| 50 | }else{ | 50 | }else{ |
| 51 | wx.hideTabBar(); | 51 | wx.hideTabBar(); |
| 52 | - //this.selectComponent('#as').show(); | ||
| 53 | wx.showActionSheet({ | 52 | wx.showActionSheet({ |
| 54 | itemList:this.data.seller.seller_tel, | 53 | itemList:this.data.seller.seller_tel, |
| 55 | complete:()=>{ | 54 | complete:()=>{ |
| 1 | <!--components/showModal/showModal.wxml--> | 1 | <!--components/showModal/showModal.wxml--> |
| 2 | -<view class="seller flex-ll"> | 2 | +<view class="seller flex-ll" > |
| 3 | <view class="image"> | 3 | <view class="image"> |
| 4 | <image src="{{seller.seller_image || 'http://qn.colorcun.com/custom/lite-online/image/seller-def.png'}}"></image> | 4 | <image src="{{seller.seller_image || 'http://qn.colorcun.com/custom/lite-online/image/seller-def.png'}}"></image> |
| 5 | <view class="room_num" wx:if="{{seller.room_num>0}}">{{seller.room_num}}个包间</view> | 5 | <view class="room_num" wx:if="{{seller.room_num>0}}">{{seller.room_num}}个包间</view> |
| @@ -11,11 +11,10 @@ | @@ -11,11 +11,10 @@ | ||
| 11 | <view class="number Semibold"> | 11 | <view class="number Semibold"> |
| 12 | <block wx:if="{{seller.average>0}}">¥{{seller.average}}元/人</block> | 12 | <block wx:if="{{seller.average>0}}">¥{{seller.average}}元/人</block> |
| 13 | </view> | 13 | </view> |
| 14 | - <view class="phone flex-ll" bindtap="tapButton" data-type="oncall"> | 14 | + <view class="phone flex-ll" catchtap="tapButton" data-type="oncall"> |
| 15 | <image src="http://qn.colorcun.com/custom/lite-online/image/phone.png"></image> | 15 | <image src="http://qn.colorcun.com/custom/lite-online/image/phone.png"></image> |
| 16 | <text>预订</text> | 16 | <text>预订</text> |
| 17 | </view> | 17 | </view> |
| 18 | </view> | 18 | </view> |
| 19 | </view> | 19 | </view> |
| 20 | -</view> | ||
| 21 | -<as items="{{['1','2']}}" id="as"></as> | ||
| 20 | +</view> |
pages/reserve/detail.js
0 → 100644
| 1 | +// pages/reserve/detail.js | ||
| 2 | +Page({ | ||
| 3 | + | ||
| 4 | + /** | ||
| 5 | + * 页面的初始数据 | ||
| 6 | + */ | ||
| 7 | + data: { | ||
| 8 | + | ||
| 9 | + }, | ||
| 10 | + | ||
| 11 | + /** | ||
| 12 | + * 生命周期函数--监听页面加载 | ||
| 13 | + */ | ||
| 14 | + onLoad: function (options) { | ||
| 15 | + console.log('onLoad',options) | ||
| 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 | +}) |
pages/reserve/detail.json
0 → 100644
pages/reserve/detail.wxml
0 → 100644
pages/reserve/detail.wxss
0 → 100644
| 1 | +/* pages/reserve/detail.wxss */ |
| @@ -52,7 +52,7 @@ | @@ -52,7 +52,7 @@ | ||
| 52 | previous-margin="{{20}}px" next-margin="{{20}}px" | 52 | previous-margin="{{20}}px" next-margin="{{20}}px" |
| 53 | current="{{current}}" bindchange="bindtransition"> | 53 | current="{{current}}" bindchange="bindtransition"> |
| 54 | <block wx:for="{{sellers}}" wx:key="sellers.key"> | 54 | <block wx:for="{{sellers}}" wx:key="sellers.key"> |
| 55 | - <swiper-item> | 55 | + <swiper-item bindtap="gotoDetail" data-sid="{{item.id}}"> |
| 56 | <view class="seller" id="seller-{{item.id}}"> | 56 | <view class="seller" id="seller-{{item.id}}"> |
| 57 | <sb-tr seller="{{item}}"></sb-tr> | 57 | <sb-tr seller="{{item}}"></sb-tr> |
| 58 | </view> | 58 | </view> |
-
Please register or login to post a comment