tplus-components-touch 3.28.6 → 3.28.7

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.
Files changed (46) hide show
  1. package/dist/components/billSearch/api.js +74 -13
  2. package/dist/components/billSearch/api.js.map +1 -1
  3. package/dist/components/billSearch/index.js +36 -167
  4. package/dist/components/billSearch/index.js.map +1 -1
  5. package/dist/components/billSearch/index.less +3 -6
  6. package/dist/components/cloudPrint/api.js +43 -85
  7. package/dist/components/cloudPrint/api.js.map +1 -1
  8. package/dist/components/cloudPrint/printDispatch.js +108 -209
  9. package/dist/components/cloudPrint/printDispatch.js.map +1 -1
  10. package/dist/components/commonForm/addressPicker/index.js +16 -7
  11. package/dist/components/commonForm/addressPicker/index.js.map +1 -1
  12. package/dist/components/commonForm/index.js +9 -3
  13. package/dist/components/commonForm/index.js.map +1 -1
  14. package/dist/components/deliverySearch/index.js +1 -1
  15. package/dist/components/deliverySearch/index.js.map +1 -1
  16. package/dist/components/hotKey/localConfig.js +52 -0
  17. package/dist/components/hotKey/localConfig.js.map +1 -1
  18. package/dist/components/input/style.less +7 -0
  19. package/dist/components/inventorySearch/tab.js +67 -76
  20. package/dist/components/inventorySearch/tab.js.map +1 -1
  21. package/dist/components/keyboard/numberButton_input.js +2 -4
  22. package/dist/components/keyboard/numberButton_input.js.map +1 -1
  23. package/dist/components/keyboard/onlyLetterButton2.less +40 -35
  24. package/dist/components/loading/style.less +6 -8
  25. package/dist/components/presale/pickup.js +431 -0
  26. package/dist/components/presale/pickup.js.map +1 -0
  27. package/dist/components/presale/style.less +48 -0
  28. package/dist/components/settlement/settlement.js +235 -75
  29. package/dist/components/settlement/settlement.js.map +1 -1
  30. package/dist/components/settlement/settlement.less +7 -1
  31. package/dist/components/settlement/settlementStore.js +135 -105
  32. package/dist/components/settlement/settlementStore.js.map +1 -1
  33. package/dist/components/ticon/iconfont/demo_index.html +26 -3
  34. package/dist/components/ticon/iconfont/iconfont.css +7 -3
  35. package/dist/components/ticon/iconfont/iconfont.js +1 -1
  36. package/dist/components/ticon/iconfont/iconfont.js.map +1 -1
  37. package/dist/components/ticon/iconfont/iconfont.json +7 -0
  38. package/dist/components/ticon/iconfont/iconfont.ttf +0 -0
  39. package/dist/components/ticon/iconfont/iconfont.woff +0 -0
  40. package/dist/components/ticon/iconfont/iconfont.woff2 +0 -0
  41. package/dist/components/touchTable/index.js +12 -4
  42. package/dist/components/touchTable/index.js.map +1 -1
  43. package/dist/components/touchTable/index.less +13 -20
  44. package/dist/index.js +9 -16
  45. package/dist/index.js.map +1 -1
  46. package/package.json +2 -2
@@ -281,13 +281,11 @@ var KeyboardInput = (_temp = _class = function (_Component) {
281
281
  onSelect: this.handleMobileKeyboard,
282
282
  ref: function ref(input) {
283
283
  return _this2.input = input;
284
- }
285
- }),
284
+ } }),
286
285
  _react2.default.createElement(_index.Keyboard, {
287
286
  type: 'number2',
288
287
  positive: this.props.type,
289
- onChange: this.onChange
290
- })
288
+ onChange: this.onChange })
291
289
  );
292
290
  }
293
291
  }]);
@@ -1 +1 @@
1
- {"version":3,"sources":["tplus-components-touch/components/keyboard/numberButton_input.js"],"names":["KeyboardInput","props","inputChange","v","handleMobileKeyboard","newValue","max","min","type","maxLength","precisionLength","tools","isNull","value","tip","Message","info","match","length","length1","parseInt","length2","v1","v2","indexOf","slice","split","setState","onChange","state","key","handleOk","Keyboard","getNewValue","input","getValue","el","isMobileEnvironment","env","os","constant","ios","console","log","setAttribute","removeAttribute","setTimer","window","clearTimeout","setTimeout","onFocus","e","onRef","visible","platform","isHorizontalPad","props_old","b","hotKey","hotKeyNotFilter","marginBottom","placeholder","target","Component","propTypes","PropTypes","func","isRequired","string","number"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAAA;;;;;;;;;AAOA;;;;AAEA;;AACA;;AACA;;AACA;;;;AACA;;;;AACA;;;;AACA;;;;;;IAEqBA,a;;;AAYnB,yBAAYC,KAAZ,EAAmB;AAAA;;AAA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D,KAJT;AAKE,oBAAU,kBAACsC,CAAD;AAAA,mBAAO,OAAKjD,WAAL,CAAiBiD,EAAEW,MAAF,CAASjD,KAA1B,CAAP;AAAA,WALZ;AAME,mBAAS,KAAKqC,OANhB;AAOE,mBAAS,KAAK9C,oBAPhB;AAQE,oBAAU,KAAKA,oBARjB;AASE,eAAK;AAAA,mBAAS,OAAK8B,KAAL,GAAaA,KAAtB;AAAA;AATP,UADF;AAYE,sCAAC,eAAD;AACE,gBAAK,SADP;AAEE,oBAAU,KAAKjC,KAAL,CAAWO,IAFvB;AAGE,oBAAU,KAAKoB;AAHjB;AAZF,OADF;AAoBD;;;EAxLwCmC,gB,UAElCC,S,GAAY;AACjBpC,YAAUqC,oBAAUC,IAAV,CAAeC,UADR;AAEjBN,eAAaI,oBAAUG,MAFN;AAGjB5D,QAAMyD,oBAAUG,MAHC;AAIjB3D,aAAWwD,oBAAUI,MAJJ,EAIY;AAC7B3D,mBAAiBuD,oBAAUI,MALV,EAKkB;AACnC/D,OAAK2D,oBAAUI,MANE;AAOjB9D,OAAK0D,oBAAUI;AAPE,C;kBAFArE,a","file":"numberButton_input.js","sourcesContent":["/**\n * input + 数字键盘\n * @props {boolean} type \"positive\" 只支持正数,不传正负都可以\n * @props {number} max 最大值\n * @props {number} min 最小值\n */\n\nimport React, { Component } from 'react';\nimport { Input } from 'antd';\nimport { platform } from 'mutants-util';\nimport { env } from 'mutants-microfx';\nimport { Keyboard } from '../../index';\nimport PropTypes from 'prop-types';\nimport tools from '../../util/tools'\nimport Message from '../message/index'\nimport hotKey from '../hotKey'\n\nexport default class KeyboardInput extends Component {\n\n static propTypes = {\n onChange: PropTypes.func.isRequired,\n placeholder: PropTypes.string,\n type: PropTypes.string,\n maxLength: PropTypes.number, // 总长度\n precisionLength: PropTypes.number, // 小数总长\n max: PropTypes.number,\n min: PropTypes.number,\n }\n\n constructor(props) {\n super(props);\n this.props.onRef && this.props.onRef(this);\n this.state = {\n value: props.value || '',\n visible: false\n }\n const { isHorizontalPad } = platform || {};\n this.isMobileEnvironment = !!isHorizontalPad;\n this.setTimer = null;\n }\n\n componentDidMount() {\n this.setState({ value: this.props.value || '' })\n }\n\n componentDidUpdate(props_old, b) {\n if (props_old.visible != this.props.visible && this.props.visible == true) {\n this.setState({ value: this.props.value || '' })\n }\n }\n\n inputChange = (v) => {\n //对移动端键盘处理。\n this.handleMobileKeyboard();\n let newValue;\n if (v === '') {\n newValue = '';\n } else {\n //键盘大小控制\n const { max = {}, min = {}, type, maxLength, precisionLength } = this.props;\n if (!tools.isNull(max.value)) {\n if (v > max.value) {\n if (!tools.isNull(max.tip)) Message.info(max.tip);\n return;\n }\n }\n if (!tools.isNull(min.value)) {\n if (v < min.value) {\n if (!tools.isNull(min.tip)) Message.info(min.tip);\n return\n };\n }\n \n if (v.match(/\\./g) && v.match(/\\./g).length > 1) {\n return;\n }\n if (type == \"positive\") { // 只允许输入正数\n newValue = (v + '').match(/\\d+\\.?\\d*/);\n } else {\n newValue = (v + '').match(/^(\\-)?[(\\d*)|(\\d+\\.?\\d*)]*$/);\n }\n let length1 = maxLength ? parseInt(maxLength) : -1;\n let length2 = parseInt(precisionLength);\n if (length1 >= 0 && length2 >= 0) {\n let v = newValue[0] + '', v1, v2;\n if (v.indexOf('-') != -1) {\n v = v.slice(1, v.length);\n }\n v1 = v.split('.')[0];\n v2 = v.split('.')[1];\n if ((v1 && v1.length > (length1 - length2)) || (v2 && v2.length > length2) || (v1 && v1.length > (length1 - length2))) {\n return;\n }\n if (length2 == 0 && v.indexOf('.') > 0) { // 不允许小数的时候,也不允许小数点\n return;\n }\n }\n }\n this.setState({\n value: newValue && newValue[0] || ''\n }, () => {\n this.props.onChange && this.props.onChange(this.state.value);\n })\n }\n\n onChange = (key) => {\n //对移动端键盘处理。\n this.handleMobileKeyboard();\n const { max = {}, min = {}, handleOk, onChange, maxLength, precisionLength } = this.props;\n if (key == 'sure') {\n handleOk && handleOk(this.state.value);\n return;\n }\n let length1 = maxLength ? parseInt(maxLength) : -1;\n let length2 = parseInt(precisionLength);\n if (length2 == 0 && key == '.') {\n return;\n }\n let value = this.state.value + '';\n if (value == '' && key == '.') { // 不允许小数的时候,也不允许小数点\n return;\n }\n\n if ((value + '').indexOf('.') > 0 && key == '.') {\n return;\n }\n let newValue = Keyboard.getNewValue(this.input.input, value, key, true);\n //键盘大小控制\n if (!tools.isNull(max.value)) {\n if (newValue > max.value) {\n if (!tools.isNull(max.tip)) Message.info(max.tip);\n return;\n }\n }\n if (!tools.isNull(min.value)) {\n if (newValue < min.value) {\n if (!tools.isNull(min.tip)) Message.info(min.tip);\n return\n };\n }\n\n if (length1 && length2) {\n let v = newValue, v1, v2;\n if (newValue.indexOf('-') != -1) {\n v = newValue.slice(1, newValue.length);\n }\n v1 = v.split('.')[0];\n v2 = v.split('.')[1];\n if ((v1 && v1.length > (length1 - length2)) || (v2 && v2.length > length2) || (v1 && v1.length > (length1 - length2))) {\n return;\n }\n }\n this.setState({\n value: newValue\n }, () => {\n onChange && onChange(this.state.value);\n })\n }\n\n getValue = () => {\n return this.state.value;\n }\n\n //针对在移动端环境下,不需要系统键盘时的处理。\n handleMobileKeyboard = () => {\n let el = this.input && this.input.input;\n if (el && this.isMobileEnvironment && env.os !== env.constant.os.ios) {\n console.log('执行方法handleMobileKeyboard', el);\n if (!el.setAttribute || !el.removeAttribute) return;\n el.setAttribute('readonly', 'readonly');\n if (this.setTimer) window.clearTimeout(this.setTimer);\n this.setTimer = setTimeout(() => { el.removeAttribute('readonly') }, 200);\n }\n }\n\n onFocus = (e) => {\n this.handleMobileKeyboard()\n }\n\n render() {\n let { visible, value } = this.state;\n return (\n <div className='number-keyboard-input'>\n <Input\n className={hotKey.hotKeyNotFilter('keyboard-input')}\n style={{ marginBottom: '24px' }}\n placeholder={this.props.placeholder || ''}\n value={value}\n onChange={(e) => this.inputChange(e.target.value)}\n onFocus={this.onFocus}\n onClick={this.handleMobileKeyboard}\n onSelect={this.handleMobileKeyboard}\n ref={input => this.input = input} \n />\n <Keyboard\n type='number2'\n positive={this.props.type}\n onChange={this.onChange}\n />\n </div>\n )\n }\n}"]}
1
+ {"version":3,"sources":["tplus-components-touch/components/keyboard/numberButton_input.js"],"names":["KeyboardInput","props","inputChange","v","handleMobileKeyboard","newValue","max","min","type","maxLength","precisionLength","tools","isNull","value","tip","Message","info","match","length","length1","parseInt","length2","v1","v2","indexOf","slice","split","setState","onChange","state","key","handleOk","Keyboard","getNewValue","input","getValue","el","isMobileEnvironment","env","os","constant","ios","console","log","setAttribute","removeAttribute","setTimer","window","clearTimeout","setTimeout","onFocus","e","onRef","visible","platform","isHorizontalPad","props_old","b","hotKey","hotKeyNotFilter","marginBottom","placeholder","target","Component","propTypes","PropTypes","func","isRequired","string","number"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAAA;;;;;;;;;AAOA;;;;AAEA;;AACA;;AACA;;AACA;;;;AACA;;;;AACA;;;;AACA;;;;;;IAEqBA,a;;;AAYnB,yBAAYC,KAAZ,EAAmB;AAAA;;AAAA,oJACXA,KADW;;AAAA,UAsBnBC,WAtBmB,GAsBL,UAACC,CAAD,EAAO;AACnB;AACA,YAAKC,oBAAL;AACA,UAAIC,iBAAJ;AACA,UAAIF,MAAM,EAAV,EAAc;AACZE,mBAAW,EAAX;AACD,OAFD,MAEO;AACL;AADK,0BAE4D,MAAKJ,KAFjE;AAAA,0CAEGK,GAFH;AAAA,YAEGA,GAFH,mCAES,EAFT;AAAA,0CAEaC,GAFb;AAAA,YAEaA,GAFb,mCAEmB,EAFnB;AAAA,YAEuBC,IAFvB,eAEuBA,IAFvB;AAAA,YAE6BC,SAF7B,eAE6BA,SAF7B;AAAA,YAEwCC,eAFxC,eAEwCA,eAFxC;;AAGL,YAAI,CAACC,gBAAMC,MAAN,CAAaN,IAAIO,KAAjB,CAAL,EAA8B;AAC5B,cAAIV,IAAIG,IAAIO,KAAZ,EAAmB;AACjB,gBAAI,CAACF,gBAAMC,MAAN,CAAaN,IAAIQ,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BuD,oBAAUI,MALV,EAKkB;AACnC/D,OAAK2D,oBAAUI,MANE;AAOjB9D,OAAK0D,oBAAUI;AAPE,C;kBAFArE,a","file":"numberButton_input.js","sourcesContent":["/**\n * input + 数字键盘\n * @props {boolean} type \"positive\" 只支持正数,不传正负都可以\n * @props {number} max 最大值\n * @props {number} min 最小值\n */\n\nimport React, { Component } from 'react';\nimport { Input } from 'antd';\nimport { platform } from 'mutants-util';\nimport { env } from 'mutants-microfx';\nimport { Keyboard } from '../../index';\nimport PropTypes from 'prop-types';\nimport tools from '../../util/tools'\nimport Message from '../message/index'\nimport hotKey from '../hotKey'\n\nexport default class KeyboardInput extends Component {\n\n static propTypes = {\n onChange: PropTypes.func.isRequired,\n placeholder: PropTypes.string,\n type: PropTypes.string,\n maxLength: PropTypes.number, // 总长度\n precisionLength: PropTypes.number, // 小数总长\n max: PropTypes.number,\n min: PropTypes.number,\n }\n\n constructor(props) {\n super(props);\n this.props.onRef && this.props.onRef(this);\n this.state = {\n value: props.value || '',\n visible: false\n }\n const { isHorizontalPad } = platform || {};\n this.isMobileEnvironment = !!isHorizontalPad;\n this.setTimer = null;\n }\n\n componentDidMount() {\n this.setState({ value: this.props.value || '' })\n }\n\n componentDidUpdate(props_old, b) {\n if (props_old.visible != this.props.visible && this.props.visible == true) {\n this.setState({ value: this.props.value || '' })\n }\n }\n\n inputChange = (v) => {\n //对移动端键盘处理。\n this.handleMobileKeyboard();\n let newValue;\n if (v === '') {\n newValue = '';\n } else {\n //键盘大小控制\n const { max = {}, min = {}, type, maxLength, precisionLength } = this.props;\n if (!tools.isNull(max.value)) {\n if (v > max.value) {\n if (!tools.isNull(max.tip)) Message.info(max.tip);\n return;\n }\n }\n if (!tools.isNull(min.value)) {\n if (v < min.value) {\n if (!tools.isNull(min.tip)) Message.info(min.tip);\n return\n };\n }\n \n if (v.match(/\\./g) && v.match(/\\./g).length > 1) {\n return;\n }\n if (type == \"positive\") { // 只允许输入正数\n newValue = (v + '').match(/\\d+\\.?\\d*/);\n } else {\n newValue = (v + '').match(/^(\\-)?[(\\d*)|(\\d+\\.?\\d*)]*$/);\n }\n let length1 = maxLength ? parseInt(maxLength) : -1;\n let length2 = parseInt(precisionLength);\n if (length1 >= 0 && length2 >= 0) {\n let v = newValue[0] + '', v1, v2;\n if (v.indexOf('-') != -1) {\n v = v.slice(1, v.length);\n }\n v1 = v.split('.')[0];\n v2 = v.split('.')[1];\n if ((v1 && v1.length > (length1 - length2)) || (v2 && v2.length > length2) || (v1 && v1.length > (length1 - length2))) {\n return;\n }\n if (length2 == 0 && v.indexOf('.') > 0) { // 不允许小数的时候,也不允许小数点\n return;\n }\n }\n }\n this.setState({\n value: newValue && newValue[0] || ''\n }, () => {\n this.props.onChange && this.props.onChange(this.state.value);\n })\n }\n\n onChange = (key) => {\n //对移动端键盘处理。\n this.handleMobileKeyboard();\n const { max = {}, min = {}, handleOk, onChange, maxLength, precisionLength } = this.props;\n if (key == 'sure') {\n handleOk && handleOk(this.state.value);\n return;\n }\n let length1 = maxLength ? parseInt(maxLength) : -1;\n let length2 = parseInt(precisionLength);\n if (length2 == 0 && key == '.') {\n return;\n }\n let value = this.state.value + '';\n if (value == '' && key == '.') { // 不允许小数的时候,也不允许小数点\n return;\n }\n\n if ((value + '').indexOf('.') > 0 && key == '.') {\n return;\n }\n let newValue = Keyboard.getNewValue(this.input.input, value, key, true);\n //键盘大小控制\n if (!tools.isNull(max.value)) {\n if (newValue > max.value) {\n if (!tools.isNull(max.tip)) Message.info(max.tip);\n return;\n }\n }\n if (!tools.isNull(min.value)) {\n if (newValue < min.value) {\n if (!tools.isNull(min.tip)) Message.info(min.tip);\n return\n };\n }\n\n if (length1 && length2) {\n let v = newValue, v1, v2;\n if (newValue.indexOf('-') != -1) {\n v = newValue.slice(1, newValue.length);\n }\n v1 = v.split('.')[0];\n v2 = v.split('.')[1];\n if ((v1 && v1.length > (length1 - length2)) || (v2 && v2.length > length2) || (v1 && v1.length > (length1 - length2))) {\n return;\n }\n }\n this.setState({\n value: newValue\n }, () => {\n onChange && onChange(this.state.value);\n })\n }\n\n getValue = () => {\n return this.state.value;\n }\n\n //针对在移动端环境下,不需要系统键盘时的处理。\n handleMobileKeyboard = () => {\n let el = this.input && this.input.input;\n if (el && this.isMobileEnvironment && env.os !== env.constant.os.ios) {\n console.log('执行方法handleMobileKeyboard', el);\n if (!el.setAttribute || !el.removeAttribute) return;\n el.setAttribute('readonly', 'readonly');\n if (this.setTimer) window.clearTimeout(this.setTimer);\n this.setTimer = setTimeout(() => { el.removeAttribute('readonly') }, 200);\n }\n }\n\n onFocus = (e) => {\n this.handleMobileKeyboard()\n }\n\n render() {\n let { visible, value } = this.state;\n return (\n <div className='number-keyboard-input'>\n <Input\n className={hotKey.hotKeyNotFilter('keyboard-input')}\n style={{ marginBottom: '24px' }}\n placeholder={this.props.placeholder || ''}\n value={value}\n onChange={(e) => this.inputChange(e.target.value)}\n onFocus={this.onFocus}\n onClick={this.handleMobileKeyboard}\n onSelect={this.handleMobileKeyboard}\n ref={input => this.input = input} />\n\n <Keyboard\n type='number2'\n positive={this.props.type}\n onChange={this.onChange} />\n </div>\n )\n }\n}"]}
@@ -2,22 +2,22 @@
2
2
  @keyboard-font-color: #333;
3
3
  @themeColor: #FF8C25;
4
4
  .product-keyboarde-botton.letters-box {
5
- height: 100%;
6
- display: flex;
7
- justify-content: space-around;
8
- min-width: 766px;
9
- position: relative;
10
- padding-top: 19px;
11
- background: rgba(0, 0, 0, .6);
5
+
6
+ display: flex;
7
+ justify-content: space-around;
8
+ // min-width: 766px;
9
+ position: relative;
10
+ padding-top: 19px;
11
+ background: rgba(0, 0, 0, .6);
12
12
  .letters {
13
13
  max-width: 680px;
14
14
  width:81%;
15
15
 
16
16
  .letters-line {
17
- overflow: hidden;
17
+ height: 70px;
18
18
  width: 100%;
19
- height: 90px;
20
-
19
+ overflow: hidden;
20
+
21
21
  .disabled {
22
22
  background: #999;
23
23
  }
@@ -36,7 +36,7 @@
36
36
  span {
37
37
  display: flex;
38
38
  height: 100%;
39
- font-size: 20px !important;
39
+ font-size: 18px;
40
40
  border-radius: 6px;
41
41
  flex-direction: column;
42
42
  justify-content: center;
@@ -57,16 +57,12 @@
57
57
  width: 100%;
58
58
 
59
59
  .num {
60
- height: 58px;
61
- line-height: 58px;
62
- max-width: 164px;
63
- min-width: 33%;
60
+ height: 40px;
64
61
  margin: 0 0px 8px 0;
62
+ max-width: 164px;
65
63
  padding: 0 12px;
66
-
67
- span{
68
- font-size: 25px;
69
- }
64
+ line-height: 40px;
65
+ min-width: 33%;
70
66
  }
71
67
  }
72
68
 
@@ -77,6 +73,7 @@
77
73
  .del {
78
74
  height: 35px;
79
75
  margin: 0 8px 8px 0;
76
+
80
77
  }
81
78
 
82
79
  .sure {
@@ -86,37 +83,41 @@
86
83
  }
87
84
 
88
85
  .key {
89
- width: 9%;
90
86
  max-width: 62px;
91
- height: 72px;
87
+ width: 9%;
88
+ height: 52px;
92
89
  box-sizing: border-box;
93
90
  float: left;
91
+ padding: 0 4px;
94
92
  text-align: center;
95
93
  cursor: pointer;
96
94
  user-select: none;
95
+ // border: 1px solid #FF8C25;
96
+ // box-shadow: 0 2px 4px 0 rgba(242, 157, 14, 0.30);
97
+ ;
97
98
  border-radius: 6px;
98
- padding: 0 4px;
99
99
  span {
100
- height: 100%;
101
100
  display: flex;
102
- justify-content: center;
103
- flex-direction: column;
101
+ height: 100%;
102
+ font-size: 18px;
104
103
  border-radius: 6px;
105
- font-size: 25px;
104
+ flex-direction: column;
105
+ justify-content: center;
106
106
  }
107
107
  }
108
108
 
109
109
  .handle {
110
110
  width: 54px;
111
- font-size: 20px;
112
111
  .del {
112
+ float: none;
113
113
  width: 54px;
114
- height: 72px;
115
- line-height: 72px;
114
+ height: 52px;
116
115
  box-sizing: border-box;
117
116
  float: left;
118
117
  margin: 0 8px 18px 0;
119
118
  text-align: center;
119
+ line-height: 52px;
120
+ font-size: 18px;
120
121
  border-radius: 6px;
121
122
  cursor: pointer;
122
123
  user-select: none;
@@ -125,22 +126,26 @@
125
126
  justify-content: center;
126
127
  border-radius: 6px;
127
128
  }
129
+ .clear {
130
+ font-size: 16px;
131
+ }
128
132
  }
129
133
  .is-number {
130
134
  .delete {
131
- height: 62px;
132
- line-height: 62px;
135
+ height: 40px;
136
+ line-height: 40px;
133
137
  margin: 0 8px 8px 0;
134
138
  }
135
139
  .clear {
136
- height: 62px;
137
- line-height: 62px;
140
+ height: 40px;
141
+ line-height: 40px;
138
142
  margin: 0 8px 8px 0;
139
143
  }
140
144
  .sure {
141
- height: 116px;
142
- line-height: 116px;
145
+ height: 90px;
146
+ line-height: 90px;
143
147
  }
148
+
144
149
  }
145
150
  .bold {
146
151
  font-weight: 700;
@@ -17,22 +17,20 @@
17
17
  transform-origin: 50% 50%;
18
18
  position: absolute;
19
19
  .tplus-loading-spinner{
20
- display: flex;
21
- justify-content: center;
22
- align-items: center;
20
+ text-align: center;
23
21
  margin-bottom: 20px;
24
22
  .default-spinner-gif{
25
- width: 90px;
26
- height: 90px;
23
+ width: 150px;
24
+ height: 150px;
27
25
  }
28
26
  .shadows{
29
- width: 90px;
30
- height: 90px;
27
+ width: 150px;
28
+ height: 150px;
31
29
  border-radius: 50%;
32
30
  display: flex;
33
31
  align-items: center;
34
32
  justify-content: center;
35
- box-shadow: 0px 0px 15px 5px rgba(51, 51, 51, 0.08);
33
+ // box-shadow: 0px 0px 15px 5px rgba(51, 51, 51, 0.08);
36
34
  }
37
35
  }
38
36
  .tplus-loading-tip{