Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
ai-card
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 1714dda7
authored
Oct 28, 2022
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改授权手机号组件
1 parent
a988988e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
components/PhoneNumber/PhoneNumber.js
components/PhoneNumber/PhoneNumber.wxml
components/PhoneNumber/PhoneNumber.js
View file @
1714dda
...
@@ -10,6 +10,10 @@ Component({
...
@@ -10,6 +10,10 @@ Component({
isHidden
:
{
isHidden
:
{
type
:
Boolean
,
type
:
Boolean
,
value
:
false
value
:
false
},
phoneText
:
{
type
:
String
,
value
:
'了解更多案例'
}
}
},
},
observers
:
{},
observers
:
{},
...
...
components/PhoneNumber/PhoneNumber.wxml
View file @
1714dda
<button class="{{isHidden ? 'hidden-phone':'phone-number'}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">
<button class="{{isHidden ? 'hidden-phone':'phone-number'}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">
<image class="icon-arrow" src="{{IMGURL}}home/icon-arrow.png"></image>
<image class="icon-arrow" src="{{IMGURL}}home/icon-arrow.png"></image>
了解更多案例
{{phoneText}}
<image class="icon-arrow" src="{{IMGURL}}home/icon-arrow.png"></image>
<image class="icon-arrow" src="{{IMGURL}}home/icon-arrow.png"></image>
</button>
</button>
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
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 post a comment