瀏覽代碼

setonClick

[baozhangchao] 3 年之前
父節點
當前提交
bd98f9c6e2
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4
    4
      src/pages/index/index.jsx

+ 4
- 4
src/pages/index/index.jsx 查看文件

72
         <HomeCard text='便捷服务'>
72
         <HomeCard text='便捷服务'>
73
           <View className='Operation-box'>
73
           <View className='Operation-box'>
74
             <View className='Operation-box-header'>
74
             <View className='Operation-box-header'>
75
-              <View className='Operation-box-header-centent' onChange={onChangeGoNotice}>
75
+              <View className='Operation-box-header-centent' onClick={onChangeGoNotice}>
76
                 <Image src={handle} style={{ width: '50px', height: '30px' }} />
76
                 <Image src={handle} style={{ width: '50px', height: '30px' }} />
77
                 <View>办证</View>
77
                 <View>办证</View>
78
               </View>
78
               </View>
79
-              <View className='Operation-box-header-centent' onChange={onChangeGoNotice}>
79
+              <View className='Operation-box-header-centent' onClick={onChangeGoNotice}>
80
                 <Image src={addTime} style={{ width: '28px', height: '24px', padding: '0 10px' }} />
80
                 <Image src={addTime} style={{ width: '28px', height: '24px', padding: '0 10px' }} />
81
                 <View>续期</View>
81
                 <View>续期</View>
82
               </View>
82
               </View>
83
             </View>
83
             </View>
84
-            <View className='Operation-box-header' onChange={onChangeGoNotice}>
84
+            <View className='Operation-box-header' onClick={onChangeGoNotice}>
85
               <View className='Operation-box-header-centent'>
85
               <View className='Operation-box-header-centent'>
86
                 <Image src={lost} style={{ width: '35px', height: '30px', padding: '0 10px' }} />
86
                 <Image src={lost} style={{ width: '35px', height: '30px', padding: '0 10px' }} />
87
                 <View>挂失</View>
87
                 <View>挂失</View>
88
               </View>
88
               </View>
89
-              <View className='Operation-box-header-centent' onChange={goMain}>
89
+              <View className='Operation-box-header-centent' onClick={goMain}>
90
                 <Image src={main} style={{ width: '27px', height: '25px', padding: '0 10px' }} />
90
                 <Image src={main} style={{ width: '27px', height: '25px', padding: '0 10px' }} />
91
                 <View>我的</View>
91
                 <View>我的</View>
92
               </View>
92
               </View>