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;
......@@ -60,7 +65,7 @@
background-color: #f2f4f5;
border-radius: 16rpx;
}
.f-multi-text {
width: auto;
height: 96rpx;
......@@ -71,54 +76,54 @@
margin-top: 24rpx;
border-radius: 16rpx;
}
.f-multi-text-v-middle {
height: 100%;
margin-left: 32rpx;
margin-right: 32rpx;
}
.f-multi-text-v-left {
height: 100%;
}
.f-multi-text-v-left-t-left {
flex-shrink: 0;
margin-right: 16rpx;
}
.f-multi-text-v-left-t-left2 {
color: #F24C26;
padding-top: 10rpx;
}
.f-multi-text-v-left-i-icon {
width: 32rpx;
height: 32rpx;
margin-right: 16rpx;
}
.f-multi-text-v-right {
height: 100%;
flex-grow: 1;
justify-content: flex-end;
}
.f-multi-text-v-right-c-text {
line-height: 100%;
width: 100%;
font-size: $uni-font-size-base;
text-align: right;
}
.f-multi-text-line-h {
margin-left: 32rpx;
width: 100%;
height: 1rpx;
background-color: #EBEBEB;
}
.i-right {
width: 32rpx;
height: 32rpx;
......
{
"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