Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tngdMini
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
SparkProjects
tngdMini
Commits
960d768f
Commit
960d768f
authored
Mar 28, 2025
by
韦燕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:merge
parent
0db0522d
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
54 additions
and
2 deletions
+54
-2
index.axml
pages/index/index.axml
+0
-2
index.js
pages/index/index.js
+16
-0
index.wxml
pages/index/index.wxml
+2
-0
project.config.json
project.config.json
+29
-0
project.private.config.json
project.private.config.json
+7
-0
No files found.
pages/index/index.axml
View file @
960d768f
...
...
@@ -11,8 +11,6 @@
<!-- <web-view id="web-view" src="https://gamification-sbx.tngdigital.com.my/app/skin/Treasure_Mania.html" onMessage="onMessage"/> -->
<!-- <web-view id="web-view" src="https://gamification-sbx.tngdigital.com.my/app/skin/Purrfect_Jump.html" onMessage="onMessage"/> -->
<!-- <web-view id="web-view" src="https://gamification-sbx.tngdigital.com.my/app/skin/Starship_Showdown.html" onMessage="onMessage"/> -->
<!-- prod -->
<!-- <web-view id="web-view" src="https://gamification.tngdigital.com.my/app/skin/Cave_Cruiser.html" onMessage="onMessage"/> -->
<!-- <web-view id="web-view" src="https://gamification.tngdigital.com.my/app/skin/Treasure_Mania.html" onMessage="onMessage"/> -->
...
...
pages/index/index.js
View file @
960d768f
...
...
@@ -86,6 +86,22 @@ Page({
console
.
log
(
'fail'
)
}
);
}
else
if
(
eventType
==
'bannerJump'
)
{
const
{
bannerUrl
}
=
e
.
detail
console
.
info
(
"bannerUrl"
,
bannerUrl
)
const
scheme
=
"tngdwallet://client/dl/webview?url="
+
encodeURIComponent
(
bannerUrl
);
my
.
call
(
'startDeepLink'
,
{
scheme
},
function
(){
console
.
log
(
'success'
)
},
function
(){
console
.
log
(
'fail'
)
}
);
}
},
});
pages/index/index.wxml
0 → 100644
View file @
960d768f
<!--pages/index/index.wxml-->
<text>pages/index/index.wxml</text>
project.config.json
0 → 100644
View file @
960d768f
{
"compileType"
:
"miniprogram"
,
"setting"
:
{
"coverView"
:
true
,
"es6"
:
true
,
"postcss"
:
true
,
"minified"
:
true
,
"enhance"
:
true
,
"showShadowRootInWxmlPanel"
:
true
,
"packNpmRelationList"
:
[],
"babelSetting"
:
{
"ignore"
:
[],
"disablePlugins"
:
[],
"outputPath"
:
""
},
"ignoreUploadUnusedFiles"
:
true
},
"condition"
:
{},
"editorSetting"
:
{
"tabIndent"
:
"insertSpaces"
,
"tabSize"
:
2
},
"libVersion"
:
"3.7.12"
,
"packOptions"
:
{
"ignore"
:
[],
"include"
:
[]
},
"appid"
:
"wx347a9d0ef0d9fd60"
}
\ No newline at end of file
project.private.config.json
0 → 100644
View file @
960d768f
{
"description"
:
"项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html"
,
"projectname"
:
"tngdmini"
,
"setting"
:
{
"compileHotReLoad"
:
true
}
}
\ No newline at end of file
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