小程序
小游戏
企业微信
微信支付
扫描小程序码分享
在iPhone 6 iOS 9.3.2系统下在输入框内粘贴内容,会和底字重叠(偶现),如图:
1 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
你好,请提供一下出现问题的机型和微信版本,以及能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
机型:iPhone 6,系统:iOS 9.3.2,微信版本:6.7.1
<
view
class
=
"container"
>
'formTab'
'formTab-item {{pageVariable.isShow?"selectedItem":""}}'
data-valueType
'policyNO'
catchtap
'selectedChange'
text
>保单号查询</
</
'formTab-item {{pageVariable.isShow?"":"selectedItem"}}'
'IdCard'
>身份证号查询</
'line'
></
"form policy-form"
<!--保单号-->
wx:if
'{{pageVariable.isShow}}'
"inputView policy-input-view"
input
"inputText policy-input"
placeholder-class
'policy-input-pl'
placeholder
"请输入保单号"
bindinput
"policyNoInput"
/>
<!--被保险人证件号-->
wx:else
type
'text'
"请输入被保险人身份证号码"
"idCardInput"
'tip'
>查询保单成功后,该保单将自动添加到我的保单</
<!--按钮-->
"btnView"
buttonEx
displayText
"查询并添加"
backgroundColor
"#4285E9"
fontSize
'32rpx'
bindtap
"GetPolicyListDetail"
相关js代码:
data:
function
() {
var
model = {};
model.params = {
policyNo:
""
,
idCard:
userId:
''
//当前登录用户id
certificateType:
//当前登录用户的证件类型
};
model.pageVariable = {
isShow:
true
curValueType:
//默认值:policyNO
return
model;
}(),
// 获取输入保单号
policyNoInput:
(e) {
this
.setData({
"params.policyNo"
: e.detail.value.toUpperCase()
});
},
// 获取输入证件号
idCardInput:
"params.idCard"
: e.detail.value
},selectedChange:
if
(e.currentTarget.dataset.valuetype ==
) {
.data.params.idCard =
;
}
.data.params.policyNo =
'pageVariable.isShow'
: !
.data.pageVariable.isShow,
'pageVariable.curValueType'
: e.currentTarget.dataset.valuetype
你好,请按照教程提供代码片段:https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html
无聊
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
你好,请提供一下出现问题的机型和微信版本,以及能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。
机型:iPhone 6,系统:iOS 9.3.2,微信版本:6.7.1
<
view
class
=
"container"
>
<
view
class
=
'formTab'
>
<
view
class
=
'formTab-item {{pageVariable.isShow?"selectedItem":""}}'
data-valueType
=
'policyNO'
catchtap
=
'selectedChange'
>
<
text
>保单号查询</
text
>
</
view
>
<
view
class
=
'formTab-item {{pageVariable.isShow?"":"selectedItem"}}'
data-valueType
=
'IdCard'
catchtap
=
'selectedChange'
>
<
text
>身份证号查询</
text
>
</
view
>
</
view
>
<
view
class
=
'line'
></
view
>
<
view
class
=
"form policy-form"
>
<!--保单号-->
<
view
wx:if
=
'{{pageVariable.isShow}}'
class
=
"inputView policy-input-view"
>
<
input
class
=
"inputText policy-input"
placeholder-class
=
'policy-input-pl'
placeholder
=
"请输入保单号"
bindinput
=
"policyNoInput"
/>
</
view
>
<!--被保险人证件号-->
<
view
wx:else
class
=
"inputView policy-input-view"
>
<
input
class
=
"inputText policy-input"
type
=
'text'
placeholder-class
=
'policy-input-pl'
placeholder
=
"请输入被保险人身份证号码"
bindinput
=
"idCardInput"
/>
</
view
>
<
view
class
=
'tip'
>查询保单成功后,该保单将自动添加到我的保单</
view
>
<!--按钮-->
<
view
class
=
"btnView"
>
<
buttonEx
displayText
=
"查询并添加"
backgroundColor
=
"#4285E9"
fontSize
=
'32rpx'
bindtap
=
"GetPolicyListDetail"
/>
</
view
>
</
view
>
</
view
>
相关js代码:
data:
function
() {
var
model = {};
model.params = {
policyNo:
""
,
idCard:
""
,
userId:
''
,
//当前登录用户id
certificateType:
''
//当前登录用户的证件类型
};
model.pageVariable = {
isShow:
true
,
curValueType:
'policyNO'
,
//默认值:policyNO
};
return
model;
}(),
// 获取输入保单号
policyNoInput:
function
(e) {
this
.setData({
"params.policyNo"
: e.detail.value.toUpperCase()
});
},
// 获取输入证件号
idCardInput:
function
(e) {
this
.setData({
"params.idCard"
: e.detail.value
});
},selectedChange:
function
(e) {
if
(e.currentTarget.dataset.valuetype ==
'policyNO'
) {
this
.data.params.idCard =
''
;
}
if
(e.currentTarget.dataset.valuetype ==
'IdCard'
) {
this
.data.params.policyNo =
''
;
}
this
.setData({
'pageVariable.isShow'
: !
this
.data.pageVariable.isShow,
'pageVariable.curValueType'
: e.currentTarget.dataset.valuetype
});
}
你好,请按照教程提供代码片段:https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html
无聊