salesmanLevel.wxss 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286
  1. /* pages/salesmanLevel/salesmanLevel.wxss */
  2. page {
  3. /* position: fixed; */
  4. width: 100%;
  5. height: 100%;
  6. background: #f8f8f8;
  7. /* overflow: auto; */
  8. }
  9. .toplevelshow {
  10. background-image: linear-gradient(#323444 20%, #565969 80%);
  11. color: #eeeeee;
  12. }
  13. .level-txt {
  14. padding: 50rpx 0 30rpx;
  15. font-size: 34rpx;
  16. text-align: center;
  17. }
  18. /* 立即升级 */
  19. .upgrade-now {
  20. width: 80%;
  21. text-align: center;
  22. background: #bea379;
  23. /* border-top: 1rpx solid #f1f1f1; */
  24. margin: 0 auto;
  25. margin-top: 30rpx;
  26. margin-bottom: 50rpx;
  27. }
  28. .upgrade {
  29. display: inline-block;
  30. font-size: 28rpx;
  31. color: #fff;
  32. padding: 1em 0 1em;
  33. line-height: 1em;
  34. margin: 0 auto;
  35. }
  36. .level-progress {
  37. position: relative;
  38. padding: 20rpx 20rpx 50rpx;
  39. display: flex;
  40. justify-content: space-around;
  41. font-size: 25rpx;
  42. }
  43. /* 小方形块 */
  44. .square-block {
  45. width: 10rpx;
  46. height: 10rpx;
  47. background: #bbbbbb;
  48. opacity: 08;
  49. margin: 0 auto;
  50. }
  51. /* /小方形块 */
  52. .level-block-txt {
  53. margin-top: 15rpx;
  54. color: #bbbbbb;
  55. opacity: 08;
  56. }
  57. /* 线 */
  58. .level-block {
  59. position: relative;
  60. }
  61. .level-block::after {
  62. display: block;
  63. content: '';
  64. position: absolute;
  65. left: 60%;
  66. top: 5rpx;
  67. height: 1rpx;
  68. background: #b1b1b1;
  69. }
  70. /* length == 2 */
  71. .width2::after{
  72. width: 550%;
  73. }
  74. /* length == 3 */
  75. .width3::after{
  76. width: 360%;
  77. }
  78. /* length == 4 */
  79. .width4::after {
  80. width: 260%;
  81. }
  82. /* length == 5 */
  83. .width5::after{
  84. width: 205%;
  85. }
  86. .level-progress .level-block:last-child::after {
  87. display: none;
  88. }
  89. /* /线 */
  90. /* 当前等级 */
  91. .current-level .square-block {
  92. background: #d3ab6b;
  93. }
  94. .current-level .level-block-txt {
  95. color: #d3ab6b;
  96. }
  97. .current-color {
  98. color: #ffffff;
  99. opacity: 1;
  100. }
  101. .current-bg {
  102. background: #ffffff;
  103. opacity: 1;
  104. }
  105. /* 佣金百分比 */
  106. .commission-percentage {
  107. background: #fff;
  108. margin-bottom: 30rpx;
  109. padding: 20rpx 0;
  110. }
  111. .commission-percentage image {
  112. width: 100%;
  113. height: 100%;
  114. }
  115. .percentage-type {
  116. display: inline-block;
  117. box-sizing: border-box;
  118. width: 50%;
  119. text-align: center;
  120. }
  121. .vertical-line {
  122. display: inline-block;
  123. }
  124. .commission-percentage {
  125. position: relative;
  126. }
  127. .vertical-line {
  128. position: absolute;
  129. width: 1rpx;
  130. height: 64rpx;
  131. left: 50%;
  132. }
  133. .per-icon {
  134. display: inline-block;
  135. width: 60rpx;
  136. height: 60rpx;
  137. border-radius: 50%;
  138. border: 1rpx solid #eeeeee;
  139. vertical-align: middle;
  140. margin-right: 20rpx;
  141. }
  142. .per-msg-box {
  143. display: inline-block;
  144. vertical-align: middle;
  145. text-align: left;
  146. font-size: 25rpx;
  147. color: #d3ab6b;
  148. }
  149. /* 规则和&益介绍 */
  150. .rules-wrapper {
  151. background: #ffffff;
  152. padding: 30rpx 50rpx;
  153. }
  154. .intro-icon image {
  155. width: 100%;
  156. height: 100%;
  157. }
  158. .riles-title {
  159. padding-bottom: 40rpx;
  160. text-align: center;
  161. font-size: 30rpx;
  162. }
  163. .riles-title-txt {
  164. display: inline-block;
  165. vertical-align: middle;
  166. }
  167. .horizontal {
  168. display: inline-block;
  169. width: 60rpx;
  170. height: 2rpx;
  171. background: #ddd;
  172. vertical-align: middle;
  173. }
  174. .riles-title view:nth-child(1) {
  175. margin-right: 40rpx;
  176. }
  177. .riles-title view:nth-child(3) {
  178. margin-left: 40rpx;
  179. }
  180. .introduction-rules {
  181. display: none;
  182. padding-bottom: 40rpx;
  183. }
  184. /* 当前等级规则 */
  185. .current-rules {
  186. display: block;
  187. }
  188. /* /当前等级规则 */
  189. .intro-level-tit {
  190. display: inline-block;
  191. color: #fff;
  192. background: #bea379;
  193. padding: 8rpx 10rpx 10rpx;
  194. line-height: 1em;
  195. }
  196. .intron-rule {
  197. margin-top: 32rpx;
  198. }
  199. .rule-desc-tit {
  200. margin-bottom: 20rpx;
  201. }
  202. .rule-desc-tit .intro-icon {
  203. display: inline-block;
  204. width: 40rpx;
  205. height: 40rpx;
  206. vertical-align: middle;
  207. margin-right: 20rpx;
  208. }
  209. .intro-title {
  210. display: inline-block;
  211. font-size: 32rpx;
  212. vertical-align: middle;
  213. }
  214. .intro-detailed {
  215. font-size: 28rpx;
  216. color: #333333;
  217. line-height: 45rpx;
  218. }
  219. /* 右三角 */
  220. .triangle {
  221. display: inline-block;
  222. width: 8rpx;
  223. height: 8rpx;
  224. background: #bea379;
  225. /* border: 8rpx solid transparent; */
  226. /* border-left: 8px solid #bea379; */
  227. vertical-align: middle;
  228. margin-right: .5em;
  229. }
  230. /* /右三角 */
  231. .intro-detailed text {
  232. color: #bea379;
  233. }
  234. .condition-box {
  235. margin-bottom: 30rpx;
  236. padding-left: 60rpx;
  237. }
  238. /* .condition {
  239. padding-left: 20rpx;
  240. } */
  241. .buyprod image {
  242. width: 100%;
  243. height: 100%;
  244. }
  245. .buy-tit {
  246. font-size: 28rpx;
  247. line-height: 1em;
  248. margin-bottom: 1em;
  249. color: #333333;
  250. }
  251. .prod-msg {
  252. background: #f6f6f6;
  253. padding: 15rpx 15rpx 6rpx;
  254. margin-bottom: 10rpx;
  255. }
  256. .prod-img {
  257. display: inline-block;
  258. width: 150rpx;
  259. height: 150rpx;
  260. background: #ffffff;
  261. }
  262. .prod-name {
  263. display: inline-block;
  264. width: 70%;
  265. vertical-align: top;
  266. }
  267. .prod-name-txt {
  268. width: 100%;
  269. box-sizing: border-box;
  270. display: -webkit-box;
  271. -webkit-line-clamp: 3; /*设定显示行数*/
  272. -webkit-box-orient: vertical;
  273. word-break: break-all;
  274. overflow: hidden;
  275. text-overflow: ellipsis;
  276. font-size: 28rpx;
  277. padding-left: 1em;
  278. }