FreeUserBiddingMask.vue 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  1. <template>
  2. <section class="free-user-bidding-mask mask-container bg-white">
  3. <div class="mask-zz">
  4. <div class="compare-dialog-head">
  5. <div id="compare-dialog-title">
  6. 您尚未完善信息,今日查看公告权限用完啦
  7. </div>
  8. </div>
  9. <div class="compare-dialog-body">
  10. <div class="table-box">
  11. <ul class="table-box-row row-1">
  12. <li class="tab-box-column column-1">免费注册用户</li>
  13. <li class="tab-box-column column-2">
  14. <span class="bold">免费注册用户 </span>
  15. <span>(完善信息)</span>
  16. </li>
  17. <li class="tab-box-column column-3 jump-bigmember-page">
  18. <span class="bold">大会员</span>
  19. <span class="c-3-text" @click="openMemberLanding">
  20. 大数据赋能企业 <br />数字化营销&gt;
  21. </span>
  22. </li>
  23. </ul>
  24. <p class="split-row">标讯权益</p>
  25. <p class="common-row">
  26. 可查看招标预告、招标公告、招标结果、招标信用信息
  27. </p>
  28. <p class="split-row">超前项目权益</p>
  29. <ul class="table-box-row row-2">
  30. <li class="tab-box-column bd-r column-1">
  31. <van-icon name="cross" />
  32. </li>
  33. <li class="tab-box-column bd-r column-2">
  34. <van-icon name="cross" />
  35. </li>
  36. <li class="tab-box-column bd-r column-3 gold-color">
  37. <p>采购意向</p>
  38. <p>拟建项目</p>
  39. <p>AI智能预测</p>
  40. </li>
  41. </ul>
  42. <p class="split-row">每日查看数量</p>
  43. <ul class="table-box-row row-3">
  44. <li class="tab-box-column bd-r column-1">3条</li>
  45. <li class="tab-box-column bd-r column-2 blue-color">不限</li>
  46. <li class="tab-box-column bd-r column-3 gold-color">不限</li>
  47. </ul>
  48. <ul class="table-box-row row-4 row-last">
  49. <li class="tab-box-column bd-r column-1">&nbsp;</li>
  50. <li class="tab-box-column bd-r column-2">
  51. <span class="free-btn-reword" @click="improveInformation">
  52. 完善个人信息
  53. </span>
  54. </li>
  55. <li class="tab-box-column bd-r column-3 gold-color">
  56. <span class="free-btn-experience" @click="freeUse">免费体验</span>
  57. <span class="jump-customer-service" @click="concatKf">
  58. 咨询客服
  59. </span>
  60. </li>
  61. </ul>
  62. </div>
  63. </div>
  64. </div>
  65. </section>
  66. </template>
  67. <script>
  68. import { Icon } from 'vant'
  69. import { LINKS } from '@/data'
  70. import { openAppOrWxPage } from '@/utils/'
  71. export default {
  72. name: 'FreeUserBiddingMask',
  73. components: {
  74. [Icon.name]: Icon
  75. },
  76. props: {
  77. beforeLeavePage: Function
  78. },
  79. methods: {
  80. async openMemberLanding() {
  81. if (this.beforeLeavePage) {
  82. await this.beforeLeavePage()
  83. }
  84. openAppOrWxPage(LINKS.大会员落地页面)
  85. },
  86. improveInformation() {
  87. this.leaveInfo(`jyarticle_see3_plus_${this.$env.platform}`)
  88. },
  89. freeUse() {
  90. this.leaveInfo(`${this.$env.platform}_article_member_freeuse`)
  91. },
  92. async leaveInfo(source) {
  93. if (this.beforeLeavePage) {
  94. await this.beforeLeavePage()
  95. }
  96. openAppOrWxPage(LINKS.留资, {
  97. query: {
  98. source
  99. }
  100. })
  101. },
  102. async concatKf() {
  103. if (this.beforeLeavePage) {
  104. await this.beforeLeavePage()
  105. }
  106. openAppOrWxPage(LINKS.客服)
  107. }
  108. }
  109. }
  110. </script>
  111. <style lang="scss" scoped>
  112. .mask-container {
  113. display: flex;
  114. flex-direction: column;
  115. align-items: center;
  116. justify-content: center;
  117. width: 100%;
  118. min-height: 520px;
  119. background-image: url(@/assets/image/mask/bg/article_content_mask_bg.png);
  120. background-size: cover;
  121. background-repeat: no-repeat;
  122. }
  123. .mask-zz {
  124. margin: 0 auto;
  125. width: 335px;
  126. box-shadow: 0px 0px 28px 1px rgb(0 0 0 / 8%);
  127. border-radius: 8px 8px 8px 8px;
  128. background-color: white;
  129. overflow: hidden;
  130. }
  131. .compare-dialog-head {
  132. height: 56px;
  133. color: #171826;
  134. text-align: center;
  135. font-size: 15px;
  136. line-height: 56px;
  137. background: url(@/assets/image/mask/bg/pc_zzt2.png) no-repeat center center;
  138. background-size: contain;
  139. }
  140. .compare-dialog-body {
  141. padding: 14px 16px;
  142. }
  143. .table-box {
  144. flex-shrink: 0;
  145. border: 1px solid #e5e5e5;
  146. border-radius: 6px;
  147. .bold {
  148. font-weight: bold;
  149. }
  150. .gold-color {
  151. color: #b1700e;
  152. }
  153. .blue-color {
  154. color: $main;
  155. }
  156. .bd-r {
  157. border-right: 1px solid #e5e5e5;
  158. }
  159. .table-box-row {
  160. display: flex;
  161. justify-content: space-between;
  162. align-items: center;
  163. font-size: 12px;
  164. border-bottom: 1px solid #e5e5e5;
  165. color: #171826;
  166. }
  167. .tab-box-column {
  168. flex: 1;
  169. height: 100%;
  170. text-align: center;
  171. display: flex;
  172. flex-direction: column;
  173. align-items: center;
  174. justify-content: center;
  175. font-size: 13px;
  176. line-height: 16px;
  177. &.column-1 {
  178. flex: none;
  179. width: 28%;
  180. }
  181. }
  182. .split-row {
  183. display: flex;
  184. padding: 1px 16px;
  185. height: 26px;
  186. justify-content: center;
  187. align-items: center;
  188. color: $main;
  189. font-size: 12px;
  190. line-height: 18px;
  191. border-bottom: 1px solid #e5e5f5;
  192. background: #ecfcfe;
  193. }
  194. .common-row {
  195. padding: 2px 12px;
  196. color: #5f5e64;
  197. font-size: 13px;
  198. line-height: 20px;
  199. border-bottom: 1px solid #e5e5e5;
  200. }
  201. .row-1 {
  202. height: 64px;
  203. .column-1 {
  204. background: #f5f6f7;
  205. }
  206. .column-2 {
  207. background: $main;
  208. color: #fff;
  209. }
  210. .column-3 {
  211. padding: 0;
  212. background: linear-gradient(270deg, #f4deb1 0%, #fff3e0 100%);
  213. color: #593913;
  214. }
  215. .bold {
  216. font-size: 13px;
  217. }
  218. .c-3-text {
  219. text-decoration-line: underline;
  220. text-underline: #593913;
  221. }
  222. }
  223. .row-2 {
  224. height: 76px;
  225. .gold-color {
  226. line-height: 20px;
  227. }
  228. }
  229. .row-3 {
  230. height: 40px;
  231. }
  232. .row-4 {
  233. height: 72px;
  234. }
  235. .row-last {
  236. border-bottom: 0;
  237. }
  238. }
  239. .free-btn-reword {
  240. display: inline-block;
  241. border-radius: 4px;
  242. background: $main;
  243. height: 30px;
  244. color: #fff;
  245. text-align: center;
  246. font-size: 13px;
  247. padding: 5px 6px;
  248. line-height: 20px;
  249. margin-bottom: 4px;
  250. }
  251. .free-btn-experience {
  252. border-radius: 4px;
  253. border: 1px solid #e7c28a;
  254. height: 30px;
  255. background: linear-gradient(270deg, #fef0d7 0%, #fff9f0 100%);
  256. cursor: pointer;
  257. color: #b1700e;
  258. text-align: center;
  259. font-size: 13px;
  260. line-height: 20px;
  261. padding: 5px 19px;
  262. margin-bottom: 4px;
  263. }
  264. .jump-customer-service {
  265. text-decoration-line: underline;
  266. }
  267. </style>