合并分支 'Branch_wangyi' 到 'master'
个人中心 查看合并请求 !2
正在显示
81 个修改的文件
包含
3417 行增加
和
0 行删除
img/mine (1).png
0 → 100644
1.5 KB
img/mine (10).png
0 → 100644
468 字节
img/mine (11).png
0 → 100644
747 字节
img/mine (12).png
0 → 100644
439 字节
img/mine (13).png
0 → 100644
774 字节
img/mine (14).png
0 → 100644
467 字节
img/mine (15).png
0 → 100644
830 字节
img/mine (16).png
0 → 100644
835 字节
img/mine (2).png
0 → 100644
10.8 KB
img/mine (3).png
0 → 100644
28.7 KB
img/mine (4).png
0 → 100644
5.6 KB
img/mine (5).png
0 → 100644
18.6 KB
img/mine (6).png
0 → 100644
52.2 KB
img/mine (7).png
0 → 100644
175.1 KB
img/mine (8).png
0 → 100644
527 字节
img/mine (9).png
0 → 100644
863 字节
img/mine_addping.png
0 → 100644
501 字节
img/mine_collect (1).png
0 → 100644
141.7 KB
img/mine_collect (2).png
0 → 100644
429.4 KB
img/mine_down.png
0 → 100644
1.6 KB
img/mine_exchange.png
0 → 100644
1.4 KB
img/mine_jr.png
0 → 100644
563 字节
img/mine_open.png
0 → 100644
1.5 KB
img/mine_share.png
0 → 100644
735 字节
img/mine_wallet (1).png
0 → 100644
2.2 KB
img/mine_wallet (2).png
0 → 100644
1.9 KB
img/mine_wallet (3).png
0 → 100644
2.5 KB
img/no_order.png
0 → 100644
7.9 KB
img/order_address.png
0 → 100644
706 字节
img/order_detail (1).png
0 → 100644
1.7 KB
img/order_detail (2).png
0 → 100644
1.1 KB
img/order_detail (3).png
0 → 100644
1.7 KB
img/order_time.png
0 → 100644
420 字节
pages/mine/mine.js
0 → 100644
1 | +// pages/mine/mine.js | ||
2 | +Page({ | ||
3 | + | ||
4 | + /** | ||
5 | + * 页面的初始数据 | ||
6 | + */ | ||
7 | + data: { | ||
8 | + box: [{ | ||
9 | + index: 0, | ||
10 | + img: '/img/mine (9).png', | ||
11 | + word: "待付款" | ||
12 | + }, { | ||
13 | + index: 1, | ||
14 | + img: '/img/mine (11).png', | ||
15 | + word: "待出行" | ||
16 | + }, { | ||
17 | + index: 2, | ||
18 | + img: '/img/mine (13).png', | ||
19 | + word: "已入住" | ||
20 | + }, { | ||
21 | + index: 3, | ||
22 | + img: '/img/mine (15).png', | ||
23 | + word: "已完成" | ||
24 | + }, { | ||
25 | + index: 4, | ||
26 | + img: '/img/mine (1).png', | ||
27 | + word: "已取消" | ||
28 | + }], | ||
29 | + current: "", | ||
30 | + // 模态框 | ||
31 | + modal_show: false, | ||
32 | + // 海报 | ||
33 | + poster_show: false, | ||
34 | + imgUrl: "", | ||
35 | + // 是否为vip | ||
36 | + is_vip: "" | ||
37 | + }, | ||
38 | + // 设置个人信息 | ||
39 | + set_infor() { | ||
40 | + wx.navigateTo({ | ||
41 | + url: '/pages/mine_set/mine_set', | ||
42 | + }) | ||
43 | + }, | ||
44 | + // 开通会员 | ||
45 | + open_vip() { | ||
46 | + let t = this; | ||
47 | + t.setData({ | ||
48 | + modal_show: true | ||
49 | + }) | ||
50 | + }, | ||
51 | + modal_hide() { | ||
52 | + let t = this; | ||
53 | + t.setData({ | ||
54 | + modal_show: false | ||
55 | + }) | ||
56 | + }, | ||
57 | + // 取消 | ||
58 | + cancel() { | ||
59 | + let t = this; | ||
60 | + t.setData({ | ||
61 | + modal_show: false | ||
62 | + }) | ||
63 | + }, | ||
64 | + // 去购买 | ||
65 | + go_pay() { | ||
66 | + let t = this; | ||
67 | + setTimeout(function() { | ||
68 | + t.setData({ | ||
69 | + modal_show: false, | ||
70 | + is_vip: 1 | ||
71 | + }) | ||
72 | + }, 1000) | ||
73 | + }, | ||
74 | + // 海报 | ||
75 | + poster_hide() { | ||
76 | + let t = this; | ||
77 | + t.setData({ | ||
78 | + poster_show: false | ||
79 | + }) | ||
80 | + }, | ||
81 | + // 保存图片到相册 | ||
82 | + keep() { | ||
83 | + let that = this | ||
84 | + //若二维码未加载完毕,加个动画提高用户体验 | ||
85 | + wx.showToast({ | ||
86 | + icon: 'loading', | ||
87 | + title: '正在保存图片', | ||
88 | + duration: 1000 | ||
89 | + }) | ||
90 | + //判断用户是否授权"保存到相册" | ||
91 | + wx.getSetting({ | ||
92 | + success(res) { | ||
93 | + //没有权限,发起授权 | ||
94 | + if (!res.authSetting['scope.writePhotosAlbum']) { | ||
95 | + wx.authorize({ | ||
96 | + scope: 'scope.writePhotosAlbum', | ||
97 | + success() { //用户允许授权,保存图片到相册 | ||
98 | + that.savePhoto(); | ||
99 | + }, | ||
100 | + fail() { //用户点击拒绝授权,跳转到设置页,引导用户授权 | ||
101 | + wx.openSetting({ | ||
102 | + success() { | ||
103 | + wx.authorize({ | ||
104 | + scope: 'scope.writePhotosAlbum', | ||
105 | + success() { | ||
106 | + that.savePhoto(); | ||
107 | + } | ||
108 | + }) | ||
109 | + } | ||
110 | + }) | ||
111 | + } | ||
112 | + }) | ||
113 | + } else { //用户已授权,保存到相册 | ||
114 | + that.savePhoto() | ||
115 | + } | ||
116 | + } | ||
117 | + }) | ||
118 | + }, | ||
119 | + //保存图片到相册,提示保存成功 | ||
120 | + savePhoto() { | ||
121 | + let that = this | ||
122 | + wx.downloadFile({ | ||
123 | + url: that.data.imgUrl, | ||
124 | + success: function(res) { | ||
125 | + wx.saveImageToPhotosAlbum({ | ||
126 | + filePath: res.tempFilePath, | ||
127 | + success(res) { | ||
128 | + wx.showToast({ | ||
129 | + title: '保存成功', | ||
130 | + icon: "success", | ||
131 | + duration: 1000 | ||
132 | + }) | ||
133 | + } | ||
134 | + }) | ||
135 | + } | ||
136 | + }) | ||
137 | + }, | ||
138 | + // 前往订单页 | ||
139 | + go_order(e) { | ||
140 | + let t = this; | ||
141 | + t.setData({ | ||
142 | + current: e.currentTarget.dataset.id | ||
143 | + }); | ||
144 | + wx.navigateTo({ | ||
145 | + url: '/pages/mine_order/mine_order?active=' + t.data.current, | ||
146 | + }) | ||
147 | + }, | ||
148 | + // 前往我的钱包 | ||
149 | + go_wallet() { | ||
150 | + wx.navigateTo({ | ||
151 | + url: '/pages/mine_wallet/mine_wallet', | ||
152 | + }) | ||
153 | + }, | ||
154 | + // 前往我的收藏 | ||
155 | + go_collect() { | ||
156 | + wx.navigateTo({ | ||
157 | + url: '/pages/mine_collect/mine_collect', | ||
158 | + }) | ||
159 | + }, | ||
160 | + // 生成海报 | ||
161 | + go_poster() { | ||
162 | + let t = this; | ||
163 | + t.setData({ | ||
164 | + poster_show: true | ||
165 | + }) | ||
166 | + }, | ||
167 | + // 前往兑换中心 | ||
168 | + go_exchange() { | ||
169 | + wx.navigateTo({ | ||
170 | + url: '/pages/mine_exchange/mine_exchange', | ||
171 | + }) | ||
172 | + }, | ||
173 | + // 前往我的客服 | ||
174 | + go_kefu() { | ||
175 | + wx.navigateTo({ | ||
176 | + url: '/pages/mine_kefu/mine_kefu', | ||
177 | + }) | ||
178 | + }, | ||
179 | + // 前往会员须知 | ||
180 | + go_notice() { | ||
181 | + wx.navigateTo({ | ||
182 | + url: '/pages/mine_notice/mine_notice', | ||
183 | + }) | ||
184 | + }, | ||
185 | + /** | ||
186 | + * 生命周期函数--监听页面加载 | ||
187 | + */ | ||
188 | + onLoad: function(options) { | ||
189 | + | ||
190 | + }, | ||
191 | + | ||
192 | + /** | ||
193 | + * 生命周期函数--监听页面初次渲染完成 | ||
194 | + */ | ||
195 | + onReady: function() { | ||
196 | + | ||
197 | + }, | ||
198 | + | ||
199 | + /** | ||
200 | + * 生命周期函数--监听页面显示 | ||
201 | + */ | ||
202 | + onShow: function() { | ||
203 | + | ||
204 | + }, | ||
205 | + | ||
206 | + /** | ||
207 | + * 生命周期函数--监听页面隐藏 | ||
208 | + */ | ||
209 | + onHide: function() { | ||
210 | + | ||
211 | + }, | ||
212 | + | ||
213 | + /** | ||
214 | + * 生命周期函数--监听页面卸载 | ||
215 | + */ | ||
216 | + onUnload: function() { | ||
217 | + | ||
218 | + }, | ||
219 | + | ||
220 | + /** | ||
221 | + * 页面相关事件处理函数--监听用户下拉动作 | ||
222 | + */ | ||
223 | + onPullDownRefresh: function() { | ||
224 | + | ||
225 | + }, | ||
226 | + | ||
227 | + /** | ||
228 | + * 页面上拉触底事件的处理函数 | ||
229 | + */ | ||
230 | + onReachBottom: function() { | ||
231 | + | ||
232 | + }, | ||
233 | + | ||
234 | + /** | ||
235 | + * 用户点击右上角分享 | ||
236 | + */ | ||
237 | + onShareAppMessage: function() { | ||
238 | + | ||
239 | + } | ||
240 | +}) |
pages/mine/mine.json
0 → 100644
pages/mine/mine.wxml
0 → 100644
1 | +<!-- 模态框 --> | ||
2 | +<view class='register' wx:if="{{modal_show}}" catchtouchmove="preventTouchMove" bindtap='modal_hide'> | ||
3 | + <view class='modal_box'> | ||
4 | + <view class='modal_title'>限量特权会员</view> | ||
5 | + <view class='modal_word'>已购买会员权益的用户可参加分享返佣金特权,限量对首批会员开放,分享即可获得100元\位的返佣金上不封顶! | ||
6 | + </view> | ||
7 | + <view class='modal_btn layer_between'> | ||
8 | + <view class='modal_left' catchtap='cancel'>取消</view> | ||
9 | + <view class='modal_right' catchtap='go_pay'>去购买</view> | ||
10 | + </view> | ||
11 | + </view> | ||
12 | +</view> | ||
13 | +<!-- 海报 --> | ||
14 | +<view class='register' wx:if="{{poster_show}}" catchtouchmove="preventTouchMove" bindtap='poster_hide'> | ||
15 | + <view class='poster'> | ||
16 | + <view class='poster_img'> | ||
17 | + <image src='/img/sun_48.png'></image> | ||
18 | + </view> | ||
19 | + <view class='poster_btn' catchtap='keep'>保存图片至相册</view> | ||
20 | + </view> | ||
21 | +</view> | ||
22 | +<view class="top layer_betweens" style='background-image: url("/img/mine (2).png")'> | ||
23 | + <view class='top_left layer_star'> | ||
24 | + <view class='top_img'> | ||
25 | + <image src='/img/mine (5).png'></image> | ||
26 | + <view class='vip_icon' wx:if="{{is_vip == 1}}"> | ||
27 | + <image src='/img/zuanshi.png'></image> | ||
28 | + </view> | ||
29 | + </view> | ||
30 | + <view class='top_infor'> | ||
31 | + <view class='top_name'>爱旅行的小李</view> | ||
32 | + <view class='top_word' wx:if="{{is_vip == 1}}">加入会员享民宿免费住</view> | ||
33 | + <view class='open_vip layer_center' bindtap='open_vip' wx:else> | ||
34 | + <view class='top_set'>设置</view> | ||
35 | + <view class='top_icon'>></view> | ||
36 | + </view> | ||
37 | + </view> | ||
38 | + </view> | ||
39 | + <view class='top_right layer_star' bindtap='set_infor'> | ||
40 | + <view class='top_set'>设置</view> | ||
41 | + <view class='top_icon'>></view> | ||
42 | + </view> | ||
43 | +</view> | ||
44 | +<!-- 我的订单 --> | ||
45 | +<view class='order'> | ||
46 | + <view class='my_order'> | ||
47 | + <view class='order_title'>我的订单</view> | ||
48 | + <view class='order_box layer_between'> | ||
49 | + <view class='order_one flex_center' wx:for="{{box}}" wx:key="index" bindtap='go_order' data-id='{{item.index}}'> | ||
50 | + <view class='order_img'> | ||
51 | + <image src='{{item.img}}'></image> | ||
52 | + </view> | ||
53 | + <view class='order_word'>{{item.word}}</view> | ||
54 | + </view> | ||
55 | + </view> | ||
56 | + </view> | ||
57 | +</view> | ||
58 | +<!-- 加入理想会员 --> | ||
59 | +<view class='join'> | ||
60 | + <image src='/img/mine (6).png'></image> | ||
61 | +</view> | ||
62 | +<!-- 列表 --> | ||
63 | +<view class='list'> | ||
64 | + <view class='list_box layer_between' bindtap='go_wallet'> | ||
65 | + <view class='list_left'>我的钱包</view> | ||
66 | + <view class='list_right'> | ||
67 | + <image src='/img/yourow.png'></image> | ||
68 | + </view> | ||
69 | + </view> | ||
70 | + <view class='list_box layer_between' bindtap='go_collect'> | ||
71 | + <view class='list_left'>我的收藏</view> | ||
72 | + <view class='list_right'> | ||
73 | + <image src='/img/yourow.png'></image> | ||
74 | + </view> | ||
75 | + </view> | ||
76 | + <view class='list_box layer_between' bindtap='go_poster'> | ||
77 | + <view class='list_left'>专属海报</view> | ||
78 | + <view class='layer_star'> | ||
79 | + <view class='share_word'>分享海报给朋友,享购买返利</view> | ||
80 | + <view class='list_right'> | ||
81 | + <image src='/img/yourow.png'></image> | ||
82 | + </view> | ||
83 | + </view> | ||
84 | + </view> | ||
85 | + <view class='list_box layer_between' bindtap='go_exchange'> | ||
86 | + <view class='list_left'>兑换中心</view> | ||
87 | + <view class='list_right'> | ||
88 | + <image src='/img/yourow.png'></image> | ||
89 | + </view> | ||
90 | + </view> | ||
91 | + <view class='list_box layer_between' bindtap='go_kefu'> | ||
92 | + <view class='list_left'>我的客服</view> | ||
93 | + <view class='list_right'> | ||
94 | + <image src='/img/yourow.png'></image> | ||
95 | + </view> | ||
96 | + </view> | ||
97 | + <view class='list_box layer_between' style='border:none' bindtap='go_notice'> | ||
98 | + <view class='list_left'>会员须知</view> | ||
99 | + <view class='list_right'> | ||
100 | + <image src='/img/yourow.png'></image> | ||
101 | + </view> | ||
102 | + </view> | ||
103 | +</view> |
pages/mine/mine.wxss
0 → 100644
1 | +.layer_star { | ||
2 | + display: flex; | ||
3 | + justify-content: flex-start; | ||
4 | + align-items: center; | ||
5 | +} | ||
6 | + | ||
7 | +.layer_betweens { | ||
8 | + display: flex; | ||
9 | + justify-content: space-between; | ||
10 | +} | ||
11 | + | ||
12 | +.layer_between { | ||
13 | + display: flex; | ||
14 | + justify-content: space-between; | ||
15 | + align-items: center; | ||
16 | +} | ||
17 | + | ||
18 | +.layer_center { | ||
19 | + display: flex; | ||
20 | + justify-content: center; | ||
21 | + align-items: center; | ||
22 | +} | ||
23 | + | ||
24 | +.flex_center { | ||
25 | + display: flex; | ||
26 | + flex-direction: column; | ||
27 | + align-items: center; | ||
28 | +} | ||
29 | + | ||
30 | +page { | ||
31 | + background: #f9f9f9; | ||
32 | +} | ||
33 | + | ||
34 | +.top { | ||
35 | + width: 100%; | ||
36 | + height: 256rpx; | ||
37 | + background-repeat: no-repeat; | ||
38 | + background-size: cover; | ||
39 | + background-position: center; | ||
40 | + padding: 0 32rpx; | ||
41 | + box-sizing: border-box; | ||
42 | +} | ||
43 | + | ||
44 | +.top_left { | ||
45 | + margin-top: -74rpx; | ||
46 | +} | ||
47 | + | ||
48 | +.top_img { | ||
49 | + width: 96rpx; | ||
50 | + height: 96rpx; | ||
51 | + border: 4rpx solid #fff; | ||
52 | + border-radius: 50%; | ||
53 | + position: relative; | ||
54 | +} | ||
55 | + | ||
56 | +.vip_icon { | ||
57 | + width: 34rpx; | ||
58 | + height: 34rpx; | ||
59 | + position: absolute; | ||
60 | + bottom: -5rpx; | ||
61 | + right: -7rpx; | ||
62 | +} | ||
63 | + | ||
64 | +.vip_icon img { | ||
65 | + width: 100%; | ||
66 | + height: 100%; | ||
67 | +} | ||
68 | + | ||
69 | +.top_img image { | ||
70 | + width: 100%; | ||
71 | + height: 100%; | ||
72 | + border-radius: 50%; | ||
73 | +} | ||
74 | + | ||
75 | +.top_infor { | ||
76 | + margin-left: 16rpx; | ||
77 | +} | ||
78 | + | ||
79 | +.top_name { | ||
80 | + font-size: 36rpx; | ||
81 | + font-weight: bold; | ||
82 | + color: rgba(255, 255, 255, 1); | ||
83 | +} | ||
84 | + | ||
85 | +.top_word { | ||
86 | + margin-top: 14rpx; | ||
87 | + font-size: 24rpx; | ||
88 | + font-weight: 500; | ||
89 | + color: rgba(255, 255, 255, 1); | ||
90 | +} | ||
91 | + | ||
92 | +.top_right { | ||
93 | + margin-top: 54rpx; | ||
94 | + height: 40rpx; | ||
95 | + border: 2rpx solid rgba(255, 255, 255, 1); | ||
96 | + border-radius: 12rpx; | ||
97 | + padding: 0 14rpx; | ||
98 | + box-sizing: border-box; | ||
99 | +} | ||
100 | + | ||
101 | +.top_set { | ||
102 | + font-size: 24rpx; | ||
103 | + font-weight: 500; | ||
104 | + color: rgba(255, 255, 255, 1); | ||
105 | +} | ||
106 | + | ||
107 | +.top_icon { | ||
108 | + line-height: 40rpx; | ||
109 | + margin-left: 10rpx; | ||
110 | + color: #fff; | ||
111 | +} | ||
112 | + | ||
113 | +.order { | ||
114 | + padding: 0 32rpx; | ||
115 | + box-sizing: border-box; | ||
116 | + margin-top: -70rpx; | ||
117 | +} | ||
118 | + | ||
119 | +.my_order { | ||
120 | + padding: 32rpx; | ||
121 | + box-sizing: border-box; | ||
122 | + background: rgba(255, 255, 255, 1); | ||
123 | + box-shadow: 0 12rpx 36rpx rgba(0, 0, 0, 0.04); | ||
124 | + border-radius: 20rpx; | ||
125 | +} | ||
126 | + | ||
127 | +.order_title { | ||
128 | + font-size: 28rpx; | ||
129 | + font-weight: bold; | ||
130 | + color: rgba(6, 18, 30, 1); | ||
131 | + margin-bottom: 20rpx; | ||
132 | +} | ||
133 | + | ||
134 | +.order_box { | ||
135 | + padding: 0 16rpx; | ||
136 | + box-sizing: border-box; | ||
137 | +} | ||
138 | + | ||
139 | +.order_img { | ||
140 | + width: 56rpx; | ||
141 | + height: 52rpx; | ||
142 | +} | ||
143 | + | ||
144 | +.order_img image { | ||
145 | + width: 100%; | ||
146 | + height: 100%; | ||
147 | +} | ||
148 | + | ||
149 | +.order_word { | ||
150 | + margin-top: 16rpx; | ||
151 | + font-size: 26rpx; | ||
152 | + font-weight: 400; | ||
153 | + color: rgba(61, 68, 77, 1); | ||
154 | +} | ||
155 | + | ||
156 | +/* 加入理想会员 */ | ||
157 | + | ||
158 | +.join { | ||
159 | + width: 686rpx; | ||
160 | + height: 254rpx; | ||
161 | + margin: 18rpx auto 0; | ||
162 | +} | ||
163 | + | ||
164 | +.join_box image { | ||
165 | + width: 100%; | ||
166 | + height: 100%; | ||
167 | +} | ||
168 | + | ||
169 | +/* 列表 */ | ||
170 | + | ||
171 | +.list { | ||
172 | + margin-top: 26rpx; | ||
173 | + background: #fff; | ||
174 | + padding: 0 32rpx; | ||
175 | + box-sizing: border-box; | ||
176 | +} | ||
177 | + | ||
178 | +.list_left { | ||
179 | + font-size: 28rpx; | ||
180 | + font-weight: 400; | ||
181 | + color: rgba(6, 18, 30, 1); | ||
182 | +} | ||
183 | + | ||
184 | +.list_right { | ||
185 | + width: 22rpx; | ||
186 | + height: 22rpx; | ||
187 | + font-size: 0; | ||
188 | +} | ||
189 | + | ||
190 | +.list_right image { | ||
191 | + width: 100%; | ||
192 | + height: 100%; | ||
193 | +} | ||
194 | + | ||
195 | +.list_box { | ||
196 | + padding: 34rpx 32rpx; | ||
197 | + box-sizing: border-box; | ||
198 | + border-bottom: 1rpx solid rgba(238, 238, 238, 1); | ||
199 | +} | ||
200 | + | ||
201 | +.share_word { | ||
202 | + margin-right: 18rpx; | ||
203 | + font-size: 24rpx; | ||
204 | + font-weight: 400; | ||
205 | + color: rgba(255, 90, 78, 1); | ||
206 | +} | ||
207 | + | ||
208 | +.open_vip { | ||
209 | + width: 98rpx; | ||
210 | + border: 2rpx solid rgba(255, 255, 255, 1); | ||
211 | + border-radius: 12rpx; | ||
212 | + margin-top: 10rpx; | ||
213 | +} | ||
214 | + | ||
215 | +/* 模态框 */ | ||
216 | + | ||
217 | +.modal_box { | ||
218 | + width: 622rpx; | ||
219 | + background: #fff; | ||
220 | + border-radius: 15rpx; | ||
221 | + position: absolute; | ||
222 | + top: 50%; | ||
223 | + left: 50%; | ||
224 | + transform: translate(-50%, -50%); | ||
225 | + padding: 30rpx 32rpx 50rpx; | ||
226 | + box-sizing: border-box; | ||
227 | +} | ||
228 | + | ||
229 | +.modal_title { | ||
230 | + font-size: 36rpx; | ||
231 | + font-weight: bold; | ||
232 | + color: rgba(6, 18, 30, 1); | ||
233 | + -webkit-text-stroke: 1 rgba(0, 0, 0, 0.00); | ||
234 | + text-stroke: 1 rgba(0, 0, 0, 0.00); | ||
235 | + text-align: center; | ||
236 | + border-bottom: 1rpx solid rgba(238, 238, 238, 1); | ||
237 | + padding-bottom: 32rpx; | ||
238 | +} | ||
239 | + | ||
240 | +.modal_word { | ||
241 | + margin-top: 30rpx; | ||
242 | + font-size: 28rpx; | ||
243 | + font-weight: 400; | ||
244 | + line-height: 40rpx; | ||
245 | + color: rgba(140, 145, 152, 1); | ||
246 | + padding: 0 56rpx 48rpx; | ||
247 | + box-sizing: border-box; | ||
248 | + text-align: left; | ||
249 | +} | ||
250 | + | ||
251 | +.modal_btn { | ||
252 | + padding: 0 56rpx 0 28rpx; | ||
253 | + box-sizing: border-box; | ||
254 | +} | ||
255 | + | ||
256 | +.modal_left { | ||
257 | + width: 214rpx; | ||
258 | + background: rgba(238, 238, 238, 1); | ||
259 | + border-radius: 44rpx; | ||
260 | + font-size: 28rpx; | ||
261 | + font-weight: 500; | ||
262 | + color: rgba(140, 145, 152, 1); | ||
263 | + text-align: center; | ||
264 | + padding: 20rpx 0; | ||
265 | + box-sizing: border-box; | ||
266 | +} | ||
267 | + | ||
268 | +.modal_right { | ||
269 | + width: 214rpx; | ||
270 | + background: linear-gradient(180deg, rgba(252, 169, 162, 1) 0%, rgba(255, 119, 117, 1) 100%); | ||
271 | + border-radius: 44rpx; | ||
272 | + font-size: 28rpx; | ||
273 | + font-weight: 500; | ||
274 | + color: rgba(255, 255, 255, 1); | ||
275 | + text-align: center; | ||
276 | + padding: 20rpx 0; | ||
277 | + box-sizing: border-box; | ||
278 | +} | ||
279 | + | ||
280 | +/* 海报 */ | ||
281 | + | ||
282 | +.poster { | ||
283 | + width: 696rpx; | ||
284 | + position: absolute; | ||
285 | + top: 50%; | ||
286 | + left: 50%; | ||
287 | + transform: translate(-50%, -50%); | ||
288 | +} | ||
289 | + | ||
290 | +.poster_img { | ||
291 | + width: 100%; | ||
292 | + height: 834rpx; | ||
293 | +} | ||
294 | + | ||
295 | +.poster_img image { | ||
296 | + width: 100%; | ||
297 | + height: 100%; | ||
298 | +} | ||
299 | + | ||
300 | +.poster_btn { | ||
301 | + margin-top: 40rpx; | ||
302 | + background: linear-gradient(180deg, rgba(252, 169, 162, 1) 0%, rgba(255, 119, 117, 1) 100%); | ||
303 | + opacity: 1; | ||
304 | + border-radius: 44rpx; | ||
305 | + padding: 26rpx 0; | ||
306 | + box-sizing: border-box; | ||
307 | + text-align: center; | ||
308 | + font-size: 28rpx; | ||
309 | + font-weight: bold; | ||
310 | + color: rgba(255, 255, 255, 1); | ||
311 | +} |
pages/mine_collect/mine_collect.js
0 → 100644
1 | +// pages/mine_collect/mine_collect.js | ||
2 | +Page({ | ||
3 | + | ||
4 | + /** | ||
5 | + * 页面的初始数据 | ||
6 | + */ | ||
7 | + data: { | ||
8 | + list: [{ | ||
9 | + img: "/img/tuijianimg1.png", | ||
10 | + address: "海淀区蔓图精品民宿", | ||
11 | + title: "朗丽兹西山花园酒店", | ||
12 | + name: "吴镇蔓图精品民宿", | ||
13 | + label: ["原木轻奢", "豪华精致"], | ||
14 | + price: "888", | ||
15 | + free: "会员免费" | ||
16 | + }, { | ||
17 | + img: "/img/tuijianimg2.png", | ||
18 | + address: "海淀区蔓图精品民宿", | ||
19 | + title: "朗丽兹西山花园酒店", | ||
20 | + name: "吴镇蔓图精品民宿", | ||
21 | + label: ["原木轻奢", "豪华精致"], | ||
22 | + price: "888", | ||
23 | + free: "会员免费" | ||
24 | + }] | ||
25 | + }, | ||
26 | + | ||
27 | + /** | ||
28 | + * 生命周期函数--监听页面加载 | ||
29 | + */ | ||
30 | + onLoad: function(options) { | ||
31 | + | ||
32 | + }, | ||
33 | + | ||
34 | + /** | ||
35 | + * 生命周期函数--监听页面初次渲染完成 | ||
36 | + */ | ||
37 | + onReady: function() { | ||
38 | + | ||
39 | + }, | ||
40 | + | ||
41 | + /** | ||
42 | + * 生命周期函数--监听页面显示 | ||
43 | + */ | ||
44 | + onShow: function() { | ||
45 | + | ||
46 | + }, | ||
47 | + | ||
48 | + /** | ||
49 | + * 生命周期函数--监听页面隐藏 | ||
50 | + */ | ||
51 | + onHide: function() { | ||
52 | + | ||
53 | + }, | ||
54 | + | ||
55 | + /** | ||
56 | + * 生命周期函数--监听页面卸载 | ||
57 | + */ | ||
58 | + onUnload: function() { | ||
59 | + | ||
60 | + }, | ||
61 | + | ||
62 | + /** | ||
63 | + * 页面相关事件处理函数--监听用户下拉动作 | ||
64 | + */ | ||
65 | + onPullDownRefresh: function() { | ||
66 | + | ||
67 | + }, | ||
68 | + | ||
69 | + /** | ||
70 | + * 页面上拉触底事件的处理函数 | ||
71 | + */ | ||
72 | + onReachBottom: function() { | ||
73 | + | ||
74 | + }, | ||
75 | + | ||
76 | + /** | ||
77 | + * 用户点击右上角分享 | ||
78 | + */ | ||
79 | + onShareAppMessage: function() { | ||
80 | + | ||
81 | + } | ||
82 | +}) |
pages/mine_collect/mine_collect.json
0 → 100644
pages/mine_collect/mine_collect.wxml
0 → 100644
1 | +<!--pages/mine_collect/mine_collect.wxml--> | ||
2 | +<view class='box'> | ||
3 | + <view class='one' wx:for="{{list}}" wx:key="" wx:for-item="item"> | ||
4 | + <view class='img'> | ||
5 | + <image src='{{item.img}}'></image> | ||
6 | + <view class='address_bg'></view> | ||
7 | + <view class='address_box'> | ||
8 | + <view class='address_contant layer_star'> | ||
9 | + <view class='address_icon'> | ||
10 | + <image src='/img/weizhi.png'></image> | ||
11 | + </view> | ||
12 | + <view class='address_word'>{{item.address}}</view> | ||
13 | + </view> | ||
14 | + </view> | ||
15 | + </view> | ||
16 | + <view class='one_box'> | ||
17 | + <view class='title'>{{item.title}}</view> | ||
18 | + <view class='word'>{{item.name}}</view> | ||
19 | + <view class='layer_between'> | ||
20 | + <view class='label layer_star'> | ||
21 | + <view class='label_one' wx:for="{{item.label}}" wx:key="" wx:for-item="label">{{label}}</view> | ||
22 | + </view> | ||
23 | + <view class='price layer_star'> | ||
24 | + <view class='num'>¥{{item.price}}</view> | ||
25 | + <view class='price_btn'>{{item.free}}</view> | ||
26 | + </view> | ||
27 | + </view> | ||
28 | + </view> | ||
29 | + </view> | ||
30 | +</view> |
pages/mine_collect/mine_collect.wxss
0 → 100644
1 | +/* pages/mine_collect/mine_collect.wxss */ | ||
2 | + | ||
3 | +page { | ||
4 | + background: #f9f9f9; | ||
5 | +} | ||
6 | + | ||
7 | +.layer_star { | ||
8 | + display: flex; | ||
9 | + justify-content: flex-start; | ||
10 | + align-items: center; | ||
11 | +} | ||
12 | + | ||
13 | +.layer_between { | ||
14 | + display: flex; | ||
15 | + justify-content: space-between; | ||
16 | + align-items: center; | ||
17 | +} | ||
18 | + | ||
19 | +.box { | ||
20 | + padding: 0 32rpx; | ||
21 | + box-sizing: border-box; | ||
22 | +} | ||
23 | + | ||
24 | +.one { | ||
25 | + margin-top: 24rpx; | ||
26 | +} | ||
27 | + | ||
28 | +.img { | ||
29 | + width: 100%; | ||
30 | + height: 368rpx; | ||
31 | + position: relative; | ||
32 | +} | ||
33 | + | ||
34 | +.img image { | ||
35 | + width: 100%; | ||
36 | + height: 100%; | ||
37 | + border-radius: 16rpx 16rpx 0 0; | ||
38 | +} | ||
39 | + | ||
40 | +.address_bg { | ||
41 | + width: 292rpx; | ||
42 | + height: 52rpx; | ||
43 | + background: rgba(0, 0, 0, 1); | ||
44 | + opacity: 0.3; | ||
45 | + border-radius: 28rpx; | ||
46 | + position: absolute; | ||
47 | + bottom: 24rpx; | ||
48 | + left: 24rpx; | ||
49 | +} | ||
50 | + | ||
51 | +.address_box { | ||
52 | + position: absolute; | ||
53 | + bottom: 24rpx; | ||
54 | + left: 24rpx; | ||
55 | + padding: 10rpx 20rpx; | ||
56 | + box-sizing: border-box; | ||
57 | +} | ||
58 | + | ||
59 | +.address_icon { | ||
60 | + width: 20rpx; | ||
61 | + height: 24rpx; | ||
62 | + font-size: 0; | ||
63 | +} | ||
64 | + | ||
65 | +.address_icon image { | ||
66 | + width: 100%; | ||
67 | + height: 100%; | ||
68 | +} | ||
69 | + | ||
70 | +.address_word { | ||
71 | + font-size: 24rpx; | ||
72 | + font-weight: 400; | ||
73 | + color: rgba(255, 255, 255, 1); | ||
74 | + margin-left: 16rpx; | ||
75 | +} | ||
76 | + | ||
77 | +.one_box { | ||
78 | + background: #fff; | ||
79 | + padding: 14rpx 28rpx 24rpx 24rpx; | ||
80 | + box-sizing: border-box; | ||
81 | +} | ||
82 | + | ||
83 | +.title { | ||
84 | + margin-top: 14rpx; | ||
85 | + font-size: 32rpx; | ||
86 | + font-weight: bold; | ||
87 | + color: rgba(6, 18, 30, 1); | ||
88 | +} | ||
89 | + | ||
90 | +.word { | ||
91 | + margin-top: 14rpx; | ||
92 | + font-size: 24rpx; | ||
93 | + font-weight: 400; | ||
94 | + color: rgba(140, 145, 152, 1); | ||
95 | +} | ||
96 | + | ||
97 | +.label { | ||
98 | + margin-top: 20rpx; | ||
99 | +} | ||
100 | + | ||
101 | +.label_one { | ||
102 | + background: #fff6f5; | ||
103 | + font-size: 24rpx; | ||
104 | + font-weight: 400; | ||
105 | + color: rgba(255, 90, 78, 1); | ||
106 | + margin-right: 12rpx; | ||
107 | + padding: 2rpx 8rpx; | ||
108 | + box-sizing: border-box; | ||
109 | +} | ||
110 | + | ||
111 | +.price { | ||
112 | + background: rgba(255, 114, 113, 1); | ||
113 | + border-radius: 15rpx; | ||
114 | + padding: 10rpx 18rpx; | ||
115 | + box-sizing: border-box; | ||
116 | +} | ||
117 | + | ||
118 | +.num { | ||
119 | + font-size: 24rpx; | ||
120 | + font-weight: 200; | ||
121 | + color: rgba(255, 255, 255, 1); | ||
122 | + text-decoration: line-through; | ||
123 | +} | ||
124 | + | ||
125 | +.price_btn { | ||
126 | + margin-left: 14rpx; | ||
127 | + font-size: 24rpx; | ||
128 | + font-weight: bold; | ||
129 | + color: rgba(255, 255, 255, 1); | ||
130 | +} |
pages/mine_detail/mine_detail.js
0 → 100644
1 | +// pages/mine_detail/mine_detail.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 | +}) |
pages/mine_detail/mine_detail.json
0 → 100644
pages/mine_detail/mine_detail.wxml
0 → 100644
1 | +<!--pages/mine_detail/mine_detail.wxml--> | ||
2 | +<view class='top'> | ||
3 | + <!-- 待出行 --> | ||
4 | + <view class='top_title'>待出行</view> | ||
5 | + <!-- 已入住 --> | ||
6 | + <view class='top_title' style='display:none'>已入住</view> | ||
7 | + <!-- 已完成 --> | ||
8 | + <view class='top_title' style='display:none'>已完成</view> | ||
9 | +</view> | ||
10 | +<view class='address_infor'> | ||
11 | + <view class='card'> | ||
12 | + <view class='card_top layer_star'> | ||
13 | + <view class='card_title'>朗丽兹精选北京东直门店</view> | ||
14 | + <view class='card_icon'> | ||
15 | + <image src='/img/yourow.png'></image> | ||
16 | + </view> | ||
17 | + </view> | ||
18 | + <view class='card_list layer_between'> | ||
19 | + <view class='card_left layer_star'> | ||
20 | + <view class='list_icon'> | ||
21 | + <image src='/img/ditu.png'></image> | ||
22 | + </view> | ||
23 | + <view class='list_word'>北京市朝阳区香河园路左家庄15号院</view> | ||
24 | + </view> | ||
25 | + <view class='card_right'> | ||
26 | + <view class='list_img'> | ||
27 | + <image src='/img/order_detail (3).png'></image> | ||
28 | + </view> | ||
29 | + </view> | ||
30 | + </view> | ||
31 | + <view class='card_list layer_between'> | ||
32 | + <view class='card_left layer_star'> | ||
33 | + <view class='list_icon'> | ||
34 | + <image src='/img/ditu.png'></image> | ||
35 | + </view> | ||
36 | + <view class='list_word'>010-62076207</view> | ||
37 | + </view> | ||
38 | + <view class='card_right'> | ||
39 | + <view class='list_img'> | ||
40 | + <image src='/img/order_detail (1).png'></image> | ||
41 | + </view> | ||
42 | + </view> | ||
43 | + </view> | ||
44 | + <view class='card_state layer_between'> | ||
45 | + <view class='state_left'>已付款</view> | ||
46 | + <view class='state_right'>¥1768</view> | ||
47 | + </view> | ||
48 | + </view> | ||
49 | +</view> | ||
50 | +<view class='person_infor'> | ||
51 | + <view class='person_box'> | ||
52 | + <view class='person_one layer_star'> | ||
53 | + <view class='person_left'> | ||
54 | + 房型 | ||
55 | + </view> | ||
56 | + <view class='person_rigth'>高级大床房 | ||
57 | + <text>1间(含早)</text> | ||
58 | + </view> | ||
59 | + </view> | ||
60 | + <view class='person_one layer_star'> | ||
61 | + <view class='person_left'> | ||
62 | + 入住日期 | ||
63 | + </view> | ||
64 | + <view class='person_rigth'> | ||
65 | + <text class='into'>08月21日-08月23日</text> 共 | ||
66 | + <text>2</text>晚 | ||
67 | + </view> | ||
68 | + </view> | ||
69 | + <view class='person_one layer_star'> | ||
70 | + <view class='person_left'> | ||
71 | + 到店时间 | ||
72 | + </view> | ||
73 | + <view class='person_rigth'> | ||
74 | + <text class='into'>08月21日</text> | ||
75 | + <text>18:00</text> | ||
76 | + </view> | ||
77 | + </view> | ||
78 | + <view class='person_one layer_star' style='border:none'> | ||
79 | + <view class='person_left'> | ||
80 | + 入住人 | ||
81 | + </view> | ||
82 | + <view class='person_rigth'> | ||
83 | + 刘娜 | ||
84 | + </view> | ||
85 | + </view> | ||
86 | + </view> | ||
87 | +</view> | ||
88 | +<!-- 待出行 --> | ||
89 | +<view class='wait'> | ||
90 | + <view class='policy'> | ||
91 | + <view class='policy_top layer_star'> | ||
92 | + <view class='policy_top_left'> | ||
93 | + <image src='/img/order_detail (2).png'></image> | ||
94 | + </view> | ||
95 | + <view class='policy_top_right'>入住政策</view> | ||
96 | + </view> | ||
97 | + <view class='policy_word'>温馨提示:若因个人原因无法入住预订酒店,请务必提前48小时申请取消。如您未能48小时申请取消订单,平台将扣除30%保证金。未取消预订且未实际入住,将被扣除全部保证金</view> | ||
98 | + </view> | ||
99 | + <view class='btn'> | ||
100 | + <view class='bot_btn'>取消订单</view> | ||
101 | + </view> | ||
102 | +</view> | ||
103 | +<!-- 已完成 --> | ||
104 | +<view class='wait' style='display:none'> | ||
105 | + <view class='policy'> | ||
106 | + <view class='policy_top layer_star'> | ||
107 | + <view class='policy_top_left'> | ||
108 | + <image src='/img/order_detail (2).png'></image> | ||
109 | + </view> | ||
110 | + <view class='policy_top_right'>保证金退还</view> | ||
111 | + </view> | ||
112 | + <view class='policy_word'>成功办理退房后,平台会将保证金退回至您付款的账号中,退款流程将在一个工作日完成</view> | ||
113 | + </view> | ||
114 | +</view> |
pages/mine_detail/mine_detail.wxss
0 → 100644
1 | +/* pages/mine_detail/mine_detail.wxss */ | ||
2 | + | ||
3 | +.layer_star { | ||
4 | + display: flex; | ||
5 | + justify-content: flex-start; | ||
6 | + align-items: center; | ||
7 | +} | ||
8 | + | ||
9 | +.layer_between { | ||
10 | + display: flex; | ||
11 | + justify-content: space-between; | ||
12 | + align-items: center; | ||
13 | +} | ||
14 | + | ||
15 | +page { | ||
16 | + background: #f9f9f9; | ||
17 | +} | ||
18 | + | ||
19 | +.top { | ||
20 | + width: 100%; | ||
21 | + height: 232rpx; | ||
22 | + background: linear-gradient(180deg, rgba(252, 169, 162, 1) 0%, rgba(255, 119, 117, 1) 100%); | ||
23 | + padding: 56rpx 32rpx; | ||
24 | + box-sizing: border-box; | ||
25 | +} | ||
26 | + | ||
27 | +.top_title { | ||
28 | + font-size: 40rpx; | ||
29 | + font-weight: bold; | ||
30 | + color: rgba(255, 255, 255, 1); | ||
31 | +} | ||
32 | + | ||
33 | +.address_infor { | ||
34 | + padding: 0 32rpx; | ||
35 | + box-sizing: border-box; | ||
36 | + margin-top: -88rpx; | ||
37 | +} | ||
38 | + | ||
39 | +.card { | ||
40 | + background: rgba(255, 255, 255, 1); | ||
41 | + box-shadow: 0rpx 16rpx 24rpx rgba(0, 0, 0, 0.02); | ||
42 | + border-radius: 20rpx; | ||
43 | + padding: 52rpx 26rpx 40rpx 32rpx; | ||
44 | + box-sizing: border-box; | ||
45 | +} | ||
46 | + | ||
47 | +.card_top { | ||
48 | + border-bottom: 1rpx solid rgba(235, 235, 235, 1); | ||
49 | + padding-bottom: 32rpx; | ||
50 | +} | ||
51 | + | ||
52 | +.card_title { | ||
53 | + font-size: 32rpx; | ||
54 | + font-weight: bold; | ||
55 | + color: rgba(6, 18, 30, 1); | ||
56 | + margin-right: 32rpx; | ||
57 | +} | ||
58 | + | ||
59 | +.card_icon { | ||
60 | + width: 22rpx; | ||
61 | + height: 22rpx; | ||
62 | + font-size: 0; | ||
63 | +} | ||
64 | + | ||
65 | +.card_icon image { | ||
66 | + width: 100%; | ||
67 | + height: 100%; | ||
68 | +} | ||
69 | + | ||
70 | +.list_icon { | ||
71 | + width: 24rpx; | ||
72 | + height: 30rpx; | ||
73 | + font-size: 0; | ||
74 | +} | ||
75 | + | ||
76 | +.list_icon image { | ||
77 | + width: 100%; | ||
78 | + height: 100%; | ||
79 | +} | ||
80 | + | ||
81 | +.list_word { | ||
82 | + margin-left: 20rpx; | ||
83 | + font-size: 28rpx; | ||
84 | + font-weight: 400; | ||
85 | + color: rgba(6, 18, 30, 1); | ||
86 | +} | ||
87 | + | ||
88 | +.list_img { | ||
89 | + width: 56rpx; | ||
90 | + height: 56rpx; | ||
91 | + font-size: 0; | ||
92 | +} | ||
93 | + | ||
94 | +.list_img image { | ||
95 | + width: 100%; | ||
96 | + height: 100%; | ||
97 | +} | ||
98 | + | ||
99 | +.card_list { | ||
100 | + padding: 24rpx 0; | ||
101 | + box-sizing: border-box; | ||
102 | + border-bottom: 1rpx solid rgba(235, 235, 235, 1); | ||
103 | +} | ||
104 | + | ||
105 | +.card_state { | ||
106 | + margin-top: 24rpx; | ||
107 | + padding-right: 6rpx; | ||
108 | + box-sizing: border-box; | ||
109 | +} | ||
110 | + | ||
111 | +.state_left { | ||
112 | + font-size: 28rpx; | ||
113 | + font-weight: 400; | ||
114 | + color: rgba(6, 18, 30, 1); | ||
115 | +} | ||
116 | + | ||
117 | +.state_right { | ||
118 | + font-size: 36rpx; | ||
119 | + font-weight: bold; | ||
120 | + color: rgba(255, 90, 78, 1); | ||
121 | +} | ||
122 | +.person_infor { | ||
123 | + margin-top: 24rpx; | ||
124 | + padding: 0 32rpx; | ||
125 | + box-sizing: border-box; | ||
126 | +} | ||
127 | + | ||
128 | +.person_box { | ||
129 | + background: rgba(255, 255, 255, 1); | ||
130 | + box-shadow: 0rpx 16rpx 24rpx rgba(0, 0, 0, 0.02); | ||
131 | + border-radius: 20rpx; | ||
132 | + padding: 0 32rpx; | ||
133 | + box-sizing: border-boxs; | ||
134 | +} | ||
135 | + | ||
136 | +.person_one { | ||
137 | + padding: 34rpx 0 32rpx 0; | ||
138 | + box-sizing: border-box; | ||
139 | + border-bottom: 1rpx solid rgba(235, 235, 235, 1); | ||
140 | +} | ||
141 | + | ||
142 | +.person_left { | ||
143 | + width: 96rpx; | ||
144 | + font-size: 24rpx; | ||
145 | + font-weight: 400; | ||
146 | + color: rgba(140, 145, 152, 1); | ||
147 | +} | ||
148 | + | ||
149 | +.person_rigth { | ||
150 | + margin-left: 60rpx; | ||
151 | + font-size: 24rpx; | ||
152 | + font-weight: 400; | ||
153 | + color: rgba(6, 18, 30, 1); | ||
154 | +} | ||
155 | + | ||
156 | +.into { | ||
157 | + margin-right: 32rpx; | ||
158 | +} | ||
159 | + | ||
160 | +.policy { | ||
161 | + margin-top: 46rpx; | ||
162 | + padding: 0 24rpx; | ||
163 | + box-sizing: border-box; | ||
164 | +} | ||
165 | + | ||
166 | +.policy_top_left { | ||
167 | + width: 48rpx; | ||
168 | + height: 48rpx; | ||
169 | + font-size: 0; | ||
170 | +} | ||
171 | + | ||
172 | +.policy_top_left image { | ||
173 | + width: 100%; | ||
174 | + height: 100%; | ||
175 | +} | ||
176 | + | ||
177 | +.policy_top_right { | ||
178 | + margin-left: 10rpx; | ||
179 | + font-size: 28rpx; | ||
180 | + font-weight: bold; | ||
181 | + color: rgba(6, 18, 30, 1); | ||
182 | +} | ||
183 | + | ||
184 | +.policy_word { | ||
185 | + margin-top: 34rpx; | ||
186 | + font-size: 24rpx; | ||
187 | + font-weight: 400; | ||
188 | + line-height: 34rpx; | ||
189 | + color: rgba(91, 94, 99, 1); | ||
190 | + padding: 0 40rpx; | ||
191 | + box-sizing: border-box; | ||
192 | +} | ||
193 | + | ||
194 | +.btn { | ||
195 | + width: 100%; | ||
196 | + padding: 0 52rpx; | ||
197 | + box-sizing: border-box; | ||
198 | + position: fixed; | ||
199 | + bottom: 44rpx; | ||
200 | +} | ||
201 | + | ||
202 | +.bot_btn { | ||
203 | + border: 2rpx solid rgba(189, 196, 206, 1); | ||
204 | + font-size: 32rpx; | ||
205 | + font-weight: 500; | ||
206 | + color: rgba(6, 18, 30, 1); | ||
207 | + text-align: center; | ||
208 | + padding: 22rpx 0; | ||
209 | + box-sizing: border-box; | ||
210 | + border-radius: 50rpx; | ||
211 | +} |
pages/mine_details/mine_details.js
0 → 100644
1 | +// pages/mine_details/mine_details.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 | +}) |
pages/mine_details/mine_details.json
0 → 100644
pages/mine_details/mine_details.wxml
0 → 100644
1 | +<!--pages/mine_detail/mine_detail.wxml--> | ||
2 | +<view class='tops'> | ||
3 | + <!-- 已取消 --> | ||
4 | + <view class='top_title'>已取消</view> | ||
5 | +</view> | ||
6 | +<view class='address_infor'> | ||
7 | + <view class='card'> | ||
8 | + <view class='card_top layer_star'> | ||
9 | + <view class='card_title'>朗丽兹精选北京东直门店</view> | ||
10 | + <view class='card_icon'> | ||
11 | + <image src='/img/yourow.png'></image> | ||
12 | + </view> | ||
13 | + </view> | ||
14 | + <view class='card_list layer_between'> | ||
15 | + <view class='card_left layer_star'> | ||
16 | + <view class='list_icon'> | ||
17 | + <image src='/img/ditu.png'></image> | ||
18 | + </view> | ||
19 | + <view class='list_word'>北京市朝阳区香河园路左家庄15号院</view> | ||
20 | + </view> | ||
21 | + <view class='card_right'> | ||
22 | + <view class='list_img'> | ||
23 | + <image src='/img/order_detail (1).png'></image> | ||
24 | + </view> | ||
25 | + </view> | ||
26 | + </view> | ||
27 | + <view class='card_list layer_between'> | ||
28 | + <view class='card_left layer_star'> | ||
29 | + <view class='list_icon'> | ||
30 | + <image src='/img/ditu.png'></image> | ||
31 | + </view> | ||
32 | + <view class='list_word'>010-62076207</view> | ||
33 | + </view> | ||
34 | + <view class='card_right'> | ||
35 | + <view class='list_img'> | ||
36 | + <image src='/img/order_detail (3).png'></image> | ||
37 | + </view> | ||
38 | + </view> | ||
39 | + </view> | ||
40 | + <view class='card_state layer_between'> | ||
41 | + <view class='state_left'>已退款</view> | ||
42 | + <view class='state_right'>¥1768</view> | ||
43 | + </view> | ||
44 | + </view> | ||
45 | +</view> | ||
46 | +<view class='person_infor'> | ||
47 | + <view class='person_box'> | ||
48 | + <view class='person_one layer_star'> | ||
49 | + <view class='person_left'> | ||
50 | + 房型 | ||
51 | + </view> | ||
52 | + <view class='person_rigth'>高级大床房 | ||
53 | + <text>1间(含早)</text> | ||
54 | + </view> | ||
55 | + </view> | ||
56 | + <view class='person_one layer_star'> | ||
57 | + <view class='person_left'> | ||
58 | + 入住日期 | ||
59 | + </view> | ||
60 | + <view class='person_rigth'> | ||
61 | + <text class='into'>08月21日-08月23日</text> 共 | ||
62 | + <text>2</text>晚 | ||
63 | + </view> | ||
64 | + </view> | ||
65 | + <view class='person_one layer_star'> | ||
66 | + <view class='person_left'> | ||
67 | + 到店时间 | ||
68 | + </view> | ||
69 | + <view class='person_rigth'> | ||
70 | + <text class='into'>08月21日</text> | ||
71 | + <text>18:00</text> | ||
72 | + </view> | ||
73 | + </view> | ||
74 | + <view class='person_one layer_star' style='border:none'> | ||
75 | + <view class='person_left'> | ||
76 | + 入住人 | ||
77 | + </view> | ||
78 | + <view class='person_rigth'> | ||
79 | + 刘娜 | ||
80 | + </view> | ||
81 | + </view> | ||
82 | + </view> | ||
83 | +</view> |
pages/mine_details/mine_details.wxss
0 → 100644
1 | +/* pages/mine_detail/mine_detail.wxss */ | ||
2 | + | ||
3 | +.layer_star { | ||
4 | + display: flex; | ||
5 | + justify-content: flex-start; | ||
6 | + align-items: center; | ||
7 | +} | ||
8 | + | ||
9 | +.layer_between { | ||
10 | + display: flex; | ||
11 | + justify-content: space-between; | ||
12 | + align-items: center; | ||
13 | +} | ||
14 | + | ||
15 | +page { | ||
16 | + background: #f9f9f9; | ||
17 | +} | ||
18 | + | ||
19 | +.top { | ||
20 | + width: 100%; | ||
21 | + height: 232rpx; | ||
22 | + background: linear-gradient(180deg, rgba(252, 169, 162, 1) 0%, rgba(255, 119, 117, 1) 100%); | ||
23 | + padding: 56rpx 32rpx; | ||
24 | + box-sizing: border-box; | ||
25 | +} | ||
26 | + | ||
27 | +.tops { | ||
28 | + width: 100%; | ||
29 | + height: 232rpx; | ||
30 | + background: rgba(189, 196, 206, 1); | ||
31 | + padding: 56rpx 32rpx; | ||
32 | + box-sizing: border-box; | ||
33 | +} | ||
34 | + | ||
35 | +.top_title { | ||
36 | + font-size: 40rpx; | ||
37 | + font-weight: bold; | ||
38 | + color: rgba(255, 255, 255, 1); | ||
39 | +} | ||
40 | + | ||
41 | +.address_infor { | ||
42 | + padding: 0 32rpx; | ||
43 | + box-sizing: border-box; | ||
44 | + margin-top: -88rpx; | ||
45 | +} | ||
46 | + | ||
47 | +.card { | ||
48 | + background: rgba(255, 255, 255, 1); | ||
49 | + box-shadow: 0rpx 16rpx 24rpx rgba(0, 0, 0, 0.02); | ||
50 | + border-radius: 20rpx; | ||
51 | + padding: 52rpx 26rpx 40rpx 32rpx; | ||
52 | + box-sizing: border-box; | ||
53 | +} | ||
54 | + | ||
55 | +.card_top { | ||
56 | + border-bottom: 1rpx solid rgba(235, 235, 235, 1); | ||
57 | + padding-bottom: 32rpx; | ||
58 | +} | ||
59 | + | ||
60 | +.card_title { | ||
61 | + font-size: 32rpx; | ||
62 | + font-weight: bold; | ||
63 | + color: rgba(6, 18, 30, 1); | ||
64 | + margin-right: 32rpx; | ||
65 | +} | ||
66 | + | ||
67 | +.card_icon { | ||
68 | + width: 22rpx; | ||
69 | + height: 22rpx; | ||
70 | + font-size: 0; | ||
71 | +} | ||
72 | + | ||
73 | +.card_icon image { | ||
74 | + width: 100%; | ||
75 | + height: 100%; | ||
76 | +} | ||
77 | + | ||
78 | +.list_icon { | ||
79 | + width: 24rpx; | ||
80 | + height: 30rpx; | ||
81 | + font-size: 0; | ||
82 | +} | ||
83 | + | ||
84 | +.list_icon image { | ||
85 | + width: 100%; | ||
86 | + height: 100%; | ||
87 | +} | ||
88 | + | ||
89 | +.list_word { | ||
90 | + margin-left: 20rpx; | ||
91 | + font-size: 28rpx; | ||
92 | + font-weight: 400; | ||
93 | + color: rgba(6, 18, 30, 1); | ||
94 | +} | ||
95 | + | ||
96 | +.list_img { | ||
97 | + width: 56rpx; | ||
98 | + height: 56rpx; | ||
99 | + font-size: 0; | ||
100 | +} | ||
101 | + | ||
102 | +.list_img image { | ||
103 | + width: 100%; | ||
104 | + height: 100%; | ||
105 | +} | ||
106 | + | ||
107 | +.card_list { | ||
108 | + padding: 24rpx 0; | ||
109 | + box-sizing: border-box; | ||
110 | + border-bottom: 1rpx solid rgba(235, 235, 235, 1); | ||
111 | +} | ||
112 | + | ||
113 | +.card_state { | ||
114 | + margin-top: 24rpx; | ||
115 | + padding-right: 6rpx; | ||
116 | + box-sizing: border-box; | ||
117 | +} | ||
118 | + | ||
119 | +.state_left { | ||
120 | + font-size: 28rpx; | ||
121 | + font-weight: 400; | ||
122 | + color: rgba(6, 18, 30, 1); | ||
123 | +} | ||
124 | + | ||
125 | +.state_right { | ||
126 | + font-size: 36rpx; | ||
127 | + font-weight: bold; | ||
128 | + color: rgba(189,196,206,1); | ||
129 | +} | ||
130 | +.person_infor { | ||
131 | + margin-top: 24rpx; | ||
132 | + padding: 0 32rpx; | ||
133 | + box-sizing: border-box; | ||
134 | +} | ||
135 | + | ||
136 | +.person_box { | ||
137 | + background: rgba(255, 255, 255, 1); | ||
138 | + box-shadow: 0rpx 16rpx 24rpx rgba(0, 0, 0, 0.02); | ||
139 | + border-radius: 20rpx; | ||
140 | + padding: 0 32rpx; | ||
141 | + box-sizing: border-boxs; | ||
142 | +} | ||
143 | + | ||
144 | +.person_one { | ||
145 | + padding: 34rpx 0 32rpx 0; | ||
146 | + box-sizing: border-box; | ||
147 | + border-bottom: 1rpx solid rgba(235, 235, 235, 1); | ||
148 | +} | ||
149 | + | ||
150 | +.person_left { | ||
151 | + width: 96rpx; | ||
152 | + font-size: 24rpx; | ||
153 | + font-weight: 400; | ||
154 | + color: rgba(140, 145, 152, 1); | ||
155 | +} | ||
156 | + | ||
157 | +.person_rigth { | ||
158 | + margin-left: 60rpx; | ||
159 | + font-size: 24rpx; | ||
160 | + font-weight: 400; | ||
161 | + color: rgba(6, 18, 30, 1); | ||
162 | +} | ||
163 | + | ||
164 | +.into { | ||
165 | + margin-right: 32rpx; | ||
166 | +} |
pages/mine_exchange/mine_exchange.js
0 → 100644
1 | +// pages/mine_exchange/mine_exchange.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 | +}) |
pages/mine_exchange/mine_exchange.json
0 → 100644
pages/mine_exchange/mine_exchange.wxml
0 → 100644
1 | +<!--pages/mine_exchange/mine_exchange.wxml--> | ||
2 | +<view class='box'> | ||
3 | + <view class='top layer_center'> | ||
4 | + <view class='top_icon'> | ||
5 | + <image src='/img/mine_exchange.png'></image> | ||
6 | + </view> | ||
7 | + <view class='top_word'>请输入兑换码</view> | ||
8 | + </view> | ||
9 | + <view class='input'> | ||
10 | + <input></input> | ||
11 | + </view> | ||
12 | + <view class='button'> | ||
13 | + <view class='btn'>立即兑换</view> | ||
14 | + </view> | ||
15 | + <view class='words'>请输入购买的兑换码,即开通会员</view> | ||
16 | +</view> |
pages/mine_exchange/mine_exchange.wxss
0 → 100644
1 | +/* pages/mine_exchange/mine_exchange.wxss */ | ||
2 | + | ||
3 | +.layer_center { | ||
4 | + display: flex; | ||
5 | + justify-content: center; | ||
6 | + align-items: center; | ||
7 | +} | ||
8 | + | ||
9 | +page { | ||
10 | + background: rgba(249, 249, 249, 1); | ||
11 | +} | ||
12 | + | ||
13 | +.box { | ||
14 | + margin-top: 74rpx; | ||
15 | +} | ||
16 | + | ||
17 | +.top_icon { | ||
18 | + width: 52rpx; | ||
19 | + height: 52rpx; | ||
20 | + font-size: 0; | ||
21 | +} | ||
22 | + | ||
23 | +.top_icon image { | ||
24 | + width: 100%; | ||
25 | + height: 100%; | ||
26 | +} | ||
27 | + | ||
28 | +.top_word { | ||
29 | + margin-left: 16rpx; | ||
30 | + font-size: 28rpx; | ||
31 | + font-weight: bold; | ||
32 | + color: rgba(6, 18, 30, 1); | ||
33 | +} | ||
34 | + | ||
35 | +.input { | ||
36 | + margin-top: 16rpx; | ||
37 | + padding: 0 32rpx; | ||
38 | + box-sizing: border-box; | ||
39 | +} | ||
40 | + | ||
41 | +.input input { | ||
42 | + width: 100%; | ||
43 | + height: 92rpx; | ||
44 | + background: #fff; | ||
45 | + text-align: center | ||
46 | +} | ||
47 | + | ||
48 | +.button { | ||
49 | + margin-top: 24rpx; | ||
50 | + padding: 0 32rpx; | ||
51 | + box-sizing: border-box; | ||
52 | +} | ||
53 | + | ||
54 | +.btn { | ||
55 | + background: linear-gradient(180deg, rgba(252, 169, 162, 1) 0%, rgba(255, 119, 117, 1) 100%); | ||
56 | + border-radius: 44rpx; | ||
57 | + font-size: 28rpx; | ||
58 | + font-weight: bold; | ||
59 | + color: rgba(255, 255, 255, 1); | ||
60 | + text-align: center; | ||
61 | + padding: 26rpx 0; | ||
62 | + box-sizing: border-box; | ||
63 | +} | ||
64 | + | ||
65 | +.words { | ||
66 | + margin-top: 26rpx; | ||
67 | + font-size: 24rpx; | ||
68 | + font-weight: bold; | ||
69 | + color: rgba(140, 145, 152, 1); | ||
70 | + text-align: center; | ||
71 | +} |
pages/mine_experience/mine_experience.js
0 → 100644
1 | +// pages/mine_experience/mine_experience.js | ||
2 | +Page({ | ||
3 | + | ||
4 | + /** | ||
5 | + * 页面的初始数据 | ||
6 | + */ | ||
7 | + data: { | ||
8 | + length: 0, | ||
9 | + lengths: 0, | ||
10 | + show: false | ||
11 | + }, | ||
12 | + // input输入字数 | ||
13 | + length(e) { | ||
14 | + let length = e.detail.value.length | ||
15 | + // console.log(length) | ||
16 | + this.setData({ | ||
17 | + length: length | ||
18 | + }) | ||
19 | + }, | ||
20 | + // textarea输入字数 | ||
21 | + lengths(e) { | ||
22 | + let length = e.detail.value.length | ||
23 | + // console.log(length) | ||
24 | + this.setData({ | ||
25 | + lengths: length | ||
26 | + }) | ||
27 | + }, | ||
28 | + // 开关 | ||
29 | + open() { | ||
30 | + let t = this; | ||
31 | + t.setData({ | ||
32 | + show: !t.data.show | ||
33 | + }) | ||
34 | + console.log(t.data.show) | ||
35 | + }, | ||
36 | + /** | ||
37 | + * 生命周期函数--监听页面加载 | ||
38 | + */ | ||
39 | + onLoad: function(options) { | ||
40 | + | ||
41 | + }, | ||
42 | + | ||
43 | + /** | ||
44 | + * 生命周期函数--监听页面初次渲染完成 | ||
45 | + */ | ||
46 | + onReady: function() { | ||
47 | + | ||
48 | + }, | ||
49 | + | ||
50 | + /** | ||
51 | + * 生命周期函数--监听页面显示 | ||
52 | + */ | ||
53 | + onShow: function() { | ||
54 | + | ||
55 | + }, | ||
56 | + | ||
57 | + /** | ||
58 | + * 生命周期函数--监听页面隐藏 | ||
59 | + */ | ||
60 | + onHide: function() { | ||
61 | + | ||
62 | + }, | ||
63 | + | ||
64 | + /** | ||
65 | + * 生命周期函数--监听页面卸载 | ||
66 | + */ | ||
67 | + onUnload: function() { | ||
68 | + | ||
69 | + }, | ||
70 | + | ||
71 | + /** | ||
72 | + * 页面相关事件处理函数--监听用户下拉动作 | ||
73 | + */ | ||
74 | + onPullDownRefresh: function() { | ||
75 | + | ||
76 | + }, | ||
77 | + | ||
78 | + /** | ||
79 | + * 页面上拉触底事件的处理函数 | ||
80 | + */ | ||
81 | + onReachBottom: function() { | ||
82 | + | ||
83 | + }, | ||
84 | + | ||
85 | + /** | ||
86 | + * 用户点击右上角分享 | ||
87 | + */ | ||
88 | + onShareAppMessage: function() { | ||
89 | + | ||
90 | + } | ||
91 | +}) |
pages/mine_experience/mine_experience.json
0 → 100644
pages/mine_experience/mine_experience.wxml
0 → 100644
1 | +<!--pages/mine_experience/mine_experience.wxml--> | ||
2 | +<view class='box'> | ||
3 | + <view class='top layer_between'> | ||
4 | + <input name='' value='' placeholder='请输入标题' bindinput='length' placeholder-class='input'></input> | ||
5 | + <text class='input-right'>{{length}}/30</text> | ||
6 | + </view> | ||
7 | + <view class='bottom'> | ||
8 | + <textarea placeholder='请输入笔记' bindinput='lengths' placeholder-class='input'></textarea> | ||
9 | + <text class='text-right'>{{lengths}}/100</text> | ||
10 | + </view> | ||
11 | + <view class='creama'> | ||
12 | + <view class='img_one'> | ||
13 | + <image src='/img/mine_addping.png'></image> | ||
14 | + </view> | ||
15 | + </view> | ||
16 | +</view> | ||
17 | +<view class='show layer_between'> | ||
18 | + <view class='left'>显示酒店</view> | ||
19 | + <view class='right' bindtap='open'> | ||
20 | + <image src='{{show?"/img/mine_open.png":"/img/mine_down.png"}}'></image> | ||
21 | + </view> | ||
22 | +</view> |
pages/mine_experience/mine_experience.wxss
0 → 100644
1 | +/* pages/mine_experience/mine_experience.wxss */ | ||
2 | + | ||
3 | +.layer_between { | ||
4 | + display: flex; | ||
5 | + justify-content: space-between; | ||
6 | + align-items: center; | ||
7 | +} | ||
8 | + | ||
9 | +page { | ||
10 | + background: #f9f9f9; | ||
11 | +} | ||
12 | + | ||
13 | +.box { | ||
14 | + margin-top: 24rpx; | ||
15 | + background: #fff; | ||
16 | + padding: 0 48rpx; | ||
17 | + box-sizing: border-box; | ||
18 | +} | ||
19 | + | ||
20 | +.top { | ||
21 | + padding: 36rpx 0 40rpx; | ||
22 | + box-sizing: border-box; | ||
23 | + border-bottom: 1rpx solid rgba(235, 235, 235, 1); | ||
24 | +} | ||
25 | + | ||
26 | +.input { | ||
27 | + font-size: 32rpx; | ||
28 | + font-weight: 400; | ||
29 | + color: rgba(6, 18, 30, 1); | ||
30 | +} | ||
31 | + | ||
32 | +.input-left { | ||
33 | + margin-left: 25rpx; | ||
34 | + font-size: 30rpx; | ||
35 | +} | ||
36 | + | ||
37 | +.input-right { | ||
38 | + font-size: 24rpx; | ||
39 | + font-weight: 400; | ||
40 | + color: rgba(140, 145, 152, 1); | ||
41 | +} | ||
42 | + | ||
43 | +input { | ||
44 | + font-size: 30rpx; | ||
45 | + width: 500rpx; | ||
46 | +} | ||
47 | + | ||
48 | +.bottom { | ||
49 | + /* margin-top: 36rpx; */ | ||
50 | + padding-top: 36rpx; | ||
51 | + box-sizing: border-box; | ||
52 | + height: 260rpx; | ||
53 | + position: relative; | ||
54 | + border-bottom: 1rpx solid rgba(235, 235, 235, 1); | ||
55 | +} | ||
56 | + | ||
57 | +.bottom textarea { | ||
58 | + width: 100%; | ||
59 | + height: 100%; | ||
60 | +} | ||
61 | + | ||
62 | +.text-right { | ||
63 | + font-size: 24rpx; | ||
64 | + font-weight: 400; | ||
65 | + color: rgba(140, 145, 152, 1); | ||
66 | + text-align: right; | ||
67 | + position: absolute; | ||
68 | + bottom: 16rpx; | ||
69 | + right: 0; | ||
70 | +} | ||
71 | + | ||
72 | +.creama { | ||
73 | + margin-top: 40rpx; | ||
74 | + padding-bottom: 40rpx; | ||
75 | +} | ||
76 | + | ||
77 | +.img_one { | ||
78 | + width: 180rpx; | ||
79 | + height: 180rpx; | ||
80 | + border: 2rpx solid rgba(140, 145, 152, 1); | ||
81 | + border-radius: 4rpx; | ||
82 | + position: relative; | ||
83 | +} | ||
84 | + | ||
85 | +.img_one image { | ||
86 | + width: 52rpx; | ||
87 | + height: 52rpx; | ||
88 | + position: absolute; | ||
89 | + top: 50%; | ||
90 | + left: 50%; | ||
91 | + transform: translate(-50%, -50%); | ||
92 | +} | ||
93 | + | ||
94 | +.show { | ||
95 | + margin-top: 24rpx; | ||
96 | + background: #fff; | ||
97 | + padding: 40rpx 50rpx; | ||
98 | + box-sizing: border-box; | ||
99 | +} | ||
100 | + | ||
101 | +.right { | ||
102 | + width: 76rpx; | ||
103 | + height: 32rpx; | ||
104 | + font-size: 0; | ||
105 | +} | ||
106 | + | ||
107 | +.right image { | ||
108 | + width: 100%; | ||
109 | + height: 100%; | ||
110 | +} |
pages/mine_kefu/mine_kefu.js
0 → 100644
1 | +// pages/mine_kefu/mine_kefu.js | ||
2 | +Page({ | ||
3 | + | ||
4 | + /** | ||
5 | + * 页面的初始数据 | ||
6 | + */ | ||
7 | + data: { | ||
8 | + | ||
9 | + }, | ||
10 | + // 前往常见问题 | ||
11 | + go_question(){ | ||
12 | + wx.navigateTo({ | ||
13 | + url: '/pages/mine_question/mine_question', | ||
14 | + }) | ||
15 | + }, | ||
16 | + /** | ||
17 | + * 生命周期函数--监听页面加载 | ||
18 | + */ | ||
19 | + onLoad: function (options) { | ||
20 | + | ||
21 | + }, | ||
22 | + | ||
23 | + /** | ||
24 | + * 生命周期函数--监听页面初次渲染完成 | ||
25 | + */ | ||
26 | + onReady: function () { | ||
27 | + | ||
28 | + }, | ||
29 | + | ||
30 | + /** | ||
31 | + * 生命周期函数--监听页面显示 | ||
32 | + */ | ||
33 | + onShow: function () { | ||
34 | + | ||
35 | + }, | ||
36 | + | ||
37 | + /** | ||
38 | + * 生命周期函数--监听页面隐藏 | ||
39 | + */ | ||
40 | + onHide: function () { | ||
41 | + | ||
42 | + }, | ||
43 | + | ||
44 | + /** | ||
45 | + * 生命周期函数--监听页面卸载 | ||
46 | + */ | ||
47 | + onUnload: function () { | ||
48 | + | ||
49 | + }, | ||
50 | + | ||
51 | + /** | ||
52 | + * 页面相关事件处理函数--监听用户下拉动作 | ||
53 | + */ | ||
54 | + onPullDownRefresh: function () { | ||
55 | + | ||
56 | + }, | ||
57 | + | ||
58 | + /** | ||
59 | + * 页面上拉触底事件的处理函数 | ||
60 | + */ | ||
61 | + onReachBottom: function () { | ||
62 | + | ||
63 | + }, | ||
64 | + | ||
65 | + /** | ||
66 | + * 用户点击右上角分享 | ||
67 | + */ | ||
68 | + onShareAppMessage: function () { | ||
69 | + | ||
70 | + } | ||
71 | +}) |
pages/mine_kefu/mine_kefu.json
0 → 100644
pages/mine_kefu/mine_kefu.wxml
0 → 100644
1 | +<!--pages/mine_kefu/mine_kefu.wxml--> | ||
2 | +<view class='top'> | ||
3 | + <view class='top_one layer_between'> | ||
4 | + <view class='top_left'>在线客服</view> | ||
5 | + <view class='top_right layer_star'> | ||
6 | + <view class='time'>服务时间:9:00-22:00</view> | ||
7 | + <view class='top_icon'> | ||
8 | + <image src='/img/yourow.png'></image> | ||
9 | + </view> | ||
10 | + </view> | ||
11 | + </view> | ||
12 | + <view class='top_one layer_between no_border'> | ||
13 | + <view class='top_left'>电话客服</view> | ||
14 | + <view class='top_right layer_star'> | ||
15 | + <view class='time'>服务时间:9:00-22:00</view> | ||
16 | + <view class='top_icon'> | ||
17 | + <image src='/img/yourow.png'></image> | ||
18 | + </view> | ||
19 | + </view> | ||
20 | + </view> | ||
21 | +</view> | ||
22 | +<view class='bottom layer_between'> | ||
23 | + <view class='left'>常见问题</view> | ||
24 | + <view class='right layer_star' bindtap='go_question'> | ||
25 | + <view class='right_word'>查看常见问题</view> | ||
26 | + <view class='right_icon'> | ||
27 | + <image src='/img/redyou.png'></image> | ||
28 | + </view> | ||
29 | + </view> | ||
30 | +</view> |
pages/mine_kefu/mine_kefu.wxss
0 → 100644
1 | +/* pages/mine_kefu/mine_kefu.wxss */ | ||
2 | + | ||
3 | +.layer_star { | ||
4 | + display: flex; | ||
5 | + justify-content: flex-start; | ||
6 | + align-items: center; | ||
7 | +} | ||
8 | + | ||
9 | +.layer_between { | ||
10 | + display: flex; | ||
11 | + justify-content: space-between; | ||
12 | + align-items: center; | ||
13 | +} | ||
14 | + | ||
15 | +page { | ||
16 | + background: rgba(249, 249, 249, 1); | ||
17 | +} | ||
18 | + | ||
19 | +.top { | ||
20 | + background: #fff; | ||
21 | + padding: 0 32rpx; | ||
22 | + box-sizing: border-box; | ||
23 | +} | ||
24 | + | ||
25 | +.top_one { | ||
26 | + padding: 34rpx 0; | ||
27 | + box-sizing: border-box; | ||
28 | + border-bottom: 1rpx solid rgba(238, 238, 238, 1); | ||
29 | +} | ||
30 | + | ||
31 | +.no_border { | ||
32 | + border: none; | ||
33 | +} | ||
34 | + | ||
35 | +.top_icon { | ||
36 | + width: 22rpx; | ||
37 | + height: 22rpx; | ||
38 | + font-size: 0; | ||
39 | +} | ||
40 | + | ||
41 | +.top_icon image { | ||
42 | + width: 100%; | ||
43 | + height: 100%; | ||
44 | +} | ||
45 | + | ||
46 | +.top_left { | ||
47 | + font-size: 28rpx; | ||
48 | + font-weight: 400; | ||
49 | + color: rgba(6, 18, 30, 1); | ||
50 | +} | ||
51 | + | ||
52 | +.time { | ||
53 | + font-size: 24rpx; | ||
54 | + font-weight: 400; | ||
55 | + color: rgba(140, 145, 152, 1); | ||
56 | + margin-right: 18rpx; | ||
57 | +} | ||
58 | + | ||
59 | +.bottom { | ||
60 | + background: #fff; | ||
61 | + margin-top: 24rpx; | ||
62 | + padding: 34rpx 32rpx; | ||
63 | + box-sizing: border-box; | ||
64 | +} | ||
65 | + | ||
66 | +.left { | ||
67 | + font-size: 28rpx; | ||
68 | + font-weight: 400; | ||
69 | + color: rgba(6, 18, 30, 1); | ||
70 | +} | ||
71 | + | ||
72 | +.right_word { | ||
73 | + font-size: 28rpx; | ||
74 | + font-weight: 400; | ||
75 | + color: rgba(255, 90, 78, 1); | ||
76 | + margin-right: 18rpx | ||
77 | +} | ||
78 | +.right_icon{ | ||
79 | + width: 22rpx; | ||
80 | + height: 22rpx; | ||
81 | + font-size: 0 | ||
82 | +} | ||
83 | +.right_icon image{ | ||
84 | + width: 100%; | ||
85 | + height: 100% | ||
86 | +} |
pages/mine_notice/mine_notice.js
0 → 100644
1 | +// pages/mine_notice/mine_notice.js | ||
2 | +Page({ | ||
3 | + | ||
4 | + /** | ||
5 | + * 页面的初始数据 | ||
6 | + */ | ||
7 | + data: { | ||
8 | + notice: [{ | ||
9 | + title: "第一条、会员及期限", | ||
10 | + question: [{ | ||
11 | + num: "1.会员资格;", | ||
12 | + word: "凡年满18周岁或年满16周岁不满18周岁但以自己的劳 动收入为主要生活来源的完全民事行为能力人,同意并接 受会员服务协议的,均可申请成为会员。" | ||
13 | + }, { | ||
14 | + num: "2.入会方式", | ||
15 | + word: "根据小程序指引填写真实、准确、合法且有效的个人 信息,将会员资格绑定身份证进行实名认证,在您完成会 员实名认证程序、阅读和同意《守麦会员服务协议》全部 内容、支付了会员费用并完成了成为守麦会员的其他所有 程序后,您即取得守麦会员资格。" | ||
16 | + }, { | ||
17 | + num: "3.会员期限", | ||
18 | + word: "会员服务期限为一年。一年以365天计,以会员 权益激活当日开始计算(如: 您于2019年9月1日激活会员 权益,则服务期限为: 2019年9月1日至2020年8月31日, 均包含当天)。" | ||
19 | + }] | ||
20 | + }] | ||
21 | + }, | ||
22 | + | ||
23 | + /** | ||
24 | + * 生命周期函数--监听页面加载 | ||
25 | + */ | ||
26 | + onLoad: function(options) { | ||
27 | + | ||
28 | + }, | ||
29 | + | ||
30 | + /** | ||
31 | + * 生命周期函数--监听页面初次渲染完成 | ||
32 | + */ | ||
33 | + onReady: function() { | ||
34 | + | ||
35 | + }, | ||
36 | + | ||
37 | + /** | ||
38 | + * 生命周期函数--监听页面显示 | ||
39 | + */ | ||
40 | + onShow: function() { | ||
41 | + | ||
42 | + }, | ||
43 | + | ||
44 | + /** | ||
45 | + * 生命周期函数--监听页面隐藏 | ||
46 | + */ | ||
47 | + onHide: function() { | ||
48 | + | ||
49 | + }, | ||
50 | + | ||
51 | + /** | ||
52 | + * 生命周期函数--监听页面卸载 | ||
53 | + */ | ||
54 | + onUnload: function() { | ||
55 | + | ||
56 | + }, | ||
57 | + | ||
58 | + /** | ||
59 | + * 页面相关事件处理函数--监听用户下拉动作 | ||
60 | + */ | ||
61 | + onPullDownRefresh: function() { | ||
62 | + | ||
63 | + }, | ||
64 | + | ||
65 | + /** | ||
66 | + * 页面上拉触底事件的处理函数 | ||
67 | + */ | ||
68 | + onReachBottom: function() { | ||
69 | + | ||
70 | + }, | ||
71 | + | ||
72 | + /** | ||
73 | + * 用户点击右上角分享 | ||
74 | + */ | ||
75 | + onShareAppMessage: function() { | ||
76 | + | ||
77 | + } | ||
78 | +}) |
pages/mine_notice/mine_notice.json
0 → 100644
pages/mine_notice/mine_notice.wxml
0 → 100644
1 | +<!--pages/mine_notice/mine_notice.wxml--> | ||
2 | +<view class='top'> | ||
3 | + <view class='word'>(尊敬的会员,我们致力于为现代年轻都市人群 提供住宿优质解决方案,输出个性化内容与标准化服务。 基于现代都市人群的度假需求,推出会员制特色度假 住宿在线预订平台,为更好得体验我们为您提供的服务, 请认真阅读并充分理解《会员须知》,感谢您的支持和信任。)</view> | ||
4 | +</view> | ||
5 | +<view class='bottom'> | ||
6 | + <view class='bottom_box' wx:for="{{notice}}" wx:key="" wx:for-item="item"> | ||
7 | + <view class='title'>{{item.title}}</view> | ||
8 | + <view class='list' wx:for="{{item.question}}" wx:key="" wx:for-item="itema"> | ||
9 | + <view class='list_title'>{{itema.num}}</view> | ||
10 | + <view class='list_word'>{{itema.word}}</view> | ||
11 | + </view> | ||
12 | + </view> | ||
13 | +</view> |
pages/mine_notice/mine_notice.wxss
0 → 100644
1 | +/* pages/mine_notice/mine_notice.wxss */ | ||
2 | + | ||
3 | +page { | ||
4 | + background: #f9f9f9; | ||
5 | +} | ||
6 | + | ||
7 | +.top { | ||
8 | + padding: 0 48rpx; | ||
9 | + margin-top: 46rpx; | ||
10 | +} | ||
11 | + | ||
12 | +.word { | ||
13 | + font-size: 28rpx; | ||
14 | + font-weight: 400; | ||
15 | + line-height: 40rpx; | ||
16 | + color: rgba(6, 18, 30, 1); | ||
17 | +} | ||
18 | + | ||
19 | +.bottom { | ||
20 | + margin-top: 30rpx; | ||
21 | + background: #fff; | ||
22 | + width: 100%; | ||
23 | + padding: 34rpx 0 108rpx; | ||
24 | + box-sizing: border-box | ||
25 | +} | ||
26 | + | ||
27 | +.bottom_box { | ||
28 | + padding: 0 32rpx; | ||
29 | + box-sizing: border-box; | ||
30 | +} | ||
31 | + | ||
32 | +.title { | ||
33 | + font-size: 28rpx; | ||
34 | + font-weight: 400; | ||
35 | + color: rgba(6, 18, 30, 1); | ||
36 | + text-align: center; | ||
37 | + border-bottom: 1rpx solid rgba(238, 238, 238, 1); | ||
38 | + padding-bottom: 36rpx; | ||
39 | + margin-bottom: 36rpx; | ||
40 | +} | ||
41 | + | ||
42 | +.list_title { | ||
43 | + font-size: 28rpx; | ||
44 | + font-weight: 400; | ||
45 | + color: rgba(6, 18, 30, 1); | ||
46 | +} | ||
47 | + | ||
48 | +.list_word { | ||
49 | + font-size: 28rpx; | ||
50 | + font-weight: 400; | ||
51 | + line-height: 40rpx; | ||
52 | + color: rgba(6, 18, 30, 1); | ||
53 | +} |
pages/mine_order/mine_order.js
0 → 100644
1 | +// pages/mine_order/mine_order.js | ||
2 | +Page({ | ||
3 | + | ||
4 | + /** | ||
5 | + * 页面的初始数据 | ||
6 | + */ | ||
7 | + data: { | ||
8 | + tab: [{ | ||
9 | + id: 0, | ||
10 | + name: "待付款" | ||
11 | + }, { | ||
12 | + id: 1, | ||
13 | + name: "待出行" | ||
14 | + }, { | ||
15 | + id: 2, | ||
16 | + name: "已入住" | ||
17 | + }, { | ||
18 | + id: 3, | ||
19 | + name: "已完成" | ||
20 | + }, { | ||
21 | + id: 4, | ||
22 | + name: "已取消" | ||
23 | + }], | ||
24 | + active: 0, | ||
25 | + list: [{ | ||
26 | + name: "蔓图精品民宿", | ||
27 | + address: "北京市朝阳区蔓图精品民宿", | ||
28 | + into: "09/11", | ||
29 | + leave: "09/12", | ||
30 | + day: "1", | ||
31 | + price: "1902" | ||
32 | + }] | ||
33 | + }, | ||
34 | + // 切换tab | ||
35 | + tab(e) { | ||
36 | + console.log(e) | ||
37 | + let t = this; | ||
38 | + t.setData({ | ||
39 | + active: e.currentTarget.dataset.id | ||
40 | + }); | ||
41 | + console.log(t.data.active) | ||
42 | + }, | ||
43 | + // 立即付款 | ||
44 | + pay(e) { | ||
45 | + console.log(e) | ||
46 | + }, | ||
47 | + // 分享体验 | ||
48 | + go_share(){ | ||
49 | + wx.navigateTo({ | ||
50 | + url: '/pages/mine_experience/mine_experience', | ||
51 | + }) | ||
52 | + }, | ||
53 | + /** | ||
54 | + * 生命周期函数--监听页面加载 | ||
55 | + */ | ||
56 | + onLoad: function(options) { | ||
57 | + console.log(options); | ||
58 | + this.setData({ | ||
59 | + active: options.active | ||
60 | + }) | ||
61 | + }, | ||
62 | + | ||
63 | + /** | ||
64 | + * 生命周期函数--监听页面初次渲染完成 | ||
65 | + */ | ||
66 | + onReady: function() { | ||
67 | + | ||
68 | + }, | ||
69 | + | ||
70 | + /** | ||
71 | + * 生命周期函数--监听页面显示 | ||
72 | + */ | ||
73 | + onShow: function() { | ||
74 | + | ||
75 | + }, | ||
76 | + | ||
77 | + /** | ||
78 | + * 生命周期函数--监听页面隐藏 | ||
79 | + */ | ||
80 | + onHide: function() { | ||
81 | + | ||
82 | + }, | ||
83 | + | ||
84 | + /** | ||
85 | + * 生命周期函数--监听页面卸载 | ||
86 | + */ | ||
87 | + onUnload: function() { | ||
88 | + | ||
89 | + }, | ||
90 | + | ||
91 | + /** | ||
92 | + * 页面相关事件处理函数--监听用户下拉动作 | ||
93 | + */ | ||
94 | + onPullDownRefresh: function() { | ||
95 | + | ||
96 | + }, | ||
97 | + | ||
98 | + /** | ||
99 | + * 页面上拉触底事件的处理函数 | ||
100 | + */ | ||
101 | + onReachBottom: function() { | ||
102 | + | ||
103 | + }, | ||
104 | + | ||
105 | + /** | ||
106 | + * 用户点击右上角分享 | ||
107 | + */ | ||
108 | + onShareAppMessage: function() { | ||
109 | + | ||
110 | + } | ||
111 | +}) |
pages/mine_order/mine_order.json
0 → 100644
pages/mine_order/mine_order.wxml
0 → 100644
1 | +<!--pages/mine_order/mine_order.wxml--> | ||
2 | +<view class='tab'> | ||
3 | + <view class="{{item.id == active?'tab_ones':'tab_one'}}" wx:for="{{tab}}" wx:key="index" bindtap='tab' data-id="{{item.id}}">{{item.name}}</view> | ||
4 | +</view> | ||
5 | +<!-- 无数据内容展示 --> | ||
6 | +<view class='no_order_num'> | ||
7 | + <view class='flex_center no_order'> | ||
8 | + <view class='no_img'> | ||
9 | + <image src='/img/no_order.png'></image> | ||
10 | + </view> | ||
11 | + <view class='no_word'>暂时还没有订单哦 赶快去下单吧</view> | ||
12 | + </view> | ||
13 | +</view> | ||
14 | +<!-- 有数据内容展示 --> | ||
15 | +<view class='order'> | ||
16 | + <view class='order_card' wx:for="{{list}}" wx:key=""> | ||
17 | + <view class='order_title'>{{item.name}}</view> | ||
18 | + <view class='order_address layer_star'> | ||
19 | + <view class='address_icon'> | ||
20 | + <image src='/img/order_address.png'></image> | ||
21 | + </view> | ||
22 | + <view class='order_word'>{{item.address}}</view> | ||
23 | + </view> | ||
24 | + <view class='order_time layer_star'> | ||
25 | + <view class='time_icon'> | ||
26 | + <image src='/img/order_time.png'></image> | ||
27 | + </view> | ||
28 | + <view class='order_word'>入住: | ||
29 | + <text class='into'>{{item.into}}</text>离店: | ||
30 | + <text class='leave'>{{item.leave}}</text>共 | ||
31 | + <text>{{item.day}}</text>晚</view> | ||
32 | + </view> | ||
33 | + <!-- 待付款 --> | ||
34 | + <view class='order_price layer_between' wx:if="{{active == 0}}"> | ||
35 | + <view class='price_num'>¥ | ||
36 | + <text>{{item.price}}</text> | ||
37 | + </view> | ||
38 | + <view class='price_btn' bindtap='pay'>立即付款</view> | ||
39 | + </view> | ||
40 | + <!-- 待出行 --> | ||
41 | + <view class='order_trip layer_between' wx:elif="{{active == 1}}"> | ||
42 | + <view class='price_num'>¥ | ||
43 | + <text>{{item.price}}</text> | ||
44 | + </view> | ||
45 | + <view class='trip_right layer_star'> | ||
46 | + <view class='trip_cancel'>取消订单</view> | ||
47 | + <view class='trip_see'>查看详情</view> | ||
48 | + </view> | ||
49 | + </view> | ||
50 | + <!-- 已入住 --> | ||
51 | + <view class='order_check layer_between' wx:elif="{{active == 2}}"> | ||
52 | + <view class='price_num'>¥ | ||
53 | + <text>{{item.price}}</text> | ||
54 | + </view> | ||
55 | + <view class='trip_see'>查看详情</view> | ||
56 | + </view> | ||
57 | + <!-- 已完成 --> | ||
58 | + <view class='order_complete layer_between' wx:elif="{{active == 3}}"> | ||
59 | + <view class='complete_left'> | ||
60 | + <view class='price_num'>¥ | ||
61 | + <text>{{item.price}}</text> | ||
62 | + </view> | ||
63 | + <view class='complete_word'>已退还保证金</view> | ||
64 | + </view> | ||
65 | + <view class='complete_right layer_star'> | ||
66 | + <view class='complete_share layer_star' bindtap='go_share'> | ||
67 | + <view class='complete_share_icon'> | ||
68 | + <image src='/img/mine_share.png'></image> | ||
69 | + </view> | ||
70 | + <view class='complete_share_btn'>分享体验</view> | ||
71 | + </view> | ||
72 | + <view class='complete_see'>查看详情</view> | ||
73 | + </view> | ||
74 | + </view> | ||
75 | + <!-- 已取消 --> | ||
76 | + <view class='order_cancel layer_between' wx:elif="{{active == 4}}"> | ||
77 | + <view class='cancel_left layer_star'> | ||
78 | + <view class='price_num cancel_price'>¥ | ||
79 | + <text>{{item.price}}</text> | ||
80 | + </view> | ||
81 | + <view class='cencel_word'>已退还保证金</view> | ||
82 | + </view> | ||
83 | + <view class='complete_see'>查看详情</view> | ||
84 | + </view> | ||
85 | + </view> | ||
86 | +</view> |
pages/mine_order/mine_order.wxss
0 → 100644
1 | +/* pages/mine_order/mine_order.wxss */ | ||
2 | + | ||
3 | +.flex_center { | ||
4 | + display: flex; | ||
5 | + flex-direction: column; | ||
6 | + align-content: center; | ||
7 | +} | ||
8 | + | ||
9 | +.layer_star { | ||
10 | + display: flex; | ||
11 | + justify-content: flex-start; | ||
12 | + align-items: center; | ||
13 | +} | ||
14 | + | ||
15 | +.layer_between { | ||
16 | + display: flex; | ||
17 | + justify-content: space-between; | ||
18 | + align-items: center; | ||
19 | +} | ||
20 | + | ||
21 | +page { | ||
22 | + background: #f9f9f9; | ||
23 | +} | ||
24 | + | ||
25 | +.tab { | ||
26 | + display: flex; | ||
27 | + justify-content: space-between; | ||
28 | + align-items: center; | ||
29 | + background: #fff; | ||
30 | + padding: 28rpx 32rpx; | ||
31 | + box-sizing: border-box; | ||
32 | +} | ||
33 | + | ||
34 | +.tab_one { | ||
35 | + font-size: 30rpx; | ||
36 | + font-weight: 400; | ||
37 | + color: rgba(140, 145, 152, 1); | ||
38 | +} | ||
39 | + | ||
40 | +.tab_ones { | ||
41 | + font-size: 30rpx; | ||
42 | + font-weight: bold; | ||
43 | + color: rgba(255, 90, 78, 1); | ||
44 | + position: relative; | ||
45 | +} | ||
46 | + | ||
47 | +.tab_ones:after { | ||
48 | + content: ""; | ||
49 | + width: 48rpx; | ||
50 | + height: 6rpx; | ||
51 | + background: rgba(255, 90, 78, 1); | ||
52 | + opacity: 1; | ||
53 | + border-radius: 4rpx; | ||
54 | + position: absolute; | ||
55 | + bottom: 24rpx; | ||
56 | + left: 50%; | ||
57 | + transform: translate(-50%, 48rpx); | ||
58 | +} | ||
59 | + | ||
60 | +.no_order_num { | ||
61 | + display: none; | ||
62 | +} | ||
63 | + | ||
64 | +.no_order { | ||
65 | + text-align: center; | ||
66 | + margin-top: 150rpx; | ||
67 | +} | ||
68 | + | ||
69 | +.no_img image { | ||
70 | + width: 347rpx; | ||
71 | + height: 240rpx; | ||
72 | +} | ||
73 | + | ||
74 | +.no_word { | ||
75 | + font-size: 24rpx; | ||
76 | + font-weight: 500; | ||
77 | + color: rgba(140, 145, 152, 1); | ||
78 | +} | ||
79 | + | ||
80 | +/* 有数据的情况 */ | ||
81 | + | ||
82 | +.order { | ||
83 | + padding: 28rpx 32rpx 0; | ||
84 | + box-sizing: border-box; | ||
85 | +} | ||
86 | + | ||
87 | +.order_card { | ||
88 | + background: rgba(255, 255, 255, 1); | ||
89 | + box-shadow: 0 16rpx 36rpx rgba(0, 0, 0, 0.04); | ||
90 | + border-radius: 20rpx; | ||
91 | + margin: 12rpx 0; | ||
92 | + padding: 32rpx; | ||
93 | + box-sizing: border-box; | ||
94 | +} | ||
95 | + | ||
96 | +.order_title { | ||
97 | + font-size: 28rpx; | ||
98 | + font-weight: bold; | ||
99 | + color: rgba(6, 18, 30, 1); | ||
100 | + margin-bottom: 30rpx; | ||
101 | +} | ||
102 | + | ||
103 | +.address_icon { | ||
104 | + margin-right: 16rpx; | ||
105 | +} | ||
106 | + | ||
107 | +.address_icon image { | ||
108 | + width: 19rpx; | ||
109 | + height: 23rpx; | ||
110 | +} | ||
111 | + | ||
112 | +.order_word { | ||
113 | + font-size: 24rpx; | ||
114 | + font-weight: 400; | ||
115 | + color: rgba(140, 145, 152, 1); | ||
116 | +} | ||
117 | + | ||
118 | +.order_time { | ||
119 | + margin-top: 20rpx; | ||
120 | + border-bottom: 1rpx solid rgba(238, 238, 238, 1); | ||
121 | + padding-bottom: 34rpx; | ||
122 | +} | ||
123 | + | ||
124 | +.time_icon { | ||
125 | + margin-right: 14rpx; | ||
126 | +} | ||
127 | + | ||
128 | +.time_icon image { | ||
129 | + width: 20rpx; | ||
130 | + height: 20rpx; | ||
131 | +} | ||
132 | + | ||
133 | +.into { | ||
134 | + margin-right: 34rpx; | ||
135 | +} | ||
136 | + | ||
137 | +.leave { | ||
138 | + margin-right: 22rpx; | ||
139 | +} | ||
140 | + | ||
141 | +/* 待付款 */ | ||
142 | + | ||
143 | +.price_num { | ||
144 | + font-size: 24rpx; | ||
145 | + font-weight: bold; | ||
146 | + color: rgba(255, 90, 78, 1); | ||
147 | +} | ||
148 | + | ||
149 | +.price_num text { | ||
150 | + font-size: 40rpx; | ||
151 | +} | ||
152 | + | ||
153 | +.price_btn { | ||
154 | + background: linear-gradient(180deg, rgba(252, 169, 162, 1) 0%, rgba(255, 119, 117, 1) 100%); | ||
155 | + border-radius: 40rpx; | ||
156 | + font-size: 28rpx; | ||
157 | + font-weight: 400; | ||
158 | + color: rgba(255, 255, 255, 1); | ||
159 | + padding: 10rpx 40rpx; | ||
160 | + box-sizing: border-box; | ||
161 | +} | ||
162 | + | ||
163 | +/* 待出行 */ | ||
164 | + | ||
165 | +.trip_cancel { | ||
166 | + background: rgba(189, 196, 206, 1); | ||
167 | + border-radius: 40rpx; | ||
168 | + font-size: 28rpx; | ||
169 | + font-weight: 400; | ||
170 | + color: rgba(255, 255, 255, 1); | ||
171 | + padding: 10rpx 40rpx; | ||
172 | + box-sizing: border-box; | ||
173 | +} | ||
174 | + | ||
175 | +.trip_see { | ||
176 | + margin-left: 20rpx; | ||
177 | + background: linear-gradient(180deg, rgba(252, 169, 162, 1) 0%, rgba(255, 119, 117, 1) 100%); | ||
178 | + border-radius: 40rpx; | ||
179 | + font-size: 28rpx; | ||
180 | + font-weight: 400; | ||
181 | + color: rgba(255, 255, 255, 1); | ||
182 | + padding: 10rpx 40rpx; | ||
183 | + box-sizing: border-box; | ||
184 | +} | ||
185 | + | ||
186 | +/* 已入住 */ | ||
187 | + | ||
188 | +.order_check, .order_complete, .order_cancel, .order_trip, .order_price { | ||
189 | + margin-top: 32rpx; | ||
190 | +} | ||
191 | + | ||
192 | +/* 已完成 */ | ||
193 | + | ||
194 | +.complete_word { | ||
195 | + margin-top: 6rpx; | ||
196 | + font-size: 24rpx; | ||
197 | + font-weight: 400; | ||
198 | + color: rgba(91, 94, 99, 1); | ||
199 | +} | ||
200 | + | ||
201 | +.complete_share { | ||
202 | + background: linear-gradient(180deg, rgba(252, 169, 162, 1) 0%, rgba(255, 119, 117, 1) 100%); | ||
203 | + border-radius: 40rpx; | ||
204 | + padding: 10rpx 22rpx; | ||
205 | + box-sizing: border-box; | ||
206 | +} | ||
207 | + | ||
208 | +.complete_share_icon { | ||
209 | + width: 40rpx; | ||
210 | + height: 40rpx; | ||
211 | +} | ||
212 | + | ||
213 | +.complete_share_icon image { | ||
214 | + width: 100%; | ||
215 | + height: 100%; | ||
216 | + font-size: 0; | ||
217 | +} | ||
218 | + | ||
219 | +.complete_share_btn { | ||
220 | + font-size: 28rpx; | ||
221 | + font-weight: 400; | ||
222 | + color: rgba(255, 255, 255, 1); | ||
223 | +} | ||
224 | + | ||
225 | +.complete_see { | ||
226 | + margin-left: 20rpx; | ||
227 | + background: linear-gradient(180deg, rgba(252, 169, 162, 1) 0%, rgba(255, 119, 117, 1) 100%); | ||
228 | + border-radius: 40rpx; | ||
229 | + font-size: 28rpx; | ||
230 | + font-weight: 400; | ||
231 | + color: rgba(255, 255, 255, 1); | ||
232 | + padding: 10rpx 40rpx; | ||
233 | + box-sizing: border-box; | ||
234 | +} | ||
235 | + | ||
236 | +/* 已取消 */ | ||
237 | + | ||
238 | +.cancel_price { | ||
239 | + text-decoration: line-through; | ||
240 | +} | ||
241 | + | ||
242 | +.cencel_word { | ||
243 | + margin-left: 26rpx; | ||
244 | + font-size: 24rpx; | ||
245 | + font-weight: 400; | ||
246 | + color: rgba(91, 94, 99, 1); | ||
247 | +} |
pages/mine_question/mine_question.js
0 → 100644
1 | +// pages/mine_question/mine_question.js | ||
2 | +Page({ | ||
3 | + | ||
4 | + /** | ||
5 | + * 页面的初始数据 | ||
6 | + */ | ||
7 | + data: { | ||
8 | + list: [{ | ||
9 | + index: 1, | ||
10 | + question: "1、会员卡的有效期是多久", | ||
11 | + answer: "会员使用免费入住权限时,每次最多可预订1个房间,连续2晚。当您完成本次订单退房时可进行下次预订。" | ||
12 | + }, { | ||
13 | + index: 2, | ||
14 | + question: "2、我可以同是预订好几个房间吗", | ||
15 | + answer: "会员使用免费入住权限时,每次最多可预订1个房间,连续2晚。当您完成本次订单退房时可进行下次预订。" | ||
16 | + }], | ||
17 | + active: "" | ||
18 | + }, | ||
19 | + // 点击查看答案 | ||
20 | + look(e) { | ||
21 | + console.log(e) | ||
22 | + let t = this; | ||
23 | + t.setData({ | ||
24 | + active: e.currentTarget.dataset.id | ||
25 | + }) | ||
26 | + }, | ||
27 | + /** | ||
28 | + * 生命周期函数--监听页面加载 | ||
29 | + */ | ||
30 | + onLoad: function(options) { | ||
31 | + | ||
32 | + }, | ||
33 | + | ||
34 | + /** | ||
35 | + * 生命周期函数--监听页面初次渲染完成 | ||
36 | + */ | ||
37 | + onReady: function() { | ||
38 | + | ||
39 | + }, | ||
40 | + | ||
41 | + /** | ||
42 | + * 生命周期函数--监听页面显示 | ||
43 | + */ | ||
44 | + onShow: function() { | ||
45 | + | ||
46 | + }, | ||
47 | + | ||
48 | + /** | ||
49 | + * 生命周期函数--监听页面隐藏 | ||
50 | + */ | ||
51 | + onHide: function() { | ||
52 | + | ||
53 | + }, | ||
54 | + | ||
55 | + /** | ||
56 | + * 生命周期函数--监听页面卸载 | ||
57 | + */ | ||
58 | + onUnload: function() { | ||
59 | + | ||
60 | + }, | ||
61 | + | ||
62 | + /** | ||
63 | + * 页面相关事件处理函数--监听用户下拉动作 | ||
64 | + */ | ||
65 | + onPullDownRefresh: function() { | ||
66 | + | ||
67 | + }, | ||
68 | + | ||
69 | + /** | ||
70 | + * 页面上拉触底事件的处理函数 | ||
71 | + */ | ||
72 | + onReachBottom: function() { | ||
73 | + | ||
74 | + }, | ||
75 | + | ||
76 | + /** | ||
77 | + * 用户点击右上角分享 | ||
78 | + */ | ||
79 | + onShareAppMessage: function() { | ||
80 | + | ||
81 | + } | ||
82 | +}) |
pages/mine_question/mine_question.json
0 → 100644
pages/mine_question/mine_question.wxml
0 → 100644
1 | +<!--pages/mine_kefu/mine_kefu.wxml--> | ||
2 | +<view class='list'> | ||
3 | + <view class='box' wx:for="{{list}}" wx:key="index"> | ||
4 | + <view class='top'> | ||
5 | + <view class='top_one layer_between' data-id='{{item.index}}' bindtap='look'> | ||
6 | + <view class='top_left'>{{item.question}}</view> | ||
7 | + <view class='top_icon'> | ||
8 | + <image src='/img/yourow.png'></image> | ||
9 | + </view> | ||
10 | + </view> | ||
11 | + </view> | ||
12 | + <view class='{{active == item.index?"bottoms":"bottom"}}'>{{item.answer}}</view> | ||
13 | + </view> | ||
14 | + | ||
15 | + | ||
16 | + | ||
17 | +</view> |
pages/mine_question/mine_question.wxss
0 → 100644
1 | +/* pages/mine_kefu/mine_kefu.wxss */ | ||
2 | + | ||
3 | +.layer_star { | ||
4 | + display: flex; | ||
5 | + justify-content: flex-start; | ||
6 | + align-items: center; | ||
7 | +} | ||
8 | + | ||
9 | +.layer_between { | ||
10 | + display: flex; | ||
11 | + justify-content: space-between; | ||
12 | + align-items: center; | ||
13 | +} | ||
14 | + | ||
15 | +page { | ||
16 | + background: rgba(249, 249, 249, 1); | ||
17 | +} | ||
18 | + | ||
19 | +.top { | ||
20 | + padding: 0 32rpx; | ||
21 | + box-sizing: border-box; | ||
22 | +} | ||
23 | + | ||
24 | +.box { | ||
25 | + background: #fff; | ||
26 | +} | ||
27 | + | ||
28 | +.top_one { | ||
29 | + padding: 34rpx 0; | ||
30 | + box-sizing: border-box; | ||
31 | + border-bottom: 1rpx solid rgba(238, 238, 238, 1); | ||
32 | +} | ||
33 | + | ||
34 | +.no_border { | ||
35 | + border: none; | ||
36 | +} | ||
37 | + | ||
38 | +.top_icon { | ||
39 | + width: 22rpx; | ||
40 | + height: 22rpx; | ||
41 | + font-size: 0; | ||
42 | +} | ||
43 | + | ||
44 | +.top_icon image { | ||
45 | + width: 100%; | ||
46 | + height: 100%; | ||
47 | +} | ||
48 | + | ||
49 | +.top_left { | ||
50 | + font-size: 28rpx; | ||
51 | + font-weight: 400; | ||
52 | + color: rgba(6, 18, 30, 1); | ||
53 | +} | ||
54 | + | ||
55 | +.bottom { | ||
56 | + display: none; | ||
57 | + font-size: 28rpx; | ||
58 | + font-weight: 400; | ||
59 | + line-height: 40rpx; | ||
60 | + color: rgba(140, 145, 152, 1); | ||
61 | + padding: 32rpx 74rpx; | ||
62 | + box-sizing: border-box | ||
63 | +} | ||
64 | +.bottoms { | ||
65 | + display: block; | ||
66 | + font-size: 28rpx; | ||
67 | + font-weight: 400; | ||
68 | + line-height: 40rpx; | ||
69 | + color: rgba(140, 145, 152, 1); | ||
70 | + padding: 32rpx 74rpx; | ||
71 | + box-sizing: border-box | ||
72 | +} |
pages/mine_set/mine_set.js
0 → 100644
1 | +// pages/mine_set/mine_set.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 | +}) |
pages/mine_set/mine_set.json
0 → 100644
pages/mine_set/mine_set.wxml
0 → 100644
1 | +<!--pages/mine_set/mine_set.wxml--> | ||
2 | +<view class='top_img layer_between'> | ||
3 | + <view class='title'>头像</view> | ||
4 | + <view class='img'> | ||
5 | + <image src='/img/mine (5).png'></image> | ||
6 | + </view> | ||
7 | +</view> | ||
8 | +<view class='bottom'> | ||
9 | + <view class='one layer_between'> | ||
10 | + <view class='title'>昵称</view> | ||
11 | + <view class='right layer_star'> | ||
12 | + <view class='word'>爱旅行的小李</view> | ||
13 | + <view class='icon'> | ||
14 | + <image src='/img/yourow.png'></image> | ||
15 | + </view> | ||
16 | + </view> | ||
17 | + </view> | ||
18 | + <view class='one layer_between'> | ||
19 | + <view class='title'>手机号码</view> | ||
20 | + <view class='right layer_star'> | ||
21 | + <view class='word'>183****232</view> | ||
22 | + <view class='icon'> | ||
23 | + <image src='/img/yourow.png'></image> | ||
24 | + </view> | ||
25 | + </view> | ||
26 | + </view> | ||
27 | + <view class='one layer_between'> | ||
28 | + <view class='title'>常住地址</view> | ||
29 | + <view class='right layer_star'> | ||
30 | + <view class='word'>河北 沧州</view> | ||
31 | + <view class='icon'> | ||
32 | + <image src='/img/yourow.png'></image> | ||
33 | + </view> | ||
34 | + </view> | ||
35 | + </view> | ||
36 | + <view class='one layer_between' style='border:none'> | ||
37 | + <view class='title'>详细地址</view> | ||
38 | + <view class='right layer_star'> | ||
39 | + <view class='word'></view> | ||
40 | + <view class='icon'> | ||
41 | + <image src='/img/yourow.png'></image> | ||
42 | + </view> | ||
43 | + </view> | ||
44 | + </view> | ||
45 | +</view> | ||
46 | +<view class='btn'> | ||
47 | + <view class='bot_btn'>退出登录</view> | ||
48 | +</view> |
pages/mine_set/mine_set.wxss
0 → 100644
1 | +/* pages/mine_set/mine_set.wxss */ | ||
2 | + | ||
3 | +.layer_between { | ||
4 | + display: flex; | ||
5 | + justify-content: space-between; | ||
6 | + align-items: center; | ||
7 | +} | ||
8 | + | ||
9 | +.layer_star { | ||
10 | + display: flex; | ||
11 | + justify-content: flex-start; | ||
12 | + align-items: center; | ||
13 | +} | ||
14 | + | ||
15 | +page { | ||
16 | + background: #f9f9f9; | ||
17 | +} | ||
18 | + | ||
19 | +.top_img { | ||
20 | + background: #fff; | ||
21 | + padding: 14rpx 32rpx; | ||
22 | + box-sizing: border-box; | ||
23 | +} | ||
24 | + | ||
25 | +.title { | ||
26 | + font-size: 28rpx; | ||
27 | + font-weight: 400; | ||
28 | + color: rgba(6, 18, 30, 1); | ||
29 | +} | ||
30 | + | ||
31 | +.img { | ||
32 | + width: 120rpx; | ||
33 | + height: 120rpx; | ||
34 | + font-size: 0; | ||
35 | +} | ||
36 | + | ||
37 | +.img image { | ||
38 | + width: 100%; | ||
39 | + height: 100%; | ||
40 | +} | ||
41 | + | ||
42 | +.bottom { | ||
43 | + margin-top: 24rpx; | ||
44 | + background: #fdfdfd; | ||
45 | + padding: 0 32rpx; | ||
46 | + box-sizing: border-box; | ||
47 | +} | ||
48 | + | ||
49 | +.one { | ||
50 | + border-bottom: 1rpx solid rgba(238, 238, 238, 1); | ||
51 | + padding: 38rpx 0; | ||
52 | + box-sizing: border-box; | ||
53 | +} | ||
54 | + | ||
55 | +.title { | ||
56 | + font-size: 28rpx; | ||
57 | + font-weight: 400; | ||
58 | + color: rgba(6, 18, 30, 1); | ||
59 | +} | ||
60 | + | ||
61 | +.word { | ||
62 | + font-size: 24rpx; | ||
63 | + font-weight: 400; | ||
64 | + color: rgba(140, 145, 152, 1); | ||
65 | +} | ||
66 | + | ||
67 | +.icon { | ||
68 | + width: 22rpx; | ||
69 | + height: 22rpx; | ||
70 | + font-size: 0; | ||
71 | + margin-left: 18rpx; | ||
72 | +} | ||
73 | + | ||
74 | +.icon image { | ||
75 | + width: 100%; | ||
76 | + height: 100%; | ||
77 | +} | ||
78 | + | ||
79 | +.btn { | ||
80 | + width: 100%; | ||
81 | + padding: 0 52rpx; | ||
82 | + box-sizing: border-box; | ||
83 | + position: fixed; | ||
84 | + bottom: 80rpx; | ||
85 | +} | ||
86 | +.bot_btn { | ||
87 | + background: linear-gradient(180deg, rgba(252, 169, 162, 1) 0%, rgba(255, 119, 117, 1) 100%); | ||
88 | + border-radius: 50rpx; | ||
89 | + font-size: 32rpx; | ||
90 | + font-weight: 500; | ||
91 | + color: rgba(255, 255, 255, 1); | ||
92 | + text-align: center; | ||
93 | + padding: 22rpx 0; | ||
94 | + box-sizing: border-box; | ||
95 | +} |
pages/mine_wallet/mine_wallet.js
0 → 100644
1 | +// pages/mine_wallet/mine_wallet.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 | +}) |
pages/mine_wallet/mine_wallet.json
0 → 100644
pages/mine_wallet/mine_wallet.wxml
0 → 100644
1 | +<!--pages/mine_wallet/mine_wallet.wxml--> | ||
2 | +<view class='top'> | ||
3 | + <view class='top_box'> | ||
4 | + <view class='title'>总金额(元)</view> | ||
5 | + <view class='top_contant layer_between'> | ||
6 | + <view class='top_left'>¥40.05</view> | ||
7 | + <view class='top_right'>提现</view> | ||
8 | + </view> | ||
9 | + </view> | ||
10 | +</view> | ||
11 | +<!-- 银行卡列表 --> | ||
12 | +<view class='bank_list'> | ||
13 | + <view class='bank_box'> | ||
14 | + <view class='bank_title'>银行卡</view> | ||
15 | + <view class='bank_contant'> | ||
16 | + <view class='bank_one layer_star'> | ||
17 | + <view class='left'> | ||
18 | + <image src='/img/mine_wallet (1).png'></image> | ||
19 | + </view> | ||
20 | + <view class='right'> | ||
21 | + <view class='bank_name'>工商银行</view> | ||
22 | + <view class='bank_num'>**** **** **** 6445</view> | ||
23 | + </view> | ||
24 | + </view> | ||
25 | + <view class='bank_one bank_two layer_star'> | ||
26 | + <view class='left'> | ||
27 | + <image src='/img/mine_wallet (2).png'></image> | ||
28 | + </view> | ||
29 | + <view class='right'> | ||
30 | + <view class='bank_name'>工商银行</view> | ||
31 | + <view class='bank_num'>**** **** **** 6445</view> | ||
32 | + </view> | ||
33 | + </view> | ||
34 | + </view> | ||
35 | + <view class='add_bank layer_star'> | ||
36 | + <view class='add_left'> | ||
37 | + <image src='/img/mine_wallet (3).png'></image> | ||
38 | + </view> | ||
39 | + <view class='add_right'>添加银行卡</view> | ||
40 | + </view> | ||
41 | + </view> | ||
42 | +</view> |
pages/mine_wallet/mine_wallet.wxss
0 → 100644
1 | +page { | ||
2 | + background: #f9f9f9; | ||
3 | +} | ||
4 | + | ||
5 | +.layer_between { | ||
6 | + display: flex; | ||
7 | + justify-content: space-between; | ||
8 | + align-items: center; | ||
9 | +} | ||
10 | + | ||
11 | +.layer_star { | ||
12 | + display: flex; | ||
13 | + justify-content: flex-start; | ||
14 | + align-items: center; | ||
15 | +} | ||
16 | + | ||
17 | +.top { | ||
18 | + padding: 26rpx 32rpx 0; | ||
19 | + box-sizing: border-box; | ||
20 | +} | ||
21 | + | ||
22 | +.top_box { | ||
23 | + background: rgba(255, 255, 255, 1); | ||
24 | + border-radius: 16rpx; | ||
25 | + padding: 52rpx 32rpx 44rpx; | ||
26 | + box-sizing: border-box; | ||
27 | +} | ||
28 | + | ||
29 | +.title { | ||
30 | + font-size: 24rpx; | ||
31 | + font-weight: 500; | ||
32 | + color: rgba(6, 18, 30, 1); | ||
33 | +} | ||
34 | + | ||
35 | +.top_contant { | ||
36 | + margin-top: 24rpx; | ||
37 | +} | ||
38 | + | ||
39 | +.top_left { | ||
40 | + font-size: 48rpx; | ||
41 | + font-weight: bold; | ||
42 | + color: rgba(255, 90, 78, 1); | ||
43 | +} | ||
44 | + | ||
45 | +.top_right { | ||
46 | + background: rgba(255, 114, 113, 1); | ||
47 | + font-size: 28rpx; | ||
48 | + font-weight: 500; | ||
49 | + color: rgba(255, 255, 255, 1); | ||
50 | + padding: 8rpx 72rpx; | ||
51 | + box-sizing: border-box; | ||
52 | + border-radius: 10rpx; | ||
53 | +} | ||
54 | + | ||
55 | +/* 银行卡 */ | ||
56 | + | ||
57 | +.bank_list { | ||
58 | + margin-top: 24rpx; | ||
59 | + padding: 0 32rpx; | ||
60 | + box-sizing: border-box; | ||
61 | +} | ||
62 | + | ||
63 | +.bank_box { | ||
64 | + background: #fff; | ||
65 | + padding: 40rpx 32rpx; | ||
66 | + box-sizing: border-box; | ||
67 | + border-radius:16rpx; | ||
68 | +} | ||
69 | + | ||
70 | +.bank_title { | ||
71 | + font-size: 28rpx; | ||
72 | + font-weight: 400; | ||
73 | + color: rgba(6, 18, 30, 1); | ||
74 | + border-bottom: 1rpx solid rgba(235, 235, 235, 1); | ||
75 | + padding-bottom: 40rpx; | ||
76 | +} | ||
77 | + | ||
78 | +.left { | ||
79 | + width: 72rpx; | ||
80 | + height: 72rpx; | ||
81 | +} | ||
82 | + | ||
83 | +.left image { | ||
84 | + width: 100%; | ||
85 | + height: 100%; | ||
86 | +} | ||
87 | + | ||
88 | +.bank_one { | ||
89 | + margin-top: 24rpx; | ||
90 | + background: rgba(201, 80, 89, 1); | ||
91 | + border-radius: 16rpx; | ||
92 | + padding: 24rpx 28rpx; | ||
93 | + box-sizing: border-box; | ||
94 | +} | ||
95 | + | ||
96 | +.right { | ||
97 | + margin-left: 28rpx; | ||
98 | +} | ||
99 | + | ||
100 | +.bank_name { | ||
101 | + font-size: 28rpx; | ||
102 | + font-weight: 400; | ||
103 | + color: rgba(255, 255, 255, 1); | ||
104 | +} | ||
105 | + | ||
106 | +.bank_num { | ||
107 | + margin-top: 2rpx; | ||
108 | + font-size: 28rpx; | ||
109 | + font-weight: 400; | ||
110 | + color: rgba(255, 255, 255, 1); | ||
111 | +} | ||
112 | + | ||
113 | +.bank_two { | ||
114 | + background: rgba(0, 59, 143, 1); | ||
115 | +} | ||
116 | + | ||
117 | +.add_bank { | ||
118 | + margin-top: 26rpx; | ||
119 | + border: 4rpx solid rgba(238, 238, 238, 1); | ||
120 | + border-radius: 16rpx; | ||
121 | + padding: 24rpx 26rpx; | ||
122 | + box-sizing: border-box | ||
123 | +} | ||
124 | + | ||
125 | +.add_left { | ||
126 | + width: 72rpx; | ||
127 | + height: 72rpx; | ||
128 | +} | ||
129 | + | ||
130 | +.add_left image { | ||
131 | + width: 100%; | ||
132 | + height: 100%; | ||
133 | +} | ||
134 | + | ||
135 | +.add_right { | ||
136 | + margin-left: 30rpx; | ||
137 | + font-size: 28rpx; | ||
138 | + font-weight: 400; | ||
139 | + color: rgba(140, 145, 152, 1); | ||
140 | +} |
-
请 注册 或 登录 后发表评论