Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

libai / Static

  • This project
    • Loading...
  • Sign in
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 8151f7c1 authored a year ago by agan's avatar agan
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

xg

parent b17dff2f master
Show whitespace changes
Inline Side-by-side
Showing with 3 additions and 2 deletions
  • js/webAppComm.js
js/webAppComm.js
View file @ 8151f7c1
...@@ -566,11 +566,12 @@ webAppComm.prototype.jumpToTask = function (type) { ...@@ -566,11 +566,12 @@ webAppComm.prototype.jumpToTask = function (type) {
} }
//41: 修改webview的背景底色 //41: 修改webview的背景底色
webAppComm.prototype.setBackground = function (color) { webAppComm.prototype.setBackground = function (color, color2) {
let obj = { let obj = {
"cid": 41, "cid": 41,
"data": { "data": {
"background": color // # color值为HEX色值 例:#FFFFFF, 若为透明则是transparent "background": color, // # color值为HEX色值 例:#FFFFFF,
"AHEX": color2 // # color2值为AHEX色值 例:#FFFFFFFF,
} }
} }
let obj2 = JSON.stringify(obj); let obj2 = JSON.stringify(obj);
......
This diff is collapsed. Click to expand it.
  • Write
  • Preview
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