Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
icbcrpgshare
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
wildfirecode13
icbcrpgshare
Commits
eebaf73d
Commit
eebaf73d
authored
Dec 28, 2020
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
419adba5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
0 deletions
+6
-0
package.json
project/package.json
+1
-0
index.html
project/public/index.html
+2
-0
app.jsx
project/src/app.jsx
+3
-0
No files found.
project/package.json
View file @
eebaf73d
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
"scripts"
:
{
"scripts"
:
{
"dev"
:
"spark dev --type h5"
,
"dev"
:
"spark dev --type h5"
,
"prod"
:
"spark build --type h5 --env prod"
,
"prod"
:
"spark build --type h5 --env prod"
,
"build"
:
"spark build --type h5 --env dev"
,
"tb"
:
"spark build --type taobao"
"tb"
:
"spark build --type taobao"
},
},
"dependencies"
:
{
"dependencies"
:
{
...
...
project/public/index.html
View file @
eebaf73d
...
@@ -10,6 +10,8 @@
...
@@ -10,6 +10,8 @@
<script id="scriptjs" src="//yun.duiba.com.cn/js-libs/px-token/0.0.4/px-token.min.js"></script> -->
<script id="scriptjs" src="//yun.duiba.com.cn/js-libs/px-token/0.0.4/px-token.min.js"></script> -->
<script
src=
"//yun.duiba.com.cn/js-libs/rem/1.1.0/rem.min.js"
></script>
<script
src=
"//yun.duiba.com.cn/js-libs/rem/1.1.0/rem.min.js"
></script>
<script
src=
"//yun.duiba.com.cn/h5/lib/zepto.min.js"
></script>
<script
src=
"//yun.duiba.com.cn/h5/lib/zepto.min.js"
></script>
<script
src=
"https://res.wx.qq.com/open/js/jweixin-1.3.2.js"
></script>
<script>
<script>
window
.
url
=
'https://baidu.com'
;
window
.
url
=
'https://baidu.com'
;
...
...
project/src/app.jsx
View file @
eebaf73d
...
@@ -10,6 +10,9 @@ import Share from "./pages/share/share.jsx";
...
@@ -10,6 +10,9 @@ import Share from "./pages/share/share.jsx";
import
{
Weixin
,
start
,
updateShare
}
from
'@spark/share'
import
{
Weixin
,
start
,
updateShare
}
from
'@spark/share'
Weixin
.
debugMode
=
true
;
start
([
Weixin
],
(
success
)
=>
{
start
([
Weixin
],
(
success
)
=>
{
//分享结果回调, success为是否成功
//分享结果回调, success为是否成功
});
});
...
...
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