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

样式调整

parent 786e3bf2
<template> <template>
<view> <view>
<view class="single_Phone"> <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> </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 class="single_Remark" v-if="CompData.Remark">{{CompData.Remark}}</view>
</view> </view>
</template> </template>
<script> <script>
export default { export default {
props: ["CompData",'index'], props: ["CompData", 'index'],
data() { data() {
return { return {
...@@ -22,8 +23,8 @@ ...@@ -22,8 +23,8 @@
}, },
onLoad() {}, onLoad() {},
methods: { methods: {
getvalue(){ getvalue() {
this.$emit('success',this.CompData,this.index) 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