servantDetail.wxss 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. .page-container{
  2. padding:0 0 180rpx;
  3. }
  4. .servant-top{
  5. width: 750rpx;
  6. height: 174rpx;
  7. background: linear-gradient(181deg, #F1E3C8, #E6C162);
  8. display: flex;
  9. align-items: flex-end;
  10. padding:0 0 60rpx;
  11. justify-content: center;
  12. }
  13. .servant-top image{
  14. width:122rpx;
  15. height: 66rpx;
  16. margin:0 32rpx 0 0;
  17. }
  18. .servant-top text{
  19. color:#663315;
  20. font-size: 50rpx;
  21. font-weight: bold;
  22. line-height: 52rpx;
  23. }
  24. .servant-basic{
  25. height: 390rpx;
  26. padding:20rpx 28rpx 0;
  27. display: flex;
  28. }
  29. .basic-left{
  30. width:318rpx;
  31. height: 370rpx;
  32. position: relative;
  33. }
  34. .servant-avatar{
  35. width:256rpx;
  36. height: 340rpx;
  37. background: #D3D3D3;
  38. }
  39. .jz-chapter{
  40. width:138rpx;
  41. height: 142rpx;
  42. position: absolute;
  43. right:0;
  44. bottom:0;
  45. }
  46. .basic-right{
  47. padding:90rpx 12rpx 0;
  48. flex:1;
  49. /* display: flex;
  50. flex-direction: column; */
  51. }
  52. .servant-name{
  53. font-weight: bold;
  54. font-size: 50rpx;
  55. height: 50rpx;
  56. line-height: 50rpx;
  57. }
  58. .age-zodiac{
  59. font-size: 30rpx;
  60. height: 30rpx;
  61. line-height: 30rpx;
  62. margin:12rpx 0 30rpx;
  63. display: flex;
  64. align-items: center;
  65. }
  66. .servant-age{
  67. margin:0 24rpx 0 0;
  68. padding:0 24rpx 0 0;
  69. border-right:1rpx solid #2a2a2a;
  70. }
  71. .servant-model{
  72. height: 38rpx;
  73. line-height: 38rpx;
  74. background: linear-gradient(180deg, #F1E3C8, #E6C162);
  75. border-radius: 4rpx;
  76. padding:0 28rpx;
  77. text-align: center;
  78. color:#663315;
  79. font-size: 24rpx;
  80. margin:0 20rpx 12rpx 0;
  81. white-space: nowrap;
  82. display: inline-block;
  83. }
  84. .block-title{
  85. height: 38rpx;
  86. display: flex;
  87. align-items: center;
  88. }
  89. .title-img{
  90. margin:0 10rpx 0 0;
  91. width:40rpx;
  92. height: 38rpx;
  93. }
  94. .block-title text{
  95. font-size: 34rpx;
  96. font-weight: bold;
  97. }
  98. .servant-info{
  99. padding:0 42rpx;
  100. }
  101. .servant-train{
  102. padding:0 42rpx;
  103. margin:48rpx 0 44rpx 0;
  104. }
  105. .train-list{
  106. width:666rpx;
  107. margin:24rpx 0 34rpx 0;
  108. }
  109. .info-detail{
  110. padding:20rpx 0 0;
  111. }
  112. .detail-item{
  113. /* height: 40rpx; */
  114. line-height: 40rpx;
  115. display: flex;
  116. justify-content: space-between;
  117. font-size: 24rpx;
  118. }
  119. .detail-item text{
  120. flex:1;
  121. font-size: 24rpx;
  122. }
  123. .detail-item text:first-child{
  124. flex:1.2;
  125. }
  126. .comment-title{
  127. font-size: 24rpx;
  128. font-weight: bold;
  129. margin:0 0 10rpx 0;
  130. }
  131. .comment-content{
  132. font-size: 20rpx;
  133. line-height: 38rpx;
  134. text-overflow: -o-ellipsis-lastline;
  135. overflow: hidden;
  136. text-overflow: ellipsis;
  137. display: -webkit-box;
  138. -webkit-line-clamp: 3;
  139. line-clamp: 3;
  140. -webkit-box-orient: vertical;
  141. }
  142. .servant-skill{
  143. padding:0 42rpx;
  144. }
  145. .skill-show{
  146. padding:0 42rpx;
  147. }
  148. .skill-text{
  149. margin:20rpx 0 40rpx;
  150. line-height: 38rpx;
  151. font-size: 24rpx;
  152. }
  153. .operate-btn{
  154. background: #f4f4f4;
  155. position: fixed;
  156. left:0;
  157. bottom:0;
  158. right:0;
  159. height: 130rpx;
  160. padding:0 34rpx 60rpx;
  161. display: flex;
  162. justify-content: space-between;
  163. }
  164. .contract-btn,.appoint-btn{
  165. width: 322rpx;
  166. height: 70rpx;
  167. line-height: 70rpx;
  168. text-align: center;
  169. background:#55AEF8 ;
  170. border-radius: 70rpx;
  171. font-size: 32rpx;
  172. color:#fff;
  173. }
  174. .appoint-btn{
  175. background: linear-gradient(180deg, #F1E3C8, #E6C162);
  176. color:#663315;
  177. }
  178. .skill-swiper-wrapper{
  179. height: 480rpx;
  180. margin:36rpx 0 60rpx;
  181. border-radius:12rpx;
  182. overflow: hidden;
  183. width:666rpx;
  184. }
  185. .sroll-block{
  186. height: 480rpx;
  187. white-space: nowrap;
  188. width:666rpx;
  189. }
  190. .scroll-img{
  191. width:360rpx;
  192. height: 480rpx;
  193. display: inline-block;
  194. margin-right:12rpx;
  195. }
  196. .indicator-wrapper{
  197. display: flex;
  198. justify-content: center;
  199. }
  200. .indicator-dot{
  201. width:12rpx;
  202. height: 12rpx;
  203. border-radius: 12rpx;
  204. border:1rpx solid #09afff;
  205. margin:0 14rpx 0 0;
  206. }
  207. .activeDot{
  208. background: #09afff;
  209. }