Bladeren bron

media-btn

xujing 5 jaren geleden
bovenliggende
commit
c1b2003bad
2 gewijzigde bestanden met toevoegingen van 15 en 13 verwijderingen
  1. 1
    1
      project.config.json
  2. 14
    12
      src/pages/project/detail/index.scss

+ 1
- 1
project.config.json Bestand weergeven

@@ -2,7 +2,7 @@
2 2
 	"miniprogramRoot": "dist/",
3 3
 	"projectname": "mini-chengjiao",
4 4
 	"description": "橙蕉宁房",
5
-	"appid": "wxbbb069a341055ef0",
5
+	"appid": "wxd9ee3a9480a4e544",
6 6
 	"setting": {
7 7
 		"urlCheck": false,
8 8
 		"es6": false,

+ 14
- 12
src/pages/project/detail/index.scss Bestand weergeven

@@ -14,32 +14,34 @@
14 14
   padding-bottom: 50px;
15 15
 
16 16
   .media-btn {
17
-    height: 64px;
17
+    height: 46px;
18 18
     top: 440px;
19 19
     font-size: 30px;
20
-    font-family: PingFangSC-Regular, PingFang SC;
21 20
     font-weight: 400;
22 21
     text-align: center;
23 22
     line-height: 64px;
24
-    color: rgba(53, 53, 53, 1);
23
+    color: #333;
25 24
     display: flex;
26 25
     position: fixed;
27 26
     transform: translateX(calc(50vw - 50%));
28
-
27
+    border:1px solid #f6b61d;
28
+    border-radius: 22px;
29
+    background-color: rgba(256,256,256,0.8);
30
+    font-weight: 600;
29 31
     .btn {
30 32
       width: 92px;
31
-      height: 64px;
32
-      border-radius: 12px;
33
-      background: rgba(255, 255, 255, 1);
33
+      line-height: 44px;
34
+      font-size: 24px;
34 35
 
35
-      & + .btn {
36
-        margin-left: 24px;
37
-      }
36
+      // & + .btn {
37
+      //   margin-left: 24px;
38
+      // }
38 39
     }
39 40
 
40 41
     .active {
41
-      background: rgba(187, 156, 121, 1);
42
-      color: rgba(255, 255, 255, 1);
42
+      background: #f6b61d;
43
+      color: #fff;
44
+      border-radius: 22px;
43 45
     }
44 46
 
45 47
   }