m_user.vue 20 KB

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