components.vue 14 KB

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