Commit a6036426 authored by tangfh's avatar tangfh

+

parent 71c4c6d6
## 1.0.1(2024-05-28)
1.0.1
## 1.0.0(2024-05-28)
1.0.0
......@@ -6,13 +6,13 @@
<view class="f-multi-text-v-left flex-row row-center-v">
<text class="f-multi-text-v-left-t-left">{{ ui.prefix }}</text>
<text class="f-multi-text-v-left-t-left2" v-if="ui.isShowFlag">*</text>
<image class="f-multi-text-v-left-i-icon" @click="onPrefixIcon1Click"
:src="ui.prefixIcon1" v-if="ui.prefixIcon1Show"></image>
<image class="f-multi-text-v-left-i-icon" @click="onPrefixIcon1Click" :src="ui.prefixIcon1"
v-if="ui.prefixIcon1Show"></image>
</view>
<view class="f-multi-text-v-right flex-row row-center-v">
<input class="f-multi-text-v-right-c-text" placeholder-class="placeholder-class"
:placeholder="ui.hint" :type="ui.inputType" :maxlength="ui.maxlength" :disabled="ui.inputDisable"
:value="ui.value" @input="onInputChanage" :confirm-type="ui.confirmType" />
<input class="f-multi-text-v-right-c-text" placeholder-class="placeholder-class" :placeholder="ui.hint"
:type="ui.inputType" :maxlength="ui.maxlength" :disabled="ui.inputDisable" :value="ui.value"
@input="onInputChanage" :confirm-type="ui.confirmType" />
</view>
<image class="i-right" :src="ui.iconRight" v-if="ui.isShowIconRight"></image>
</view>
......@@ -35,12 +35,17 @@
default: constant.CONST.cMultiTextUI
}
},
created() {},
created() {
},
methods: {
onInputChanage(event) {
let value = event.detail.value;
this.inputValue = value;
this.$emit("input", value)
this.$emit("input", {
value: value,
ui: this.ui
})
},
getInputValue() {
return this.inputValue;
......
{
"id": "f-multi-text-01",
"displayName": "f-multi-text-01",
"version": "1.0.0",
"version": "1.0.1",
"description": "f-multi-text-01",
"keywords": [
"f-multi-text-01"
......
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