Ver código fonte

静态页面

1002884655 4 anos atrás
pai
commit
43ab5a7fd8
4 arquivos alterados com 604 adições e 485 exclusões
  1. 597
    480
      package-lock.json
  2. 1
    0
      package.json
  3. 1
    1
      project.config.json
  4. 5
    4
      src/pages/WoDe/YeZhuRenZheng/index.jsx

+ 597
- 480
package-lock.json
Diferenças do arquivo suprimidas por serem muito extensas
Ver arquivo


+ 1
- 0
package.json Ver arquivo

@@ -37,6 +37,7 @@
37 37
   "dependencies": {
38 38
     "@babel/runtime": "^7.7.7",
39 39
     "@tarojs/components": "3.0.14",
40
+    "@tarojs/plugin-sass": "^2.2.10",
40 41
     "@tarojs/react": "3.0.14",
41 42
     "@tarojs/runtime": "3.0.14",
42 43
     "@tarojs/taro": "3.0.14",

+ 1
- 1
project.config.json Ver arquivo

@@ -27,7 +27,7 @@
27 27
 			"outputPath": ""
28 28
 		},
29 29
 		"useIsolateContext": true,
30
-		"useCompilerModule": true,
30
+		"useCompilerModule": false,
31 31
 		"userConfirmedUseCompilerModuleSwitch": false
32 32
 	},
33 33
 	"compileType": "miniprogram",

+ 5
- 4
src/pages/WoDe/YeZhuRenZheng/index.jsx Ver arquivo

@@ -1,10 +1,11 @@
1 1
 import React, { useState, useEffect } from 'react'
2
-import { Picker } from '@tarojs/components'
3
-import { AtList, AtListItem } from 'taro-ui'
2
+// import { Picker } from '@tarojs/components'
3
+// import { AtList, AtListItem } from 'taro-ui'
4 4
 import request, { apis } from '@/utils/request'
5 5
 import { useModel } from '@/store'
6 6
 import '@/assets/css/reset.less'
7 7
 import '@/assets/css/iconfont.less'
8
+// import '@/node_modules/taro-ui/dist/style/index.scss'
8 9
 import './index.less'
9 10
 
10 11
 export default function YeZhuRenZheng () {
@@ -55,11 +56,11 @@ export default function YeZhuRenZheng () {
55 56
   return (
56 57
     <view className='YeZhuRenZheng'>
57 58
       <view className='Form'>
58
-        <Picker mode='selector' range={Level2List} onChange={Level2Change}>
59
+        {/* <Picker mode='selector' range={Level2List} onChange={Level2Change}>
59 60
           <AtList>
60 61
             <AtListItem title='期号' />
61 62
           </AtList>
62
-        </Picker>
63
+        </Picker> */}
63 64
         {/* <view className='flex-h'>
64 65
           <text className='iconfont iconxingming'></text>
65 66
           <Input className='flex-item' placeholder='请输入您的姓名' value={FormData.RealName} onInput={(e) => { setFormData({ ...FormData, RealName: e.detail.value }) }}></Input>