js: 参量质变仪: 使用png格式以减小图标资源大小 (#1368)
|
Before Width: | Height: | Size: 23 KiB |
BIN
repo/js/ParametricTrans/assets/baikuan.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 13 KiB |
BIN
repo/js/ParametricTrans/assets/bh.png
Normal file
|
After Width: | Height: | Size: 8.4 KiB |
|
Before Width: | Height: | Size: 23 KiB |
BIN
repo/js/ParametricTrans/assets/cai.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 18 KiB |
BIN
repo/js/ParametricTrans/assets/cl.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 22 KiB |
BIN
repo/js/ParametricTrans/assets/jit.png
Normal file
|
After Width: | Height: | Size: 9.3 KiB |
|
Before Width: | Height: | Size: 16 KiB |
BIN
repo/js/ParametricTrans/assets/jx.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 26 KiB |
BIN
repo/js/ParametricTrans/assets/mg.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 22 KiB |
BIN
repo/js/ParametricTrans/assets/nd.png
Normal file
|
After Width: | Height: | Size: 9.7 KiB |
|
Before Width: | Height: | Size: 22 KiB |
BIN
repo/js/ParametricTrans/assets/nj1.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 22 KiB |
BIN
repo/js/ParametricTrans/assets/nj2.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 22 KiB |
BIN
repo/js/ParametricTrans/assets/nj3.png
Normal file
|
After Width: | Height: | Size: 9.8 KiB |
|
Before Width: | Height: | Size: 22 KiB |
BIN
repo/js/ParametricTrans/assets/qr.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 18 KiB |
BIN
repo/js/ParametricTrans/assets/shuijink.png
Normal file
|
After Width: | Height: | Size: 9.5 KiB |
|
Before Width: | Height: | Size: 22 KiB |
BIN
repo/js/ParametricTrans/assets/tth.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 16 KiB |
BIN
repo/js/ParametricTrans/assets/zhibian.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
@@ -1,8 +1,8 @@
|
|||||||
(async function () {
|
(async function () {
|
||||||
|
|
||||||
//初始化配置======================================================================================
|
//初始化配置======================================================================================
|
||||||
var BH = typeof settings.BH === 'string' && settings.BH.trim() !== '' ? settings.BH : "assets/bh.bmp";
|
var BH = typeof settings.BH === 'string' && settings.BH.trim() !== '' ? settings.BH : "assets/bh.png";
|
||||||
var ZHIBIANYI = typeof settings.ZHIBIANY === 'string' && settings.ZHIBIANYI.trim() !== '' ? settings.ZHIBIANYI : "assets/zhibian.bmp";
|
var ZHIBIANYI = typeof settings.ZHIBIANY === 'string' && settings.ZHIBIANYI.trim() !== '' ? settings.ZHIBIANYI : "assets/zhibian.png";
|
||||||
var actiontime = settings.actiontime != undefined && ~~settings.actiontime > 0 ? ~~settings.actiontime : 50;
|
var actiontime = settings.actiontime != undefined && ~~settings.actiontime > 0 ? ~~settings.actiontime : 50;
|
||||||
var TEAM
|
var TEAM
|
||||||
const ITEM = settings.ITEM !== undefined ? (
|
const ITEM = settings.ITEM !== undefined ? (
|
||||||
|
|||||||
@@ -7,14 +7,14 @@
|
|||||||
{
|
{
|
||||||
"name": "BH",
|
"name": "BH",
|
||||||
"type": "input-text",
|
"type": "input-text",
|
||||||
"label": "选填,默认薄荷,识别物料的图片路径(默认assets/bh.bmp)",
|
"label": "选填,默认薄荷,识别物料的图片路径(默认assets/bh.png)",
|
||||||
"default": "assets/bh.bmp"
|
"default": "assets/bh.png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "ZHIBIANYI",
|
"name": "ZHIBIANYI",
|
||||||
"type": "input-text",
|
"type": "input-text",
|
||||||
"label": "选填,质变仪的图片路径(默认assets/zhibian.bmp)",
|
"label": "选填,质变仪的图片路径(默认assets/zhibian.png)",
|
||||||
"default": "assets/zhibian.bmp"
|
"default": "assets/zhibian.png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "actiontime",
|
"name": "actiontime",
|
||||||
|
|||||||