@cniot/android-pda-components 0.2.39 → 0.2.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/assets/index.cd58c2ee.css +1 -0
- package/build/assets/{index.54ac24ce.js → index.da68f72f.js} +1 -1
- package/build/assets/vendor.e223953a.js +40 -0
- package/build/index.html +3 -3
- package/es/index.cjs.js +3 -3
- package/es/index.es.js +335 -31
- package/es/style.css +1 -1
- package/package.json +1 -1
- package/build/assets/index.fc79712e.css +0 -1
- package/build/assets/vendor.5080796b.js +0 -40
package/es/index.es.js
CHANGED
|
@@ -33,10 +33,10 @@ var __publicField = (obj, key, value) => {
|
|
|
33
33
|
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
34
34
|
return value;
|
|
35
35
|
};
|
|
36
|
-
import React, { useState, useEffect, useRef, cloneElement, useCallback } from "react";
|
|
36
|
+
import React, { useState, useEffect, useRef, Component, cloneElement, useCallback } from "react";
|
|
37
37
|
import ReactDOM from "react-dom";
|
|
38
38
|
var global = "";
|
|
39
|
-
var
|
|
39
|
+
var classnames = { exports: {} };
|
|
40
40
|
/*!
|
|
41
41
|
Copyright (c) 2018 Jed Watson.
|
|
42
42
|
Licensed under the MIT License (MIT), see
|
|
@@ -82,9 +82,9 @@ var _classnames_2_3_1_classnames = { exports: {} };
|
|
|
82
82
|
window.classNames = classNames2;
|
|
83
83
|
}
|
|
84
84
|
})();
|
|
85
|
-
})(
|
|
86
|
-
var classNames =
|
|
87
|
-
var index$
|
|
85
|
+
})(classnames);
|
|
86
|
+
var classNames = classnames.exports;
|
|
87
|
+
var index$v = "";
|
|
88
88
|
function getTypeClass$2(type) {
|
|
89
89
|
return {
|
|
90
90
|
"center": "op-overlay center",
|
|
@@ -113,7 +113,7 @@ function Overlay$1(props) {
|
|
|
113
113
|
className: getTypeClass$2(verticalPosition)
|
|
114
114
|
}, option), props.children) : null;
|
|
115
115
|
}
|
|
116
|
-
var index$
|
|
116
|
+
var index$u = "";
|
|
117
117
|
const blankFunc$6 = () => {
|
|
118
118
|
};
|
|
119
119
|
class PdaTitle extends React.Component {
|
|
@@ -152,7 +152,7 @@ class PdaTitle extends React.Component {
|
|
|
152
152
|
}, menuList)));
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
|
-
var
|
|
155
|
+
var keycode$1 = { exports: {} };
|
|
156
156
|
(function(module, exports) {
|
|
157
157
|
function keyCode(searchInput) {
|
|
158
158
|
if (searchInput && typeof searchInput === "object") {
|
|
@@ -279,9 +279,9 @@ var _keycode_2_2_1_keycode = { exports: {} };
|
|
|
279
279
|
for (var alias in aliases) {
|
|
280
280
|
codes[alias] = aliases[alias];
|
|
281
281
|
}
|
|
282
|
-
})(
|
|
283
|
-
var keycode =
|
|
284
|
-
var index$
|
|
282
|
+
})(keycode$1, keycode$1.exports);
|
|
283
|
+
var keycode = keycode$1.exports;
|
|
284
|
+
var index$t = "";
|
|
285
285
|
function Button(props) {
|
|
286
286
|
const { type = "default", onClick, className = "", tabIndex = 1, dataClick = "" } = props;
|
|
287
287
|
let opt = {};
|
|
@@ -303,7 +303,7 @@ Button.Group = ButtonGroup;
|
|
|
303
303
|
const SPECIAL_KEY_MAP = ["fn"];
|
|
304
304
|
const empty$3 = () => {
|
|
305
305
|
};
|
|
306
|
-
function index$
|
|
306
|
+
function index$s(props) {
|
|
307
307
|
const {
|
|
308
308
|
onBack,
|
|
309
309
|
icon,
|
|
@@ -422,7 +422,7 @@ function addEventListener(node, eventName, fn) {
|
|
|
422
422
|
node.removeEventListener(eventName, fn);
|
|
423
423
|
};
|
|
424
424
|
}
|
|
425
|
-
var index$
|
|
425
|
+
var index$r = "";
|
|
426
426
|
class PdaInfoCard$2 extends React.Component {
|
|
427
427
|
constructor(props) {
|
|
428
428
|
super(props);
|
|
@@ -480,7 +480,7 @@ class PdaInfoCard$2 extends React.Component {
|
|
|
480
480
|
}
|
|
481
481
|
}
|
|
482
482
|
PdaInfoCard$2.IMAGE_1 = "https://img.alicdn.com/imgextra/i2/O1CN01qYuxip1ME9zhdL9XG_!!6000000001402-2-tps-150-150.png";
|
|
483
|
-
var index$
|
|
483
|
+
var index$q = "";
|
|
484
484
|
class PdaListItem extends React.Component {
|
|
485
485
|
constructor(props) {
|
|
486
486
|
super(props);
|
|
@@ -526,7 +526,7 @@ class PdaListItem extends React.Component {
|
|
|
526
526
|
}));
|
|
527
527
|
}
|
|
528
528
|
}
|
|
529
|
-
var index$
|
|
529
|
+
var index$p = "";
|
|
530
530
|
function empty$2() {
|
|
531
531
|
}
|
|
532
532
|
function Confirm(props) {
|
|
@@ -571,7 +571,7 @@ function Confirm(props) {
|
|
|
571
571
|
dataClick: item.dataClick
|
|
572
572
|
}, item.label))) : null));
|
|
573
573
|
}
|
|
574
|
-
var index$
|
|
574
|
+
var index$o = "";
|
|
575
575
|
function WindVaneLog(param) {
|
|
576
576
|
const params = {
|
|
577
577
|
domain: "logger",
|
|
@@ -755,7 +755,7 @@ function confirm(props) {
|
|
|
755
755
|
onClick: onNext
|
|
756
756
|
})));
|
|
757
757
|
}
|
|
758
|
-
var index$
|
|
758
|
+
var index$n = "";
|
|
759
759
|
function getTypeClass(type) {
|
|
760
760
|
return {
|
|
761
761
|
"center": "op-overlay center",
|
|
@@ -784,7 +784,7 @@ function Overlay(props) {
|
|
|
784
784
|
className: getTypeClass(verticalPosition)
|
|
785
785
|
}, option), props.children) : null;
|
|
786
786
|
}
|
|
787
|
-
var index$
|
|
787
|
+
var index$m = "";
|
|
788
788
|
function Prompt(props) {
|
|
789
789
|
const inputRef = React.useRef();
|
|
790
790
|
const { data = {}, onNext } = props;
|
|
@@ -855,7 +855,7 @@ function splitMessage(message) {
|
|
|
855
855
|
var msg = String(message).split("by Error:");
|
|
856
856
|
return msg[1] || msg[0];
|
|
857
857
|
}
|
|
858
|
-
var index$
|
|
858
|
+
var index$l = "";
|
|
859
859
|
function NotFound(props) {
|
|
860
860
|
return /* @__PURE__ */ React.createElement("div", {
|
|
861
861
|
style: { padding: "20%" }
|
|
@@ -956,7 +956,7 @@ function createHashHistory(b) {
|
|
|
956
956
|
}
|
|
957
957
|
function z(a, e) {
|
|
958
958
|
e === void 0 && (e = null);
|
|
959
|
-
return C(_extends({
|
|
959
|
+
return C(_extends({}, d, typeof a === "string" ? J(a) : a, { state: e, key: H() }));
|
|
960
960
|
}
|
|
961
961
|
function A(a) {
|
|
962
962
|
v = a;
|
|
@@ -987,7 +987,11 @@ function createHashHistory(b) {
|
|
|
987
987
|
w(a, e);
|
|
988
988
|
}
|
|
989
989
|
var g = r.Replace, n = z(a, e);
|
|
990
|
-
c.length && (c.call({
|
|
990
|
+
c.length && (c.call({
|
|
991
|
+
action: g,
|
|
992
|
+
location: n,
|
|
993
|
+
retry: l
|
|
994
|
+
}), 1) || (n = [{ usr: n.state, key: n.key, idx: q }, x(n)], u.replaceState(n[0], "", n[1]), A(g));
|
|
991
995
|
}
|
|
992
996
|
function p(a) {
|
|
993
997
|
u.go(a);
|
|
@@ -1034,7 +1038,7 @@ function createHashHistory(b) {
|
|
|
1034
1038
|
}
|
|
1035
1039
|
};
|
|
1036
1040
|
}
|
|
1037
|
-
var index$
|
|
1041
|
+
var index$k = "";
|
|
1038
1042
|
function Debug(props) {
|
|
1039
1043
|
const { appManager } = props;
|
|
1040
1044
|
const pages = Array.from(appManager.pageManager.keys()).reverse();
|
|
@@ -1100,7 +1104,7 @@ function PlaySound({ data, service, action }) {
|
|
|
1100
1104
|
service.onNext({});
|
|
1101
1105
|
return null;
|
|
1102
1106
|
}
|
|
1103
|
-
var index$
|
|
1107
|
+
var index$j = {
|
|
1104
1108
|
Alert,
|
|
1105
1109
|
Start,
|
|
1106
1110
|
Toast: toast,
|
|
@@ -1111,7 +1115,7 @@ var index$h = {
|
|
|
1111
1115
|
Loading: Loading$1,
|
|
1112
1116
|
PlaySound
|
|
1113
1117
|
};
|
|
1114
|
-
var index$
|
|
1118
|
+
var index$i = "";
|
|
1115
1119
|
function Presentation(props) {
|
|
1116
1120
|
const {
|
|
1117
1121
|
image = Presentation.IMAGE_1,
|
|
@@ -1133,7 +1137,7 @@ Presentation.IMAGE_1 = "https://img.alicdn.com/imgextra/i3/O1CN019Ivkor1ksy3pMGD
|
|
|
1133
1137
|
Presentation.IMAGE_2 = "https://img.alicdn.com/imgextra/i1/O1CN01lhSunu1X4VPw1Mlas_!!6000000002870-2-tps-352-158.png";
|
|
1134
1138
|
Presentation.IMAGE_3 = "https://img.alicdn.com/imgextra/i1/O1CN01mreYXo1XfbUsQ7hip_!!6000000002951-2-tps-322-144.png";
|
|
1135
1139
|
Presentation.IMAGE_4 = "https://img.alicdn.com/imgextra/i3/O1CN017gNM8F1Fmmcfti7Dg_!!6000000000530-1-tps-414-286.gif";
|
|
1136
|
-
var index$
|
|
1140
|
+
var index$h = "";
|
|
1137
1141
|
function empty$1() {
|
|
1138
1142
|
}
|
|
1139
1143
|
function List(props) {
|
|
@@ -1179,7 +1183,7 @@ function DefaultItem(props) {
|
|
|
1179
1183
|
}, extra));
|
|
1180
1184
|
}
|
|
1181
1185
|
List.Item = DefaultItem;
|
|
1182
|
-
var index$
|
|
1186
|
+
var index$g = "";
|
|
1183
1187
|
const blankFunc$5 = () => {
|
|
1184
1188
|
};
|
|
1185
1189
|
class BaseLayoutContainer extends React.Component {
|
|
@@ -1521,7 +1525,7 @@ class BaseLayout extends React.Component {
|
|
|
1521
1525
|
return /* @__PURE__ */ React.createElement(BaseLayoutContainer, __spreadValues({}, props));
|
|
1522
1526
|
}
|
|
1523
1527
|
}
|
|
1524
|
-
var index$
|
|
1528
|
+
var index$f = "";
|
|
1525
1529
|
const blankFunc$1 = () => {
|
|
1526
1530
|
};
|
|
1527
1531
|
function Keyborard(props) {
|
|
@@ -1597,6 +1601,306 @@ function WakeKeyborard(props) {
|
|
|
1597
1601
|
}) : null);
|
|
1598
1602
|
}
|
|
1599
1603
|
WakeKeyborard.Keyborard = Keyborard;
|
|
1604
|
+
const classPrefix$3 = "image-uploader";
|
|
1605
|
+
class PreviewItem extends Component {
|
|
1606
|
+
constructor(props) {
|
|
1607
|
+
super(props);
|
|
1608
|
+
this.state = {};
|
|
1609
|
+
}
|
|
1610
|
+
renderDelete() {
|
|
1611
|
+
return /* @__PURE__ */ React.createElement("span", {
|
|
1612
|
+
className: `${classPrefix$3}-cell-delete`,
|
|
1613
|
+
onClick: this.props.onDelete
|
|
1614
|
+
}, /* @__PURE__ */ React.createElement("img", {
|
|
1615
|
+
className: "uploader-delete-icon",
|
|
1616
|
+
alt: "close",
|
|
1617
|
+
src: "https://img.alicdn.com/imgextra/i2/O1CN01MInPNX1FWIOjjrlea_!!6000000000494-2-tps-32-32.png"
|
|
1618
|
+
}));
|
|
1619
|
+
}
|
|
1620
|
+
render() {
|
|
1621
|
+
const { src, deletable, onView, box } = this.props;
|
|
1622
|
+
return /* @__PURE__ */ React.createElement("div", {
|
|
1623
|
+
className: "image-space-item"
|
|
1624
|
+
}, /* @__PURE__ */ React.createElement("div", {
|
|
1625
|
+
className: `${classPrefix$3}-cell`,
|
|
1626
|
+
style: { width: box, height: box }
|
|
1627
|
+
}, /* @__PURE__ */ React.createElement("div", {
|
|
1628
|
+
className: `${classPrefix$3}-cell-image`,
|
|
1629
|
+
style: { width: box, height: box }
|
|
1630
|
+
}, /* @__PURE__ */ React.createElement("img", {
|
|
1631
|
+
className: `${classPrefix$3}-img`,
|
|
1632
|
+
src,
|
|
1633
|
+
fit: "cover",
|
|
1634
|
+
onClick: onView
|
|
1635
|
+
})), deletable && this.renderDelete()));
|
|
1636
|
+
}
|
|
1637
|
+
}
|
|
1638
|
+
const classPrefix$2 = "image-uploader";
|
|
1639
|
+
class UploadeButton extends Component {
|
|
1640
|
+
constructor(props) {
|
|
1641
|
+
super(props);
|
|
1642
|
+
this.state = {};
|
|
1643
|
+
}
|
|
1644
|
+
render() {
|
|
1645
|
+
const { box } = this.props;
|
|
1646
|
+
return /* @__PURE__ */ React.createElement("div", {
|
|
1647
|
+
className: `image-space-item`
|
|
1648
|
+
}, /* @__PURE__ */ React.createElement("div", {
|
|
1649
|
+
className: `${classPrefix$2}-upload-button-wrap`,
|
|
1650
|
+
onClick: this.props.onUpload
|
|
1651
|
+
}, /* @__PURE__ */ React.createElement("span", {
|
|
1652
|
+
className: `${classPrefix$2}-upload-button image-uploader-cell`,
|
|
1653
|
+
style: { width: box, height: box }
|
|
1654
|
+
}, /* @__PURE__ */ React.createElement("img", {
|
|
1655
|
+
className: "uploader-add-icon",
|
|
1656
|
+
alt: "add",
|
|
1657
|
+
src: "https://img.alicdn.com/imgextra/i1/O1CN01RipHZ11yVyprbUP5B_!!6000000006585-2-tps-32-32.png"
|
|
1658
|
+
}))));
|
|
1659
|
+
}
|
|
1660
|
+
}
|
|
1661
|
+
var index$e = "";
|
|
1662
|
+
const classPrefix$1 = "image-viewer";
|
|
1663
|
+
class ImageViewer extends Component {
|
|
1664
|
+
constructor(props) {
|
|
1665
|
+
super(props);
|
|
1666
|
+
__publicField(this, "onShow", (index2 = 0) => {
|
|
1667
|
+
const { props } = this;
|
|
1668
|
+
let newIdx = 0;
|
|
1669
|
+
if (typeof index2 !== "number") {
|
|
1670
|
+
newIdx = 0;
|
|
1671
|
+
} else {
|
|
1672
|
+
newIdx = index2 > props.images.length - 1 ? 0 : index2;
|
|
1673
|
+
}
|
|
1674
|
+
this.setState({
|
|
1675
|
+
visible: true,
|
|
1676
|
+
currentIndex: newIdx,
|
|
1677
|
+
loading: true
|
|
1678
|
+
});
|
|
1679
|
+
});
|
|
1680
|
+
__publicField(this, "onHide", () => {
|
|
1681
|
+
this.setState({
|
|
1682
|
+
visible: false
|
|
1683
|
+
});
|
|
1684
|
+
});
|
|
1685
|
+
__publicField(this, "handleImageLoaded", (e) => {
|
|
1686
|
+
this.setState({
|
|
1687
|
+
loading: false
|
|
1688
|
+
});
|
|
1689
|
+
});
|
|
1690
|
+
__publicField(this, "onClickMask", (e) => {
|
|
1691
|
+
if (e.target.getAttribute("class") !== "image-viewer-image-wrapper" && e.target.getAttribute("class") !== "image-viewer-loading")
|
|
1692
|
+
return;
|
|
1693
|
+
const { afterClose } = this.props;
|
|
1694
|
+
this.setState({
|
|
1695
|
+
visible: false
|
|
1696
|
+
}, () => {
|
|
1697
|
+
afterClose && afterClose();
|
|
1698
|
+
});
|
|
1699
|
+
});
|
|
1700
|
+
__publicField(this, "onClose", () => {
|
|
1701
|
+
const { onDelete, images } = this.props;
|
|
1702
|
+
const { currentIndex } = this.state;
|
|
1703
|
+
if (images.length === 0) {
|
|
1704
|
+
this.setState({
|
|
1705
|
+
visible: false
|
|
1706
|
+
}, () => {
|
|
1707
|
+
onDelete && onDelete(images[currentIndex], currentIndex);
|
|
1708
|
+
});
|
|
1709
|
+
} else {
|
|
1710
|
+
this.setState({
|
|
1711
|
+
currentIndex: 0,
|
|
1712
|
+
visible: false
|
|
1713
|
+
}, () => {
|
|
1714
|
+
onDelete && onDelete(images[currentIndex], currentIndex);
|
|
1715
|
+
});
|
|
1716
|
+
}
|
|
1717
|
+
});
|
|
1718
|
+
__publicField(this, "onPrev", (e) => {
|
|
1719
|
+
e.stopPropagation();
|
|
1720
|
+
const { currentIndex } = this.state;
|
|
1721
|
+
this.setState({
|
|
1722
|
+
currentIndex: currentIndex - 1,
|
|
1723
|
+
loading: true
|
|
1724
|
+
});
|
|
1725
|
+
});
|
|
1726
|
+
__publicField(this, "onNext", (e) => {
|
|
1727
|
+
e.stopPropagation();
|
|
1728
|
+
const { currentIndex } = this.state;
|
|
1729
|
+
this.setState({
|
|
1730
|
+
currentIndex: currentIndex + 1,
|
|
1731
|
+
loading: true
|
|
1732
|
+
});
|
|
1733
|
+
});
|
|
1734
|
+
this.state = {
|
|
1735
|
+
visible: false,
|
|
1736
|
+
currentIndex: 0,
|
|
1737
|
+
loading: false
|
|
1738
|
+
};
|
|
1739
|
+
}
|
|
1740
|
+
render() {
|
|
1741
|
+
const { currentIndex, visible, loading } = this.state;
|
|
1742
|
+
const { images } = this.props;
|
|
1743
|
+
return /* @__PURE__ */ React.createElement("div", null, visible ? /* @__PURE__ */ React.createElement("div", {
|
|
1744
|
+
className: "v-mask",
|
|
1745
|
+
onClick: this.onClickMask
|
|
1746
|
+
}, /* @__PURE__ */ React.createElement("div", {
|
|
1747
|
+
className: `v-mask-content`
|
|
1748
|
+
}, /* @__PURE__ */ React.createElement("div", {
|
|
1749
|
+
className: `${classPrefix$1}-content`
|
|
1750
|
+
}, /* @__PURE__ */ React.createElement("div", {
|
|
1751
|
+
className: `${classPrefix$1}-slides`
|
|
1752
|
+
}, /* @__PURE__ */ React.createElement("div", {
|
|
1753
|
+
className: "image-viewer-indicator"
|
|
1754
|
+
}, currentIndex + 1, " / ", images.length), /* @__PURE__ */ React.createElement("div", {
|
|
1755
|
+
className: "viewer-image-close",
|
|
1756
|
+
onClick: this.onClose
|
|
1757
|
+
}, /* @__PURE__ */ React.createElement("svg", {
|
|
1758
|
+
width: "44",
|
|
1759
|
+
height: "44",
|
|
1760
|
+
viewBox: "0 0 768 768"
|
|
1761
|
+
}, /* @__PURE__ */ React.createElement("path", {
|
|
1762
|
+
fill: "#FFF",
|
|
1763
|
+
d: "M607.5 205.5l-178.5 178.5 178.5 178.5-45 45-178.5-178.5-178.5 178.5-45-45 178.5-178.5-178.5-178.5 45-45 178.5 178.5 178.5-178.5z"
|
|
1764
|
+
}))), /* @__PURE__ */ React.createElement("div", {
|
|
1765
|
+
className: "image-viewer-slides-inner"
|
|
1766
|
+
}, /* @__PURE__ */ React.createElement("div", {
|
|
1767
|
+
className: "image-viewer-image-wrapper"
|
|
1768
|
+
}, /* @__PURE__ */ React.createElement("img", {
|
|
1769
|
+
src: this.props.images[currentIndex].url,
|
|
1770
|
+
style: { width: loading ? 1 : "auto" },
|
|
1771
|
+
onLoad: this.handleImageLoaded
|
|
1772
|
+
}))), images.length > 1 ? /* @__PURE__ */ React.createElement(React.Fragment, null, currentIndex === 0 ? null : /* @__PURE__ */ React.createElement("div", {
|
|
1773
|
+
className: "viewer-image-arrow viewer-prev",
|
|
1774
|
+
onClick: this.onPrev
|
|
1775
|
+
}, /* @__PURE__ */ React.createElement("svg", {
|
|
1776
|
+
width: "44",
|
|
1777
|
+
height: "44",
|
|
1778
|
+
viewBox: "0 0 768 768"
|
|
1779
|
+
}, /* @__PURE__ */ React.createElement("path", {
|
|
1780
|
+
d: "M640.5 352.5v63h-390l178.5 180-45 45-256.5-256.5 256.5-256.5 45 45-178.5 180h390z"
|
|
1781
|
+
}))), currentIndex === images.length - 1 ? null : /* @__PURE__ */ React.createElement("div", {
|
|
1782
|
+
className: "viewer-image-arrow viewer-next",
|
|
1783
|
+
onClick: this.onNext
|
|
1784
|
+
}, /* @__PURE__ */ React.createElement("svg", {
|
|
1785
|
+
width: "44",
|
|
1786
|
+
height: "44",
|
|
1787
|
+
viewBox: "0 0 768 768"
|
|
1788
|
+
}, /* @__PURE__ */ React.createElement("path", {
|
|
1789
|
+
d: "M384 127.5l256.5 256.5-256.5 256.5-45-45 178.5-180h-390v-63h390l-178.5-180z"
|
|
1790
|
+
})))) : null))), loading ? /* @__PURE__ */ React.createElement("div", {
|
|
1791
|
+
className: `${classPrefix$1}-loading`,
|
|
1792
|
+
onClick: this.onClose
|
|
1793
|
+
}, /* @__PURE__ */ React.createElement("div", {
|
|
1794
|
+
className: `${classPrefix$1}-loading-reactor`
|
|
1795
|
+
}, /* @__PURE__ */ React.createElement("svg", {
|
|
1796
|
+
viewBox: "0 0 32 32",
|
|
1797
|
+
width: "36",
|
|
1798
|
+
height: "36",
|
|
1799
|
+
fill: "white"
|
|
1800
|
+
}, /* @__PURE__ */ React.createElement("path", {
|
|
1801
|
+
opacity: ".25",
|
|
1802
|
+
d: "M16 0 A16 16 0 0 0 16 32 A16 16 0 0 0 16 0 M16 4 A12 12 0 0 1 16 28 A12 12 0 0 1 16 4"
|
|
1803
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
1804
|
+
d: "M16 0 A16 16 0 0 1 32 16 L28 16 A12 12 0 0 0 16 4z"
|
|
1805
|
+
})))) : null) : null);
|
|
1806
|
+
}
|
|
1807
|
+
}
|
|
1808
|
+
const classPrefix = "image-uploader";
|
|
1809
|
+
class ImageUploader extends Component {
|
|
1810
|
+
constructor(props) {
|
|
1811
|
+
super(props);
|
|
1812
|
+
__publicField(this, "onViewImage", (index2) => {
|
|
1813
|
+
this.imgRef.onShow(index2);
|
|
1814
|
+
});
|
|
1815
|
+
__publicField(this, "onClickAdd", () => {
|
|
1816
|
+
const { capture } = this.props;
|
|
1817
|
+
const isCameraMode = capture && capture === "camera";
|
|
1818
|
+
const params = {
|
|
1819
|
+
type: "0",
|
|
1820
|
+
mode: isCameraMode ? "camera" : "photo"
|
|
1821
|
+
};
|
|
1822
|
+
this.handlerUpload(params);
|
|
1823
|
+
});
|
|
1824
|
+
__publicField(this, "handlerUpload", (params) => {
|
|
1825
|
+
const { beforeUpload } = this.props;
|
|
1826
|
+
window.WindVane.call("WVCamera", "takePhoto", params, function(e) {
|
|
1827
|
+
const plugin = {
|
|
1828
|
+
domain: "camera",
|
|
1829
|
+
method: "getBase64",
|
|
1830
|
+
params: {
|
|
1831
|
+
filePath: e.localPath
|
|
1832
|
+
}
|
|
1833
|
+
};
|
|
1834
|
+
window.WindVane.call("WindvanePlugin", "invoke", JSON.stringify(plugin), function(res) {
|
|
1835
|
+
beforeUpload && beforeUpload(res.data);
|
|
1836
|
+
}, function(err) {
|
|
1837
|
+
console.log("failure " + JSON.stringify(err));
|
|
1838
|
+
});
|
|
1839
|
+
}, function(err) {
|
|
1840
|
+
console.log("takePhoto failure: " + JSON.stringify(err));
|
|
1841
|
+
});
|
|
1842
|
+
});
|
|
1843
|
+
__publicField(this, "onDelete", (item, index2) => {
|
|
1844
|
+
const { onDelete } = this.props;
|
|
1845
|
+
onDelete && onDelete(item, index2);
|
|
1846
|
+
});
|
|
1847
|
+
__publicField(this, "_showLoading", () => {
|
|
1848
|
+
this.setState({
|
|
1849
|
+
loading: true
|
|
1850
|
+
});
|
|
1851
|
+
});
|
|
1852
|
+
__publicField(this, "_hideLoading", () => {
|
|
1853
|
+
setTimeout(() => {
|
|
1854
|
+
this.setState({
|
|
1855
|
+
loading: false
|
|
1856
|
+
});
|
|
1857
|
+
}, 10 * 1e3);
|
|
1858
|
+
});
|
|
1859
|
+
this.state = {
|
|
1860
|
+
loading: false
|
|
1861
|
+
};
|
|
1862
|
+
}
|
|
1863
|
+
render() {
|
|
1864
|
+
const { value, loading = false } = this.props;
|
|
1865
|
+
const { maxCount = 1, deletable = false, capture = "camera", box = 80 } = this.props;
|
|
1866
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", {
|
|
1867
|
+
className: `${classPrefix}`
|
|
1868
|
+
}, /* @__PURE__ */ React.createElement("div", {
|
|
1869
|
+
className: `${classPrefix}-wrap`
|
|
1870
|
+
}, value && value.map((item, index2) => {
|
|
1871
|
+
return /* @__PURE__ */ React.createElement(PreviewItem, {
|
|
1872
|
+
src: item.url,
|
|
1873
|
+
key: item.url,
|
|
1874
|
+
box,
|
|
1875
|
+
deletable,
|
|
1876
|
+
onDelete: () => this.onDelete(item, index2),
|
|
1877
|
+
onView: () => this.onViewImage(index2)
|
|
1878
|
+
});
|
|
1879
|
+
}), value && value.length < maxCount ? /* @__PURE__ */ React.createElement(UploadeButton, {
|
|
1880
|
+
box,
|
|
1881
|
+
onUpload: this.onClickAdd
|
|
1882
|
+
}) : null)), loading ? /* @__PURE__ */ React.createElement("div", {
|
|
1883
|
+
className: `${classPrefix}-loading`
|
|
1884
|
+
}, /* @__PURE__ */ React.createElement("div", {
|
|
1885
|
+
className: `${classPrefix}-loading-reactor`
|
|
1886
|
+
}, /* @__PURE__ */ React.createElement("svg", {
|
|
1887
|
+
viewBox: "0 0 32 32",
|
|
1888
|
+
width: "36",
|
|
1889
|
+
height: "36",
|
|
1890
|
+
fill: "white"
|
|
1891
|
+
}, /* @__PURE__ */ React.createElement("path", {
|
|
1892
|
+
opacity: ".25",
|
|
1893
|
+
d: "M16 0 A16 16 0 0 0 16 32 A16 16 0 0 0 16 0 M16 4 A12 12 0 0 1 16 28 A12 12 0 0 1 16 4"
|
|
1894
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
1895
|
+
d: "M16 0 A16 16 0 0 1 32 16 L28 16 A12 12 0 0 0 16 4z"
|
|
1896
|
+
})))) : null, /* @__PURE__ */ React.createElement(ImageViewer, {
|
|
1897
|
+
ref: (ref) => this.imgRef = ref,
|
|
1898
|
+
images: value,
|
|
1899
|
+
onDelete: this.onDelete
|
|
1900
|
+
}));
|
|
1901
|
+
}
|
|
1902
|
+
}
|
|
1903
|
+
var index$d = "";
|
|
1600
1904
|
var index$c = "";
|
|
1601
1905
|
var index$b = "";
|
|
1602
1906
|
class PdaInfoCard$1 extends React.Component {
|
|
@@ -1816,7 +2120,7 @@ function usePersistFn(fn) {
|
|
|
1816
2120
|
}
|
|
1817
2121
|
return persistFn.current;
|
|
1818
2122
|
}
|
|
1819
|
-
var __awaiter =
|
|
2123
|
+
var __awaiter = function(thisArg, _arguments, P, generator) {
|
|
1820
2124
|
function adopt(value) {
|
|
1821
2125
|
return value instanceof P ? value : new P(function(resolve) {
|
|
1822
2126
|
resolve(value);
|
|
@@ -1843,7 +2147,7 @@ var __awaiter = globalThis && globalThis.__awaiter || function(thisArg, _argumen
|
|
|
1843
2147
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
1844
2148
|
});
|
|
1845
2149
|
};
|
|
1846
|
-
var __generator =
|
|
2150
|
+
var __generator = function(thisArg, body) {
|
|
1847
2151
|
var _ = {
|
|
1848
2152
|
label: 0,
|
|
1849
2153
|
sent: function sent() {
|
|
@@ -1935,7 +2239,7 @@ var __generator = globalThis && globalThis.__generator || function(thisArg, body
|
|
|
1935
2239
|
};
|
|
1936
2240
|
}
|
|
1937
2241
|
};
|
|
1938
|
-
var __read =
|
|
2242
|
+
var __read = function(o, n) {
|
|
1939
2243
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
1940
2244
|
if (!m)
|
|
1941
2245
|
return o;
|
|
@@ -1959,7 +2263,7 @@ var __read = globalThis && globalThis.__read || function(o, n) {
|
|
|
1959
2263
|
}
|
|
1960
2264
|
return ar;
|
|
1961
2265
|
};
|
|
1962
|
-
var __spread =
|
|
2266
|
+
var __spread = function() {
|
|
1963
2267
|
for (var ar = [], i = 0; i < arguments.length; i++) {
|
|
1964
2268
|
ar = ar.concat(__read(arguments[i]));
|
|
1965
2269
|
}
|
|
@@ -2208,4 +2512,4 @@ function SimpleCardBlock(props) {
|
|
|
2208
2512
|
})) : null);
|
|
2209
2513
|
}
|
|
2210
2514
|
const ListItem = PdaListItem;
|
|
2211
|
-
export { ActionSheet, index$5 as AppList, BaseLayout, Button, Confirm, PdaDistanceCard as DistanceCard, PdaFinishCard as FinishCard, index$
|
|
2515
|
+
export { ActionSheet, index$5 as AppList, BaseLayout, Button, Confirm, PdaDistanceCard as DistanceCard, PdaFinishCard as FinishCard, index$s as Header, ImageUploader, ImageViewer, InfiniteScroll, PdaInfoCard$2 as InfoCard, Keyborard, List, ListItem, Overlay$1 as Overlay, index$j as PageFlowSystemPages, Presentation, SelectCard, SimpleCard, SimpleCardBlock, PdaInfoCard as Steps, SubCard, Tag, PdaListItem as TaskCard, PdaTitle as Title, Toast, WakeKeyborard };
|
package/es/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
*{margin:0;padding:0}div{box-sizing:border-box}.pda-header{background-color:#000;display:flex;flex-direction:row;align-items:center;color:#fff;height:84px;padding-right:12px}.pda-header .header-click-area{height:100%;display:flex;align-items:center;flex-direction:row}.pda-header .pda-goback{background-image:url(https://img.alicdn.com/imgextra/i4/O1CN01O46CYm1Gc4yvZtk7A_!!6000000000642-2-tps-36-64.png);width:18px;height:32px;background-size:100%;margin-left:28px;margin-right:8px}.pda-header .pda-header-icon{height:36px;width:36px;margin-left:16px;background-size:100%;background-repeat:no-repeat;background-position:center}.pda-header .pda-header-icon-scan{background-image:url(https://img.alicdn.com/imgextra/i4/O1CN017UD9RM1vCKxsjxsrE_!!6000000006136-2-tps-68-68.png)}.pda-header .pda-header-icon-select{background-image:url(https://img.alicdn.com/imgextra/i2/O1CN0170QXc91udWriUp19S_!!6000000006060-2-tps-74-72.png)}.pda-header .pda-header-icon-read{background-image:url(https://img.alicdn.com/imgextra/i2/O1CN01EMphgH1ylYGXImCZn_!!6000000006619-2-tps-70-70.png)}.pda-header .pda-title-text{margin-left:16px;font-size:40px;flex:1}.pda-header .pda-header-more{background-image:url(https://img.alicdn.com/imgextra/i4/O1CN01dTdXds1p9gz4wKAve_!!6000000005318-2-tps-70-26.png)}.pda-header .pda-header-config{background-image:url(https://img.alicdn.com/imgextra/i3/O1CN01SKQH1k1p7rQYTBXdn_!!6000000005314-2-tps-56-60.png)}.pda-header .pda-menus{background-color:#fff;border-radius:8px 8px 0 0;width:100%;padding:24px;display:flex;flex-direction:column}.pda-header .pda-menus>*{margin-bottom:12px}.pda-button{display:block;box-sizing:border-box;padding-right:0;text-align:center;font-size:40px;height:90px;line-height:40px;color:#fff;background-color:#f3f4f8;border-radius:10px;width:100%;border-width:0;word-break:keep-all}.pda-button.pda-button-default{color:#000}.pda-button:active{background-color:#979797}.pda-button.pda-button-primary{background-color:#0091ea}.pda-button.pda-button-primary:active{background-color:#0074bb}.pda-button.pda-button-dark{background-color:#282828}.pda-button.pda-button-dark:active{background-color:#979797}.pda-button.pda-button-cutout{color:#0091ea;border-width:4px;border-color:#0091ea}.button-group{display:flex;flex-direction:row;padding:20px 24px;width:100%}.button-group .pda-button:not(:last-child){margin-right:16px}.pda-info-card{border-radius:16px;padding:16px;background-color:#fff;word-break:break-word}.pda-info-card .divda-info-card-title{font-size:32px;line-height:32px}.pda-info-card .pda-info-card-title-section{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.pda-info-card .pda-info-card-title-section .pda-info-card-title{font-size:32px;color:#666}.pda-info-card .pda-info-card-title-section .pda-info-card-tag{display:flex;align-items:center;justify-content:center;height:36px;padding:0 8px;background-color:#fc0;border-radius:8px}.pda-info-card .pda-info-card-highlight-section{display:flex;flex-direction:row;justify-content:space-between;align-items:flex-start}.pda-info-card .pda-info-card-highlight-section .pda-info-card-title{font-size:32px;color:#666;margin-top:20px}.pda-info-card .pda-info-card-highlight-section .pda-info-card-highlight{font-size:80px;line-height:64px;color:#0091ea;font-weight:700;display:flex;flex-direction:row;align-items:flex-end}.pda-info-card .pda-info-card-highlight-section .pda-info-card-highlight .pda-info-card-highlight1CN{font-size:64px}.pda-info-card .pda-info-card-highlight-section .pda-info-card-highlight .pda-info-card-highlight2{font-size:50px;line-height:40px}.pda-info-card .pda-info-card-highlight-section .pda-info-card-highlight .pda-info-card-highlight2CN{font-size:40px;line-height:40px}.pda-info-card .pda-info-card-bold{font-weight:700;font-size:40px;line-height:48px;color:#000;margin-top:16px}.pda-info-card .pda-info-card-list{margin-top:12px;color:#4a4a4a;font-size:32px;line-height:32px;word-break:break-all}.pda-info-card-progress{background-color:#f3f4f8;height:12px;border-radius:6px;margin-top:16px}.pda-info-card-progress .pda-info-card-progress-inside{background-color:#0091ea;height:12px;border-radius:6px}.pda-info-card.pda-info-card-dark{background-color:#000}.pda-info-card.pda-info-card-dark .pda-info-card-title{color:#999}.pda-info-card.pda-info-card-dark .pda-info-card-highlight,.pda-info-card.pda-info-card-dark .pda-info-card-bold{color:#fff}.pda-info-card.pda-info-card-dark .pda-info-card-list{color:#999}.pda-list-item{padding:24px 16px;border-radius:16px;position:relative}.pda-list-item div{margin:0}.pda-list-item>div{margin-bottom:12px}.pda-list-item>div:last-child{margin-bottom:0}.pda-list-item .pda-listitem-highlight{width:100%;font-size:40px;line-height:40px;font-weight:700;color:#fff;display:flex;flex-direction:row;justify-content:space-between}.pda-list-item .pda-listitem-highlight div:first-child{flex:1;word-break:normal;white-space:normal;word-break:break-word}.pda-list-item .pda-listitem-header,.pda-list-item .pda-listitem-state-text,.pda-list-item .pda-listitem-subinfo{font-size:32px;line-height:32px;color:#999;word-break:break-all}.pda-list-item .pda-listitem-state-block{display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:0}.pda-list-item .pda-listitem-state-block>div{padding:6px 10px;border-radius:4px;background-color:#0091ea;margin-bottom:12px;margin-right:12px;font-size:24px;line-height:24px}.pda-list-item .pda-listitem-state-block>div.success{background-color:#0f0}.pda-list-item .pda-listitem-state-block>div.warning{background-color:#fc0}.pda-list-item .pda-listitem-state-block>div.error{background-color:red}.pda-list-item .pda-listitem-icon{position:absolute;top:0;right:0;width:60px;height:60px;background-color:#0091ea;border-radius:0 16px;display:flex;justify-content:center;align-items:center;opacity:.85}.pda-list-item .listitem-icon-container{background-size:100%;background-repeat:no-repeat;width:16px;height:24px}.pda-list-item .listitem-icon-next{background-image:url(https://img.alicdn.com/imgextra/i4/O1CN01FkZisA1tCg1sj3b6U_!!6000000005866-2-tps-40-58.png)}.confirm-wrap{background:#ffffff;border-radius:6px 6px 0 0;padding-top:24px;width:100%}.confirm-wrap .confirm-content{padding:0 24px}.confirm-wrap .confirm-title{font-size:2.4rem;font-weight:700}.confirm-wrap .confirm-message,.confirm-wrap .confirm-sub-message{font-size:2.2rem;margin-bottom:1rem}.confirm-wrap .confirm-sub-block{display:flex;flex-direction:row}.confirm-wrap .confirm-sub-block .confirm-sub-label{white-space:nowrap}.confirm-wrap .confirm-sub-block .confirm-sub-content{margin-left:12px;word-wrap:break-word;word-break:break-all}.confirm-wrap .confirm-btns>*:not(:first-child){padding-top:0}.confirm-wrap.confirm-warning{background-color:red}.confirm-wrap.confirm-warning .pda-button{background-color:transparent;color:#000;border:2px solid black;border-radius:40px}.toast-wrap{background:#00FF00;border-radius:6px;padding:10px 15px;width:100%;box-sizing:border-box}.toast-wrap.warning{background-color:#ffcb00}.toast-wrap.error{background-color:red}.toast-wrap .toast-title{font-size:50px;font-weight:700}.toast-wrap .toast-message{font-size:32px}.op-overlay{top:0;left:0;position:fixed;right:0;bottom:0;display:flex;justify-content:center;align-items:center;background-color:#0006;z-index:100}.op-overlay.center{align-items:center;justify-content:center}.op-overlay.top{align-items:flex-start;justify-content:center}.op-overlay.bottom{align-items:flex-end;justify-content:center}.prompt-dialog{background:#ffffff;border-radius:6px 6px 0 0;padding:10px;width:80%}.prompt-dialog .prompt-title{font-size:30px;margin:10px 0}.prompt-dialog .prompt-input{transition:all .1s linear;border:1px solid #dcdfe6;background-color:#fff;outline:0;margin:0;font-weight:400;vertical-align:middle;background-color:#0000;color:#1f2633;font-size:24px;box-sizing:border-box;width:100%;padding:.5em;border-radius:4px}.prompt-dialog .prompt-input:hover,.prompt-dialog .prompt-input:active,.prompt-dialog .prompt-input:focus{border-color:#03c1fd}.prompt-dialog .prompt-btns{display:flex;margin-top:10px}.prompt-dialog .prompt-btns .pda-button{margin-left:10px}.prompt-dialog .prompt-btns .pda-button:first-child{margin-left:0}.mini-app-start-page{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100vw;height:100vh}.mini-app-start-page button{padding:.3em 3em;border-radius:6px;border:none;font-size:36px;background-color:#00bdff;color:#fff;margin-top:20px}.mini-app-start-page button:active{transform:scale(.95)}.mini-app-start-page .desc{opacity:.3}.local-debug-side{position:absolute;right:0;bottom:0}.presentation-card{margin:12px;background-color:#fff;border-radius:6px;text-align:center;padding:20px 6px}.presentation-card img{width:70%;height:auto}.presentation-card.transparent{background-color:transparent;color:#fff;margin-top:80px}.presentation-card .text{margin-top:12px;font-weight:700;font-size:32px}.presentation-card .sub-text{margin-top:6px;font-weight:700;font-size:24px;line-height:24px;color:#999}.android-pda-list .default-item{background-color:#282828;font-size:36px;padding:10px;border-radius:6px;color:#fff;display:flex;justify-content:space-between;align-items:center;cursor:pointer;margin-bottom:10px}.android-pda-list .default-item:hover,.android-pda-list .default-item:active,.android-pda-list .default-item:focus{background-color:#686868}.android-pda-list .default-item .text{flex:1}.android-pda-list .default-item .sub-text{font-size:80%;opacity:.7}.android-pda-list .default-item .sub-tags{display:flex}.android-pda-list .default-item .sub-tags .sub-tag-item{background-color:#0f0;padding:2px;font-size:60%;margin-right:3px;border-radius:2px;color:#000;line-height:1em}.android-pda-list .default-item .sub-tags .sub-tag-item:first-child{margin-left:0}.android-pda-list .default-item .extra{font-size:80%;opacity:.7}.baselayout-wrapper{height:100%;min-height:100%;display:flex;flex-direction:column;position:absolute;top:0;left:0;right:0;bottom:0;background-color:#000}.baselayout-wrapper .baselayout-container{padding:0 24px 16px;overflow-x:auto;flex:1}.baselayout-wrapper .baselayout-container>*{margin-top:16px}.baselayout-wrapper .baselayout-footer{padding:16px 0}.baselayout-wrapper .loading{position:absolute;top:0;left:0;right:0;bottom:0;color:#fff;background-color:#0006;background-image:url(https://img.alicdn.com/imgextra/i2/O1CN01PRSptR1YO1wOlBHCr_!!6000000003048-1-tps-240-240.gif);background-repeat:no-repeat;background-position:center;background-size:120px 120px}.wakekeyborard .wakekeyborard-icon{width:80px;height:80px;background-image:url(https://img.alicdn.com/imgextra/i3/O1CN01kxYh3U25Xzr9nAcYp_!!6000000007537-2-tps-240-240.png);background-size:100%;position:fixed;right:24px;bottom:24px}.wakekeyborard-overlay{position:fixed;top:0;right:0;left:0;bottom:0;background-color:#dedede33}.wakekeyborard-inputbox{width:100%;display:flex;flex-direction:row;height:85px;position:absolute;bottom:0;left:0;right:0}.wakekeyborard-inputbox input{width:100%;border-radius:16px 0 0;border:0;font-size:42px;background-color:#fff;padding-left:20px}.wakekeyborard-inputbox input:focus{outline:none}.wakekeyborard-inputbox input::-webkit-input-placeholder{color:#d1d1d6;font-size:32px}.wakekeyborard-inputbox button{width:150px;border:0;border-radius:0 16px 0 0;background-color:#fff}.pda-step-card{display:flex;flex-direction:row}.pda-step-card .pda-step-indictor{display:flex;flex-direction:column;align-items:center;margin-right:16px}.pda-step-card .pda-step-indictor .pda-step-indictor-top{width:1px;background-color:#bec0c6;flex:1}.pda-step-card .pda-step-indictor .pda-step-indictor-top-hidden{background-color:#fff0}.pda-step-card .pda-step-indictor .pda-step-indictor-center{height:24px;width:24px;border-radius:12px;background-color:#bec0c6}.pda-step-card .pda-step-indictor .pda-step-indictor-center-active{background-color:#0091ea}.pda-step-card .pda-step-indictor .pda-step-indictor-bottom{flex:1;width:1px;background-color:#bec0c6}.pda-step-card .pda-step-indictor .pda-step-indictor-bottom-hidden{background-color:#fff0}.pda-step{border-radius:16px;padding:24px 16px;background-color:#fff;margin-bottom:16px}.pda-step p{margin:0}.pda-step .pda-step-title{font-size:60px;color:#0091ea}.pda-step .pda-step-list{margin-top:8px;color:#4a4a4a;font-size:32px;line-height:32px}.pda-step.pda-step-dark{background-color:#000}.pda-step.pda-step-dark .pda-step-title{color:#fff}.pda-step.pda-step-dark .pda-step-list{color:#bec0c6}.pda-finish-card-top{display:flex;flex-direction:column;align-items:center;color:#fff}.pda-finish-card-top .pda-finish-card-img{width:100%;margin:50px auto 0}.pda-finish-card-top .pda-finish-card-title{font-size:50px;line-height:50px;color:#fff;font-weight:500;margin-bottom:16px;text-align:center}.pda-finish-card-top .pda-finish-card-list{margin-top:12px;color:#999;font-size:32px;line-height:30px;text-align:center}.pda-distance-card{border-radius:16px;padding:36px 16px;background-color:#fff}.pda-distance-card p{margin:0;font-size:28px;color:#738399}.pda-distance-card .pda-distance-card-highlight{font-size:60px;line-height:64px;color:#0091ea}.pda-distance-card .pda-distance-indictor{margin-top:36px;display:flex}.pda-distance-card .pda-distance-card-progress{background-color:#ebecf2;height:34px;border-radius:6px;border:4px solid #D9D9D9;margin-top:8px;position:relative}.pda-distance-card .pda-distance-card-progress .pda-distance-card-progress-indictor{position:absolute;bottom:0;left:5px}.pda-distance-card .pda-distance-card-progress .pda-distance-card-progress-inside{background-color:#0091ea;height:26px;border-radius:6px 0 0 6px}.pda-distance-card .pda-distance-label{display:flex;justify-content:space-between}.android-sub-card{background:#282828;border-radius:16px;padding:10px;color:#fff}.android-sub-card .android-sub-card-title-section{display:flex;justify-content:space-between}.android-sub-card .android-sub-card-title-section .android-sub-card-title{opacity:.6;font-size:21.312px}.android-sub-card .android-sub-card-title-section .android-sub-card-tag{margin-bottom:0}.android-sub-card .android-sub-card-title-section .android-sub-card-tag>div{padding:6px 10px;border-radius:4px;background-color:#0091ea;color:#fff;font-size:15.984px;line-height:15.984px}.android-sub-card .android-sub-card-title-section .android-sub-card-tag>div.success{background-color:#0f0}.android-sub-card .android-sub-card-title-section .android-sub-card-tag>div.warning{background-color:#fc0;color:#000}.android-sub-card .android-sub-card-title-section .android-sub-card-tag>div.error{background-color:red}.android-sub-card .android-sub-card-context{font-size:60px;line-height:60px;font-weight:700;word-break:break-all;word-wrap:break-word;margin-top:16px}.android-sub-card .android-sub-card-name{font-size:40px;line-height:40px;font-weight:700;margin-top:16px;margin-bottom:12px}.android-sub-card .android-sub-card-attrs{font-size:32px;line-height:32px;color:#999}.android-sub-card .android-sub-card-attrs>div{margin-top:12px}.select-card{padding-top:12px}.select-card p{color:#999;font-size:32px;line-height:40px;margin-bottom:12px;padding-left:16px}.select-card .select-card-content{background-color:#282828;padding:24px 24px 24px 16px;border-radius:16px;display:flex;flex-direction:row;justify-content:space-between;color:#fff;font-size:40px;line-height:40px}.select-card .select-icon{background-image:url(https://img.alicdn.com/imgextra/i1/O1CN01WnYl6Z1qBM3uInOvw_!!6000000005457-2-tps-40-68.png);background-size:100%;background-repeat:no-repeat;background-position:center;width:20px}.pda-app-list .pda-app-group{margin:25px}.pda-app-list .pda-app-group .group-name{line-height:1em;margin:0;font-size:32px;color:#fff;font-weight:400;opacity:.6}.pda-app-list .pda-app-group .group-apps{display:flex;flex-wrap:wrap;justify-content:space-between;margin-top:25px}.pda-app-list .pda-app-group .group-apps .app-item{display:flex;flex-direction:column;justify-content:center;align-items:center;background-image:linear-gradient(138deg,#0091EA 0%,#095FFF 100%);border-radius:12px;font-size:32px;color:#fff;min-height:126px;flex:1;min-width:48%;max-width:48%;margin-bottom:25px;cursor:pointer}.pda-app-list .pda-app-group .group-apps .app-item:hover,.pda-app-list .pda-app-group .group-apps .app-item:active,.pda-app-list .pda-app-group .group-apps .app-item:focus{background-image:linear-gradient(45deg,#0091EA 0%,#095FFF 100%);box-shadow:0 0 1px 2px #fff}.pda-app-list .pda-app-group .group-apps .app-item .app-name{text-align:center}.pda-app-list .pda-app-group .group-apps .app-item .app-subname{font-size:50%}.pda-infinite-scroll{margin-top:10px}.pda-infinite-scroll span{color:#999}.pda-infinite-scroll .pda-infinite-scroll-view{display:flex;align-items:center;justify-content:center}.action-sheet{position:fixed;z-index:1000;width:100%;height:100%;background-color:#00000059;top:0;left:0;display:none}.action-sheet .action-sheet-container{position:absolute;background-color:#fff;z-index:1010;width:100%;bottom:0;left:0;max-height:80%;border-radius:9.9px 9.9px 0 0;padding-bottom:10.56px;display:flex;flex-direction:column}.action-sheet .action-sheet-container .action-sheet-body{flex:1;overflow-y:auto}.action-sheet .action-sheet-container .action-sheet-sticky-bottom{border-top:2px solid #F2F2F2}.action-sheet .action-sheet-container .action-sheet-item{margin:10.56px 15.84px 0;background-color:#f3f4f8;height:54px;display:flex;align-items:center;justify-content:center;font-size:24px;border-radius:9.9px}.action-sheet .action-sheet-container .action-sheet-sticky-bottom-row{display:flex}.action-sheet.show{display:block}.action-sheet.show .action-sheet-container{animation:slide-in .3s ease-out}@keyframes slide-in{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}.pda-tag{display:inline-block;padding:6px 10px;border-radius:4px;background-color:#0091ea;margin-bottom:12px;margin-right:12px;font-size:24px;line-height:24px;word-break:keep-all}.pda-tag.pda-tag-success{background-color:#0f0}.pda-tag.pda-tag-warning{background-color:#fc0}.pda-tag.pda-tag-error{background-color:red}.simple-card{display:inline-block;padding:12px 0 12px 18px;border-radius:12px}.simple-card .simple-card-title{font-weight:700;font-size:56px;line-height:40px;margin-top:12px}.simple-card .simple-card-content{font-size:28px;line-height:40px;margin-top:12px}.simple-card.simple-card-default{background-color:#f3f4f9}.simple-card.simple-card-default .simple-card-title{color:#0091ea}.simple-card.simple-card-default .simple-card-content{color:#000}.simple-card.simple-card-error{background-color:red}.simple-card.simple-card-error .simple-card-title{color:#fff}.simple-card.simple-card-error .simple-card-content{color:#ffafb1}.simple-card.simple-card-dark{background-color:#282828}.simple-card.simple-card-dark .simple-card-title{color:#fff}.simple-card.simple-card-dark .simple-card-content{color:#999}.simple-card-block{background-color:#fff;padding:24px 12px;border-radius:12px}.simple-card-block .simple-card-block-header{display:flex;justify-content:space-between}.simple-card-block .simple-card-block-title{color:#666;font-size:32px;line-height:32px}.simple-card-block .simple-card-block-content{display:flex;flex-wrap:wrap}.simple-card-block .simple-card-block-content>div{min-width:190px;flex:1;margin-right:12px;margin-top:12px}
|
|
1
|
+
*{margin:0;padding:0}div{box-sizing:border-box}.op-overlay{top:0;left:0;position:fixed;right:0;bottom:0;display:flex;justify-content:center;align-items:center;background-color:#0006;z-index:100}.op-overlay.center{align-items:center;justify-content:center}.op-overlay.top{align-items:flex-start;justify-content:center}.op-overlay.bottom{align-items:flex-end;justify-content:center}.pda-header{background-color:#000;display:flex;flex-direction:row;align-items:center;color:#fff;height:84px;padding-right:12px}.pda-header .header-click-area{height:100%;display:flex;align-items:center;flex-direction:row}.pda-header .pda-goback{background-image:url(https://img.alicdn.com/imgextra/i4/O1CN01O46CYm1Gc4yvZtk7A_!!6000000000642-2-tps-36-64.png);width:18px;height:32px;background-size:100%;margin-left:28px;margin-right:8px}.pda-header .pda-header-icon{height:36px;width:36px;margin-left:16px;background-size:100%;background-repeat:no-repeat;background-position:center}.pda-header .pda-header-icon-scan{background-image:url(https://img.alicdn.com/imgextra/i4/O1CN017UD9RM1vCKxsjxsrE_!!6000000006136-2-tps-68-68.png)}.pda-header .pda-header-icon-select{background-image:url(https://img.alicdn.com/imgextra/i2/O1CN0170QXc91udWriUp19S_!!6000000006060-2-tps-74-72.png)}.pda-header .pda-header-icon-read{background-image:url(https://img.alicdn.com/imgextra/i2/O1CN01EMphgH1ylYGXImCZn_!!6000000006619-2-tps-70-70.png)}.pda-header .pda-title-text{margin-left:16px;font-size:40px;flex:1}.pda-header .pda-header-more{background-image:url(https://img.alicdn.com/imgextra/i4/O1CN01dTdXds1p9gz4wKAve_!!6000000005318-2-tps-70-26.png)}.pda-header .pda-header-config{background-image:url(https://img.alicdn.com/imgextra/i3/O1CN01SKQH1k1p7rQYTBXdn_!!6000000005314-2-tps-56-60.png)}.pda-header .pda-menus{background-color:#fff;border-radius:8px 8px 0 0;width:100%;padding:24px;display:flex;flex-direction:column}.pda-header .pda-menus>*{margin-bottom:12px}.pda-button{display:block;box-sizing:border-box;padding-right:0;text-align:center;font-size:40px;height:90px;line-height:40px;color:#fff;background-color:#f3f4f8;border-radius:10px;width:100%;border-width:0;word-break:keep-all}.pda-button.pda-button-default{color:#000}.pda-button:active{background-color:#979797}.pda-button.pda-button-primary{background-color:#0091ea}.pda-button.pda-button-primary:active{background-color:#0074bb}.pda-button.pda-button-dark{background-color:#282828}.pda-button.pda-button-dark:active{background-color:#979797}.pda-button.pda-button-cutout{color:#0091ea;border-width:4px;border-color:#0091ea}.button-group{display:flex;flex-direction:row;padding:20px 24px;width:100%}.button-group .pda-button:not(:last-child){margin-right:16px}.pda-info-card{border-radius:16px;padding:16px;background-color:#fff;word-break:break-word}.pda-info-card .divda-info-card-title{font-size:32px;line-height:32px}.pda-info-card .pda-info-card-title-section{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.pda-info-card .pda-info-card-title-section .pda-info-card-title{font-size:32px;color:#666}.pda-info-card .pda-info-card-title-section .pda-info-card-tag{display:flex;align-items:center;justify-content:center;height:36px;padding:0 8px;background-color:#fc0;border-radius:8px}.pda-info-card .pda-info-card-highlight-section{display:flex;flex-direction:row;justify-content:space-between;align-items:flex-start}.pda-info-card .pda-info-card-highlight-section .pda-info-card-title{font-size:32px;color:#666;margin-top:20px}.pda-info-card .pda-info-card-highlight-section .pda-info-card-highlight{font-size:80px;line-height:64px;color:#0091ea;font-weight:bold;display:flex;flex-direction:row;align-items:flex-end}.pda-info-card .pda-info-card-highlight-section .pda-info-card-highlight .pda-info-card-highlight1CN{font-size:64px}.pda-info-card .pda-info-card-highlight-section .pda-info-card-highlight .pda-info-card-highlight2{font-size:50px;line-height:40px}.pda-info-card .pda-info-card-highlight-section .pda-info-card-highlight .pda-info-card-highlight2CN{font-size:40px;line-height:40px}.pda-info-card .pda-info-card-bold{font-weight:bold;font-size:40px;line-height:48px;color:#000;margin-top:16px}.pda-info-card .pda-info-card-list{margin-top:12px;color:#4a4a4a;font-size:32px;line-height:32px;word-break:break-all}.pda-info-card-progress{background-color:#f3f4f8;height:12px;border-radius:6px;margin-top:16px}.pda-info-card-progress .pda-info-card-progress-inside{background-color:#0091ea;height:12px;border-radius:6px}.pda-info-card.pda-info-card-dark{background-color:#000}.pda-info-card.pda-info-card-dark .pda-info-card-title{color:#999}.pda-info-card.pda-info-card-dark .pda-info-card-highlight{color:#fff}.pda-info-card.pda-info-card-dark .pda-info-card-bold{color:#fff}.pda-info-card.pda-info-card-dark .pda-info-card-list{color:#999}.pda-list-item{padding:24px 16px;border-radius:16px;position:relative}.pda-list-item div{margin:0}.pda-list-item>div{margin-bottom:12px}.pda-list-item>div:last-child{margin-bottom:0}.pda-list-item .pda-listitem-highlight{width:100%;font-size:40px;line-height:40px;font-weight:bold;color:#fff;display:flex;flex-direction:row;justify-content:space-between}.pda-list-item .pda-listitem-highlight div:first-child{flex:1;word-break:normal;white-space:normal;word-break:break-word}.pda-list-item .pda-listitem-header,.pda-list-item .pda-listitem-state-text,.pda-list-item .pda-listitem-subinfo{font-size:32px;line-height:32px;color:#999;word-break:break-all}.pda-list-item .pda-listitem-state-block{display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:0}.pda-list-item .pda-listitem-state-block>div{padding:6px 10px;border-radius:4px;background-color:#0091ea;margin-bottom:12px;margin-right:12px;font-size:24px;line-height:24px}.pda-list-item .pda-listitem-state-block>div.success{background-color:#0f0}.pda-list-item .pda-listitem-state-block>div.warning{background-color:#fc0}.pda-list-item .pda-listitem-state-block>div.error{background-color:red}.pda-list-item .pda-listitem-icon{position:absolute;top:0;right:0;width:60px;height:60px;background-color:#0091ea;border-radius:0 16px;display:flex;justify-content:center;align-items:center;opacity:.85}.pda-list-item .listitem-icon-container{background-size:100%;background-repeat:no-repeat;width:16px;height:24px}.pda-list-item .listitem-icon-next{background-image:url(https://img.alicdn.com/imgextra/i4/O1CN01FkZisA1tCg1sj3b6U_!!6000000005866-2-tps-40-58.png)}.confirm-wrap{background:#ffffff;border-radius:6px 6px 0 0;padding-top:24px;width:100%}.confirm-wrap .confirm-content{padding:0 24px}.confirm-wrap .confirm-title{font-size:2.4rem;font-weight:700}.confirm-wrap .confirm-message{font-size:2.2rem;margin-bottom:1rem}.confirm-wrap .confirm-sub-message{font-size:2.2rem;margin-bottom:1rem}.confirm-wrap .confirm-sub-block{display:flex;flex-direction:row}.confirm-wrap .confirm-sub-block .confirm-sub-label{white-space:nowrap}.confirm-wrap .confirm-sub-block .confirm-sub-content{margin-left:12px;word-wrap:break-word;word-break:break-all}.confirm-wrap .confirm-btns>*:not(:first-child){padding-top:0}.confirm-wrap.confirm-warning{background-color:red}.confirm-wrap.confirm-warning .pda-button{background-color:transparent;color:#000;border:2px solid black;border-radius:40px}.toast-wrap{background:#00FF00;border-radius:6px;padding:10px 15px;width:100%;box-sizing:border-box}.toast-wrap.warning{background-color:#ffcb00}.toast-wrap.error{background-color:red}.toast-wrap .toast-title{font-size:50px;font-weight:bold}.toast-wrap .toast-message{font-size:32px}.op-overlay{top:0;left:0;position:fixed;right:0;bottom:0;display:flex;justify-content:center;align-items:center;background-color:#0006;z-index:100}.op-overlay.center{align-items:center;justify-content:center}.op-overlay.top{align-items:flex-start;justify-content:center}.op-overlay.bottom{align-items:flex-end;justify-content:center}.prompt-dialog{background:#ffffff;border-radius:6px 6px 0 0;padding:10px;width:80%}.prompt-dialog .prompt-title{font-size:30px;margin:10px 0}.prompt-dialog .prompt-input{transition:all .1s linear;border:1px solid #dcdfe6;background-color:#fff;outline:0;margin:0;font-weight:400;vertical-align:middle;background-color:#0000;color:#1f2633;font-size:24px;box-sizing:border-box;width:100%;padding:.5em;border-radius:4px}.prompt-dialog .prompt-input:hover,.prompt-dialog .prompt-input:active,.prompt-dialog .prompt-input:focus{border-color:#03c1fd}.prompt-dialog .prompt-btns{display:flex;margin-top:10px}.prompt-dialog .prompt-btns .pda-button{margin-left:10px}.prompt-dialog .prompt-btns .pda-button:first-child{margin-left:0}.mini-app-start-page{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100vw;height:100vh}.mini-app-start-page button{padding:.3em 3em;border-radius:6px;border:none;font-size:36px;background-color:#00bdff;color:#fff;margin-top:20px}.mini-app-start-page button:active{transform:scale(.95)}.mini-app-start-page .desc{opacity:.3}.local-debug-side{position:absolute;right:0;bottom:0}.presentation-card{margin:12px;background-color:#fff;border-radius:6px;text-align:center;padding:20px 6px}.presentation-card img{width:70%;height:auto}.presentation-card.transparent{background-color:transparent;color:#fff;margin-top:80px}.presentation-card .text{margin-top:12px;font-weight:700;font-size:32px}.presentation-card .sub-text{margin-top:6px;font-weight:700;font-size:24px;line-height:24px;color:#999}.android-pda-list .default-item{background-color:#282828;font-size:36px;padding:10px;border-radius:6px;color:#fff;display:flex;justify-content:space-between;align-items:center;cursor:pointer;margin-bottom:10px}.android-pda-list .default-item:hover,.android-pda-list .default-item:active,.android-pda-list .default-item:focus{background-color:#686868}.android-pda-list .default-item .text{flex:1}.android-pda-list .default-item .sub-text{font-size:80%;opacity:.7}.android-pda-list .default-item .sub-tags{display:flex}.android-pda-list .default-item .sub-tags .sub-tag-item{background-color:#0f0;padding:2px;font-size:60%;margin-right:3px;border-radius:2px;color:#000;line-height:1em}.android-pda-list .default-item .sub-tags .sub-tag-item:first-child{margin-left:0}.android-pda-list .default-item .extra{font-size:80%;opacity:.7}.baselayout-wrapper{height:100%;min-height:100%;display:flex;flex-direction:column;position:absolute;top:0;left:0;right:0;bottom:0;background-color:#000}.baselayout-wrapper .baselayout-container{padding:0 24px 16px;overflow-x:auto;flex:1}.baselayout-wrapper .baselayout-container>*{margin-top:16px}.baselayout-wrapper .baselayout-footer{padding:16px 0}.baselayout-wrapper .loading{position:absolute;top:0;left:0;right:0;bottom:0;color:#fff;background-color:#0006;background-image:url(https://img.alicdn.com/imgextra/i2/O1CN01PRSptR1YO1wOlBHCr_!!6000000003048-1-tps-240-240.gif);background-repeat:no-repeat;background-position:center;background-size:120px 120px}.wakekeyborard .wakekeyborard-icon{width:80px;height:80px;background-image:url(https://img.alicdn.com/imgextra/i3/O1CN01kxYh3U25Xzr9nAcYp_!!6000000007537-2-tps-240-240.png);background-size:100%;position:fixed;right:24px;bottom:24px}.wakekeyborard-overlay{position:fixed;top:0;right:0;left:0;bottom:0;background-color:#dedede33}.wakekeyborard-inputbox{width:100%;display:flex;flex-direction:row;height:85px;position:absolute;bottom:0;left:0;right:0}.wakekeyborard-inputbox input{width:100%;border-radius:16px 0 0;border:0;font-size:42px;background-color:#fff;padding-left:20px}.wakekeyborard-inputbox input:focus{outline:none}.wakekeyborard-inputbox input::-webkit-input-placeholder{color:#d1d1d6;font-size:32px}.wakekeyborard-inputbox button{width:150px;border:0;border-radius:0 16px 0 0;background-color:#fff}.v-mask{position:fixed;top:0;left:0;z-index:1000;display:block;width:100%;height:100%;background:rgba(0,0,0,.75);opacity:1;display:unset}.v-mask .image-viewer-content{width:100vw;height:100vh;max-height:-webkit-fill-available;touch-action:none}.v-mask .image-viewer-slides{height:100%;position:relative;z-index:1;cursor:grab;touch-action:none}.v-mask .image-viewer-indicator{position:absolute;z-index:2;left:50%;top:12px;transform:translate(-50%);color:#e6e6e6;font-size:14px}.v-mask .viewer-image-close{position:absolute;right:6px}.v-mask .viewer-image-close svg{fill:#fff;background:rgba(0,0,0,.3);box-sizing:content-box;height:24px;padding:12px;width:24px}.v-mask .image-viewer-slides-inner{height:100%;white-space:nowrap}.v-mask .image-viewer-image-wrapper{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.v-mask .image-viewer-image-wrapper img{display:block;max-width:100%;max-height:100%}.v-mask .viewer-image-arrow{position:absolute;top:calc(50% - 10px);z-index:999}.v-mask .viewer-image-arrow svg{fill:#fff;background:rgba(0,0,0,.3);box-sizing:content-box;height:24px;padding:18px;width:24px}.v-mask .viewer-prev{left:0}.v-mask .viewer-next{right:0}.v-mask .image-viewer-loading{display:flex;justify-content:center;align-items:center;position:fixed;left:0;top:0;width:100%;height:100%;background-color:#0000009d;z-index:998}.v-mask .image-viewer-loading .image-viewer-loading-reactor{animation:PhotoView__delayShow .4s linear both}.v-mask .image-viewer-loading .image-viewer-loading-reactor svg{animation:PhotoView__rotate .6s linear infinite}.image-uploader-wrap{display:inline-flex;flex-wrap:wrap;margin-bottom:8px}.image-space-item{margin-right:8px;padding-bottom:8px}.image-space-item .image-uploader-cell{position:relative;width:80px;height:80px;border-radius:4px;overflow:hidden}.image-space-item .image-uploader-cell-image{width:80px;height:80px}.image-space-item .image-uploader-cell-delete{position:absolute;top:0;right:0;width:14px;height:14px;background-color:#000000b3;border-radius:0 0 0 12px;font-size:8px;color:#fff;cursor:pointer}.image-space-item .image-uploader-cell-delete .uploader-delete-icon{position:absolute;right:2px;top:2px;display:inline-block;object-fit:cover;width:8px;height:8px}.image-space-item .image-uploader-img{object-fit:cover;display:block;width:100%;height:100%}.image-space-item .image-uploader-upload-button-wrap{position:relative}.image-space-item .image-uploader-upload-button-wrap .image-uploader-upload-button{display:flex;justify-content:center;align-items:center;background-color:#a2a2a2;cursor:pointer}.image-space-item .image-uploader-upload-button-wrap .uploader-add-icon{display:inline-block;object-fit:cover;width:32px;height:32px}.image-uploader-loading{display:flex;justify-content:center;align-items:center;position:fixed;left:0;top:0;width:100%;height:100%;background-color:#0000009d}.image-uploader-loading .image-uploader-loading-reactor{animation:PhotoView__delayShow .4s linear both}.image-uploader-loading .image-uploader-loading-reactor svg{animation:PhotoView__rotate .6s linear infinite}@keyframes PhotoView__rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes PhotoView__delayShow{0%,50%{opacity:0}to{opacity:1}}.pda-step-card{display:flex;flex-direction:row}.pda-step-card .pda-step-indictor{display:flex;flex-direction:column;align-items:center;margin-right:16px}.pda-step-card .pda-step-indictor .pda-step-indictor-top{width:1px;background-color:#bec0c6;flex:1}.pda-step-card .pda-step-indictor .pda-step-indictor-top-hidden{background-color:#fff0}.pda-step-card .pda-step-indictor .pda-step-indictor-center{height:24px;width:24px;border-radius:12px;background-color:#bec0c6}.pda-step-card .pda-step-indictor .pda-step-indictor-center-active{background-color:#0091ea}.pda-step-card .pda-step-indictor .pda-step-indictor-bottom{flex:1;width:1px;background-color:#bec0c6}.pda-step-card .pda-step-indictor .pda-step-indictor-bottom-hidden{background-color:#fff0}.pda-step{border-radius:16px;padding:24px 16px;background-color:#fff;margin-bottom:16px}.pda-step p{margin:0}.pda-step .pda-step-title{font-size:60px;color:#0091ea}.pda-step .pda-step-list{margin-top:8px;color:#4a4a4a;font-size:32px;line-height:32px}.pda-step.pda-step-dark{background-color:#000}.pda-step.pda-step-dark .pda-step-title{color:#fff}.pda-step.pda-step-dark .pda-step-list{color:#bec0c6}.pda-finish-card-top{display:flex;flex-direction:column;align-items:center;color:#fff}.pda-finish-card-top .pda-finish-card-img{width:100%;margin:50px auto 0}.pda-finish-card-top .pda-finish-card-title{font-size:50px;line-height:50px;color:#fff;font-weight:500;margin-bottom:16px;text-align:center}.pda-finish-card-top .pda-finish-card-list{margin-top:12px;color:#999;font-size:32px;line-height:30px;text-align:center}.pda-distance-card{border-radius:16px;padding:36px 16px;background-color:#fff}.pda-distance-card p{margin:0;font-size:28px;color:#738399}.pda-distance-card .pda-distance-card-highlight{font-size:60px;line-height:64px;color:#0091ea}.pda-distance-card .pda-distance-indictor{margin-top:36px;display:flex}.pda-distance-card .pda-distance-card-progress{background-color:#ebecf2;height:34px;border-radius:6px;border:4px solid #D9D9D9;margin-top:8px;position:relative}.pda-distance-card .pda-distance-card-progress .pda-distance-card-progress-indictor{position:absolute;bottom:0;left:5px}.pda-distance-card .pda-distance-card-progress .pda-distance-card-progress-inside{background-color:#0091ea;height:26px;border-radius:6px 0 0 6px}.pda-distance-card .pda-distance-label{display:flex;justify-content:space-between}.android-sub-card{background:#282828;border-radius:16px;padding:10px;color:#fff}.android-sub-card .android-sub-card-title-section{display:flex;justify-content:space-between}.android-sub-card .android-sub-card-title-section .android-sub-card-title{opacity:.6;font-size:21.312px}.android-sub-card .android-sub-card-title-section .android-sub-card-tag{margin-bottom:0}.android-sub-card .android-sub-card-title-section .android-sub-card-tag>div{padding:6px 10px;border-radius:4px;background-color:#0091ea;color:#fff;font-size:15.984px;line-height:15.984px}.android-sub-card .android-sub-card-title-section .android-sub-card-tag>div.success{background-color:#0f0}.android-sub-card .android-sub-card-title-section .android-sub-card-tag>div.warning{background-color:#fc0;color:#000}.android-sub-card .android-sub-card-title-section .android-sub-card-tag>div.error{background-color:red}.android-sub-card .android-sub-card-context{font-size:60px;line-height:60px;font-weight:bold;word-break:break-all;word-wrap:break-word;margin-top:16px}.android-sub-card .android-sub-card-name{font-size:40px;line-height:40px;font-weight:bold;margin-top:16px;margin-bottom:12px}.android-sub-card .android-sub-card-attrs{font-size:32px;line-height:32px;color:#999}.android-sub-card .android-sub-card-attrs>div{margin-top:12px}.select-card{padding-top:12px}.select-card p{color:#999;font-size:32px;line-height:40px;margin-bottom:12px;padding-left:16px}.select-card .select-card-content{background-color:#282828;padding:24px 24px 24px 16px;border-radius:16px;display:flex;flex-direction:row;justify-content:space-between;color:#fff;font-size:40px;line-height:40px}.select-card .select-icon{background-image:url(https://img.alicdn.com/imgextra/i1/O1CN01WnYl6Z1qBM3uInOvw_!!6000000005457-2-tps-40-68.png);background-size:100%;background-repeat:no-repeat;background-position:center;width:20px}.pda-app-list .pda-app-group{margin:25px}.pda-app-list .pda-app-group .group-name{line-height:1em;margin:0;font-size:32px;color:#fff;font-weight:400;opacity:.6}.pda-app-list .pda-app-group .group-apps{display:flex;flex-wrap:wrap;justify-content:space-between;margin-top:25px}.pda-app-list .pda-app-group .group-apps .app-item{display:flex;flex-direction:column;justify-content:center;align-items:center;background-image:linear-gradient(138deg,#0091EA 0%,#095FFF 100%);border-radius:12px;font-size:32px;color:#fff;min-height:126px;flex:1;min-width:48%;max-width:48%;margin-bottom:25px;cursor:pointer}.pda-app-list .pda-app-group .group-apps .app-item:hover,.pda-app-list .pda-app-group .group-apps .app-item:active,.pda-app-list .pda-app-group .group-apps .app-item:focus{background-image:linear-gradient(45deg,#0091EA 0%,#095FFF 100%);box-shadow:0 0 1px 2px #fff}.pda-app-list .pda-app-group .group-apps .app-item .app-name{text-align:center}.pda-app-list .pda-app-group .group-apps .app-item .app-subname{font-size:50%}.pda-infinite-scroll{margin-top:10px}.pda-infinite-scroll span{color:#999}.pda-infinite-scroll .pda-infinite-scroll-view{display:flex;align-items:center;justify-content:center}.action-sheet{position:fixed;z-index:1000;width:100%;height:100%;background-color:#00000059;top:0;left:0;display:none}.action-sheet .action-sheet-container{position:absolute;background-color:#fff;z-index:1010;width:100%;bottom:0;left:0;max-height:80%;border-radius:9.9px 9.9px 0 0;padding-bottom:10.56px;display:flex;flex-direction:column}.action-sheet .action-sheet-container .action-sheet-body{flex:1;overflow-y:auto}.action-sheet .action-sheet-container .action-sheet-sticky-bottom{border-top:2px solid #F2F2F2}.action-sheet .action-sheet-container .action-sheet-item{margin:10.56px 15.84px 0;background-color:#f3f4f8;height:54px;display:flex;align-items:center;justify-content:center;font-size:24px;border-radius:9.9px}.action-sheet .action-sheet-container .action-sheet-sticky-bottom-row{display:flex}.action-sheet.show{display:block}.action-sheet.show .action-sheet-container{animation:slide-in .3s ease-out}@keyframes slide-in{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}.pda-tag{display:inline-block;padding:6px 10px;border-radius:4px;background-color:#0091ea;margin-bottom:12px;margin-right:12px;font-size:24px;line-height:24px;word-break:keep-all}.pda-tag.pda-tag-success{background-color:#0f0}.pda-tag.pda-tag-warning{background-color:#fc0}.pda-tag.pda-tag-error{background-color:red}.simple-card{display:inline-block;padding:12px 0 12px 18px;border-radius:12px}.simple-card .simple-card-title{font-weight:bold;font-size:56px;line-height:40px;margin-top:12px}.simple-card .simple-card-content{font-size:28px;line-height:40px;margin-top:12px}.simple-card.simple-card-default{background-color:#f3f4f9}.simple-card.simple-card-default .simple-card-title{color:#0091ea}.simple-card.simple-card-default .simple-card-content{color:#000}.simple-card.simple-card-error{background-color:red}.simple-card.simple-card-error .simple-card-title{color:#fff}.simple-card.simple-card-error .simple-card-content{color:#ffafb1}.simple-card.simple-card-dark{background-color:#282828}.simple-card.simple-card-dark .simple-card-title{color:#fff}.simple-card.simple-card-dark .simple-card-content{color:#999}.simple-card-block{background-color:#fff;padding:24px 12px;border-radius:12px}.simple-card-block .simple-card-block-header{display:flex;justify-content:space-between}.simple-card-block .simple-card-block-title{color:#666;font-size:32px;line-height:32px}.simple-card-block .simple-card-block-content{display:flex;flex-wrap:wrap}.simple-card-block .simple-card-block-content>div{min-width:190px;flex:1;margin-right:12px;margin-top:12px}
|