vipinfo.vue 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377
  1. <template>
  2. <view class="page">
  3. <image src="../../static/img/vipbg.png" :style="{'width':windowWidth,'height':windowWidth}"></image>
  4. <view class="duibBox">
  5. <p>VIP会员权益对比</p>
  6. <table class="duibtable">
  7. <thead>
  8. <tr>
  9. <th class="viphuibg02">权益描述</th>
  10. <th class="viphuibg">普通用户</th>
  11. <th class="vipbluebg">代理</th>
  12. <th class="orgbg">个人VIP</th>
  13. <th class="vipzisbg">团队VIP</th>
  14. </tr>
  15. </thead>
  16. <tbody>
  17. <tr>
  18. <td>创建群组</td>
  19. <td>
  20. <image src="../../static/img/right.png">
  21. </td>
  22. <td>
  23. <image src="../../static/img/right.png">
  24. </td>
  25. <td>
  26. <image src="../../static/img/right.png">
  27. </td>
  28. <td>
  29. <image src="../../static/img/right.png">
  30. </td>
  31. </tr>
  32. <tr>
  33. <td>专属图标</td>
  34. <td>
  35. <image src="../../static/img/wrong.png">
  36. </td>
  37. <td>
  38. <image src="../../static/img/right.png">
  39. </td>
  40. <td>
  41. <image src="../../static/img/right.png">
  42. </td>
  43. <td>
  44. <image src="../../static/img/right.png">
  45. </td>
  46. </tr>
  47. <tr>
  48. <td>发布计划</td>
  49. <td>
  50. <image src="../../static/img/wrong.png">
  51. </td>
  52. <td>
  53. <image src="../../static/img/right.png">
  54. </td>
  55. <td>
  56. <image src="../../static/img/right.png">
  57. </td>
  58. <td>
  59. <image src="../../static/img/right.png">
  60. </td>
  61. </tr>
  62. <tr>
  63. <td>关键词屏蔽</td>
  64. <td>
  65. <image src="../../static/img/wrong.png">
  66. </td>
  67. <td>
  68. <image src="../../static/img/wrong.png">
  69. </td>
  70. <td>
  71. <image src="../../static/img/right.png">
  72. </td>
  73. <td>
  74. <image src="../../static/img/right.png">
  75. </td>
  76. </tr>
  77. <tr>
  78. <td>赠送下级VIP</td>
  79. <td>
  80. <image src="../../static/img/wrong.png">
  81. </td>
  82. <td>
  83. <image src="../../static/img/wrong.png">
  84. </td>
  85. <td>
  86. <image src="../../static/img/wrong.png">
  87. </td>
  88. <td>
  89. <image src="../../static/img/right.png">
  90. </td>
  91. </tr>
  92. <tr>
  93. <td>VIP使用人数</td>
  94. <td>0</td>
  95. <td>0</td>
  96. <td class="vipred">1</td>
  97. <td class="vipzis">{{system['vip1_max']}}</td>
  98. </tr>
  99. <tr>
  100. <td>群组最大人数</td>
  101. <td>{{system['people_sum0']}}</td>
  102. <td>{{system['people_sum1']}}</td>
  103. <td class="vipred">{{system['people_sum2']}}</td>
  104. <td class="vipzis">{{system['people_sum3']}}</td>
  105. </tr>
  106. <tr>
  107. <td>创建群组数量</td>
  108. <td>{{system['group_sum0']}}</td>
  109. <td>{{system['group_sum1']}}</td>
  110. <td class="vipred">{{system['group_sum2']}}</td>
  111. <td class="vipzis">{{system['group_sum3']}}</td>
  112. </tr>
  113. <tr>
  114. <td>加入群组数量</td>
  115. <td>{{system['group_join0']}}</td>
  116. <td>{{system['group_join1']}}</td>
  117. <td class="vipred">{{system['group_join2']}}</td>
  118. <td class="vipzis">{{system['group_join3']}}</td>
  119. </tr>
  120. <tr>
  121. <td>好友最多人数</td>
  122. <td>{{system['friend_num0']}}</td>
  123. <td>{{system['friend_num1']}}</td>
  124. <td class="vipred">{{system['friend_num2']}}</td>
  125. <td class="vipzis">{{system['friend_num3']}}</td>
  126. </tr>
  127. <tr>
  128. <td>价格</td>
  129. <td class="vipblue"><strong>免费</strong></td>
  130. <td class="vipblue"><strong>免费</strong></td>
  131. <td class="vipred"><strong>{{system['vip_month']}}元/月</strong></td>
  132. <td class="vipzis"><strong>{{system['vip1_month']}}元/月</strong></td>
  133. </tr>
  134. <tr>
  135. <td colspan="3"></td>
  136. <td class="vipred">
  137. <button class="btn1" @tap="joinvip(0);">加入</button>
  138. </td>
  139. <td class="vipzis">
  140. <button class="btn2" @tap="joinvip(2);">加入</button>
  141. </td>
  142. </tr>
  143. </tbody>
  144. </table>
  145. <view
  146. style="height: 30px;line-height: 30px;text-align: center;font-size: 14px;color: #666;margin-bottom: 10px;margin-top: 10px;">
  147. 注:VIP的最终解释权归本站所有</view>
  148. </view>
  149. </view>
  150. </template>
  151. <script>
  152. var windowWidth = uni.getSystemInfoSync().windowWidth
  153. export default {
  154. data() {
  155. return {
  156. windowWidth: windowWidth + 'px',
  157. system: uni.getStorageSync('system'),
  158. };
  159. },
  160. methods: {
  161. joinvip(type) {
  162. uni.redirectTo({
  163. url: 'joinvip?type=' + type
  164. })
  165. }
  166. }
  167. }
  168. </script>
  169. <style lang="scss">
  170. .page {
  171. font-size: 14px;
  172. }
  173. .duibBox {
  174. margin-top: 20px;
  175. text-align: center;
  176. border-top: 1px solid #e5e5e5;
  177. }
  178. .duibBox>p {
  179. background-color: #FFF;
  180. margin-top: -15px;
  181. height: 30px;
  182. line-height: 30px;
  183. text-align: center;
  184. font-size: 16px;
  185. font-weight: 600;
  186. width: 140px;
  187. margin-left: calc(50% - 70px);
  188. }
  189. .duibtable {
  190. width: 100%;
  191. border-spacing: 0px;
  192. margin-top: 20px;
  193. }
  194. .duibtable th,
  195. .duibtable td {
  196. width: 18%;
  197. line-height: 35px;
  198. }
  199. .duibtable th:first-child {
  200. color: #666;
  201. width: 26%;
  202. }
  203. .duibtable th {
  204. color: #fff;
  205. text-align: center;
  206. font-size: 14px;
  207. }
  208. .duibtable td {
  209. text-align: center;
  210. border-right: 1px solid #e5e5e5;
  211. border-bottom: 1px solid #e5e5e5;
  212. }
  213. .duibtable image {
  214. height: 14px;
  215. width: 14px;
  216. vertical-align: middle;
  217. }
  218. .vipgreen {
  219. color: #2f9945
  220. }
  221. .viporg {
  222. color: #ff8728
  223. }
  224. .viphui {
  225. color: #999
  226. }
  227. .vipblue {
  228. color: #64c8ca
  229. }
  230. .vipblue01 {
  231. color: #3984e5
  232. }
  233. .qqqun01 {
  234. color: #F00;
  235. margin: 0 10px;
  236. }
  237. .qqqun02 {
  238. margin: 0 10px;
  239. }
  240. .vipred {
  241. color: #ff8728
  242. }
  243. .vipzis {
  244. color: #c562e6
  245. }
  246. .viphuibg01 {
  247. background: #f9f9f9;
  248. }
  249. .viphuibg02 {
  250. background: #eee;
  251. }
  252. .vipzisbg {
  253. background: #c562e6;
  254. }
  255. .orgbg {
  256. background: #ff8728;
  257. }
  258. .viphuibg {
  259. background: #b4b4c0;
  260. }
  261. .vipbluebg {
  262. background: #64c8ca;
  263. }
  264. .vipredbg {
  265. background: #f4614f;
  266. }
  267. .vipblack {
  268. color: #606266;
  269. font-size: 15px
  270. }
  271. .viphui {
  272. color: #999;
  273. }
  274. .vipMainBox,
  275. .vipMainBox .vipContent .tabbtnBox {
  276. width: 1200px;
  277. margin: 20px auto;
  278. background: #fff;
  279. }
  280. .vipMainBox {
  281. box-shadow: 0 1px 3px rgba(27, 95, 160, .1);
  282. }
  283. .btn1 {
  284. display: inline-block;
  285. cursor: pointer;
  286. height: 30px;
  287. line-height: 30px;
  288. padding: 0 10px;
  289. text-align: center;
  290. background-color: #ff8728;
  291. color: #fff !important;
  292. font-size: 12px;
  293. border: 0px;
  294. border-radius: 5px;
  295. vertical-align: middle;
  296. }
  297. .btn2 {
  298. display: inline-block;
  299. cursor: pointer;
  300. height: 30px;
  301. line-height: 30px;
  302. padding: 0 10px;
  303. text-align: center;
  304. margin: 0px 5px;
  305. background-color: #c562e6;
  306. color: #fff !important;
  307. font-size: 14px;
  308. border: 0px;
  309. border-radius: 5px;
  310. vertical-align: middle;
  311. }
  312. </style>