Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
D
doublescreen-back
Project
Project
Details
Activity
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pengguangpu
doublescreen-back
Commits
05ecc8f7
Commit
05ecc8f7
authored
Feb 28, 2020
by
jiangjiantao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
后端键盘错误提示
parent
594a2435
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
2 deletions
+16
-2
landkeybord.acss
pages/components/landkeybord/landkeybord.acss
+11
-0
landkeybord.axml
pages/components/landkeybord/landkeybord.axml
+1
-0
landkeybord.js
pages/components/landkeybord/landkeybord.js
+4
-2
No files found.
pages/components/landkeybord/landkeybord.acss
View file @
05ecc8f7
...
...
@@ -136,4 +136,15 @@
.input-finished-text {
font-size: 24rpx;
color: white
}
/* 错误提示 */
.err-msg {
font-size: 22rpx;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: rgba(249, 97, 70, 1);
line-height: 30rpx;
margin-top: 10rpx
}
\ No newline at end of file
pages/components/landkeybord/landkeybord.axml
View file @
05ecc8f7
...
...
@@ -14,6 +14,7 @@
</view>
</view>
<view class="result-baseline">
<text class="err-msg" a:if="{{errMsg != ''}}">{{errMsg}}</text>
</view>
</view>
<view class="keybord-right">
...
...
pages/components/landkeybord/landkeybord.js
View file @
05ecc8f7
...
...
@@ -3,14 +3,15 @@ Component({
data
:
{
result
:
""
,
scenes
:
2
,
errMsg
:
""
},
props
:
{
//场景 1.输入商品码 2.会员 3.收款 4.退款
scene
:
1
,
//错误提示
errMsg
:
''
},
didMount
()
{
},
...
...
@@ -22,6 +23,7 @@ Component({
if
(
nextProps
.
scene
==
0
)
{
this
.
setData
({
result
:
''
,
errMsg
:
''
,
});
}
...
...
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