manageArticle.scss 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356
  1. page {
  2. position: absolute;
  3. left: 0;
  4. top: 0;
  5. width: 100%;
  6. display: flex;
  7. background-color: #f8f8f8;
  8. }
  9. .status_bar {
  10. height: 44rpx;
  11. width: 100%;
  12. }
  13. .page {
  14. background-color: #f8f8f8;
  15. display: flex;
  16. flex-direction: column;
  17. width:750rpx;
  18. }
  19. .nav-bar {
  20. width: 750rpx;
  21. height: 88rpx;
  22. background-color: #fff;
  23. display: flex;
  24. flex-direction: row;
  25. align-items: center;
  26. justify-content: space-between;
  27. padding: 0 30rpx;
  28. box-sizing: border-box;
  29. border-bottom: 1rpx solid #f0f0f0;
  30. .left {
  31. width: 120rpx;
  32. .uni-btn-icon {
  33. font-size: 36rpx;
  34. color: #333;
  35. }
  36. }
  37. .center {
  38. flex: 1;
  39. text-align: center;
  40. font-size: 32rpx;
  41. font-weight: bold;
  42. color: #333;
  43. }
  44. .right {
  45. display: flex;
  46. align-items: center;
  47. .btn {
  48. font-size: 28rpx;
  49. color: #333;
  50. margin-left: 30rpx;
  51. &:active {
  52. opacity: 0.7;
  53. }
  54. }
  55. }
  56. }
  57. /* 用户信息列表 */
  58. .user-list{
  59. width:710rpx;
  60. border-radius: 20rpx;
  61. margin: 20rpx auto;
  62. .agree {
  63. width:100%;text-align: center;color:#959595;font-size: 22rpx;padding:20rpx 0;margin-top: 0rpx;padding-right: 50rpx;
  64. display: flex;flex-direction: row;justify-content: flex-end;align-items: center;
  65. .xy {
  66. color:darkred;padding:0rpx 20rpx;
  67. }
  68. image {
  69. width:32rpx;margin-right: 8rpx;
  70. }
  71. }
  72. .tips {
  73. display: flex;flex-direction: row;justify-content: space-between;
  74. height: 90rpx;
  75. .title {
  76. display: flex;flex-direction: row;justify-content: center;height: 80rpx;line-height: 80rpx;font-weight: bold;font-size: 30rpx;
  77. .line {
  78. width:10rpx;height:24rpx;background-color: $base;line-height: 80rpx;margin: 28rpx 20rpx;
  79. }
  80. }
  81. .more-content{
  82. display: flex;flex-direction: row;height:100%;
  83. align-items: center;
  84. .item1 {
  85. display: flex;justify-content: center;height:100%;flex-direction: row;line-height: 100%;align-items: center;align-self: center;
  86. .switch {
  87. }
  88. .status {
  89. color:#E54D42;
  90. }
  91. .btn {
  92. width:160rpx;height:50rpx;margin: 0 20rpx;text-align: center;margin-left: 40rpx;
  93. background-color: #39B54A;border-radius: 25rpx;color:#fff;font-size: 24rpx;line-height: 50rpx;
  94. }
  95. }
  96. }
  97. .beizu {
  98. padding:10rpx 30rpx;color:#959595;
  99. }
  100. }
  101. .content {
  102. padding:10rpx 30rpx;
  103. display: flex;flex-direction: column;justify-content: space-between;
  104. .edit {
  105. border:solid 1px #f0f0f0;border-radius: 10rpx;width:670rpx;height:80rpx;font-size: 30rpx;padding:10rpx;
  106. }
  107. .edit2 {
  108. border:solid 1px #f0f0f0;
  109. border-radius: 10rpx;
  110. width:670rpx;
  111. height:340rpx;
  112. font-size: 30rpx;
  113. padding: 10rpx;
  114. box-sizing: border-box;
  115. }
  116. .item {
  117. display: flex;flex-direction: row;justify-content: space-between;
  118. border:solid 1px #f0f0f0;border-radius: 10rpx;width:730rpx;height:80rpx;align-items: center;
  119. .left {
  120. padding-left: 10rpx;width:168rpx;font-size: 28rpx;
  121. }
  122. .input {
  123. width:570rpx;font-size: 28rpx;
  124. }
  125. .picker {
  126. padding-left: 10rpx;width:120rpx;display: flex;flex-direction: row;justify-content: space-between;
  127. .selimg {
  128. width:24rpx;height:24rpx;margin-top: 4rpx;margin-left: 12rpx;
  129. }
  130. }
  131. .edit3 {
  132. border:solid 0px #f0f0f0;border-radius: 10rpx;width:730rpx;height:140rpx;font-size: 28rpx;padding:8rpx;
  133. }
  134. }
  135. .item2 {
  136. display: flex;flex-direction: row;justify-content: space-between;margin-top: 10rpx;
  137. .item21 {
  138. display: flex;flex-direction: row;justify-content: space-between;
  139. border:solid 1px #f0f0f0;border-radius: 10rpx;width:360rpx;height:80rpx;align-items: center;
  140. .left {
  141. padding-left: 10rpx;width:120rpx;line-height: 60rpx;font-size: 28rpx;
  142. }
  143. .input {
  144. width:360rpx;font-size: 28rpx;line-height: 60rpx;
  145. }
  146. }
  147. }
  148. }
  149. .img {
  150. width:100%;padding-left: 20rpx;
  151. image {
  152. width:710rpx;
  153. }
  154. }
  155. .img_list {
  156. display: flex;
  157. width:100%;
  158. padding:20rpx 40rpx;
  159. flex-wrap: wrap;
  160. .image {
  161. display: flex;
  162. width:200rpx;
  163. height:200rpx;
  164. position: relative;
  165. margin: 10rpx;
  166. box-sizing: border-box;
  167. justify-content: center;
  168. align-items: center;
  169. background: rgba(120, 120, 120, 0.2);border-radius: 8rpx;
  170. .txt {
  171. font-size: 120rpx;
  172. color: #999;
  173. }
  174. .upimg {
  175. position: absolute;left:0;top:0;
  176. width:100%;
  177. height:100%;
  178. border-radius: 8rpx;
  179. }
  180. .del {
  181. width:40rpx;
  182. height:40rpx;
  183. position: absolute;
  184. right:-10rpx;
  185. top:-10rpx;
  186. }
  187. }
  188. }
  189. .btn_list {
  190. display: flex;flex-direction: row;align-items: center;justify-content: center;
  191. .btn_sq {
  192. width:300rpx;height:80rpx;background-color: #BF8669;border-radius: 4rpx;text-align: center;color:#fff;line-height: 80rpx;
  193. font-size: 32rpx;margin:20rpx;
  194. }
  195. }
  196. .telbg {
  197. width:750rpx;height:350rpx;display: flex;flex-direction: column;padding-left: 40rpx;padding-top: 120rpx;color:#fff;
  198. background-color: #517456;font-size: 30rpx;
  199. .tel {
  200. font-size: 80rpx;color:#BF8669;
  201. }
  202. }
  203. .img2 {
  204. width:100%;padding-left: 0rpx;
  205. image {
  206. width:750rpx;
  207. }
  208. }
  209. }
  210. .footer {
  211. position: fixed;bottom:0rpx;width:750rpx;height:120rpx;display: flex;flex-direction: row;justify-content: center;
  212. background: #fff;
  213. .btn {
  214. width:690rpx;height:80rpx;background-color: #39B54A;border-radius: 40rpx;text-align: center;color:#fff;line-height: 80rpx;
  215. font-size: 32rpx;
  216. }
  217. }
  218. .foot-btn {
  219. height: 80rpx;padding:60rpx;
  220. button {
  221. height: 80rpx;line-height: 80rpx;font-size: 28rpx;
  222. }
  223. }
  224. .uni-textarea-placeholder {
  225. color: #959595;
  226. overflow: hidden;
  227. }
  228. .num_txt {
  229. display: flex;
  230. flex-direction: row;
  231. align-items: center;
  232. padding: 20rpx 30rpx;
  233. .num_input {
  234. width: 120rpx;
  235. height: 60rpx;
  236. border: 1px solid $base;
  237. border-radius: 10rpx;
  238. margin: 0 20rpx;
  239. text-align: center;
  240. font-size: 28rpx;
  241. }
  242. }
  243. .list {
  244. padding: 20rpx;
  245. .article-item {
  246. background-color: #fff;
  247. border-radius: 12rpx;
  248. margin-bottom: 20rpx;
  249. padding: 20rpx;
  250. box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
  251. .article-content {
  252. display: flex;
  253. .article-image {
  254. width: 200rpx;
  255. height: 200rpx;
  256. border-radius: 8rpx;
  257. margin-right: 20rpx;
  258. }
  259. .article-info {
  260. flex: 1;
  261. display: flex;
  262. flex-direction: column;
  263. justify-content: space-between;
  264. .article-title {
  265. font-size: 32rpx;
  266. font-weight: bold;
  267. color: #333;
  268. margin-bottom: 10rpx;
  269. }
  270. .article-desc {
  271. font-size: 28rpx;
  272. color: #666;
  273. line-height: 1.4;
  274. display: -webkit-box;
  275. -webkit-box-orient: vertical;
  276. -webkit-line-clamp: 2;
  277. overflow: hidden;
  278. }
  279. .article-meta {
  280. display: flex;
  281. justify-content: space-between;
  282. align-items: center;
  283. margin-top: 10rpx;
  284. .time {
  285. font-size: 24rpx;
  286. color: #999;
  287. }
  288. .status {
  289. font-size: 24rpx;
  290. padding: 4rpx 12rpx;
  291. border-radius: 4rpx;
  292. &.published {
  293. background-color: #e8f5e9;
  294. color: #39B54A;
  295. }
  296. &.draft {
  297. background-color: #f5f5f5;
  298. color: #999;
  299. }
  300. }
  301. }
  302. }
  303. }
  304. .article-actions {
  305. display: flex;
  306. justify-content: flex-end;
  307. margin-top: 20rpx;
  308. padding-top: 20rpx;
  309. border-top: 1rpx solid #f0f0f0;
  310. .action-btn {
  311. padding: 10rpx 30rpx;
  312. font-size: 28rpx;
  313. border-radius: 6rpx;
  314. margin-left: 20rpx;
  315. &.edit {
  316. background-color: #f0f0f0;
  317. color: #666;
  318. }
  319. &.delete {
  320. background-color: #ffebee;
  321. color: #e54d42;
  322. }
  323. }
  324. }
  325. }
  326. }