吃个甘蔗嚼一年 3 vuotta sitten
vanhempi
commit
47918a1730

BIN
src/assets/icons/UserCenter/tips.png Näytä tiedosto


+ 6
- 6
src/components/add-tips/index.wxss Näytä tiedosto

@@ -11,7 +11,7 @@
11 11
 .arrow {
12 12
   width: 0;
13 13
   height: 0;
14
-  border-width: 5px;
14
+  border-width: 18px;
15 15
   border-style: solid;
16 16
   border-color: transparent transparent rgba(0, 0, 0, 0.75) transparent;
17 17
 }
@@ -21,9 +21,9 @@
21 21
   display: flex;
22 22
   align-items: center;
23 23
   justify-content: center;
24
-  height: 42px;
25
-  padding: 10px;
26
-  zoom: 1.5;
24
+  padding: 40px 30px;
25
+  width: 400px;
26
+  height: 400px;
27 27
 }
28 28
 .tips {
29 29
   flex: 1;
@@ -32,8 +32,8 @@
32 32
   font-weight: 700;
33 33
 }
34 34
 .logo {
35
-  height: 42px;
36
-  width: 42px;
35
+  height: 100%;
36
+  width: 100%;
37 37
   border-radius: 8px;
38 38
   margin-right: 10px;
39 39
 }

+ 2
- 2
src/layouts/Loading.jsx Näytä tiedosto

@@ -16,11 +16,11 @@ export default (props) => {
16 16
       }
17 17
       <View
18 18
         style={{
19
-          width: '28vw',
19
+          width: '30vw',
20 20
           color: '#4D4D4D',
21 21
           padding: '12px',
22 22
           position: 'absolute',
23
-          left: '-4vh',
23
+          left: '-5vh',
24 24
           textAlign: 'center',
25 25
           opacity: '0.8',
26 26
           animation: ' logo-opacity 2s linear infinite',

+ 3
- 1
src/pages/index/index.jsx Näytä tiedosto

@@ -4,6 +4,8 @@ import React, { useState, useEffect } from 'react'
4 4
 import Taro, { useDidShow } from '@tarojs/taro'
5 5
 import CustomNav from '@/components/CustomNav'
6 6
 import logo from '@/assets/icons/comm/logo_small.png'
7
+import tips from '@/assets/icons/UserCenter/tips.png'
8
+
7 9
 import { getHotelDetail } from '@/services/landlord'
8 10
 import { getTaRoom } from '@/services/taRoom​'
9 11
 import withLayout from '@/layouts'
@@ -74,7 +76,7 @@ export default withLayout((props) => {
74 76
   return (
75 77
     <view className='page-index'>
76 78
       <add-tips
77
-        logo={logo}
79
+        logo={tips}
78 80
         custom
79 81
         duration={-1} />
80 82
       <view className='index-navbar'>