张延森 4 years ago
parent
commit
0d7d8f59e1
2 changed files with 14 additions and 14 deletions
  1. 2
    2
      src/components/MainPage/index.vue
  2. 12
    12
      src/components/MainPage/page.scss

+ 2
- 2
src/components/MainPage/index.vue View File

@@ -8,7 +8,7 @@
8 8
         <view class="flex-h">
9 9
           <text @tap="ShowPhoneAuthPopup = false; toIndexPage()">拒绝</text>
10 10
           <view class="flex-item"></view>
11
-          <text>确定</text>
11
+          <text>允许</text>
12 12
           <button class="autu-btn" open-type="getPhoneNumber" @getphonenumber="GetUserPhone">获取授权</button>
13 13
         </view>
14 14
       </view>
@@ -83,7 +83,7 @@ export default {
83 83
     ]),
84 84
     toIndexPage () {
85 85
       Taro.reLaunch({
86
-        url: '/pages/index/index'
86
+        url: '/pages/Index/index'
87 87
       })
88 88
     },
89 89
     Init () {

+ 12
- 12
src/components/MainPage/page.scss View File

@@ -52,18 +52,18 @@
52 52
             background: #ccc;
53 53
           }
54 54
         }
55
-        // > button {
56
-        //   display: block;
57
-        //   width: 200px;
58
-        //   position: absolute;
59
-        //   right: 60px;
60
-        //   line-height: 80px;
61
-        //   height: 80px;
62
-        //   max-height: 80px;
63
-        //   top: 0;
64
-        //   z-index: 2;
65
-        //   opacity: 0;
66
-        // }
55
+        > button {
56
+          display: block;
57
+          width: 200px;
58
+          position: absolute;
59
+          right: 60px;
60
+          line-height: 80px;
61
+          height: 80px;
62
+          max-height: 80px;
63
+          top: 0;
64
+          z-index: 2;
65
+          opacity: 0;
66
+        }
67 67
       }
68 68
     }
69 69
   }