index.acss 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342
  1. @charset "UTF-8";
  2. /**
  3. * 这里是uni-app内置的常用样式变量
  4. *
  5. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  6. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  7. *
  8. */
  9. /**
  10. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  11. *
  12. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  13. */
  14. /* 颜色变量 */
  15. /* 行为相关颜色 */
  16. /* 文字基本颜色 */
  17. /* 背景颜色 */
  18. /* 边框颜色 */
  19. /* 尺寸变量 */
  20. /* 文字尺寸 */
  21. /* 图片尺寸 */
  22. /* Border Radius */
  23. /* 水平间距 */
  24. /* 垂直间距 */
  25. /* 透明度 */
  26. /* 文章场景相关 */
  27. page {
  28. width: 750rpx;
  29. }
  30. page .content swiper {
  31. height: 389rpx;
  32. }
  33. page .content swiper swiper-item image {
  34. width: 100%;
  35. height: 100%;
  36. border-radius: 30rpx;
  37. }
  38. page .content .box {
  39. box-sizing: border-box;
  40. width: 750rpx;
  41. background: #FFFFFF;
  42. border-radius: 36rpx 36rpx 0px 0px;
  43. box-shadow: 0 -2rpx 2rpx rgba(0, 0, 0, 0.1);
  44. padding: 40rpx;
  45. display: -webkit-box;
  46. display: -webkit-flex;
  47. display: flex;
  48. -webkit-box-orient: vertical;
  49. -webkit-box-direction: normal;
  50. -webkit-flex-direction: column;
  51. flex-direction: column;
  52. }
  53. page .content .box .title {
  54. display: -webkit-box;
  55. display: -webkit-flex;
  56. display: flex;
  57. -webkit-box-pack: justify;
  58. -webkit-justify-content: space-between;
  59. justify-content: space-between;
  60. }
  61. page .content .box .title .left {
  62. height: 42rpx;
  63. font-size: 32rpx;
  64. font-family: PingFangSC-Medium, PingFang SC;
  65. font-weight: 600;
  66. color: #111111;
  67. line-height: 45rpx;
  68. }
  69. page .content .box .title .left text {
  70. font-weight: 500;
  71. color: #b0b0b0;
  72. font-size: 28rpx;
  73. margin-left: 8rpx;
  74. }
  75. page .content .box .title .left .selected {
  76. color: #ff0000;
  77. font-weight: 500;
  78. }
  79. page .content .box .title .right {
  80. height: 40rpx;
  81. font-size: 28rpx;
  82. color: #AAAAAA;
  83. line-height: 40rpx;
  84. margin-top: 4rpx;
  85. }
  86. page .content .box .notice-bar-container {
  87. margin-top: 20rpx;
  88. }
  89. page .content .box .notice-bar-container .notice-bar,
  90. page .content .box .notice-bar-container .uni-noticebar {
  91. margin: 0;
  92. border-radius: 20rpx;
  93. overflow: hidden;
  94. }
  95. page .content .box .gun {
  96. display: -webkit-box;
  97. display: -webkit-flex;
  98. display: flex;
  99. -webkit-flex-wrap: wrap;
  100. flex-wrap: wrap;
  101. -webkit-justify-content: space-around;
  102. justify-content: space-around;
  103. -webkit-align-content: space-around;
  104. align-content: space-around;
  105. margin-top: 30rpx;
  106. }
  107. page .content .box .gun view {
  108. width: 200rpx;
  109. height: 110rpx;
  110. background: rgba(255, 255, 255, 0.08);
  111. box-shadow: 0px 2rpx 9rpx 4rpx rgba(16, 178, 125, 0.1);
  112. border-radius: 12rpx;
  113. display: -webkit-box;
  114. display: -webkit-flex;
  115. display: flex;
  116. -webkit-box-orient: vertical;
  117. -webkit-box-direction: normal;
  118. -webkit-flex-direction: column;
  119. flex-direction: column;
  120. -webkit-box-pack: center;
  121. -webkit-justify-content: center;
  122. justify-content: center;
  123. text-align: center;
  124. margin-bottom: 20rpx;
  125. }
  126. page .content .box .gun view text {
  127. font-size: 28rpx;
  128. font-weight: 500;
  129. color: #666666;
  130. line-height: 40rpx;
  131. }
  132. page .content .box .gun view text:nth-child(1) {
  133. margin-top: 10rpx;
  134. color: #7c7c7c;
  135. font-size: 20rpx;
  136. line-height: 40rpx;
  137. }
  138. page .content .box .gun view text:nth-child(2) {
  139. font-size: 25rpx;
  140. line-height: 60rpx;
  141. font-weight: 500;
  142. }
  143. page .content .box .gun view text.more {
  144. font-size: 28rpx;
  145. font-weight: 500;
  146. color: #000;
  147. line-height: 100rpx;
  148. margin-top: 0;
  149. }
  150. page .content .box .gun view.selected {
  151. background-color: #0ea374;
  152. }
  153. page .content .box .gun view.selected text {
  154. color: #FFFFFF;
  155. }
  156. page .content .box .title:nth-of-type(4) {
  157. margin-top: 10rpx;
  158. }
  159. page .content .box .amount {
  160. margin-top: 30rpx;
  161. }
  162. page .content .box .amount .inp {
  163. width: 670rpx;
  164. height: 100rpx;
  165. background: rgba(255, 255, 255, 0.08);
  166. box-shadow: 0px 2rpx 9rpx 4rpx rgba(16, 178, 125, 0.1);
  167. border-radius: 13rpx;
  168. position: relative;
  169. }
  170. page .content .box .amount .inp input {
  171. position: absolute;
  172. top: 30rpx;
  173. left: 30rpx;
  174. color: #ff0000;
  175. font-weight: 600;
  176. }
  177. page .content .box .amount .inp text {
  178. position: absolute;
  179. top: 40rpx;
  180. right: 30rpx;
  181. width: 56rpx;
  182. height: 33rpx;
  183. font-size: 24rpx;
  184. color: #AAAAAA;
  185. line-height: 33rpx;
  186. }
  187. page .content .box .amount .btn {
  188. display: -webkit-box;
  189. display: -webkit-flex;
  190. display: flex;
  191. -webkit-box-pack: justify;
  192. -webkit-justify-content: space-between;
  193. justify-content: space-between;
  194. -webkit-box-align: center;
  195. -webkit-align-items: center;
  196. align-items: center;
  197. margin-top: 20rpx;
  198. }
  199. page .content .box .amount .btn view {
  200. width: 153rpx;
  201. height: 80rpx;
  202. background: rgba(255, 255, 255, 0.08);
  203. box-shadow: 0px 2rpx 9rpx 4rpx rgba(16, 178, 125, 0.1);
  204. border-radius: 13rpx;
  205. text-align: center;
  206. line-height: 80rpx;
  207. font-size: 32rpx;
  208. color: #AAAAAA;
  209. }
  210. page .content .box .amount .btn .selected {
  211. background-color: #0ea374;
  212. color: #fff;
  213. }
  214. page .content .box .tip {
  215. display: -webkit-box;
  216. display: -webkit-flex;
  217. display: flex;
  218. -webkit-box-pack: center;
  219. -webkit-justify-content: center;
  220. justify-content: center;
  221. -webkit-box-align: center;
  222. -webkit-align-items: center;
  223. align-items: center;
  224. height: 60rpx;
  225. margin-top: 20rpx;
  226. }
  227. page .content .box .tip image {
  228. display: inline-block;
  229. width: 25rpx;
  230. height: 25rpx;
  231. border-radius: 12.5rpx;
  232. }
  233. page .content .box .tip text {
  234. font-size: 27rpx;
  235. color: #DB9D28;
  236. line-height: 60rpx;
  237. padding: 0;
  238. margin: 0;
  239. }
  240. page .content .box .submit {
  241. height: 80rpx;
  242. margin-top: 20rpx;
  243. }
  244. page .content .box .submit button {
  245. width: 670rpx;
  246. height: 80rpx;
  247. background: #CCCCCC;
  248. border-radius: 45rpx;
  249. font-size: 32rpx;
  250. color: #FFFFFF;
  251. line-height: 80rpx;
  252. text-align: center;
  253. }
  254. page .content .box .submit button.avalible {
  255. background: #0EA374;
  256. }
  257. page .more-gun {
  258. width: 750rpx;
  259. max-height: 985rpx;
  260. background: #F8F8F8;
  261. border-radius: 42rpx 42rpx 0px 0px;
  262. }
  263. page .more-gun .title {
  264. height: 80rpx;
  265. text-align: center;
  266. position: relative;
  267. }
  268. page .more-gun .title text {
  269. width: 160rpx;
  270. font-size: 32rpx;
  271. font-weight: 600;
  272. color: #111111;
  273. line-height: 70rpx;
  274. }
  275. page .more-gun .title .icon {
  276. width: 45rpx;
  277. height: 45rpx;
  278. background-color: red;
  279. background: url(/static/icon/6_d05_close.2x.png) no-repeat 0px 0px;
  280. background-size: 100% 100%;
  281. position: absolute;
  282. top: 10rpx;
  283. right: 40rpx;
  284. }
  285. page .more-gun .gun-list {
  286. margin-top: 20rpx;
  287. }
  288. page .more-gun .gun-list scroll-view {
  289. padding: 0 30rpx;
  290. max-height: 850rpx;
  291. }
  292. page .more-gun .gun-list scroll-view view {
  293. width: 200rpx;
  294. height: 110rpx;
  295. background: rgba(255, 255, 255, 0.08);
  296. box-shadow: 0px 2rpx 9rpx 4rpx rgba(16, 178, 125, 0.1);
  297. border-radius: 12rpx;
  298. display: -webkit-inline-box;
  299. display: -webkit-inline-flex;
  300. display: inline-flex;
  301. -webkit-box-orient: vertical;
  302. -webkit-box-direction: normal;
  303. -webkit-flex-direction: column;
  304. flex-direction: column;
  305. -webkit-box-pack: center;
  306. -webkit-justify-content: center;
  307. justify-content: center;
  308. text-align: center;
  309. margin: 5rpx 15rpx 40rpx 15rpx;
  310. }
  311. page .more-gun .gun-list scroll-view view text {
  312. font-size: 28rpx;
  313. font-weight: 500;
  314. color: #666666;
  315. line-height: 40rpx;
  316. }
  317. page .more-gun .gun-list scroll-view view text:nth-child(1) {
  318. margin-top: 10rpx;
  319. color: #7c7c7c;
  320. font-size: 20rpx;
  321. line-height: 40rpx;
  322. }
  323. page .more-gun .gun-list scroll-view view text:nth-child(2) {
  324. font-size: 25rpx;
  325. line-height: 60rpx;
  326. font-weight: 500;
  327. }
  328. page .more-gun .gun-list scroll-view view text.more {
  329. font-size: 28rpx;
  330. font-weight: 500;
  331. color: #000;
  332. line-height: 100rpx;
  333. margin-top: 0;
  334. }
  335. page .more-gun .gun-list scroll-view .selected {
  336. background-color: #0ea374;
  337. color: #fff;
  338. }
  339. page .more-gun .gun-list scroll-view .selected text {
  340. color: #fff;
  341. }