Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
fashion-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tangfh
fashion-ui
Commits
a6036426
Commit
a6036426
authored
May 28, 2024
by
tangfh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
+
parent
71c4c6d6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
19 deletions
+26
-19
changelog.md
uni_modules/f-multi-text-01/changelog.md
+2
-0
f-multi-text-01.vue
...ti-text-01/components/f-multi-text-01/f-multi-text-01.vue
+23
-18
package.json
uni_modules/f-multi-text-01/package.json
+1
-1
No files found.
uni_modules/f-multi-text-01/changelog.md
View file @
a6036426
## 1.0.1(2024-05-28)
1.
0.1
## 1.0.0(2024-05-28)
1.
0.0
uni_modules/f-multi-text-01/components/f-multi-text-01/f-multi-text-01.vue
View file @
a6036426
...
...
@@ -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.inputDisabl
e"
: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.valu
e"
@
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
;
...
...
uni_modules/f-multi-text-01/package.json
View file @
a6036426
{
"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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment