Browse Source

开屏文字

吃个甘蔗嚼一年 3 years ago
parent
commit
70e9f16ea5
3 changed files with 4 additions and 3 deletions
  1. 1
    2
      src/layouts/Loading.jsx
  2. 1
    1
      src/pages/index/tabs/Guide.jsx
  3. 2
    0
      src/pages/index/tabs/Recommend.jsx

+ 1
- 2
src/layouts/Loading.jsx View File

@@ -24,8 +24,7 @@ export default (props) => {
24 24
           textAlign: 'center',
25 25
           opacity: '0.8',
26 26
           animation: ' logo-opacity 2s linear infinite',
27
-
28
-          fontSize: '4vw',
27
+          fontSize: '4.3vw',
29 28
         }}
30 29
       >
31 30
         收集人间美好

+ 1
- 1
src/pages/index/tabs/Guide.jsx View File

@@ -253,7 +253,7 @@ export default (props) => {
253 253
             <text className='title-title-boss' >老板推荐好吃的</text>
254 254
           </view>
255 255
         </view>
256
-        <view style={{ marginTop: '10rpx', marginBottom: '60rpx' }}>
256
+        <view style={{ marginTop: '10rpx', paddingBottom: '60rpx' }}>
257 257
           {(spackage || []).map((item, index) => <BossCard det={item} st={parseFloat(item.score.toFixed(1))} key={(index)} trackClick={trackClick} taRoomContent={taRoomContent} item={item} />)}
258 258
         </view>
259 259
       </view>

+ 2
- 0
src/pages/index/tabs/Recommend.jsx View File

@@ -11,6 +11,7 @@ import { getIndexType, getResourceList } from '@/services/home'
11 11
 import { random } from '@/utils'
12 12
 import Card from '../components/Card'
13 13
 import './less/Recommend.less'
14
+import { OfficialAccount } from '@tarojs/components'
14 15
 
15 16
 const listStyle = { height: '100%' }
16 17
 
@@ -75,6 +76,7 @@ export default (props) => {
75 76
 
76 77
   return (
77 78
     <view style={{ height: '100%', overflow: 'hidden', display: 'flex', flexDirection: 'column' }}>
79
+      <OfficialAccount>s21</OfficialAccount>
78 80
       <view className='search' onClick={onSearch} >
79 81
         <input className='searchInput' disabled />
80 82
         <image className='searchicon' src={iconsearch} />