Forráskód Böngészése

处理光标问题

dev01 1 hónapja%!(EXTRA string=óta)
szülő
commit
2584f8a3cf

+ 4 - 0
src/components/common/accountModal/index.jsx

@@ -150,6 +150,7 @@ class AccountModal extends Component {
                   placeholder='请输入账户姓名'
                   value={data.name}
                   onChange={e => { data.name = e }}
+                  cursor={-1}
                 />
               </View>
               <View onClick={() => {
@@ -164,6 +165,7 @@ class AccountModal extends Component {
                   placeholder='请选择银行名称'
                   value={data.bank}
                   onChange={e => { data.bank = e }}
+                  cursor={-1}
                 />
               </View>
               <View>
@@ -175,6 +177,7 @@ class AccountModal extends Component {
                   placeholder='请输入开户银行'
                   value={data.openBank}
                   onChange={e => { data.openBank = e }}
+                  cursor={-1}
                 />
               </View>
               <View>
@@ -186,6 +189,7 @@ class AccountModal extends Component {
                   placeholder='请输入银行账户'
                   value={data.accounts}
                   onChange={e => { data.accounts = e }}
+                  cursor={-1}
                 />
               </View>
             </View>

+ 6 - 0
src/pages/accountFrom/index.jsx

@@ -196,6 +196,7 @@ class AccountFrom extends Component {
                 data: { ...data, ...obj }
               })
             }}
+            cursor={-1}
           />
         </View>
         <View className="inputFormItem" style={{ display: this.getShow(type, "payerName") }}>
@@ -211,6 +212,7 @@ class AccountFrom extends Component {
                 data: { ...data, ...obj }
               })
             }}
+            cursor={-1}
           />
         </View>
         <View className="inputFormItem" style={{ display: this.getShow(type, "openBank") }}>
@@ -226,6 +228,7 @@ class AccountFrom extends Component {
                 data: { ...data, ...obj }
               })
             }}
+            cursor={-1}
           />
         </View>
         <View className="inputFormItem" style={{ display: this.getShow(type, "bankAccounts") }}>
@@ -241,6 +244,7 @@ class AccountFrom extends Component {
                 data: { ...data, ...obj }
               })
             }}
+            cursor={-1}
           />
         </View>
         <View className="inputFormItem" style={{ display: this.getShow(type, "openBankAddress") }}>
@@ -256,6 +260,7 @@ class AccountFrom extends Component {
                 data: { ...data, ...obj }
               })
             }}
+            cursor={-1}
           />
         </View>
         <View className="inputFormItem" style={{ display: this.getShow(type, "amount") }}>
@@ -271,6 +276,7 @@ class AccountFrom extends Component {
                 data: { ...data, ...obj }
               })
             }}
+            cursor={-1}
           />
         </View>
         <View className="bottom">

+ 2 - 0
src/pages/applyReimbursement/index.jsx

@@ -113,6 +113,7 @@ class applyReimbursement extends Component {
                 placeholder='请填写明细'
                 value={other}
                 onChange={this.onInputChange.bind(this)}
+                cursor={-1}
               />}
             <View className="rlbuttom">
               <AtButton
@@ -165,6 +166,7 @@ class applyReimbursement extends Component {
                     placeholder='请填写明细'
                     value={others}
                     onChange={this.onNoInputChange.bind(this)}
+                    cursor={-1}
                   />}
               </View>
             </AtModalContent>

+ 2 - 0
src/pages/applyReimbursement/select.jsx

@@ -117,6 +117,7 @@ class Select extends Component {
                   placeholder='请填写明细'
                   value={other}
                   onChange={this.onInputChange.bind(this)}
+                  cursor={-1}
                 />}
               {(type == 2) && popup &&
                 <AtModal
@@ -137,6 +138,7 @@ class Select extends Component {
                           placeholder='请填写明细'
                           value={others}
                           onChange={this.onNoInputChange.bind(this)}
+                          cursor={-1}
                         />}
                     </View>
                   </AtModalContent>

+ 1 - 0
src/pages/drafts/index.jsx

@@ -610,6 +610,7 @@ class Drafts extends Component {
               placeholder='请填写公出地点'
               value={data.districtName}
               onChange={e => { data.districtName = e }}
+              cursor={-1}
             />
           </View>}
         {data.type == 1 &&

+ 5 - 1
src/pages/drafts/modal.jsx

@@ -223,6 +223,7 @@ class Modal extends Component {
                       data: { ...data, typeOther: e }
                     })
                   }}
+                  cursor={-1}
                 />
               </View>}
             {/* 交通费 */}
@@ -257,6 +258,7 @@ class Modal extends Component {
                       data: { ...data, vehicleOther: e }
                     })
                   }}
+                  cursor={-1}
                 />
               </View>}
             {data.type?.value == 1 &&
@@ -291,7 +293,7 @@ class Modal extends Component {
                         data: { ...data, startDistrict: e }
                       })
                     }}
-
+                    cursor={-1}
                   />
                   <Image src={Icons} className='icons' mode='aspectFit' onClick={this.swap.bind(this)} />
                   <AtInput name="endDistrict" className="pin" type='text' placeholder='目的地' value={data.endDistrict}
@@ -300,6 +302,7 @@ class Modal extends Component {
                         data: { ...data, endDistrict: e }
                       })
                     }}
+                    cursor={-1}
                   />
                 </View>
               </View>}
@@ -316,6 +319,7 @@ class Modal extends Component {
                     data: { ...data, amount: e }
                   })
                 }}
+                cursor={-1}
               />
             </View>
           </View>