Commit 8811c653 authored by 黄奎's avatar 黄奎

样式调整

parent 786e3bf2
<template>
<view>
<view class="single_Phone">
<span style="color:red;margin-right:5rpx;" v-show="CompData.IsRequire">*</span>{{CompData.Name}}
<span style="color:red;margin-right:5rpx;padding-top: 5px;" v-show="CompData.IsRequire">*</span>{{CompData.Name}}
</view>
<input class="single_Input" @input='getvalue' v-model="CompData.TextValue" :maxlength="CompData.WordsLength==0?-1:CompData.WordsLength" :placeholder="`请输入${CompData.Name}`" />
<input class="single_Input" @input='getvalue' v-model="CompData.TextValue" :maxlength="CompData.WordsLength==0?-1:CompData.WordsLength"
:placeholder="`请输入${CompData.Name}`" style="border-bottom: 1px solid #DCDFE6;padding-top:5px;" />
<view class="single_Remark" v-if="CompData.Remark">{{CompData.Remark}}</view>
</view>
</template>
<script>
export default {
props: ["CompData",'index'],
props: ["CompData", 'index'],
data() {
return {
......@@ -22,8 +23,8 @@
},
onLoad() {},
methods: {
getvalue(){
this.$emit('success',this.CompData,this.index)
getvalue() {
this.$emit('success', this.CompData, this.index)
}
}
}
......
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