Commit ab5f2676 by agan

修改

parent 1ab28c7f
Showing with 58 additions and 2 deletions
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment