Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
business-assistant
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 f79467f4
authored
Nov 07, 2022
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev_v3.1' of 192.168.3.233:saas_plus/business-assistant into dev_v3.1
2 parents
6352bf20
dc9e96d5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
components/image/index.js
components/image/index.wxml
components/image/index.js
View file @
f79467f
...
@@ -13,6 +13,10 @@ Component({
...
@@ -13,6 +13,10 @@ Component({
mode
:
{
mode
:
{
type
:
String
,
type
:
String
,
value
:
'scaleToFill'
value
:
'scaleToFill'
},
webp
:
{
type
:
Boolean
,
value
:
false
}
}
},
},
...
...
components/image/index.wxml
View file @
f79467f
<!--components/image/index.wxml-->
<!--components/image/index.wxml-->
<image src="{{imagePath}}" mode="{{mode}}" lazy-load class="custom-class class"></image>
\ No newline at end of file
\ No newline at end of file
<image src="{{imagePath}}" mode="{{mode}}" webp="{{webp}}" lazy-load class="custom-class class"></image>
\ 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