Parcourir la source

✨ 首页/订单详情

谢创宏 il y a 3 ans
Parent
commit
504e6931b1

BIN
.DS_Store


+ 26 - 3
app.json

@@ -1,15 +1,38 @@
1 1
 {
2 2
   "pages": [
3
+    "pages/home/home",
3 4
     "pages/index/index",
4
-    "pages/logs/logs"
5
+    "pages/logs/logs",
6
+    "pages/member/member",
7
+    "pages/orderDetail/orderDetail"
5 8
   ],
9
+  "tabBar": {
10
+    "color": "#666666",
11
+    "selectedColor": "#333333",
12
+    "borderStyle": "white",
13
+    "backgroundColor": "#fff",
14
+    "list": [
15
+      {
16
+        "pagePath": "pages/home/home",
17
+        "iconPath": "images/nav/home-off.png",
18
+        "selectedIconPath": "images/nav/home-on.png",
19
+        "text": "首页"
20
+      },
21
+      {
22
+        "pagePath": "pages/member/member",
23
+        "iconPath": "images/nav/my-off.png",
24
+        "selectedIconPath": "images/nav/my-on.png",
25
+        "text": "个人中心"
26
+      }
27
+    ]
28
+  },
6 29
   "window": {
7 30
     "backgroundTextStyle": "light",
8
-    "navigationBarBackgroundColor": "#fff",
31
+    "navigationBarBackgroundColor": "#FFCAE0",
9 32
     "navigationBarTitleText": "Weixin",
10 33
     "navigationBarTextStyle": "black"
11 34
   },
12 35
   "style": "v2",
13 36
   "sitemapLocation": "sitemap.json",
14 37
   "lazyCodeLoading": "requiredComponents"
15
-}
38
+}

+ 121 - 1
app.wxss

@@ -1,4 +1,10 @@
1 1
 /**app.wxss**/
2
+page {
3
+  background: #F9F9F9;
4
+  /* background: linear-gradient(180deg, #FFCAE0 0%, rgba(255, 202, 224, 0) 100%); */
5
+  /* background-repeat: no-repeat; */
6
+}
7
+
2 8
 .container {
3 9
   height: 100%;
4 10
   display: flex;
@@ -7,4 +13,118 @@
7 13
   justify-content: space-between;
8 14
   padding: 200rpx 0;
9 15
   box-sizing: border-box;
10
-} 
16
+}
17
+
18
+.flex {
19
+  display: flex;
20
+}
21
+
22
+.flex-start {
23
+  align-items: flex-start;
24
+  justify-content: flex-start;
25
+}
26
+
27
+.flex-align-center {
28
+  display: flex;
29
+  align-items: center;
30
+}
31
+
32
+.flex-justify-center {
33
+  display: flex;
34
+  justify-content: center;
35
+}
36
+
37
+.flex-justify-space-around {
38
+  display: flex;
39
+  justify-content: space-around;
40
+}
41
+
42
+.flex-justify-space-between {
43
+  display: flex;
44
+  justify-content: space-between;
45
+}
46
+
47
+.flex-center {
48
+  display: flex;
49
+  align-items: center;
50
+  justify-content: center;
51
+}
52
+
53
+.flex-column {
54
+  display: flex;
55
+  flex-direction: column;
56
+  /* align-items: flex-start;
57
+  justify-content: flex-start; */
58
+}
59
+
60
+.flex1 {
61
+  flex: 1;
62
+}
63
+
64
+.radius {
65
+  border-radius: 8rpx;
66
+  box-sizing: border-box;
67
+  overflow: hidden;
68
+}
69
+
70
+.popup-radius .wux-popup__content {
71
+  border-top-left-radius: 40rpx;
72
+  border-top-right-radius: 40rpx;
73
+}
74
+
75
+.ellipsis {
76
+  white-space: nowrap;
77
+  overflow: hidden;
78
+  text-overflow: ellipsis;
79
+}
80
+
81
+.ellipsis2 {
82
+  overflow: hidden;
83
+  text-overflow: ellipsis;
84
+  display: -webkit-box;
85
+  -webkit-line-clamp: 2;
86
+  -webkit-box-orient: vertical;
87
+}
88
+
89
+.ellipsis3 {
90
+  overflow: hidden;
91
+  text-overflow: ellipsis;
92
+  display: -webkit-box;
93
+  -webkit-line-clamp: 3;
94
+  -webkit-box-orient: vertical;
95
+}
96
+
97
+text {
98
+  font-size: 32rpx;
99
+  color: #333333;
100
+  /* color: #FFFFFF; */
101
+  font-family: PingFangSC-Regular;
102
+}
103
+
104
+.btm-text {
105
+  font-size: 28rpx;
106
+  color: #999999;
107
+  text-align: center;
108
+  margin: 42rpx 0;
109
+}
110
+
111
+.no-data {
112
+  text-align: center;
113
+  margin-top: 400rpx;
114
+  color: #666;
115
+}
116
+
117
+
118
+.no-more-data {
119
+  text-align: center;
120
+  margin-top: 28rpx;
121
+  color: #666;
122
+}
123
+
124
+rich-text .richImg{
125
+  max-width: 100%;
126
+  max-height: 100%;
127
+  vertical-align: middle;
128
+  height: auto!important;
129
+  width: auto!important;
130
+}

BIN
images/.DS_Store


BIN
images/nav/.DS_Store


BIN
images/nav/article-off.png


BIN
images/nav/article-on.png


BIN
images/nav/home-off.png


BIN
images/nav/home-on.png


BIN
images/nav/my-off.png


BIN
images/nav/my-on.png


+ 81 - 0
pages/home/home.js

@@ -0,0 +1,81 @@
1
+// pages/home/home.js
2
+Page({
3
+
4
+  /**
5
+   * 页面的初始数据
6
+   */
7
+  data: {
8
+    current: 0
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
+  /**
67
+   * 切换状态
68
+  */
69
+  onTabsChange(e) {
70
+    let current = e.currentTarget.dataset.id
71
+    if(current == this.data.current) {
72
+      return;
73
+    }
74
+    this.setData({
75
+      current,
76
+      // page: 1,
77
+    },() => {
78
+      // this.getPlanList()
79
+    })
80
+  },
81
+})

+ 4 - 0
pages/home/home.json

@@ -0,0 +1,4 @@
1
+{
2
+  "navigationBarTitleText": "首页",
3
+  "usingComponents": {}
4
+}

+ 54 - 0
pages/home/home.wxml

@@ -0,0 +1,54 @@
1
+<view class="content">
2
+  <view class="top-text flex-column">
3
+    <text class="text-1" >今日预约订单数:18</text>
4
+    <text style="font-size: 28rpx;color: #999999;margin-top: 12rpx;">今日服务订单数:11</text>
5
+    <view class="flex-align-center" style="margin-top: 12rpx;">
6
+      <image src=""></image>
7
+      <text style="font-size: 24rpx;">南山华润置地XX楼808号(南山店)</text>
8
+    </view>
9
+  </view>
10
+  <view class="tabs-bgc">
11
+    <view class="tabs-wrap flex-align-center">
12
+      <view class="item flex-center {{current == 0 ? 'active' : ''}}" bindtap="onTabsChange" data-id="0">进行中</view>
13
+      <view class="item flex-center {{current == 1 ? 'active' : ''}}" bindtap="onTabsChange" data-id="1">待添加</view>
14
+      <view class="item flex-center {{current == 2 ? 'active' : ''}}" bindtap="onTabsChange" data-id="2">已结束</view>
15
+    </view>
16
+  </view>
17
+  <view class="change-time border-radius flex-center">
18
+    <view class="time flex-align-center" style="margin-right: 50rpx;">
19
+      <text>2019-08-07</text>
20
+      <view class="triangle"></view>
21
+    </view>
22
+    <view class="time flex-align-center" style="margin-right: 64rpx;">
23
+      <text>2019-08-07</text>
24
+      <view class="triangle"></view>
25
+    </view>
26
+    <view class="search flex-center">搜索</view>
27
+  </view>
28
+  <view class="tabs-content">
29
+    <navigator url="/pages/orderDetail/orderDetail" hover-class="none" wx:for="{{ 2 }}" wx:key="index">
30
+      <view class="item border-radius">
31
+        <view class="item-top flex-align-center">
32
+          <text class="flex1">水氧清洁水光提升综合管理</text>
33
+          <text style="font-family: PingFangSC-Medium, PingFang SC;font-weight: 500;color: #FF77B0;">已完成</text>
34
+        </view>
35
+        <view class="item-text flex-column">
36
+          <text>预约客户:查理兹·塞隆</text>
37
+          <text>会员信息:非会员</text>
38
+          <text>预约时间:2019-8-7  8:00~10:00</text>
39
+          <text>设备:面部综合仪(5号房间)</text>
40
+        </view>
41
+        <view class="flex-align-center price">
42
+          <text>预约费用:</text>
43
+          <text style="color: #FF77B0;">¥888.88</text>
44
+        </view>
45
+        <view class="item-btn flex-align-center flex-justify-space-between">
46
+          <view class="btn flex-center">订单详情</view>
47
+          <view class="btn flex-center">客户信息</view>
48
+          <view class="btn flex-center">记录反馈</view>
49
+        </view>
50
+      </view>
51
+    </navigator>
52
+    
53
+  </view>
54
+</view>

+ 143 - 0
pages/home/home.wxss

@@ -0,0 +1,143 @@
1
+.content {
2
+  padding: 0 28rpx;
3
+}
4
+
5
+.border-radius {
6
+  background: #FFFFFF;
7
+  border-radius: 24rpx;
8
+  margin: 20rpx 0;
9
+}
10
+
11
+.top-text {
12
+  padding: 18rpx 0 48rpx;
13
+  padding-left: 8rpx;
14
+}
15
+
16
+.top-text .text-1 {
17
+  font-size: 36rpx;
18
+  font-family: PingFangSC-Semibold, PingFang SC;
19
+  font-weight: 600;
20
+  color: #FF77B0;
21
+}
22
+
23
+.top-text image {
24
+  width: 28rpx;
25
+  height: 28rpx;
26
+  background-color: #ccc;
27
+  margin-right: 8rpx;
28
+}
29
+
30
+.tabs-wrap {
31
+  height: 72rpx;
32
+  padding: 0 54rpx;
33
+  /* background: #fff; */
34
+  justify-content: space-between;
35
+}
36
+
37
+.tabs-wrap .item {
38
+  /* width: 33.33%; */
39
+  height: 100%;
40
+  font-size: 28rpx;
41
+  color: #999999;
42
+  position: relative;
43
+}
44
+
45
+.tabs-wrap .item.active {
46
+  font-family: PingFangSC-Medium, PingFang SC;
47
+  font-size: 28rpx;
48
+  color: #333;
49
+  /* color: #85DBD8; */
50
+  border-bottom: 4rpx solid #FF77B0;
51
+}
52
+
53
+.change-time {
54
+  height: 116rpx;
55
+}
56
+
57
+.change-time .time {
58
+  height: 60rpx;
59
+  width: 202rpx;
60
+  border-radius: 8rpx;
61
+  box-sizing: border-box;
62
+  padding: 0 14rpx;
63
+  background-color: #F5F5F5;
64
+}
65
+
66
+.change-time .time text {
67
+  font-size: 24rpx;
68
+}
69
+
70
+.change-time .triangle {
71
+  font-size: 0;
72
+  line-height: 0;
73
+  border-style: solid;
74
+  border-width: 16rpx 10rpx 0rpx 10rpx;
75
+  border-color: #666666 transparent;
76
+  width: 20rpx;
77
+  height: 16rpx;
78
+  box-sizing: border-box;
79
+  border-radius: 4rpx;
80
+  margin-left: 14rpx;
81
+  /* border-top-left-radius: 6rpx; */
82
+  /* border-top-right-radius: 6rpx; */
83
+}
84
+
85
+.change-time .search {
86
+  width: 116rpx;
87
+  height: 60rpx;
88
+  box-sizing: border-box;
89
+  font-size: 28rpx;
90
+  border: 2rpx solid #333;
91
+  border-radius: 36rpx;
92
+  box-sizing: border-box;
93
+}
94
+
95
+.tabs-content .item {
96
+  padding: 0 28rpx;
97
+}
98
+
99
+.tabs-content .item-top {
100
+  height: 102rpx;
101
+}
102
+
103
+.tabs-content .item-top text {
104
+  font-family: PingFangSC-Medium, PingFang SC;
105
+  font-weight: 500;
106
+}
107
+
108
+.tabs-content .item-text {
109
+  padding: 30rpx 26rpx;
110
+  background: #FFF7FA;
111
+  border-radius: 16rpx;
112
+}
113
+
114
+.tabs-content .item-text text {
115
+  font-size: 28rpx;
116
+  font-family: PingFangSC-Regular, PingFang SC;
117
+  font-weight: 400;
118
+  color: #666666;
119
+  line-height: 48rpx;
120
+}
121
+
122
+.tabs-content .price {
123
+  height: 84rpx;
124
+  justify-content: flex-end;
125
+  border-bottom: 2rpx solid #F9F9F9;
126
+}
127
+
128
+.tabs-content .price text {
129
+  font-family: PingFangSC-Medium, PingFang SC;
130
+  font-weight: 500;
131
+}
132
+
133
+.tabs-content .item-btn {
134
+  height: 132rpx;
135
+}
136
+
137
+.tabs-content .item-btn .btn {
138
+  width: 192rpx;
139
+  height: 72rpx;
140
+  border-radius: 36rpx;
141
+  border: 2rpx solid #333333;
142
+  box-sizing: border-box;
143
+}

+ 66 - 0
pages/member/member.js

@@ -0,0 +1,66 @@
1
+// pages/member/member.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
+})

+ 4 - 0
pages/member/member.json

@@ -0,0 +1,4 @@
1
+{
2
+  "navigationBarTitleText": "个人中心",
3
+  "usingComponents": {}
4
+}

+ 2 - 0
pages/member/member.wxml

@@ -0,0 +1,2 @@
1
+<!--pages/member/member.wxml-->
2
+<text>pages/member/member.wxml</text>

+ 1 - 0
pages/member/member.wxss

@@ -0,0 +1 @@
1
+/* pages/member/member.wxss */

+ 78 - 0
pages/orderDetail/orderDetail.js

@@ -0,0 +1,78 @@
1
+// pages/orderDetail/orderDetail.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
+  
67
+  /**
68
+   * 复制订单号
69
+   */
70
+  onCopyOrderNum(e) {
71
+    wx.setClipboardData({
72
+      data: e.currentTarget.dataset.num || '',
73
+      success(res) {
74
+        console.log(res)
75
+      }
76
+    })
77
+  },
78
+})

+ 4 - 0
pages/orderDetail/orderDetail.json

@@ -0,0 +1,4 @@
1
+{
2
+  "navigationBarTitleText": "订单详情",
3
+  "usingComponents": {}
4
+}

+ 90 - 0
pages/orderDetail/orderDetail.wxml

@@ -0,0 +1,90 @@
1
+<view class="content">
2
+  <view class="item border-radius">
3
+    <view class="item-top flex-align-center">
4
+      <text class="flex1">水氧清洁水光提升综合管理</text>
5
+      <text style="font-family: PingFangSC-Medium, PingFang SC;font-weight: 500;color: #FF77B0;">已完成</text>
6
+    </view>
7
+    <view class="item-text flex-column">
8
+      <text>预约客户:查理兹·塞隆</text>
9
+      <text>会员信息:非会员</text>
10
+      <text>预约时间:2019-8-7  8:00~10:00</text>
11
+      <text>设备:面部综合仪(5号房间)</text>
12
+    </view>
13
+    <view class="flex-align-center price">
14
+      <text>预约费用:</text>
15
+      <text style="color: #FF77B0;">¥888.88</text>
16
+    </view>
17
+  </view>
18
+  <view class="item border-radius" style="padding-bottom: 30rpx;">
19
+    <view class="item-top flex-align-center">
20
+      <text class="flex1">订单信息</text>
21
+    </view>
22
+    <view class="item-text flex-column">
23
+      <text>订单编号:1578789575124</text>
24
+      <text>下单时间:2021-8-7 14:12:45</text>
25
+      <text>支付方式:在线支付</text>
26
+      <text>支付时间:2021-8-7 14:13:58</text>
27
+      <view class="copy flex-center" bindtap="onCopyOrderNum" data-num="1578789575124">复制</view>
28
+    </view>
29
+  </view>
30
+  <view class="item border-radius" style="padding-top: 30rpx;">
31
+    <view class="item-text">
32
+      <view class="flex-justify-space-between">
33
+        <text>预约费用:</text>
34
+        <text style="color: #333333;">¥888.88</text>
35
+      </view>
36
+      <view class="flex-justify-space-between">
37
+        <text>优惠券:</text>
38
+        <text style="color: #333333;">-¥888.88</text>
39
+      </view>
40
+      <view class="flex-justify-space-between">
41
+        <text>优惠券类型:</text>
42
+        <text style="color: #333333;">新人体验券</text>
43
+      </view>
44
+      <view class="flex-justify-space-between">
45
+        <text>会员时长抵扣:</text>
46
+        <text style="color: #333333;">-¥888.88</text>
47
+      </view>
48
+      <view class="flex-justify-space-between">
49
+        <text>会员类型:</text>
50
+        <text style="color: #333333;">40分钟级月卡会员</text>
51
+      </view>
52
+    </view>
53
+    <view class="flex-align-center price">
54
+      <text>合计:</text>
55
+      <text style="color: #FF77B0;">¥888.88</text>
56
+    </view>
57
+  </view>
58
+  <view class="list border-radius">
59
+    <view class="item-top flex-align-center">
60
+      <text class="flex1">反馈记录</text>
61
+      <view class="btn flex-center">新增反馈</view>
62
+    </view>
63
+    <view class="item flex-column" wx:for="{{4}}" wx:key="index">
64
+      
65
+      <view class="user-info flex-align-center">
66
+        <image></image>
67
+        <view class="info flex-column flex1">
68
+          <text style="font-size: 28rpx;margin-bottom: 6rpx;">查理兹·塞隆…</text>
69
+          <text style="font-size: 20rpx;color: #999;">下午  3:45</text>
70
+        </view>
71
+        <view class="more flex-align-center flex-justify-space-between">
72
+          <text></text>
73
+          <text></text>
74
+          <text></text>
75
+        </view>
76
+        <!-- <view class="more">···</view> -->
77
+      </view>
78
+      <text style="font-size: 28rpx;color: #666;">当前皮肤毛孔出现堵塞,抓哟集中在T区,主要问题在于自身油脂分泌过多。</text>
79
+      <view class="box">
80
+        <image></image>
81
+        <image></image>
82
+        <image></image>
83
+        <image></image>
84
+        <image></image>
85
+        <image></image>
86
+      </view>
87
+    </view>
88
+  </view>
89
+  <view class="no-more-data">已经到底啦~~</view>
90
+</view>

+ 136 - 0
pages/orderDetail/orderDetail.wxss

@@ -0,0 +1,136 @@
1
+.content {
2
+  padding: 10rpx 28rpx;
3
+}
4
+
5
+.border-radius {
6
+  background: #FFFFFF;
7
+  border-radius: 24rpx;
8
+  margin: 20rpx 0;
9
+}
10
+
11
+.item {
12
+  padding: 0 28rpx;
13
+  border-bottom: 2rpx solid #F2F2F2;
14
+  position: relative;
15
+}
16
+
17
+.item-top {
18
+  height: 102rpx;
19
+}
20
+
21
+.item-top text {
22
+  font-family: PingFangSC-Medium, PingFang SC;
23
+  font-weight: 500;
24
+}
25
+
26
+.item-text {
27
+  padding: 30rpx 26rpx;
28
+  background: #FFF7FA;
29
+  border-radius: 16rpx;
30
+  position: relative;
31
+}
32
+
33
+.item-text text {
34
+  font-size: 28rpx;
35
+  font-family: PingFangSC-Regular, PingFang SC;
36
+  font-weight: 400;
37
+  color: #666666;
38
+  line-height: 48rpx;
39
+}
40
+
41
+.item-text .copy {
42
+  position: absolute;
43
+  right: 28rpx;
44
+  top: 30rpx;
45
+  width: 84rpx;
46
+  height: 52rpx;
47
+  font-size: 28rpx;
48
+  border-radius: 12rpx;
49
+  border: 2rpx solid #333333;
50
+}
51
+
52
+.price {
53
+  height: 84rpx;
54
+  justify-content: flex-end;
55
+  border-bottom: 2rpx solid #F9F9F9;
56
+}
57
+
58
+.price text {
59
+  font-family: PingFangSC-Medium, PingFang SC;
60
+  font-weight: 500;
61
+}
62
+
63
+.item-btn {
64
+  height: 132rpx;
65
+}
66
+
67
+.item-btn .btn {
68
+  width: 192rpx;
69
+  height: 72rpx;
70
+  border-radius: 36rpx;
71
+  border: rpx solid #333333;
72
+  box-sizing: border-box;
73
+}
74
+
75
+.list .item {
76
+  padding-top: 30rpx;
77
+}
78
+
79
+.list .item-top {
80
+  padding: 0 28rpx;
81
+}
82
+
83
+.list .item-top .btn {
84
+  width: 154rpx;
85
+  height: 52rpx;
86
+  border-radius: 26rpx;
87
+  border: 2rpx solid #333333;
88
+  box-sizing: border-box;
89
+  font-size: 28rpx;
90
+}
91
+
92
+.list .user-info {
93
+  margin-bottom: 20rpx;
94
+}
95
+
96
+.list .user-info image {
97
+  width: 64rpx;
98
+  height: 64rpx;
99
+  border-radius: 50%;
100
+  background-color: red;
101
+  margin-right: 14rpx;
102
+}
103
+
104
+.list .more {
105
+  width: 48rpx;
106
+  height: 48rpx;
107
+  padding: 0 4rpx;
108
+  box-sizing: border-box;
109
+}
110
+
111
+.list .more text {
112
+  width: 8rpx;
113
+  height: 8rpx;
114
+  background: #333;
115
+  border-radius: 50%;
116
+}
117
+
118
+.list .box {
119
+  display: grid;
120
+  grid-gap: 20rpx 22rpx;
121
+  grid-template-columns: repeat(3, 1fr);
122
+  padding: 30rpx 0;
123
+}
124
+
125
+.list .box image {
126
+  width: 198rpx;
127
+  height: 198rpx;
128
+  border-radius: 16rpx;
129
+  background-color: red;
130
+}
131
+
132
+/* .list .user-info .more {
133
+  font-size: 36rpx;
134
+  font-family: PingFangSC-Medium, PingFang SC;
135
+  font-weight: 500;
136
+}  */

+ 20 - 14
project.config.json

@@ -4,30 +4,36 @@
4 4
     "ignore": []
5 5
   },
6 6
   "setting": {
7
-    "bundle": false,
8
-    "userConfirmedBundleSwitch": false,
9
-    "urlCheck": true,
10
-    "scopeDataCheck": false,
11
-    "coverView": true,
7
+    "urlCheck": false,
12 8
     "es6": true,
9
+    "enhance": true,
13 10
     "postcss": true,
14
-    "compileHotReLoad": false,
15
-    "lazyloadPlaceholderEnable": false,
16 11
     "preloadBackgroundData": false,
17 12
     "minified": true,
18
-    "autoAudits": false,
19 13
     "newFeature": false,
14
+    "coverView": true,
15
+    "nodeModules": false,
16
+    "autoAudits": false,
17
+    "showShadowRootInWxmlPanel": true,
18
+    "scopeDataCheck": false,
20 19
     "uglifyFileName": false,
20
+    "checkInvalidKey": true,
21
+    "checkSiteMap": true,
21 22
     "uploadWithSourceMap": true,
22
-    "useIsolateContext": true,
23
-    "nodeModules": false,
24
-    "enhance": true,
23
+    "compileHotReLoad": false,
24
+    "lazyloadPlaceholderEnable": false,
25 25
     "useMultiFrameRuntime": true,
26 26
     "useApiHook": true,
27 27
     "useApiHostProcess": true,
28
-    "showShadowRootInWxmlPanel": true,
29
-    "packNpmManually": false,
28
+    "babelSetting": {
29
+      "ignore": [],
30
+      "disablePlugins": [],
31
+      "outputPath": ""
32
+    },
30 33
     "enableEngineNative": false,
34
+    "useIsolateContext": true,
35
+    "userConfirmedBundleSwitch": false,
36
+    "packNpmManually": false,
31 37
     "packNpmRelationList": [],
32 38
     "minifyWXSS": true,
33 39
     "showES6CompileOption": false
@@ -35,7 +41,7 @@
35 41
   "compileType": "miniprogram",
36 42
   "libVersion": "2.21.0",
37 43
   "appid": "wx14a2493635b91838",
38
-  "projectname": "miniprogram-2",
44
+  "projectname": "beauty_apparatus_admin",
39 45
   "debugOptions": {
40 46
     "hidedInDevtools": []
41 47
   },

+ 23 - 0
project.private.config.json

@@ -0,0 +1,23 @@
1
+{
2
+  "condition": {
3
+    "plugin": {
4
+      "list": []
5
+    },
6
+    "game": {
7
+      "list": []
8
+    },
9
+    "gamePlugin": {
10
+      "list": []
11
+    },
12
+    "miniprogram": {
13
+      "list": [
14
+        {
15
+          "name": "订单详情",
16
+          "pathName": "pages/orderDetail/orderDetail",
17
+          "query": "",
18
+          "scene": null
19
+        }
20
+      ]
21
+    }
22
+  }
23
+}