From d56b9207c8701e5e22104d9d6bbb3a3a80797389 Mon Sep 17 00:00:00 2001 From: iceling Date: Thu, 7 Nov 2019 09:49:39 +0800 Subject: [PATCH] 历史服务 --- pages/user/hist_service/hist_service.js | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ pages/user/hist_service/hist_service.json | 3 +++ pages/user/hist_service/hist_service.wxml | 41 +++++++++++++++++++++++++++++++++++++++++ pages/user/hist_service/hist_service.wxss | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 167 insertions(+), 0 deletions(-) create mode 100644 pages/user/hist_service/hist_service.js create mode 100644 pages/user/hist_service/hist_service.json create mode 100644 pages/user/hist_service/hist_service.wxml create mode 100644 pages/user/hist_service/hist_service.wxss diff --git a/pages/user/hist_service/hist_service.js b/pages/user/hist_service/hist_service.js new file mode 100644 index 0000000..c6a154c --- /dev/null +++ b/pages/user/hist_service/hist_service.js @@ -0,0 +1,66 @@ +var e = getApp(), a = e.globalData.setting, os = a, t = e.request; +Page({ + + /** + * 页面的初始数据 + */ + data: { + iurl: a.imghost, + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady: function () { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow: function () { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide: function () { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload: function () { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh: function () { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom: function () { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage: function () { + + } +}) \ No newline at end of file diff --git a/pages/user/hist_service/hist_service.json b/pages/user/hist_service/hist_service.json new file mode 100644 index 0000000..8c9f8ad --- /dev/null +++ b/pages/user/hist_service/hist_service.json @@ -0,0 +1,3 @@ +{ + "navigationBarTitleText": "历史服务" +} \ No newline at end of file diff --git a/pages/user/hist_service/hist_service.wxml b/pages/user/hist_service/hist_service.wxml new file mode 100644 index 0000000..3c2696d --- /dev/null +++ b/pages/user/hist_service/hist_service.wxml @@ -0,0 +1,41 @@ + + + + + 共使用 + 36 + 次服务 + + + + 重置 + + + + 筛选 + + + + + + + + + + + + + + 头部按摩 + (美容师: + 花木兰 + ) + + 2019-07-02 23:25:45 + + + 已服务 + + + + \ No newline at end of file diff --git a/pages/user/hist_service/hist_service.wxss b/pages/user/hist_service/hist_service.wxss new file mode 100644 index 0000000..66b07d0 --- /dev/null +++ b/pages/user/hist_service/hist_service.wxss @@ -0,0 +1,57 @@ +.box { + width: 0px; + height: 0px; + margin-left: 15rpx; + border-top: 11rpx solid rgba(0, 0, 0, 0); + border-right: 10rpx solid rgba(0, 0, 0, 0); + border-left: 10rpx solid rgba(0, 0, 0, 0); + display: inline-block; + margin-bottom: 10rpx; + color: red; + transform: rotate(0deg); + border-bottom: 18rpx solid rgb(153, 153, 153); +} + +.exption { + padding: 0rpx 45rpx; + background-color: rgb(238, 238, 238); + height: 70rpx; + color: rgb(153, 153, 153); +} + +.count { + margin: 0rpx 5rpx; +} + +.Resetfram { + margin-right: 40rpx; +} + +.Reset { + margin-right: 5rpx; +} + +.Resetsub { + width: 30rpx; + height: 30rpx; +} + +.item { + margin: 0rpx 25rpx; + padding: 0rpx 20rpx; + height: 135rpx; + border-bottom: 1rpx solid rgb(242, 242, 242); +} + +.itemName { + margin-right: 5rpx; + max-width: 200rpx; +} + +.itemUsna { + max-width: 200rpx; +} + +.serState { + color: rgb(255, 82, 125); +} -- libgit2 0.21.4