knowledge.wxss 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  1. /* templates/knowledge/knowledge.wxss */
  2. .model-container {
  3. position: fixed;
  4. top: 0;
  5. left: 0;
  6. width: 100%;
  7. height: 100%;
  8. background: #F0F0F0;
  9. z-index: 999;
  10. overflow: scroll;
  11. -webkit-overflow-scrolling: touch;
  12. }
  13. .model-wrapper {
  14. margin-bottom: 120rpx;
  15. }
  16. .model-item {
  17. border-bottom: 1rpx solid #E6E6E6;
  18. }
  19. .model-item:nth-last-of-type(1) {
  20. border-bottom: none;
  21. }
  22. .model-item-title {
  23. background: #fff;
  24. padding: 30rpx;
  25. }
  26. .model-item-row {
  27. display: -webkit-flex;
  28. display: flex;
  29. -webkit-justify-content: space-between;
  30. justify-content: space-between;
  31. -webkit-align-items: center;
  32. align-items: center;
  33. }
  34. .model-item-arrow {
  35. -webkit-transform: rotateX(180deg);
  36. transform: rotateX(180deg);
  37. font-size: 40rpx;
  38. -webkit-transition: all .3s;
  39. transition: all .3s;
  40. }
  41. .model-item-arrow image {
  42. width: 30rpx;
  43. height: 18rpx;
  44. }
  45. .arrow-top {
  46. -webkit-transform: rotateX(0);
  47. transform: rotateX(0);
  48. -webkit-transition: all .3s;
  49. transition: all .3s;
  50. }
  51. .model-list {
  52. background: #fff;
  53. border-top: 1rpx solid #E6E6E6;
  54. margin-bottom: 20rpx;
  55. }
  56. .model-li {
  57. border-top: 1rpx solid #E6E6E6;
  58. margin: 0 30rpx;
  59. }
  60. .model-li:nth-of-type(1) {
  61. border-top: none;
  62. }
  63. .model-li-title {
  64. padding: 30rpx 0;
  65. }
  66. .model-li-image {
  67. width: 34rpx;
  68. height: 34rpx;
  69. vertical-align: middle;
  70. margin-right: 30rpx;
  71. }
  72. .model-li-text {
  73. vertical-align: middle;
  74. font-size: 30rpx;
  75. color: #CCCCCC;
  76. }
  77. .model-li-text-active {
  78. color: #333333;
  79. }
  80. .textarea {
  81. width: 640rpx;
  82. /* height: 110rpx; */
  83. padding: 24rpx;
  84. background: #F4F4F4;
  85. border: 1rpx solid #D6D6D6;
  86. -webkit-border-radius: 8rpx;
  87. border-radius: 8rpx;
  88. font-size: 28rpx;
  89. z-index: 0;
  90. }
  91. .textarea-placeholder {
  92. color: #9C9C9C;
  93. }
  94. .model-li-content {
  95. padding-bottom: 1rpx;
  96. }
  97. .model-li-content-label {
  98. margin: 30rpx 0;
  99. font-size: 28rpx;
  100. color: #666666;
  101. }
  102. .model-li-content-button {
  103. background: #F5F5F5;
  104. -webkit-border-radius: 8rpx;
  105. border-radius: 8rpx;
  106. padding: 24rpx;
  107. text-align: center;
  108. margin-bottom: 40rpx;
  109. }
  110. .model-li-content-button image {
  111. width: 34rpx;
  112. height: 34rpx;
  113. vertical-align: middle;
  114. margin-right: 14rpx;
  115. }
  116. .model-li-content-button text {
  117. font-size: 28rpx;
  118. color: #48A3FE;
  119. }
  120. .model-li-content-images {
  121. display: -webkit-flex;
  122. display: flex;
  123. -webkit-flex-wrap: wrap;
  124. flex-wrap: wrap;
  125. padding-bottom: 30rpx;
  126. }
  127. .model-li-content-images-item {
  128. background: #333333;
  129. position: relative;
  130. width: 150rpx;
  131. height: 150rpx;
  132. margin: 15rpx;
  133. border-radius: 8rpx;
  134. }
  135. .model-li-content-images-item:nth-of-type(1),
  136. .model-li-content-images-item:nth-of-type(2),
  137. .model-li-content-images-item:nth-of-type(3),
  138. .model-li-content-images-item:nth-of-type(4) {
  139. margin-top: 0;
  140. }
  141. .model-li-content-images-item:nth-of-type(4n+1) {
  142. margin-left: 0;
  143. }
  144. .model-li-content-images-item:nth-of-type(4n+4) {
  145. margin-right: 0;
  146. }
  147. .model-li-content-images-item image {
  148. width: 150rpx;
  149. height: 150rpx;
  150. }
  151. .model-li-content-images-del {
  152. position: absolute;
  153. top: -17rpx;
  154. right: -17rpx;
  155. background: #FF0000;
  156. width: 34rpx;
  157. height: 34rpx;
  158. border-radius: 34rpx;
  159. color: #fff;
  160. font-size: 34rpx;
  161. padding: 6.5rpx;
  162. text-align: center;
  163. line-height: 32rpx;
  164. -webkit-transform: rotate(45deg);
  165. transform: rotate(45deg);
  166. }
  167. .model-more-container {
  168. text-align: center;
  169. }
  170. .model-more-button {
  171. display: inline-block;
  172. background: #fff;
  173. border-radius: 80px;
  174. margin: 40rpx 0;
  175. padding: 30rpx 40rpx;
  176. }
  177. .model-more-button image {
  178. width: 40rpx;
  179. height: 30rpx;
  180. vertical-align: middle;
  181. }
  182. .model-more-button text {
  183. margin-left: 10rpx;
  184. font-size: 28rpx;
  185. color: #46c390;
  186. vertical-align: middle;
  187. }
  188. .model-footer {
  189. position: fixed;
  190. bottom: 0;
  191. left: 0;
  192. width: 100%;
  193. z-index: 999;
  194. display: -webkit-flex;
  195. display: flex;
  196. -webkit-justify-content: space-around;
  197. justify-content: space-around;
  198. -webkit-align-items: center;
  199. align-items: center;
  200. background: #FFFFFF;
  201. border: 1rpx solid #E6E6E6;
  202. box-shadow: 0 0 5rpx 2rpx rgba(0,0,0,0.10);
  203. }
  204. .model-footer-item {
  205. -webkit-flex: 1;
  206. flex: 1;
  207. background: #46C390;
  208. font-size: 28rpx;
  209. color: #FFFFFF;
  210. margin: 15rpx 20rpx;
  211. padding: 19rpx;
  212. cursor: pointer;
  213. text-align: center;
  214. background:linear-gradient(90deg,rgba(117,227,134,1),rgba(70,195,144,1));
  215. box-shadow: 0rpx 5rpx 12rpx 1rpx rgba(70,195,144,0.5);
  216. border-radius: 44rpx;
  217. }
  218. .model-footer-item-white {
  219. border: solid 1rpx #46C390;
  220. background: #FFFFFF;
  221. box-shadow: 0rpx 5rpx 12rpx 1rpx rgba(70,195,144,0.2);
  222. color: #46C390;
  223. }