Toggle navigation
This project
Loading...
Sign in
xt
/
xcx-book
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Download as
Email Patches
Plain Diff
Browse Files
Commit
23d034d8f14000417be5d0b7e7fc0f021ee97096
Authored by
vking
2019-06-25 15:47:16 +0800
1 parent
0603d282
build: skipped
painter
Changes
3
Builds
0
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
components/userinfo/savefile.js
pages/reserve/share.json
project.config.json
components/userinfo/savefile.js
View file @
23d034d
...
...
@@ -34,6 +34,9 @@ Component({
console
.
log
(
'saveFile.filePath'
,
filePath
)
wx
.
saveImageToPhotosAlbum
({
filePath
:
filePath
,
success
:
res
=>
{
util
.
toast
(
'已保存到相册'
)
},
fail
:(
efail
)
=>
{
console
.
log
(
'saveImageToPhotosAlbum.fail'
,
efail
)
wx
.
showModal
({
...
...
pages/reserve/share.json
View file @
23d034d
{
"navigationBarBackgroundColor"
:
"#ffffff"
,
"navigationBarTextStyle"
:
"black"
,
"navigationBarTitleText"
:
"一键订"
,
"usingComponents"
:
{
"nav"
:
"/components/nav/nav"
,
"painter"
:
"/components/painter/painter"
,
...
...
project.config.json
View file @
23d034d
{
"description"
:
"项目配置文件。"
,
"setting"
:
{
"urlCheck"
:
fals
e
,
"urlCheck"
:
tru
e
,
"es6"
:
true
,
"enhance"
:
tru
e
,
"enhance"
:
fals
e
,
"postcss"
:
true
,
"minified"
:
true
,
"newFeature"
:
true
,
...
...
Please
register
or
login
to post a comment