index.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697
  1. <template>
  2. <div class="flex w-full title">
  3. <div class="flex-[1]"></div>
  4. <div id="home" class="h-[100px] bg-[#fff] flex items-center justify-between w-[1200px]">
  5. <!-- 头部title -->
  6. <div class="flex items-center">
  7. <img src="~/public/favicon.ico" class="w-[50px] h-[50px] mr-[10px]" alt="">
  8. <div class="flex flex-col">
  9. <span class="text-[#333333] text-[24px] font-medium">惠融易客</span>
  10. <span class="text-[16px] font-light">
  11. HUIRONG CRM
  12. </span>
  13. </div>
  14. </div>
  15. <!-- 右边 -->
  16. <ul class='flex items-center'>
  17. <li v-for="i in headerTitle" :key="i.go" @click="titleRight(i.go)"
  18. class="pr-[70px] text-[#999999] cursor-pointer text-[18px]">
  19. {{ i.title }}
  20. </li>
  21. <li class="px-[16px] text-[#999999] font-medium" @click="loginBtn">
  22. <!-- <n-button type="info" class="bg-[#165DFF] text-[18px] w-[130px] h-[42px]" style="border-radius: 6px;" >
  23. 登录/注册
  24. </n-button> -->
  25. <van-button type="primary"> 登录/注册</van-button>
  26. </li>
  27. </ul>
  28. </div>
  29. <div class="flex-[1]">
  30. </div>
  31. </div>
  32. <!-- 图片 -->
  33. <div>
  34. <div class="relatives flex ">
  35. <div class="flex-[1]">
  36. </div>
  37. <!-- <img src="~/public/image/img_home.png" class="w-full" alt=""> -->
  38. <div class="w-[1200px] flex flex-col text-[#fff] mt-[160px]">
  39. <div class="text-[54px] font-normal flex">
  40. <h1 class="pr-[15px]">惠融易客</h1>
  41. <div>
  42. 数字金融服务商
  43. </div>
  44. </div>
  45. <span class="mt-[12px] mb-[50px] text-[20px] font-light" style="letter-spacing: 1px;">提交申请,立即开启企业数字化升级/提供专家1V1服务,提供企业定制化数字解决方案</span>
  46. <!-- <n-button type="info" class="bg-[#165DFF] w-[256px] h-[67px] text-[26px]" @click="btn">
  47. 立即申请试用
  48. </n-button>
  49. <br> -->
  50. <van-button type="primary" class="bg-[#165DFF] w-[256px] h-[67px] text-[26px]" @click="btn">立即申请试用</van-button>
  51. </div>
  52. <div class="flex-[1]">
  53. </div>
  54. </div>
  55. </div>
  56. <!-- 传统问题 traditional-->
  57. <div class="flex flex-col items-center justify-center py-[100px] bg-[#fafafa]">
  58. <h2 class="text-[36px] font-medium">传统方式管理难点</h2>
  59. <span class="text-[#999999] pt-[10px] pb-[60px] text-[18px]">传统方式管理过程中有哪些问题?</span>
  60. <div class="flex">
  61. <div></div>
  62. <ul class="flex items-center justify-between w-[1200px]">
  63. <li class="w-[386px] h-[286px]">
  64. <img src="~/public/image/p_img_home_qs_0_0.png" alt="">
  65. </li>
  66. <li class="w-[386px] h-[286px]">
  67. <img src="~/public/image/p_img_home_qs_0_1.png" alt="">
  68. </li>
  69. <li class="w-[386px] h-[286px]">
  70. <img src="~/public/image/p_img_home_qs_0_2.png" alt="">
  71. </li>
  72. </ul>
  73. <div></div>
  74. </div>
  75. </div>
  76. <div class="w-full advantage flex flex-col items-center justify-center text-[#fff]">
  77. <h2 class="text-[36px] font-medium mt-[100px]">我们的优势</h2>
  78. <span class=" pb-[60px] text-[18px] mt-[10px]">与传统方式相比较,惠融易客的优势又有哪些?</span>
  79. <div class="flex mb-[102px]">
  80. <div></div>
  81. <ul class="flex items-center justify-between w-[1200px]">
  82. <li class="w-[386px] h-[294px]">
  83. <img src="~/public/image/advant-01.png" alt="">
  84. </li>
  85. <li class="w-[386px] h-[294px]">
  86. <img src="~/public/image/advant-02.png" alt="">
  87. </li>
  88. <li class="w-[386px] h-[294px]">
  89. <img src="~/public/image/advant-03.png" alt="">
  90. </li>
  91. </ul>
  92. <div></div>
  93. </div>
  94. <!-- <img src="~/public/image/advantage-title.png" class="w-[1200px] mx-auto" alt=""> -->
  95. </div>
  96. <!-- 精准获客 -->
  97. <div id="solution" class="flex flex-col items-center justify-center pt-[100px] pb-[100px]">
  98. <h2 class="text-[36px] font-medium">精准获客</h2>
  99. <span class="text-[#999999] pt-[10px] pb-[60px] text-[18px]">多渠道投放对接,帮助企业精准推广产品矩阵</span>
  100. <div class="flex w-full">
  101. <div class="flex-[1]"></div>
  102. <ul class="w-[1200px] flex items-center flex-wrap justify-center mx-auto">
  103. <li class="w-[285px] h-[150px] mr-[20px] mb-[20px]">
  104. <img src="~/public/image/img_home_ad_0.png" alt="">
  105. </li>
  106. <li class="w-[285px] h-[150px] mr-[20px] mb-[20px]">
  107. <img src="~/public/image/img_home_ad_1.png" alt="">
  108. </li>
  109. <li class="w-[285px] h-[150px] mr-[20px] mb-[20px]">
  110. <img src="~/public/image/img_home_ad_2.png" alt="">
  111. </li>
  112. <li class="w-[285px] h-[150px] mb-[20px]">
  113. <img src="~/public/image/img_home_ad_3.png" alt="">
  114. </li>
  115. <li class="w-[285px] h-[150px] mr-[20px]">
  116. <img src="~/public/image/img_home_ad_4.png" alt="">
  117. </li>
  118. <li class="w-[285px] h-[150px] mr-[20px]">
  119. <img src="~/public/image/img_home_ad_5.png" alt="">
  120. </li>
  121. <li class="w-[285px] h-[150px] mr-[20px]">
  122. <img src="~/public/image/img_home_ad_6.png" alt="">
  123. </li>
  124. <li class="w-[285px] h-[150px]">
  125. <img src="~/public/image/img_home_ad_7.png" alt="">
  126. </li>
  127. </ul>
  128. <div class="flex-[1]">
  129. </div>
  130. </div>
  131. </div>
  132. <!-- 免费试用 trial-->
  133. <div class="w-full h-full trial">
  134. <div></div>
  135. <div class="w-[1200px] mx-auto flex flex-col items-center text-[#161616] pt-[100px] pb-[110px]">
  136. <h2 class="font-medium text-[36px]" @click="btn">免费试用</h2>
  137. <div class="mt-[10px] mb-[18px] text-[18px] text-[#999999]">
  138. 立即免费试用惠融易客CRM 提升企业业绩
  139. </div>
  140. <div class="mb-[25px] flex items-center font-medium text-[30px]">
  141. <span>已有</span>
  142. <ul class="flex justify-center items-center mx-[5px] my-[20px]">
  143. <li v-for="item in freeList" class=" bg-[#fff] w-[50px] h-[60px] text-[36px] text-center mx-[5px] rounded-[4px]">
  144. {{ item }}
  145. </li>
  146. </ul>
  147. <span>
  148. 人加入
  149. </span>
  150. </div>
  151. <!-- <n-button type="info" class="bg-[#165DFF] w-[400px] h-[70px] text-[24px]" @click="btn">
  152. 立即申请试用
  153. </n-button>
  154. <br> -->
  155. <van-button type="primary">立即申请试用</van-button>
  156. </div>
  157. <div>
  158. </div>
  159. </div>
  160. <!-- 咨询信息 message-->
  161. <div class="flex flex-col items-center justify-center pt-[70px] pb-[70px] mx-[50px] message" v-if="homeList[0]">
  162. <h2 class="text-[36px] font-medium">资讯信息</h2>
  163. <span class="text-[#999999] px-[10px] pt-[10px] pb-[40px] text-[18px]">点击了解惠融易客的更多信息</span>
  164. <div class="flex flex-row items-center w-[100%] 2xl:px-[100px] box-border">
  165. <div @click="go(-1)" class="w-[50px]">
  166. <img src="~/public/image/left.png" class="w-[50px] h-[40px]" alt="">
  167. </div>
  168. <div class="flex w-[1200px] flex-col items-center mx-auto">
  169. <div class="flex justify-center pb-[20px]">
  170. <n-carousel autoplay :currentIndex="currentIndex">
  171. <img v-for="item in homeList" class="carousel-img" :src="item.images">
  172. </n-carousel>
  173. <div class="flex flex-col justify-between ml-[30px] font-medium text-[24px] w-[500px]">
  174. <h1>{{ homeList[currentIndex].title }}</h1>
  175. <div class="flex items-center justify-between h-[50px]">
  176. <span class="text-[18px] text-[#666] text1">
  177. {{ homeList[currentIndex].summary }}
  178. </span>
  179. <!-- <n-button type="info" class="bg-[#165DFF] text-[18px] w-[130px] h-[42px]" @click="btnContent(currentIndex)">
  180. 查看详情
  181. </n-button> -->
  182. <van-button type="primary" @click="btnContent(currentIndex)">查看详情</van-button>
  183. </div>
  184. </div>
  185. </div>
  186. <ul class="custom-dots">
  187. <li v-for="(i, index) in homeList" :key="index" :class="{ ['is-active']: currentIndex === index }"
  188. @click="customFn(index)">
  189. </li>
  190. </ul>
  191. </div>
  192. <div @click="go(+1)" class="w-[50px]">
  193. <img src="~/public/image/right.png" class="w-[50px] h-[40px]" alt="">
  194. </div>
  195. </div>
  196. </div>
  197. <div class="w-full bg-[#1f1d2a] pt-[20px] pb-[10px] relative" id="contact">
  198. <div class="w-[1200px] m-auto">
  199. <div class="flex justify-between">
  200. <!-- 左侧 -->
  201. <div class="flex">
  202. <!-- 左边 -->
  203. <div class="flex flex-col text-[#999999] mr-[30px]">
  204. <h3 class="text-[16px] font-medium text-[#fff]">
  205. 联系方式
  206. </h3>
  207. <span class="text-[12px] my-[20px]">
  208. 客服: kefu@meloinfo.com
  209. </span>
  210. <span class="text-[12px]">
  211. 商务: 17723267692(微信同号)
  212. </span>
  213. </div>
  214. <!-- 地址 -->
  215. <div class="text-[#999999]">
  216. <h3 class="text-[16px] font-medium mb-[20px] text-[#fff]">
  217. 公司地址
  218. </h3>
  219. <span class="text-[12px]">
  220. 重庆市两江新区大竹林街道清枫北路10号3幢双子座A座1406
  221. </span>
  222. </div>
  223. </div>
  224. <!-- 二维码 -->
  225. <div class="flex items-center justify-center">
  226. <div class="flex flex-col items-center justify-center ml-" v-if="bottomCode.wxQrUrl">
  227. <!-- <div class="flex flex-col items-center justify-center"> -->
  228. <span class="text-[#fff] text-[16px] mb-[20px]">
  229. 关注公众号
  230. </span>
  231. <img :src="bottomCode.wxQrUrl" style="width:100px;height:100px" alt="">
  232. </div>
  233. <div class="flex flex-col items-center justify-center mx-[50px]" v-if="bottomCode.iosQrUrl">
  234. <span class="text-[#fff] text-[16px] mb-[20px]">
  235. iosAPP下载
  236. </span>
  237. <img :src="bottomCode.iosQrUrl" style="width:100px;height:100px" alt="">
  238. </div>
  239. <div class="flex flex-col items-center justify-center" v-if="bottomCode.androidQrUrl">
  240. <!-- <div class="flex flex-col items-center justify-center"> -->
  241. <span class="text-[#fff] text-[16px] mb-[20px]">
  242. 安卓APP下载
  243. </span>
  244. <img :src="bottomCode.androidQrUrl" style="width:100px;height:100px" alt="">
  245. <!-- <img src="~/public/image/tryOut.png" style="width:100px;height:100px" alt=""> -->
  246. </div>
  247. </div>
  248. </div>
  249. <!-- 备案号 -->
  250. <div class="h-[154px] flex flex-col items-center justify-center text-[#585667] text-[10px] py-[60px]">
  251. <div class="pt-[30px]">
  252. <span>Copyright © 2023 重庆惠融数字科技有限公司版权所有</span>
  253. <span>
  254. 渝ICP备2023000211号-4
  255. </span>
  256. <span class="mx-[10px]">
  257. 营业执照:91500000MA60U0WQ8Y
  258. </span>
  259. </div>
  260. <div class="my-[20px]">
  261. 违法和不良信息举报邮箱:sugarpark@163.com
  262. </div>
  263. <div>
  264. <span class="ml-[20px]">
  265. 联网备案号:50019002502299
  266. </span>
  267. <span>
  268. 中国互联网违法和不良信息举报中心
  269. </span>
  270. </div>
  271. </div>
  272. </div>
  273. <div class="absolute bottom-[140px] left-0 w-full">
  274. <div class="w-full h-0 opacity-[1] border-[1px] border-[#2B374A]">
  275. </div>
  276. </div>
  277. </div>
  278. <n-modal v-model:show="showModal">
  279. <n-card style="width: 800px" title="申请试用" :bordered="false" size="huge" role="dialog" aria-modal="true">
  280. <div class="text-[#999999] text-[18px] pt-[15px] pb-[12px]">
  281. 为了我们能更好的服务您,请您填写以下信息,如遇到问题,请您拨打免费服务热线
  282. </div>
  283. <n-form ref="formRef" :model="customer" :rules="rules">
  284. <n-form-item path="companyName" label="公司名称">
  285. <n-input v-model:value="customer.companyName" @keydown.enter.prevent class="h-[55px] leading-[55px]"
  286. placeholder="请输入公司名称" />
  287. </n-form-item>
  288. <n-form-item path="city" label="所在城市">
  289. <n-input v-model:value="customer.city" class="h-[55px] leading-[55px]" placeholder="请选择所在城市" />
  290. <!-- <n-cascader v-model:value="customer.city" placeholder="请选择所在城市" class="h-[55px] leading-[55px]"
  291. :options="provice" check-strategy="child" :show-path="true" value-field="name" label-field="name" @update:value="handleUpdateValue"
  292. /> -->
  293. </n-form-item>
  294. <n-form-item path="customName" label="姓名">
  295. <n-input v-model:value="customer.customName" class="h-[55px] leading-[55px]" placeholder="请输入姓名" />
  296. </n-form-item>
  297. <n-form-item path="phone" label="联系方式">
  298. <n-input v-model:value="customer.phone" class="h-[55px] leading-[55px]" placeholder="请输入联系方式" />
  299. </n-form-item>
  300. <n-form-item path="verifyCode" label="验证码" class="">
  301. <n-input v-model:value="customer.verifyCode" class="h-[55px] leading-[55px]" placeholder="请输入验证码" />
  302. <n-button type="info" class="w-[150px] h-[55px] text-[#fff] bg-[#1f4df5] ml-[20px] rounded-[4px] text-[18px]" :disabled="countdown != 0"
  303. @click="verifyCodeFn">
  304. {{ countdown == 0 ? '获取验证码' : countdown }}
  305. </n-button>
  306. </n-form-item>
  307. <div class="flex justify-center mt-[20px]">
  308. <n-button type="info" class="w-[700px] h-[55px] text-[20px] text-[#fff] bg-[#1f4df5] rounded-[4px]" @click="handleValidateButtonClick">
  309. 立即提交
  310. </n-button>
  311. </div>
  312. </n-form>
  313. </n-card>
  314. </n-modal>
  315. <!-- <nuxt-link to="/list/123">news-1</nuxt-link> -->
  316. </template>
  317. <script lang="ts" setup>
  318. import { reactive, ref } from 'vue'
  319. import { useRouter } from 'vue-router'
  320. import { postListData, downInfo, sendSms, postCustomer } from '~/server/api/index'
  321. import { provice } from '~/utils/city'
  322. import {
  323. FormRules,
  324. useMessage,
  325. FormInst,
  326. } from 'naive-ui'
  327. // console.log('provice',provice)
  328. const router = useRouter()
  329. const headerTitle = reactive([
  330. {
  331. title: '首页',
  332. go: 'home'
  333. },
  334. {
  335. title: '解决方案',
  336. go: 'solution'
  337. },
  338. {
  339. title: '联系我们',
  340. go: 'contact'
  341. },
  342. {
  343. title: '申请试用',
  344. go: 'probation'
  345. }
  346. ]
  347. )
  348. const titleRight = (i: string) => {
  349. if (i == 'probation') {
  350. btn()
  351. return
  352. }
  353. document.querySelector('#' + i)?.scrollIntoView()
  354. }
  355. const freeList = reactive(['3', '0', '7', '0', '1', '3', '7', '4'])
  356. const message = useMessage()
  357. const num = reactive([{
  358. img: '~/public/image/p_img_home_qs_0_0.png'
  359. },
  360. {
  361. img: '~/public/image/p_img_home_qs_0_1.png'
  362. },
  363. {
  364. img: '~/public/image/p_img_home_qs_0_2.png'
  365. }
  366. ])
  367. // console.log('import.meta.url', import.meta.url)
  368. const getImg = (name: number) => {
  369. return new URL(`/public/image/p_img_home_qs_0_${name}.png`, import.meta.url).href;
  370. }
  371. const loginBtn =()=>{
  372. console.log('跳转')
  373. // window.location.replace('http://p.daicrm.com/#/login')
  374. // window.location.href('http://p.daicrm.com/#/login')
  375. }
  376. const currentIndex = ref(1)
  377. const customFn = (i: number) => {
  378. console.log('i', i)
  379. currentIndex.value = i
  380. }
  381. const go = (i: number) => {
  382. currentIndex.value = currentIndex.value + i
  383. if (currentIndex.value > homeList.value.length - 1) {
  384. currentIndex.value = 0
  385. return
  386. }
  387. if (currentIndex.value < 0) {
  388. currentIndex.value = homeList.value.length - 1
  389. return
  390. }
  391. }
  392. const btnContent = (i: number) => {
  393. // 跳转
  394. console.log('跳转', i)
  395. localStorage.setItem('hryk-id',homeList.value[i].id)
  396. router.push({
  397. path: '/list/'
  398. })
  399. }
  400. let homeList: any = ref([])
  401. const postListDataFn = async () => {
  402. let list = await postListData({
  403. "categoryId": 1
  404. })
  405. console.log('postListDataFn', list)
  406. list.data.data ? homeList.value = list.data.data.list : ''
  407. }
  408. let bottomCode: any = ref([])
  409. postListDataFn()
  410. const downInfoFn = async () => {
  411. const list = await downInfo()
  412. console.log('list', list)
  413. bottomCode.value = list.data.data
  414. }
  415. downInfoFn()
  416. // 框显示隐藏
  417. let showModal = ref<boolean>(false)
  418. const rules: FormRules = {
  419. companyName: [
  420. {
  421. required: true,
  422. trigger: ['blur', 'input'],
  423. message: '请输入公司名称'
  424. }
  425. ],
  426. customName: [
  427. {
  428. required: true,
  429. trigger: ['blur', 'input'],
  430. message: '请输入姓名'
  431. }
  432. ],
  433. city: [
  434. {
  435. required: true,
  436. trigger: ['blur', 'input'],
  437. message: '请选择所在城市'
  438. }
  439. ],
  440. phone: [
  441. {
  442. required: true,
  443. trigger: ['blur', 'input'],
  444. message: '请输入手机号'
  445. }
  446. ],
  447. verifyCode: [
  448. {
  449. required: true,
  450. trigger: ['blur', 'input'],
  451. message: '请输入验证码'
  452. }
  453. ],
  454. }
  455. interface customerType {
  456. sceneType?: string;
  457. companyName?: null | string;
  458. customName?: null | string;
  459. city?: null | string;
  460. phone?: null | string;
  461. verifyCode?: null | string;
  462. channel?: number;
  463. }
  464. let countdown = ref(0)
  465. const customer = ref<customerType>({
  466. sceneType: "loanofficial", // 场景
  467. companyName: null,// 公司名称
  468. customName: null, // 姓名
  469. city: null, // 所在城市
  470. phone: null, // 手机号
  471. verifyCode: null, //验证码
  472. channel: 16, //pc官网16 手机端17
  473. })
  474. const verifyCodeFn = async () => {
  475. if (customer.value.phone) {
  476. if (new RegExp('^1[0-9]{10}$').test(customer.value.phone)) {
  477. let z = await sendSms({
  478. sceneType: "loanofficial",
  479. userMobile: customer.value.phone
  480. })
  481. if (z.data.code == 0) {
  482. message.success('发送成功')
  483. countdown.value = 60
  484. // this.countDown()
  485. countDown()
  486. // console.log('进来了', this.countdown)
  487. } else {
  488. message.error('发送失败')
  489. }
  490. } else {
  491. message.error('请输入正确手机号')
  492. }
  493. } else {
  494. // 唤起提示
  495. message.error('请输入手机号')
  496. }
  497. }
  498. // 倒计时
  499. const countDown = () => {
  500. // 设置倒计时
  501. const intervalBtn = setInterval(() => {
  502. if (countdown.value == 1) {
  503. // 清除定时器
  504. clearInterval(intervalBtn)
  505. // 重置倒计时状态
  506. countdown.value = 0
  507. };
  508. // 倒计时
  509. countdown.value--
  510. }, 1000)
  511. }
  512. const formRef = ref<FormInst | null>(null)
  513. const handleValidateButtonClick = (e: MouseEvent) => {
  514. e.preventDefault()
  515. formRef.value?.validate(async (errors) => {
  516. if (!errors) {
  517. message.success('验证成功')
  518. console.log('customer.value', customer.value)
  519. let z = await postCustomer(customer.value)
  520. console.log('zzz', z)
  521. if (z.data.msg == '成功') {
  522. // 关闭页面
  523. fouse()
  524. }
  525. } else {
  526. console.log(errors)
  527. message.error('验证失败')
  528. }
  529. })
  530. }
  531. const fouse = () => {
  532. showModal.value = false
  533. }
  534. const btn = () => {
  535. showModal.value = true
  536. }
  537. const handleUpdateValue = (value: string) => {
  538. console.log(value, '进来了')
  539. }
  540. </script>
  541. <style scoped lang="scss">
  542. p {
  543. color: var(--link-color)
  544. }
  545. .relatives {
  546. width: 100%;
  547. height: 600px;
  548. background: url(~/public/image/img_home.png) no-repeat;
  549. background-size: cover;
  550. }
  551. .trial {
  552. background: url(~/public/image/try_out.png) no-repeat;
  553. background-size: cover;
  554. }
  555. .advantage{
  556. background: url(~/public/image/advantage.png) no-repeat;
  557. background-size: cover;
  558. }
  559. img{
  560. height: 100%;
  561. }
  562. .n-carousel {
  563. width: 529px !important;
  564. }
  565. .carousel-img {
  566. width: 509px;
  567. height: 306px;
  568. border-radius: 4px;
  569. }
  570. .custom-dots {
  571. display: flex;
  572. margin: 0;
  573. padding: 0;
  574. }
  575. .custom-dots li {
  576. display: inline-block;
  577. width: 20px;
  578. height: 4px;
  579. margin: 0 5px;
  580. // border-radius: 4px;
  581. background: #0000001d;
  582. transition: width 0.3s, background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  583. cursor: pointer;
  584. }
  585. .custom-dots li.is-active {
  586. width: 40px;
  587. background: #0047FF;
  588. }
  589. .text1{
  590. display: inline-block;
  591. white-space: nowrap;
  592. width: 300px;
  593. overflow: hidden;
  594. text-overflow:ellipsis;
  595. }
  596. ::v-deep(.n-button){
  597. border-radius:4px !important;
  598. }
  599. // 框
  600. ::v-deep(.n-card-header__main) {
  601. flex: inherit !important;
  602. margin: 0 auto !important;
  603. }
  604. ::v-deep(.n-card-header) {
  605. padding: 0 !important;
  606. padding-top: 50px !important;
  607. }
  608. ::v-deep(.n-card__content) {
  609. flex: inherit;
  610. margin: 0 auto;
  611. margin-bottom: 50px !important;
  612. }
  613. ::v-deep(.n-form-item-label) {
  614. display: none !important;
  615. }
  616. ::v-deep(.n-form-item){
  617. --n-label-height: 10px !important;
  618. }
  619. ::v-deep(.n-carousel__dots) {
  620. display: none !important;
  621. }
  622. ::v-deep(.n-input__input-el) {
  623. height: 55px !important;
  624. line-height: 55px !important;
  625. }
  626. ::v-deep(.n-card-header__main){
  627. font-size: 30px;
  628. }
  629. // 按钮样式
  630. ::v-deep(.van-button--normal){
  631. border-radius: 6px;
  632. background: #0047FF;
  633. border: 0;
  634. height: 67px;
  635. }
  636. .trial ::v-deep(.van-button--normal){
  637. border-radius: 6px;
  638. background: #0047FF;
  639. border: 0;
  640. width: 400px;
  641. height: 67px;
  642. }
  643. ::v-deep(.van-button__content){
  644. font-size: 24px;
  645. }
  646. .title ::v-deep(.van-button--normal){
  647. border-radius: 6px;
  648. background: #0047FF;
  649. border: 0;
  650. width: 130px;
  651. height: 42px;
  652. }
  653. .title ::v-deep(.van-button__content){
  654. font-size: 16px;
  655. }
  656. .message ::v-deep(.van-button--normal){
  657. border-radius: 6px;
  658. background: #0047FF;
  659. border: 0;
  660. width: 130px;
  661. height: 42px;
  662. }
  663. .message ::v-deep(.van-button__content){
  664. font-size: 16px;
  665. }
  666. </style>