Commit 8f7969f2 authored by 罗超's avatar 罗超

1

parent b6c23527
......@@ -43,7 +43,8 @@
</view>
<view class="con1" v-if="item.type==1">
<input class="input" type="text" v-model="dataTwo[item.field]" :placeholder="item.text"
placeholder-style="color: #CECECEFF" />
placeholder-style="color: #CECECEFF" @focus="inputFcous(item)"/>
<image src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/delete.png" v-if="item.delIcon" class="delIcon" mode="widthFix" @click="delInputText(item.field)"></image>
</view>
<view class="con3" v-if="item.type==2">
<view class="numberBbox">
......@@ -89,7 +90,8 @@
</view>
<view class="con1" v-if="item.type==1">
<input class="input" type="text" v-model="dataThree[item.field]" :placeholder="item.text"
placeholder-style="color: #CECECEFF" />
placeholder-style="color: #CECECEFF" @focus="inputFcous(item)"/>
<image src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/delete.png" v-if="item.delIcon" class="delIcon" mode="widthFix" @click="delInputText(item.field)"></image>
</view>
<view class="con6" v-if="item.type==2">
<u-radio-group v-model="dataThree[item.field]">
......@@ -273,15 +275,15 @@
inputFcous(e){
e.delIcon=true
},
// 输入失去焦点
inputBlur(e){
e.delIcon=false
},
delInputText(field){
this.dataOne[field]=""
this.dataTwo[field]=""
this.dataThree[field]=""
},
// 输入框失去焦点
inputBlur(e){
e.delIcon=false
},
// 获取客户群体枚举
getCustomerTypeEnumList() {
let parms = {
......@@ -686,7 +688,7 @@
height: 60rpx;
position: relative;
.input {
width: 100%;
// width: 100%;
font-size: 32rpx;
font-family: PingFang SC;
font-weight: bold;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment