当前位置:网站首页>Uni applet Tencent map polygon background transparency
Uni applet Tencent map polygon background transparency
2022-08-10 07:21:00 【Your beauty fascinates me】
18c1831a #18c1831代表颜色,1a代表10%透明度
100% — FF
99% — FC
98% — FA
97% — F7
96% — F5
95% — F2
94% — F0
93% — ED
92% — EB
91% — E8
90% — E6
89% — E3
88% — E0
87% — DE
86% — DB
85% — D9
84% — D6
83% — D4
82% — D1
81% — CF
80% — CC
79% — C9
78% — C7
77% — C4
76% — C2
75% — BF
74% — BD
73% — BA
72% — B8
71% — B5
70% — B3
69% — B0
68% — AD
67% — AB
66% — A8
65% — A6
64% — A3
63% — A1
62% — 9E
61% — 9C
60% — 99
59% — 96
58% — 94
57% — 91
56% — 8F
55% — 8C
54% — 8A
53% — 87
52% — 85
51% — 82
50% — 80
49% — 7D
48% — 7A
47% — 78
46% — 75
45% — 73
44% — 70
43% — 6E
42% — 6B
41% — 69
40% — 66
39% — 63
38% — 61
37% — 5E
36% — 5C
35% — 59
34% — 57
33% — 54
32% — 52
31% — 4F
30% — 4D
29% — 4A
28% — 47
27% — 45
26% — 42
25% — 40
24% — 3D
23% — 3B
22% — 38
21% — 36
20% — 33
19% — 30
18% — 2E
17% — 2B
16% — 29
15% — 26
14% — 24
13% — 21
12% — 1F
11% — 1C
10% — 1A
9% — 17
8% — 14
7% — 12
6% — 0F
5% — 0D
4% — 0A
3% — 08
2% — 05
1% — 03
0% — 00
package a file:
//0-100The corresponding value of transparency
export const opacityFun = val => {
var arrlist = [
'FF',
'FC',
'FA',
'F7',
'F5',
'F2',
'F0',
'ED',
'EB',
'E8',
'E6',
'E3',
'E0',
'DE',
'DB',
'D9',
'D6',
'D4',
'D1',
'CF',
'CC',
'C9',
'C7',
'C4',
'C2',
'BF',
'BD',
'BA',
'B8',
'B5',
'B3',
'B0',
'AD',
'AB',
'A8',
'A6',
'A3',
'A1',
'9E',
'9C',
'99',
'96',
'94',
'91',
'8F',
'8C',
'8A',
'87',
'85',
'82',
'80',
'7D',
'7A',
'78',
'75',
'73',
'70',
'6E',
'6B',
'69',
'66',
'63',
'61',
'5E',
'5C',
'59',
'57',
'54',
'52',
'4F',
'4D',
'4A',
'47',
'45',
'42',
'40',
'3D',
'3B',
'38',
'36',
'33',
'30',
'2E',
'2B',
'29',
'26',
'24',
'21',
'1F',
'1C',
'1A',
'17',
'14',
'12',
'0F',
'0D',
'0A',
'08',
'05',
'03',
'00'
]
//Can only be of numeric type
const numval = parseInt(val)??1
//导出数据
return arrlist[100 - numval]
}
边栏推荐
猜你喜欢
随机推荐
.NET-7.WPF learning experience summary
物联网时代下的网络整合推广外包精准化效果-深圳双赢世讯
【Event Preview on August 9】Prometheus Summit
ATH10 sensor reads temperature and humidity
金融证券 初级 招股书 要求 黑话1刷数 黑话2底稿 黑话3董监高
【愚公系列】2022年08月 Go教学课程 034-接口和多态
MySQL's InnoDB engine (6)
ESP32 485风速
基于ABP的AppUser对象扩展
Add spark related dependencies and packaging plugins (sixth bullet)
90.(cesium之家)cesium高度监听事件
自动化测试框架Pytest(三)——自定义allure测试报告
mysql之两阶段提交
如何设计神经网络结构,神经网络设计与实现
If the data of the oracle business table is added, deleted, or modified, will the index of the table write redo and undo?
人工神经网络模型的特点,人工神经网络模型定义
进程管理(动态的)
数据库公共字段自动填充
MVCC详解
MySQL事务隔离级别









