Procházet zdrojové kódy

Merge remote-tracking branch 'origin/master'

chenxiqiang před 6 roky
rodič
revize
a51cdd8c58

+ 30
- 1
miniapp/app/app.json Zobrazit soubor

@@ -1,12 +1,41 @@
1 1
 {
2 2
     "pages": [
3 3
         "pages/launch/index",
4
-        "pages/home/index"
4
+        "pages/home/index",
5
+        "pages/classify/index",
6
+        "pages/order/index",
7
+        "pages/user/index"
5 8
     ],
6 9
     "window": {
7 10
         "backgroundTextStyle": "light",
8 11
         "navigationBarBackgroundColor": "#00a0e9",
9 12
         "navigationBarTitleText": "玥子轩",
10 13
         "navigationBarTextStyle": "white"
14
+    },
15
+    "tabBar": {
16
+        "color": "#fff",
17
+        "selectedColor": "#fff",
18
+        "backgroundColor": "#00a0e9",
19
+        "list": [{
20
+            "pagePath": "pages/home/index",
21
+            "text": "首页",
22
+            "iconPath": "/img/icon-home.png",
23
+            "selectedIconPath": "/img/icon-home-active.png"
24
+        }, {
25
+            "pagePath": "pages/classify/index",
26
+            "text": "分类",
27
+            "iconPath": "/img/icon-classify.png",
28
+            "selectedIconPath": "/img/icon-classify-active.png"
29
+        }, {
30
+            "pagePath": "pages/order/index",
31
+            "text": "订单",
32
+            "iconPath": "/img/icon-order.png",
33
+            "selectedIconPath": "/img/icon-order-active.png"
34
+        }, {
35
+            "pagePath": "pages/user/index",
36
+            "text": "我的",
37
+            "iconPath": "/img/icon-user.png",
38
+            "selectedIconPath": "/img/icon-user-active.png"
39
+        }]
11 40
     }
12 41
 }

binární
miniapp/app/img/icon-classify-active.png Zobrazit soubor


binární
miniapp/app/img/icon-classify.png Zobrazit soubor


binární
miniapp/app/img/icon-home-active.png Zobrazit soubor


binární
miniapp/app/img/icon-home.png Zobrazit soubor


binární
miniapp/app/img/icon-order-active.png Zobrazit soubor


binární
miniapp/app/img/icon-order.png Zobrazit soubor


binární
miniapp/app/img/icon-user-active.png Zobrazit soubor


binární
miniapp/app/img/icon-user.png Zobrazit soubor


+ 7
- 0
miniapp/app/pages/classify/index.js Zobrazit soubor

@@ -0,0 +1,7 @@
1
+const $ = global;
2
+
3
+new $.Page({
4
+    data: {
5
+
6
+    }
7
+});

+ 3
- 0
miniapp/app/pages/classify/index.json Zobrazit soubor

@@ -0,0 +1,3 @@
1
+{
2
+    "navigationBarTitleText": "支付结果"
3
+}

+ 9
- 0
miniapp/app/pages/classify/index.wxml Zobrazit soubor

@@ -0,0 +1,9 @@
1
+<view class="page">
2
+    <view class="page-bd">
3
+        <view class="card">
4
+            <image class="icon-status" src="/img/pay-success.png"></image>
5
+            <view class="status-text">支付成功</view>
6
+            <view class="btn-green">查看订单</view>
7
+        </view>
8
+    </view>
9
+</view>

+ 40
- 0
miniapp/app/pages/classify/index.wxss Zobrazit soubor

@@ -0,0 +1,40 @@
1
+page{
2
+    background-color: #ebebeb;
3
+}
4
+.page{
5
+    overflow: hidden;
6
+}
7
+.card{
8
+    background-color: #fff;
9
+    margin: 74rpx auto 0;
10
+    border-radius: 40rpx;
11
+    width: 600rpx;
12
+    height: 800rpx;
13
+    overflow: hidden;
14
+}
15
+
16
+.icon-status{
17
+    display: block;
18
+    margin: 100rpx auto 0;
19
+    width: 141rpx;
20
+    height: 141rpx;
21
+}
22
+
23
+.status-text{
24
+    text-align: center;
25
+    font-size: 46rpx;
26
+    color: #494949;
27
+    margin-top: 80rpx;
28
+}
29
+
30
+.btn-green{
31
+    width: 300rpx;
32
+    height: 80rpx;
33
+    text-align: center;
34
+    line-height: 80rpx;
35
+    border-radius: 40rpx;
36
+    color: #fff;
37
+    font-size: 30rpx;
38
+    background-color: #1aad19;
39
+    margin: 210rpx auto 0;
40
+}

+ 7
- 0
miniapp/app/pages/order/index.js Zobrazit soubor

@@ -0,0 +1,7 @@
1
+const $ = global;
2
+
3
+new $.Page({
4
+    data: {
5
+
6
+    }
7
+});

+ 3
- 0
miniapp/app/pages/order/index.json Zobrazit soubor

@@ -0,0 +1,3 @@
1
+{
2
+    "navigationBarTitleText": "支付结果"
3
+}

+ 9
- 0
miniapp/app/pages/order/index.wxml Zobrazit soubor

@@ -0,0 +1,9 @@
1
+<view class="page">
2
+    <view class="page-bd">
3
+        <view class="card">
4
+            <image class="icon-status" src="/img/pay-success.png"></image>
5
+            <view class="status-text">支付成功</view>
6
+            <view class="btn-green">查看订单</view>
7
+        </view>
8
+    </view>
9
+</view>

+ 40
- 0
miniapp/app/pages/order/index.wxss Zobrazit soubor

@@ -0,0 +1,40 @@
1
+page{
2
+    background-color: #ebebeb;
3
+}
4
+.page{
5
+    overflow: hidden;
6
+}
7
+.card{
8
+    background-color: #fff;
9
+    margin: 74rpx auto 0;
10
+    border-radius: 40rpx;
11
+    width: 600rpx;
12
+    height: 800rpx;
13
+    overflow: hidden;
14
+}
15
+
16
+.icon-status{
17
+    display: block;
18
+    margin: 100rpx auto 0;
19
+    width: 141rpx;
20
+    height: 141rpx;
21
+}
22
+
23
+.status-text{
24
+    text-align: center;
25
+    font-size: 46rpx;
26
+    color: #494949;
27
+    margin-top: 80rpx;
28
+}
29
+
30
+.btn-green{
31
+    width: 300rpx;
32
+    height: 80rpx;
33
+    text-align: center;
34
+    line-height: 80rpx;
35
+    border-radius: 40rpx;
36
+    color: #fff;
37
+    font-size: 30rpx;
38
+    background-color: #1aad19;
39
+    margin: 210rpx auto 0;
40
+}

+ 7
- 0
miniapp/app/pages/user/index.js Zobrazit soubor

@@ -0,0 +1,7 @@
1
+const $ = global;
2
+
3
+new $.Page({
4
+    data: {
5
+
6
+    }
7
+});

+ 3
- 0
miniapp/app/pages/user/index.json Zobrazit soubor

@@ -0,0 +1,3 @@
1
+{
2
+    "navigationBarTitleText": "支付结果"
3
+}

+ 9
- 0
miniapp/app/pages/user/index.wxml Zobrazit soubor

@@ -0,0 +1,9 @@
1
+<view class="page">
2
+    <view class="page-bd">
3
+        <view class="card">
4
+            <image class="icon-status" src="/img/pay-success.png"></image>
5
+            <view class="status-text">支付成功</view>
6
+            <view class="btn-green">查看订单</view>
7
+        </view>
8
+    </view>
9
+</view>

+ 40
- 0
miniapp/app/pages/user/index.wxss Zobrazit soubor

@@ -0,0 +1,40 @@
1
+page{
2
+    background-color: #ebebeb;
3
+}
4
+.page{
5
+    overflow: hidden;
6
+}
7
+.card{
8
+    background-color: #fff;
9
+    margin: 74rpx auto 0;
10
+    border-radius: 40rpx;
11
+    width: 600rpx;
12
+    height: 800rpx;
13
+    overflow: hidden;
14
+}
15
+
16
+.icon-status{
17
+    display: block;
18
+    margin: 100rpx auto 0;
19
+    width: 141rpx;
20
+    height: 141rpx;
21
+}
22
+
23
+.status-text{
24
+    text-align: center;
25
+    font-size: 46rpx;
26
+    color: #494949;
27
+    margin-top: 80rpx;
28
+}
29
+
30
+.btn-green{
31
+    width: 300rpx;
32
+    height: 80rpx;
33
+    text-align: center;
34
+    line-height: 80rpx;
35
+    border-radius: 40rpx;
36
+    color: #fff;
37
+    font-size: 30rpx;
38
+    background-color: #1aad19;
39
+    margin: 210rpx auto 0;
40
+}

+ 1
- 1
miniapp/app/project.config.json Zobrazit soubor

@@ -13,7 +13,7 @@
13 13
 	"compileType": "miniprogram",
14 14
 	"libVersion": "2.2.2",
15 15
 	"appid": "wxa24a07ee1b94389b",
16
-	"projectname": "%E5%AE%B6%E6%94%BF%E5%B0%8F%E7%A8%8B%E5%BA%8F",
16
+	"projectname": "%E5%AE%B6%E6%94%BF%E5%B0%8F%E7%A8%8B%E5%BA%8Fnew",
17 17
 	"isGameTourist": false,
18 18
 	"condition": {
19 19
 		"search": {

Loading…
Zrušit
Uložit