upload.wxss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. /* pages/upload/upload.wxss */
  2. page{
  3. padding:0 32rpx 32rpx;
  4. }
  5. .label{
  6. font-size: 28rpx;
  7. font-weight: 500;
  8. margin: 32rpx 0 16rpx;
  9. }
  10. input,.picker,textarea{
  11. height: 88rpx;
  12. /* background: #F4F6F8; */
  13. border-radius: 8rpx;
  14. padding: 0 20rpx;
  15. font-size: 28rpx;
  16. width: 87%;
  17. border: 1px solid #E0E0E0;
  18. display: inline-block;
  19. vertical-align: middle;
  20. margin-right: 10rpx;
  21. }
  22. textarea{
  23. height: 300rpx;
  24. padding: 24rpx;
  25. width: 90%;
  26. }
  27. picker{
  28. width: 30%;
  29. }
  30. .picker{
  31. line-height: 88rpx;
  32. }
  33. .info{
  34. display: flex;
  35. margin-bottom: 15rpx;
  36. justify-content: space-between;
  37. position: relative;
  38. }
  39. .info input{
  40. /* width: 30%; */
  41. display: inline-block;
  42. }
  43. .info text{
  44. display: inline-block;
  45. line-height: 88rpx;
  46. vertical-align: top;
  47. }
  48. .add{
  49. /* background: #D94B24; */
  50. border: 1px solid #E0E0E0;
  51. width: 43%;
  52. /* display: inline-block; */
  53. color: #333;
  54. font-size: 32rpx;
  55. border-radius: 8rpx;
  56. line-height: 88rpx;
  57. text-align: center;
  58. vertical-align: top;
  59. }
  60. .openmarket{
  61. height: 88rpx;
  62. background: #F4F6F8;
  63. border-radius: 16rpx;
  64. padding: 0 20rpx;
  65. font-size: 28rpx;
  66. border: 1px solid #EEEEEE;
  67. margin: 16rpx 0;
  68. line-height: 88rpx;
  69. }
  70. .openmarket switch{
  71. float: right;
  72. position: relative;
  73. top: -4rpx;
  74. }
  75. .tips{
  76. margin-top: 32rpx;
  77. margin-bottom: 200rpx;
  78. }
  79. .tips text{
  80. display: block;
  81. color: #666;
  82. font-size: 24rpx;
  83. line-height: 40rpx;
  84. }
  85. form button:not([size='mini']){
  86. background: #D94B24;
  87. color: #fff;
  88. width: 90%;
  89. height: 88rpx;
  90. line-height: 88rpx;
  91. padding: 0;
  92. font-size: 32rpx;
  93. border-radius: 8rpx;
  94. margin-top: 50rpx;
  95. position: fixed;
  96. bottom: 0;
  97. margin-bottom: 10rpx;
  98. }
  99. .upload{
  100. width: 220rpx;
  101. }
  102. .note{
  103. font-size:22rpx;
  104. padding:10rpx 0rpx;
  105. color:#999;
  106. }
  107. .upload{
  108. width: 240rpx;
  109. height: 240rpx;
  110. background: #F7F7F7;
  111. border-radius: 8rpx;
  112. text-align: center;
  113. font-size: 30rpx;
  114. padding-top: 74rpx;
  115. display: inline-block;
  116. vertical-align: top;
  117. }
  118. .upload image{
  119. width: 50rpx;
  120. display: block;
  121. margin: 0 auto 8rpx;
  122. }
  123. .stock_imgs{
  124. display: inline-block;
  125. width: 240rpx;
  126. height:240rpx;
  127. vertical-align: top;
  128. position: relative;
  129. margin-right: 10rpx;
  130. margin-bottom: 10rpx;
  131. }
  132. .stock_imgs icon{
  133. position: absolute;
  134. right: 10rpx;
  135. top: 10rpx;
  136. }
  137. .stock_imgs image{
  138. border-radius: 8rpx;
  139. width:240rpx;height:240rpx;
  140. }
  141. .edit{
  142. text-align: center;
  143. position: absolute;
  144. bottom: 2px;
  145. left: 0;
  146. width: 100%;
  147. }
  148. .edit text{
  149. display: inline-block;
  150. color: #fff;
  151. background: #D94B24;
  152. border-radius: 32rpx;
  153. width: 100rpx;
  154. line-height: 48rpx;
  155. text-align: center;
  156. font-size: 28rpx;
  157. margin: 0 2px;
  158. }
  159. .stock_list{
  160. position: absolute;
  161. width: 43%;
  162. top: 100rpx;
  163. left: 0;
  164. overflow: auto;
  165. background: #fff;
  166. max-height: 300rpx;
  167. border:1px solid #E0E0E0;
  168. border-radius: 8rpx;
  169. padding: 10rpx;
  170. }
  171. .stock_list view{
  172. padding:10rpx;
  173. color: #666;
  174. }