Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
Static
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ab5f2676
authored
Jun 14, 2023
by
agan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
1ab28c7f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
58 additions
and
2 deletions
js/webAppComm.js
js/webAppComm.js
View file @
ab5f2676
...
...
@@ -28,6 +28,7 @@
// 31:弹出WEB弹窗
// 32:webview上面的图标 (新)
// 33:打开更多功能面板
// 34:打开游戏
function
webAppComm
()
{
...
...
@@ -40,6 +41,8 @@ function webAppComm() {
'lang4'
:
'Compartir'
,
'lang5'
:
'Event Zone'
,
'lang6'
:
'Close Page'
,
'lang7'
:
'DEWs'
,
'lang8'
:
'GEMs'
},
//1英文
{
...
...
@@ -49,6 +52,8 @@ function webAppComm() {
'lang4'
:
'Compartir'
,
'lang5'
:
'Event Zone'
,
'lang6'
:
'Close Page'
,
'lang7'
:
'DEWs'
,
'lang8'
:
'GEMs'
},
//2繁体
{
...
...
@@ -58,6 +63,8 @@ function webAppComm() {
'lang4'
:
'推薦朋友'
,
'lang5'
:
'活動專區'
,
'lang6'
:
'關閉頁面'
,
'lang7'
:
'露水'
,
'lang8'
:
'寶石'
},
//3泰语
{
...
...
@@ -67,6 +74,8 @@ function webAppComm() {
'lang4'
:
'แชร์'
,
'lang5'
:
'โซนกิจกรรม'
,
'lang6'
:
'ปิดหน้านี้'
,
'lang7'
:
'DEWs'
,
'lang8'
:
'GEMs'
},
//4日语
{
...
...
@@ -76,6 +85,8 @@ function webAppComm() {
'lang4'
:
'共有'
,
'lang5'
:
'イベントゾーン'
,
'lang6'
:
'ページを閉じる'
,
'lang7'
:
'DEWs'
,
'lang8'
:
'GEMs'
},
//5印尼
{
...
...
@@ -85,6 +96,8 @@ function webAppComm() {
'lang4'
:
'Bagikan'
,
'lang5'
:
'Zona Acara'
,
'lang6'
:
'Tutup halaman'
,
'lang7'
:
'DEWs'
,
'lang8'
:
'GEMs'
},
//6
{
...
...
@@ -94,6 +107,8 @@ function webAppComm() {
'lang4'
:
'Compartir'
,
'lang5'
:
'Event Zone'
,
'lang6'
:
'Close Page'
,
'lang7'
:
'DEWs'
,
'lang8'
:
'GEMs'
},
//7阿拉伯
{
...
...
@@ -103,6 +118,8 @@ function webAppComm() {
'lang4'
:
'مشاركة'
,
'lang5'
:
'منطقة الفعاليات'
,
'lang6'
:
'إغلاق الصفحة'
,
'lang7'
:
'DEWs'
,
'lang8'
:
'GEMs'
},
//8越南
{
...
...
@@ -112,6 +129,8 @@ function webAppComm() {
'lang4'
:
'Chia sẻ'
,
'lang5'
:
'Khu vực sự kiện'
,
'lang6'
:
'Đóng trang'
,
'lang7'
:
'DEWs'
,
'lang8'
:
'GEMs'
},
//9韩文
{
...
...
@@ -121,6 +140,8 @@ function webAppComm() {
'lang4'
:
'Compartir'
,
'lang5'
:
'Event Zone'
,
'lang6'
:
'Close Page'
,
'lang7'
:
'DEWs'
,
'lang8'
:
'GEMs'
},
//10西班牙
{
...
...
@@ -130,6 +151,8 @@ function webAppComm() {
'lang4'
:
'Share'
,
'lang5'
:
'Zona de Eventos'
,
'lang6'
:
'Cerrar página'
,
'lang7'
:
'DEWs'
,
'lang8'
:
'GEMs'
}
];
this
.
urlData
=
this
.
url_get_params
(
location
.
href
);
...
...
@@ -144,7 +167,7 @@ webAppComm.prototype.goShare = function (shareContent) {
"data"
:
{
"shareContent"
:
shareContent
,
"shareType"
:
{
//1图片 2文字 3网页
"wechat"
:
3
,
"wechat"
:
3
,
"wechat_moment"
:
3
,
"facebook"
:
3
,
"line"
:
3
,
...
...
@@ -286,6 +309,39 @@ webAppComm.prototype.closeWebView = function (callback) {
webAppCollaboration
(
obj2
);
}
//打开多网页面板
webAppComm
.
prototype
.
openRecords
=
function
(
type
)
{
var
obj
=
{
"cid"
:
15
,
"reqCode"
:
new
Date
().
getTime
(),
"data"
:
{
"urls"
:
[
{
"url"
:
$url
+
'/Nesting/recording/gem.html'
+
window
.
location
.
search
,
"title"
:
langList
[
langType
].
dew18
,
"rightBtnImageURL"
:
''
,
"rightBtnClickURL"
:
''
},
{
"url"
:
$url
+
'/Nesting/recording/dew.html'
+
window
.
location
.
search
,
"title"
:
langList
[
langType
].
dewExchangeTitle3
,
"rightBtnImageURL"
:
''
,
"rightBtnClickURL"
:
''
}
],
"select"
:
type
,
"titleColor"
:
""
,
"titleSelectedColor"
:
""
,
"titleBackground"
:
''
,
}
}
var
obj2
=
JSON
.
stringify
(
obj
);
appCollaboration
(
obj2
);
}
//webview右上角的icon
webAppComm
.
prototype
.
showIcons
=
function
(
infos
)
{
let
obj
=
{
...
...
@@ -324,7 +380,7 @@ webAppComm.prototype.changeTitle1 = function () {
"width"
:
'161'
,
//1
"height"
:
'70'
,
//1
}
}
}
}
var
obj2
=
JSON
.
stringify
(
obj
);
webAppCollaboration
(
obj2
);
...
...
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