components.vue 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417
  1. <template>
  2. <view class="noauth-cont" v-if="jurisdictionList.HasPermission === 2 || jurisdictionList.HasPermission === 3 || jurisdictionList.HasPermission === 4 || jurisdictionList.HasPermission === 5">
  3. <block v-if="!isShowAlert">
  4. <image src="https://hzstatic.hzinsights.com/cygx/czbk/noauth.png" class="noauth-ico"></image>
  5. <block v-if="jurisdictionList.HasPermission !== 2">
  6. <view v-if="jurisdictionList.IsResearch" class="research-noauth">
  7. <text v-if="jurisdictionList.IsResearchSpecial"
  8. style="margin:0 auto 100rpx ;width: 612rpx;"> 签约买方研选套餐才可参与此活动,请联系对口销售 </text>
  9. <block v-else>
  10. 暂无 <text class="strong-text">买方研选</text> 权限
  11. <text style="margin-bottom: 30rpx"> 您可申请开通试用 </text>
  12. </block>
  13. </view>
  14. <view class="tip" v-else>{{ jurisdictionList.PopupMsg }}</view>
  15. <view class="btn-cont" v-if="jurisdictionList.Type !== '专项调研' && (!jurisdictionList.IsResearchSpecial)" @click="applyAuth"> 立即申请 </view>
  16. </block>
  17. <view class="tip" v-if="jurisdictionList.HasPermission === 2">
  18. <view v-if="jurisdictionList.IsResearch" class="research-noauth">
  19. <text v-if="jurisdictionList.IsResearchSpecial"> 签约买方研选套餐才可参与此活动,请联系对口销售 </text>
  20. <block v-else>
  21. 暂无 <text class="strong-text">买方研选</text> 权限
  22. <text> 点击提交申请,提醒对口销售为你开通试用 </text>
  23. </block>
  24. </view>
  25. <block v-else>
  26. <block v-if="jurisdictionList.Type == '专项调研'"> 需要升级行业套餐权限才可参与此活动,请联系对口销售</block>
  27. <block v-else>
  28. <text style="margin-bottom: 20rpx"> 您暂无权限参加此活动 </text>
  29. <text>若想参加可以联系对口销售 </text>
  30. <text @click="callPhone(jurisdictionList.SellerMobile)" v-if="jurisdictionList.Type !== '专项调研'">
  31. {{ jurisdictionList.SellerName }}:
  32. <text style="color: #d4bf86; display: inline-block">{{ jurisdictionList.SellerMobile }}</text>
  33. </text>
  34. <text>申请开通对应的试用权限</text>
  35. </block>
  36. </block>
  37. </view>
  38. <view v-if="jurisdictionList.HasPermission === 2 && jurisdictionList.Type !== '专项调研' && !jurisdictionList.IsResearchSpecial" class="btn-cont" @click="sellerApplyAuth">
  39. {{ jurisdictionList.IsResearch ? "提交申请" : "立即申请" }}
  40. </view>
  41. <view class="btn-cont back-btn" @click="backIndex"> 返回</view>
  42. <view class="product-introduction-box" v-if="jurisdictionList.IsResearch">
  43. <!-- <view class="research-btn" @click="goRouterResearch('介绍')">
  44. <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/report_Yx.png"></image>
  45. 点击查看买方研选产品介绍
  46. </view>
  47. <view class="research-btn" @click="goRouterResearch('报价')">
  48. <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/quotation_icon.png"></image>
  49. 点击查看买方研选服务报价单
  50. </view> -->
  51. <view class="product-introduction">
  52. <view class="introduction-header">
  53. <view class="introduction-header-left"></view>
  54. <view class="introduction-header-right">
  55. <view class="introduction-title-CN">
  56. 产品介绍
  57. </view>
  58. <view class="introduction-title-US">
  59. Product Introduction
  60. </view>
  61. </view>
  62. </view>
  63. <view class="introduction-body">
  64. <view class="introduction-body-box">
  65. <view class="body-box-title">
  66. 独家亮点
  67. </view>
  68. <view class="introduction-body-row"><span class="highHight-text">低至1000</span>起访谈优质专家</view>
  69. <view class="introduction-body-row">重点公司小范围交流<span class="highHight-text">破圈</span>参加</view>
  70. <view class="introduction-body-row"><span class="highHight-text">海量</span>调研过程及纪要共享</view>
  71. </view>
  72. <view class="introduction-body-box">
  73. <view class="body-box-title">
  74. 优质资源
  75. </view>
  76. <view class="introduction-body-row"><span class="highHight-text">500+</span>篇/年调研纪要更新,</view>
  77. <view class="introduction-body-row"><span class="highHight-text">300+</span>场/年海内外重点公司小范围交流,</view>
  78. <view class="introduction-body-row"><span class="highHight-text">100+</span>场/年热点线下调研,</view>
  79. <view class="introduction-body-row"><span class="highHight-text">30000+</span>名优质行业专家长期合作,</view>
  80. <view class="introduction-body-row"><span class="highHight-text">1000+</span>名优秀买方汇集,</view>
  81. </view>
  82. <view class="introduction-body-box">
  83. <view class="body-box-title" style="margin-bottom: 18rpx;">
  84. 服务报价
  85. </view>
  86. <view class="body-row-content">
  87. <view class="body-row-title">
  88. 3万/年
  89. </view>
  90. <view class="introduction-body-row">含无限量调研纪要查阅</view>
  91. <view class="introduction-body-row"><span class="highHight-text">以及3</span>公开专家访谈;</view>
  92. </view>
  93. <view class="body-row-content">
  94. <view class="body-row-title">
  95. 5万/年
  96. </view>
  97. <view class="introduction-body-row">含无限量调研纪要查阅</view>
  98. <view class="introduction-body-row">
  99. <span class="highHight-text">以及15</span>公开专家访谈<span class="highHight-text">30</span>重点公司、专家小范围交流;
  100. </view>
  101. </view>
  102. <view class="body-row-content" style="margin-bottom: 0;">
  103. <view class="body-row-title">
  104. 10万/年
  105. </view>
  106. <view class="introduction-body-row">含无限量调研纪要查阅</view>
  107. <view class="introduction-body-row">
  108. <span class="highHight-text">以及40</span>公开专家访谈
  109. <span class="highHight-text">80</span>重点公司、专家小范围交流
  110. <span class="highHight-text">20</span>私享专家一对一。
  111. </view>
  112. </view>
  113. </view>
  114. </view>
  115. </view>
  116. </view>
  117. </block>
  118. <block v-else>
  119. <text class="moneh-text"> 上传名片并填写简单信息,24小时内我们会为您开通一个月的免费月卡 </text>
  120. <img src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/month_card.png" class="month_card" alt="" />
  121. <view class="btn-cont btn-dl" @click="applyAuth"> 立即上传 </view>
  122. <view class="btn-cont month-back" @click="backIndex"> 返回</view>
  123. </block>
  124. </view>
  125. </template>
  126. <script>
  127. import { User, FreeButton } from "@/config/api.js";
  128. export default {
  129. props: {
  130. jurisdictionList: {
  131. type: Object,
  132. required: true,
  133. default: {},
  134. },
  135. idAct: {
  136. type: Number,
  137. required: true,
  138. },
  139. },
  140. data() {
  141. return {
  142. isShowAlert: false,
  143. };
  144. },
  145. methods: {
  146. /* 无权限申请开通权限 */
  147. applyAuth() {
  148. /* 区分是否是潜在用户 */
  149. this.jurisdictionList.HasPermission === 3
  150. ? uni.navigateTo({
  151. url: "/pageMy/applyTrial/applyTrial?tryType=Activity&detailId=" + this.idAct,
  152. })
  153. : this.jurisdictionList.HasPermission === 5
  154. ? this.sellerApplyAuth()
  155. : uni.showModal({
  156. title: "",
  157. content: "您已经提交过申请了,请耐心等待",
  158. showCancel: false,
  159. confirmColor: "#3385FF",
  160. success: function (res) {},
  161. });
  162. },
  163. //销售的立即申请
  164. sellerApplyAuth() {
  165. User.applyTry({
  166. TryType: "Activity",
  167. DetailId: this.idAct,
  168. }).then((res) => {
  169. if (res.Ret === 200) {
  170. uni.showModal({
  171. title: "",
  172. content: "提交申请成功,请耐心等待",
  173. showCancel: false,
  174. confirmColor: "#3385FF",
  175. success: function (res) {
  176. this.backIndex();
  177. },
  178. });
  179. }
  180. });
  181. },
  182. // 返回首頁
  183. backIndex() {
  184. uni.navigateBack({
  185. fail() {
  186. uni.switchTab({
  187. url: "/pages/index/index",
  188. });
  189. },
  190. });
  191. },
  192. callPhone(num) {
  193. uni.makePhoneCall({
  194. phoneNumber: num,
  195. });
  196. },
  197. //获取权限弹窗是否展示免费月卡接口
  198. async userIsShowAlert() {
  199. const res = await FreeButton.userIsShowAlert();
  200. if (res.Ret === 200) {
  201. this.isShowAlert = res.Data.IsShow;
  202. }
  203. },
  204. /* 跳转研选 */
  205. goRouterResearch(type) {
  206. if (type == "介绍") {
  207. uni.navigateTo({
  208. url: "/pages-purchaser/productIntroduction/productIntroduction",
  209. });
  210. } else {
  211. uni.navigateTo({
  212. url: "/pages-purchaser/ProductQuotation/ProductQuotation",
  213. });
  214. }
  215. },
  216. },
  217. mounted() {
  218. // 免费送月卡
  219. // this.userIsShowAlert();
  220. },
  221. };
  222. </script>
  223. <style scoped lang="scss">
  224. .noauth-cont {
  225. padding-top: 170rpx;
  226. text-align: center;
  227. font-size: 28rpx;
  228. .noauth-ico {
  229. width: 365rpx;
  230. height: 229rpx;
  231. margin-bottom: 70rpx;
  232. }
  233. .tip {
  234. width: 532rpx;
  235. margin: 0 auto 100rpx;
  236. .contract {
  237. padding: 40rpx 90rpx 0;
  238. line-height: 44rpx;
  239. text {
  240. display: inline-block;
  241. }
  242. }
  243. }
  244. .btn-cont {
  245. width: 368rpx;
  246. height: 80rpx;
  247. background: linear-gradient(268deg, #2ddbff 0%, #1599ff 49%, #005eff 100%);
  248. color: #fff;
  249. font-size: 34rpx;
  250. margin: 0 auto;
  251. text-align: center;
  252. line-height: 80rpx;
  253. &.back-btn {
  254. background: #fff !important;
  255. color: #2c83ff;
  256. border: 1px solid #2c83ff;
  257. margin-top: 30rpx;
  258. }
  259. .btn_bg {
  260. width: 100%;
  261. height: 80rpx;
  262. position: absolute;
  263. left: 0;
  264. top: 0;
  265. }
  266. .btn-txt {
  267. width: 100%;
  268. position: absolute;
  269. z-index: 1;
  270. }
  271. }
  272. .product-introduction-box{
  273. background-color: #F7F7F7;
  274. padding-top: 10rpx;
  275. margin-top: 60rpx;
  276. .product-introduction{
  277. padding: 60rpx 60rpx 0;
  278. background-color: white;
  279. .introduction-header{
  280. margin-bottom: 40rpx;
  281. display: flex;
  282. .introduction-header-left{
  283. background-color: #CAAF8B;
  284. height: 90rpx;
  285. width: 14rpx;
  286. margin-right: 20rpx;
  287. }
  288. .introduction-header-right{
  289. text-align: left;
  290. .introduction-title-CN{
  291. font-weight: 500;
  292. font-size: 34rpx;
  293. color: #333333;
  294. line-height: 42rpx;
  295. margin-bottom: 8rpx;
  296. }
  297. .introduction-title-US{
  298. font-weight: 400;
  299. font-size: 28rpx;
  300. color: #C0C4CC;
  301. line-height: 42rpx;
  302. }
  303. }
  304. }
  305. .introduction-body{
  306. .introduction-body-box{
  307. text-align: left;
  308. margin-bottom: 40rpx;
  309. .body-row-content{
  310. margin-bottom: 40rpx;
  311. font-size: 34rpx;
  312. line-height: 48rpx;
  313. font-weight: 600;
  314. color: #CAAF8B;
  315. .body-row-title{
  316. margin-left: 40rpx;
  317. }
  318. }
  319. .body-box-title{
  320. font-weight: 600;
  321. font-size: 34rpx;
  322. line-height: 48rpx;
  323. padding-left: 40rpx;
  324. position: relative;
  325. margin-bottom: 22rpx;
  326. &::before{
  327. content: "";
  328. height: 20rpx;
  329. width: 20rpx;
  330. background-color: #CAAF8B;
  331. border-radius: 20rpx;
  332. position: absolute;
  333. left: 0;
  334. top: 16rpx;
  335. }
  336. }
  337. .introduction-body-row{
  338. margin-left: 40rpx;
  339. font-weight: 400;
  340. font-size: 26rpx;
  341. color: #333333;
  342. line-height: 36rpx;
  343. }
  344. .highHight-text{
  345. color: #CAAF8B;
  346. }
  347. }
  348. }
  349. }
  350. }
  351. .month_card {
  352. width: 100%;
  353. height: 565rpx;
  354. padding-left: -20rpx;
  355. }
  356. .btn-dl {
  357. background: linear-gradient(253deg, #fcf3e9 0%, #eedec8 100%) !important;
  358. color: #333 !important;
  359. margin: 30rpx auto !important;
  360. }
  361. .month-back {
  362. background: #f6f6f6 !important;
  363. color: #999 !important;
  364. }
  365. .moneh-text {
  366. text-align: center;
  367. width: 632rpx;
  368. margin: 0 auto 20rpx;
  369. color: #999999;
  370. }
  371. .research-noauth {
  372. color: #333;
  373. font-size: 36rpx;
  374. width: calc(100% + 80rpx);
  375. margin-left: -40rpx;
  376. .strong-text {
  377. display: inline-block;
  378. padding: 0 10rpx;
  379. font-weight: 500;
  380. }
  381. text:last-child {
  382. font-size: 32rpx;
  383. font-size: 34rpx;
  384. color: #999999;
  385. margin-top: 10rpx;
  386. }
  387. }
  388. // .research-btn {
  389. // display: flex;
  390. // align-items: center;
  391. // font-size: 32rpx;
  392. // width: 546rpx;
  393. // height: 78rpx;
  394. // margin: 30rpx auto;
  395. // background: #f8f8fa;
  396. // border-radius: 4rpx;
  397. // padding-left: 40rpx;
  398. // image {
  399. // width: 40rpx;
  400. // height: 40rpx;
  401. // margin-right: 10rpx;
  402. // }
  403. // }
  404. }
  405. </style>