goods.scss 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370
  1. .goodslist {
  2. width: 100%;
  3. height: 100%;
  4. display: flex;
  5. align-items: center;
  6. justify-content: space-between;
  7. box-sizing: border-box;
  8. .goodslist-box {
  9. width: 100%;
  10. height: 100%;
  11. background: #ffffff;
  12. display: flex;
  13. .goodslist-left {
  14. width: 5rem;
  15. height: 100%;
  16. border-right: 0.01rem solid #e6e6e6;
  17. box-sizing: border-box;
  18. .notYet {
  19. color: #e6e6e6;
  20. font-size: 0.4rem;
  21. margin-top: 3rem;
  22. text-align: center;
  23. }
  24. .goods-title {
  25. text-align: center;
  26. line-height: 0.6rem;
  27. font-size: 0.18rem;
  28. font-weight: 500;
  29. height: 0.6rem;
  30. border-bottom: 0.01rem solid #e6e6e6;
  31. box-sizing: border-box;
  32. position: relative;
  33. .icongengduo1 {
  34. position: absolute;
  35. top: 50%;
  36. right: 0.2rem;
  37. transform: translateY(-50%);
  38. font-size: 0.3rem;
  39. color: $uni-color-primary;
  40. }
  41. }
  42. .goods-search {
  43. width: 100%;
  44. height: 0.6rem;
  45. border-bottom: 0.01rem solid #e6e6e6;
  46. display: flex;
  47. align-items: center;
  48. justify-content: center;
  49. padding: 0 0.2rem;
  50. box-sizing: border-box;
  51. .search {
  52. width: 5.6rem;
  53. height: 0.4rem;
  54. border-radius: 0.04rem;
  55. background: #f5f5f5;
  56. display: flex;
  57. align-items: center;
  58. padding: 0 0.2rem;
  59. box-sizing: border-box;
  60. .iconfont {
  61. font-size: 0.16rem;
  62. color: #909399;
  63. margin-right: 0.11rem;
  64. }
  65. input {
  66. width: 80%;
  67. height: 60%;
  68. border: none;
  69. font-size: 0.14rem;
  70. }
  71. }
  72. }
  73. .goods-list-scroll {
  74. width: 100%;
  75. height: calc(100% - 1.71rem);
  76. .itemhover {
  77. background: #f3eeff;
  78. }
  79. .item {
  80. width: 100%;
  81. display: flex;
  82. align-items: center;
  83. padding: 0.2rem;
  84. box-sizing: border-box;
  85. border-bottom: 0.01rem solid #e6e6e6;
  86. image {
  87. width: 0.7rem;
  88. height: 0.7rem;
  89. margin-right: 0.1rem;
  90. }
  91. .item-right {
  92. flex: 1;
  93. width: 0;
  94. display: flex;
  95. flex-direction: column;
  96. justify-content: space-between;
  97. height: 0.6rem;
  98. .goods-name {
  99. font-size: 0.16rem;
  100. }
  101. .goods-money {
  102. font-size: 0.14rem;
  103. color: #fe2278;
  104. }
  105. }
  106. }
  107. }
  108. }
  109. .goodslist-right {
  110. flex: 1;
  111. width: 0;
  112. height: 100%;
  113. border-right: 0.01rem solid #e6e6e6;
  114. box-sizing: border-box;
  115. position: relative;
  116. padding-bottom: 0.6rem;
  117. .goods-title {
  118. text-align: center;
  119. line-height: 0.6rem;
  120. font-size: 0.18rem;
  121. font-weight: 500;
  122. height: 0.6rem;
  123. border-bottom: 0.01rem solid #e6e6e6;
  124. box-sizing: border-box;
  125. position: relative;
  126. .icongengduo1 {
  127. position: absolute;
  128. top: 50%;
  129. right: 0.2rem;
  130. transform: translateY(-50%);
  131. font-size: 0.3rem;
  132. color: $uni-color-primary;
  133. }
  134. }
  135. .goods-information {
  136. width: 100%;
  137. padding: 0.2rem 0.2rem 0 0.2rem;
  138. box-sizing: border-box;
  139. height: calc(100% - 0.6rem);
  140. overflow: scroll;
  141. position: relative;
  142. .title {
  143. font-size: 0.18rem;
  144. margin-bottom: 0.32rem;
  145. }
  146. .title2 {
  147. margin-bottom: 0.35rem;
  148. }
  149. .information-box {
  150. display: flex;
  151. justify-content: space-between;
  152. .box-left {
  153. width: 5rem;
  154. .information {
  155. width: 100%;
  156. padding-left: 0.1rem;
  157. box-sizing: border-box;
  158. display: flex;
  159. align-items: center;
  160. margin-bottom: 0.3rem;
  161. view {
  162. color: #303133;
  163. font-size: 0.14rem;
  164. }
  165. view:nth-child(1) {
  166. width: 0.7rem;
  167. margin-right: 0.16rem;
  168. text-align: right;
  169. }
  170. view:nth-child(2) {
  171. flex: 1;
  172. margin-right: 0.23rem;
  173. text-overflow: ellipsis;
  174. overflow: hidden;
  175. white-space: nowrap;
  176. }
  177. }
  178. .information:last-child {
  179. margin-bottom: 0.35rem;
  180. }
  181. }
  182. .goods-img {
  183. width: 2rem;
  184. height: 2rem;
  185. }
  186. }
  187. .table {
  188. width: 100%;
  189. height: 2.7rem;
  190. box-sizing: border-box;
  191. .single-specification {
  192. width: 100%;
  193. max-height: 100%;
  194. padding-left: 0.1rem;
  195. box-sizing: border-box;
  196. .item {
  197. width: 100%;
  198. margin-bottom: 0.3rem;
  199. display: flex;
  200. align-items: center;
  201. image {
  202. width: 0.5rem;
  203. }
  204. .name {
  205. display: flex;
  206. align-items: center;
  207. margin-right: 0.16rem;
  208. width: 0.7rem;
  209. text-align: right;
  210. }
  211. .message {
  212. width: 74%;
  213. text-overflow: ellipsis;
  214. overflow: hidden;
  215. white-space: nowrap;
  216. }
  217. }
  218. }
  219. .table-all {
  220. width: 100%;
  221. display: flex;
  222. align-items: center;
  223. justify-content: space-between;
  224. padding: 0 0.38rem;
  225. box-sizing: border-box;
  226. .table-td {
  227. font-size: 0.14rem;
  228. text-align: left;
  229. text-overflow: ellipsis;
  230. overflow: hidden;
  231. white-space: nowrap;
  232. }
  233. }
  234. .table-th {
  235. height: 0.56rem;
  236. background: #f7f8fa;
  237. }
  238. .table-tb {
  239. width: 100%;
  240. height: calc(100% - 0.56rem);
  241. .table-tr {
  242. height: 0.7rem;
  243. border-bottom: 0.01rem solid #e6e6e6;
  244. box-sizing: border-box;
  245. .table-td {
  246. image {
  247. width: 0.5rem;
  248. height: 0.5rem;
  249. }
  250. text-overflow: -o-ellipsis-lastline;
  251. overflow: hidden;
  252. text-overflow: ellipsis;
  253. display: -webkit-box;
  254. -webkit-line-clamp: 2;
  255. line-clamp: 2;
  256. -webkit-box-orient: vertical;
  257. }
  258. }
  259. }
  260. }
  261. }
  262. }
  263. }
  264. }
  265. .no-center {
  266. width: 100%;
  267. height: 100%;
  268. display: flex;
  269. align-items: center;
  270. justify-content: center;
  271. font-size: 0.3rem;
  272. color: #909399;
  273. }
  274. view {
  275. color: #303133;
  276. }
  277. /deep/ .uni-scroll-view::-webkit-scrollbar {
  278. width: 0.05rem;
  279. height: 0.3rem;
  280. }
  281. /deep/ .uni-scroll-view::-webkit-scrollbar-thumb {
  282. border-radius: 0.1rem;
  283. box-shadow: inset 0 0 0.05rem rgba(0, 0, 0, 0.2);
  284. background: rgba(193, 193, 193, 1);
  285. }
  286. .goods-information::-webkit-scrollbar {
  287. width: 0.05rem;
  288. height: 0.3rem;
  289. }
  290. .goods-information::-webkit-scrollbar-thumb {
  291. border-radius: 0.1rem;
  292. box-shadow: inset 0 0 0.05rem rgba(0, 0, 0, 0.2);
  293. background: rgba(193, 193, 193, 1);
  294. }
  295. .button-box {
  296. width: 100%;
  297. position: absolute;
  298. right: 0;
  299. bottom: 0;
  300. background: #ffff;
  301. padding: 0.15rem 0.3rem;
  302. box-sizing: border-box;
  303. .button {
  304. width: 1rem;
  305. height: 0.4rem;
  306. color: $uni-color-primary;
  307. text-align: center;
  308. line-height: 0.4rem;
  309. float: right;
  310. font-size: 0.16rem;
  311. margin-left: 0.1rem;
  312. border: 0.01rem solid $uni-color-primary;
  313. }
  314. .buttonhvoer {
  315. color: #ffffff;
  316. background: $uni-color-primary;
  317. }
  318. }
  319. .button-box:after {
  320. overflow: hidden;
  321. content: '';
  322. height: 0;
  323. display: block;
  324. clear: both;
  325. }
  326. .cart-empty {
  327. position: absolute;
  328. top: 50%;
  329. left: 50%;
  330. transform: translate(-50%, -50%);
  331. width: 2.1rem;
  332. height: 1.55;
  333. }
  334. .exwarehouse-body {
  335. width: 6rem;
  336. min-height: 5rem;
  337. border-radius: 0.04rem !important;
  338. }
  339. view {
  340. color: #333;
  341. }
  342. .record-body {
  343. width: 10rem;
  344. min-height: 7rem;
  345. }
  346. .goods-class-list{
  347. padding: 0.1rem 0.15rem;
  348. display: flex;
  349. .class-item{
  350. padding: 0.05rem 0.15rem;
  351. color: #303133;
  352. border: 0.01rem solid #e6e6e6;
  353. margin-right: 0.1rem;
  354. &.active{
  355. border-color: #8558fa;
  356. color: #8558fa;
  357. }
  358. }
  359. }