commodity-scan.css 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629
  1. /**
  2. * 这里是uni-app内置的常用样式变量
  3. *
  4. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  5. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  6. *
  7. */
  8. /**
  9. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  10. *
  11. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  12. */
  13. /* 颜色变量 */
  14. /* 行为相关颜色 */
  15. /* 文字基本颜色 */
  16. /* 背景颜色 */
  17. /* 边框颜色 */
  18. /* 尺寸变量 */
  19. /* 文字尺寸 */
  20. /* 图片尺寸 */
  21. /* Border Radius */
  22. /* 水平间距 */
  23. /* 垂直间距 */
  24. /* 透明度 */
  25. /* 文章场景相关 */
  26. uni-view[data-v-ac70166d], uni-scroll-view[data-v-ac70166d], uni-swiper-item[data-v-ac70166d] {
  27. display: flex;
  28. flex-direction: column;
  29. flex-shrink: 0;
  30. flex-grow: 0;
  31. flex-basis: auto;
  32. align-items: stretch;
  33. align-content: flex-start;
  34. }
  35. @font-face {
  36. font-family: "uicon-iconfont";
  37. src: url("https://at.alicdn.com/t/font_2225171_8kdcwk4po24.ttf") format("truetype");
  38. }
  39. .u-icon[data-v-ac70166d] {
  40. display: flex;
  41. align-items: center;
  42. }
  43. .u-icon--left[data-v-ac70166d] {
  44. flex-direction: row-reverse;
  45. align-items: center;
  46. }
  47. .u-icon--right[data-v-ac70166d] {
  48. flex-direction: row;
  49. align-items: center;
  50. }
  51. .u-icon--top[data-v-ac70166d] {
  52. flex-direction: column-reverse;
  53. justify-content: center;
  54. }
  55. .u-icon--bottom[data-v-ac70166d] {
  56. flex-direction: column;
  57. justify-content: center;
  58. }
  59. .u-icon__icon[data-v-ac70166d] {
  60. font-family: uicon-iconfont;
  61. position: relative;
  62. display: flex;
  63. flex-direction: row;
  64. align-items: center;
  65. }
  66. .u-icon__icon--primary[data-v-ac70166d] {
  67. color: #22ac38;
  68. }
  69. .u-icon__icon--success[data-v-ac70166d] {
  70. color: #22ac38;
  71. }
  72. .u-icon__icon--error[data-v-ac70166d] {
  73. color: #f56c6c;
  74. }
  75. .u-icon__icon--warning[data-v-ac70166d] {
  76. color: #f9ae3d;
  77. }
  78. .u-icon__icon--info[data-v-ac70166d] {
  79. color: #909399;
  80. }
  81. .u-icon__img[data-v-ac70166d] {
  82. height: auto;
  83. will-change: transform;
  84. }
  85. .u-icon__label[data-v-ac70166d] {
  86. line-height: 1;
  87. }
  88. /**
  89. * 这里是uni-app内置的常用样式变量
  90. *
  91. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  92. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  93. *
  94. */
  95. /**
  96. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  97. *
  98. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  99. */
  100. /* 颜色变量 */
  101. /* 行为相关颜色 */
  102. /* 文字基本颜色 */
  103. /* 背景颜色 */
  104. /* 边框颜色 */
  105. /* 尺寸变量 */
  106. /* 文字尺寸 */
  107. /* 图片尺寸 */
  108. /* Border Radius */
  109. /* 水平间距 */
  110. /* 垂直间距 */
  111. /* 透明度 */
  112. /* 文章场景相关 */
  113. uni-view[data-v-df79975b], uni-scroll-view[data-v-df79975b], uni-swiper-item[data-v-df79975b] {
  114. display: flex;
  115. flex-direction: column;
  116. flex-shrink: 0;
  117. flex-grow: 0;
  118. flex-basis: auto;
  119. align-items: stretch;
  120. align-content: flex-start;
  121. }
  122. .u-input[data-v-df79975b] {
  123. display: flex;
  124. flex-direction: row;
  125. align-items: center;
  126. justify-content: space-between;
  127. flex: 1;
  128. }
  129. .u-input--radius[data-v-df79975b], .u-input--square[data-v-df79975b] {
  130. border-radius: 4px;
  131. }
  132. .u-input--no-radius[data-v-df79975b] {
  133. border-radius: 0;
  134. }
  135. .u-input--circle[data-v-df79975b] {
  136. border-radius: 100px;
  137. }
  138. .u-input__content[data-v-df79975b] {
  139. flex: 1;
  140. display: flex;
  141. flex-direction: row;
  142. align-items: center;
  143. justify-content: space-between;
  144. }
  145. .u-input__content__field-wrapper[data-v-df79975b] {
  146. position: relative;
  147. display: flex;
  148. flex-direction: row;
  149. margin: 0;
  150. flex: 1;
  151. }
  152. .u-input__content__field-wrapper__field[data-v-df79975b] {
  153. line-height: 26px;
  154. text-align: left;
  155. color: #303133;
  156. height: 24px;
  157. font-size: 15px;
  158. flex: 1;
  159. }
  160. .u-input__content__clear[data-v-df79975b] {
  161. width: 20px;
  162. height: 20px;
  163. border-radius: 100px;
  164. background-color: #c6c7cb;
  165. display: flex;
  166. flex-direction: row;
  167. align-items: center;
  168. justify-content: center;
  169. transform: scale(0.82);
  170. margin-left: 4px;
  171. }
  172. .u-input__content__subfix-icon[data-v-df79975b] {
  173. margin-left: 4px;
  174. }
  175. .u-input__content__prefix-icon[data-v-df79975b] {
  176. margin-right: 4px;
  177. }
  178. /**
  179. * 这里是uni-app内置的常用样式变量
  180. *
  181. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  182. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  183. *
  184. */
  185. /**
  186. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  187. *
  188. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  189. */
  190. /* 颜色变量 */
  191. /* 行为相关颜色 */
  192. /* 文字基本颜色 */
  193. /* 背景颜色 */
  194. /* 边框颜色 */
  195. /* 尺寸变量 */
  196. /* 文字尺寸 */
  197. /* 图片尺寸 */
  198. /* Border Radius */
  199. /* 水平间距 */
  200. /* 垂直间距 */
  201. /* 透明度 */
  202. /* 文章场景相关 */
  203. uni-view[data-v-2af81691], uni-scroll-view[data-v-2af81691], uni-swiper-item[data-v-2af81691] {
  204. display: flex;
  205. flex-direction: column;
  206. flex-shrink: 0;
  207. flex-grow: 0;
  208. flex-basis: auto;
  209. align-items: stretch;
  210. align-content: flex-start;
  211. }
  212. .u-loading-icon[data-v-2af81691] {
  213. flex-direction: row;
  214. align-items: center;
  215. justify-content: center;
  216. color: #c8c9cc;
  217. }
  218. .u-loading-icon__text[data-v-2af81691] {
  219. margin-left: 4px;
  220. color: #606266;
  221. font-size: 14px;
  222. line-height: 20px;
  223. }
  224. .u-loading-icon__spinner[data-v-2af81691] {
  225. width: 30px;
  226. height: 30px;
  227. position: relative;
  228. box-sizing: border-box;
  229. max-width: 100%;
  230. max-height: 100%;
  231. animation: u-rotate-2af81691 1s linear infinite;
  232. }
  233. .u-loading-icon__spinner--semicircle[data-v-2af81691] {
  234. border-width: 2px;
  235. border-color: transparent;
  236. border-top-right-radius: 100px;
  237. border-top-left-radius: 100px;
  238. border-bottom-left-radius: 100px;
  239. border-bottom-right-radius: 100px;
  240. border-style: solid;
  241. }
  242. .u-loading-icon__spinner--circle[data-v-2af81691] {
  243. border-top-right-radius: 100px;
  244. border-top-left-radius: 100px;
  245. border-bottom-left-radius: 100px;
  246. border-bottom-right-radius: 100px;
  247. border-width: 2px;
  248. border-top-color: #e5e5e5;
  249. border-right-color: #e5e5e5;
  250. border-bottom-color: #e5e5e5;
  251. border-left-color: #e5e5e5;
  252. border-style: solid;
  253. }
  254. .u-loading-icon--vertical[data-v-2af81691] {
  255. flex-direction: column;
  256. }
  257. [data-v-2af81691]:host {
  258. font-size: 0px;
  259. line-height: 1;
  260. }
  261. .u-loading-icon__spinner--spinner[data-v-2af81691] {
  262. animation-timing-function: steps(12);
  263. }
  264. .u-loading-icon__text[data-v-2af81691]:empty {
  265. display: none;
  266. }
  267. .u-loading-icon--vertical .u-loading-icon__text[data-v-2af81691] {
  268. margin: 6px 0 0;
  269. color: #606266;
  270. }
  271. .u-loading-icon__dot[data-v-2af81691] {
  272. position: absolute;
  273. top: 0;
  274. left: 0;
  275. width: 100%;
  276. height: 100%;
  277. }
  278. .u-loading-icon__dot[data-v-2af81691]:before {
  279. display: block;
  280. width: 2px;
  281. height: 25%;
  282. margin: 0 auto;
  283. background-color: currentColor;
  284. border-radius: 40%;
  285. content: " ";
  286. }
  287. .u-loading-icon__dot[data-v-2af81691]:nth-of-type(1) {
  288. transform: rotate(30deg);
  289. opacity: 1;
  290. }
  291. .u-loading-icon__dot[data-v-2af81691]:nth-of-type(2) {
  292. transform: rotate(60deg);
  293. opacity: 0.9375;
  294. }
  295. .u-loading-icon__dot[data-v-2af81691]:nth-of-type(3) {
  296. transform: rotate(90deg);
  297. opacity: 0.875;
  298. }
  299. .u-loading-icon__dot[data-v-2af81691]:nth-of-type(4) {
  300. transform: rotate(120deg);
  301. opacity: 0.8125;
  302. }
  303. .u-loading-icon__dot[data-v-2af81691]:nth-of-type(5) {
  304. transform: rotate(150deg);
  305. opacity: 0.75;
  306. }
  307. .u-loading-icon__dot[data-v-2af81691]:nth-of-type(6) {
  308. transform: rotate(180deg);
  309. opacity: 0.6875;
  310. }
  311. .u-loading-icon__dot[data-v-2af81691]:nth-of-type(7) {
  312. transform: rotate(210deg);
  313. opacity: 0.625;
  314. }
  315. .u-loading-icon__dot[data-v-2af81691]:nth-of-type(8) {
  316. transform: rotate(240deg);
  317. opacity: 0.5625;
  318. }
  319. .u-loading-icon__dot[data-v-2af81691]:nth-of-type(9) {
  320. transform: rotate(270deg);
  321. opacity: 0.5;
  322. }
  323. .u-loading-icon__dot[data-v-2af81691]:nth-of-type(10) {
  324. transform: rotate(300deg);
  325. opacity: 0.4375;
  326. }
  327. .u-loading-icon__dot[data-v-2af81691]:nth-of-type(11) {
  328. transform: rotate(330deg);
  329. opacity: 0.375;
  330. }
  331. .u-loading-icon__dot[data-v-2af81691]:nth-of-type(12) {
  332. transform: rotate(360deg);
  333. opacity: 0.3125;
  334. }
  335. @keyframes u-rotate-2af81691 {
  336. 0% {
  337. transform: rotate(0deg);
  338. }
  339. to {
  340. transform: rotate(1turn);
  341. }
  342. }
  343. /**
  344. * 这里是uni-app内置的常用样式变量
  345. *
  346. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  347. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  348. *
  349. */
  350. /**
  351. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  352. *
  353. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  354. */
  355. /* 颜色变量 */
  356. /* 行为相关颜色 */
  357. /* 文字基本颜色 */
  358. /* 背景颜色 */
  359. /* 边框颜色 */
  360. /* 尺寸变量 */
  361. /* 文字尺寸 */
  362. /* 图片尺寸 */
  363. /* Border Radius */
  364. /* 水平间距 */
  365. /* 垂直间距 */
  366. /* 透明度 */
  367. /* 文章场景相关 */
  368. uni-view[data-v-5ce41ee6], uni-scroll-view[data-v-5ce41ee6], uni-swiper-item[data-v-5ce41ee6] {
  369. display: flex;
  370. flex-direction: column;
  371. flex-shrink: 0;
  372. flex-grow: 0;
  373. flex-basis: auto;
  374. align-items: stretch;
  375. align-content: flex-start;
  376. }
  377. .u-button[data-v-5ce41ee6] {
  378. width: 100%;
  379. }
  380. .u-button__text[data-v-5ce41ee6] {
  381. white-space: nowrap;
  382. line-height: 1;
  383. }
  384. .u-button[data-v-5ce41ee6]:before {
  385. position: absolute;
  386. top: 50%;
  387. left: 50%;
  388. width: 100%;
  389. height: 100%;
  390. border: inherit;
  391. border-radius: inherit;
  392. transform: translate(-50%, -50%);
  393. opacity: 0;
  394. content: " ";
  395. background-color: #000;
  396. border-color: #000;
  397. }
  398. .u-button--active[data-v-5ce41ee6]:before {
  399. opacity: 0.15;
  400. }
  401. .u-button__icon + .u-button__text[data-v-5ce41ee6]:not(:empty), .u-button__loading-text[data-v-5ce41ee6] {
  402. margin-left: 4px;
  403. }
  404. .u-button--plain.u-button--primary[data-v-5ce41ee6] {
  405. color: #22ac38;
  406. }
  407. .u-button--plain.u-button--info[data-v-5ce41ee6] {
  408. color: #909399;
  409. }
  410. .u-button--plain.u-button--success[data-v-5ce41ee6] {
  411. color: #22ac38;
  412. }
  413. .u-button--plain.u-button--error[data-v-5ce41ee6] {
  414. color: #f56c6c;
  415. }
  416. .u-button--plain.u-button--warning[data-v-5ce41ee6] {
  417. color: #f56c6c;
  418. }
  419. .u-button[data-v-5ce41ee6] {
  420. height: 52px;
  421. position: relative;
  422. align-items: center;
  423. justify-content: center;
  424. display: flex;
  425. flex-direction: row;
  426. box-sizing: border-box;
  427. flex-direction: row;
  428. }
  429. .u-button__text[data-v-5ce41ee6] {
  430. font-size: 16px;
  431. }
  432. .u-button__loading-text[data-v-5ce41ee6] {
  433. font-size: 16px;
  434. margin-left: 4px;
  435. }
  436. .u-button--large[data-v-5ce41ee6] {
  437. width: 100%;
  438. height: 64px;
  439. padding: 0 15px;
  440. font-size: 20px;
  441. }
  442. .u-button--normal[data-v-5ce41ee6] {
  443. padding: 0 12px;
  444. font-size: 16px;
  445. }
  446. .u-button--small[data-v-5ce41ee6] {
  447. min-width: 60px;
  448. height: 30px;
  449. padding: 0px 8px;
  450. font-size: 12px;
  451. }
  452. .u-button--mini[data-v-5ce41ee6] {
  453. height: 22px;
  454. font-size: 10px;
  455. min-width: 50px;
  456. padding: 0px 8px;
  457. }
  458. .u-button--disabled[data-v-5ce41ee6] {
  459. opacity: 0.5;
  460. }
  461. .u-button--info[data-v-5ce41ee6] {
  462. color: #323233;
  463. background-color: #fff;
  464. border-color: #ebedf0;
  465. border-width: 1px;
  466. border-style: solid;
  467. }
  468. .u-button--success[data-v-5ce41ee6] {
  469. color: #fff;
  470. background-color: #22ac38;
  471. border-color: #22ac38;
  472. border-width: 1px;
  473. border-style: solid;
  474. }
  475. .u-button--primary[data-v-5ce41ee6] {
  476. color: #fff;
  477. background-color: #22ac38;
  478. border-color: #22ac38;
  479. border-width: 1px;
  480. border-style: solid;
  481. }
  482. .u-button--error[data-v-5ce41ee6] {
  483. color: #fff;
  484. background-color: #f56c6c;
  485. border-color: #f56c6c;
  486. border-width: 1px;
  487. border-style: solid;
  488. }
  489. .u-button--warning[data-v-5ce41ee6] {
  490. color: #fff;
  491. background-color: #f9ae3d;
  492. border-color: #f9ae3d;
  493. border-width: 1px;
  494. border-style: solid;
  495. }
  496. .u-button--block[data-v-5ce41ee6] {
  497. display: flex;
  498. flex-direction: row;
  499. width: 100%;
  500. }
  501. .u-button--circle[data-v-5ce41ee6] {
  502. border-top-right-radius: 100px;
  503. border-top-left-radius: 100px;
  504. border-bottom-left-radius: 100px;
  505. border-bottom-right-radius: 100px;
  506. }
  507. .u-button--square[data-v-5ce41ee6] {
  508. border-bottom-left-radius: 3px;
  509. border-bottom-right-radius: 3px;
  510. border-top-left-radius: 3px;
  511. border-top-right-radius: 3px;
  512. }
  513. .u-button__icon[data-v-5ce41ee6] {
  514. min-width: 1em;
  515. line-height: inherit !important;
  516. vertical-align: top;
  517. }
  518. .u-button--plain[data-v-5ce41ee6] {
  519. background-color: #fff;
  520. }
  521. .u-button--hairline[data-v-5ce41ee6] {
  522. border-width: 0.5px !important;
  523. }
  524. /**
  525. * 这里是uni-app内置的常用样式变量
  526. *
  527. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  528. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  529. *
  530. */
  531. /**
  532. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  533. *
  534. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  535. */
  536. /* 颜色变量 */
  537. /* 行为相关颜色 */
  538. /* 文字基本颜色 */
  539. /* 背景颜色 */
  540. /* 边框颜色 */
  541. /* 尺寸变量 */
  542. /* 文字尺寸 */
  543. /* 图片尺寸 */
  544. /* Border Radius */
  545. /* 水平间距 */
  546. /* 垂直间距 */
  547. /* 透明度 */
  548. /* 文章场景相关 */
  549. .container[data-v-9a4165f6] {
  550. min-height: 100vh;
  551. background-color: #f5f5f5;
  552. }
  553. .header[data-v-9a4165f6] {
  554. background-color: #27ae60;
  555. padding: 0.625rem;
  556. color: white;
  557. text-align: center;
  558. font-size: 1.125rem;
  559. position: relative;
  560. }
  561. .header .title[data-v-9a4165f6] {
  562. font-weight: bold;
  563. }
  564. .main-content[data-v-9a4165f6] {
  565. padding: 20px;
  566. gap: 20px;
  567. }
  568. .input-group[data-v-9a4165f6] {
  569. display: flex;
  570. gap: 10px;
  571. margin-bottom: 0.9375rem;
  572. }
  573. .input-group[data-v-9a4165f6] .u-button {
  574. width: 5rem;
  575. }
  576. .input-group .u-input[data-v-9a4165f6] {
  577. background-color: #fff;
  578. }
  579. .status-box[data-v-9a4165f6] {
  580. margin: 0.625rem;
  581. background-color: #fff;
  582. border-radius: 0.3125rem;
  583. overflow: hidden;
  584. border: 1px solid #f0f0f0;
  585. }
  586. .status-box .status-header[data-v-9a4165f6] {
  587. background-color: #f1c40f;
  588. padding: 0.3125rem 0.625rem;
  589. color: #333;
  590. font-weight: bold;
  591. }
  592. .status-box .status-message[data-v-9a4165f6] {
  593. padding: 0.625rem;
  594. border-bottom: 1px solid #eee;
  595. font-weight: bold;
  596. }
  597. .status-box .status-option[data-v-9a4165f6] {
  598. padding: 0.3125rem 0.625rem;
  599. border-bottom: 1px solid #eee;
  600. }
  601. .status-box .footer[data-v-9a4165f6] {
  602. padding: 0.3125rem 0.625rem;
  603. color: #999;
  604. font-size: 0.75rem;
  605. text-align: right;
  606. }
  607. .fixed-bottom[data-v-9a4165f6] {
  608. position: fixed;
  609. bottom: 0;
  610. left: 0;
  611. right: 0;
  612. }
  613. .fixed-bottom .scan-button[data-v-9a4165f6] {
  614. background-color: #27ae60;
  615. }