m_list.vue 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286
  1. <template>
  2. <div class="bg-[#fafafa]">
  3. <div class="flex mx-[20px] h-[44px] items-center">
  4. <div class="w-[24px]" @click="titleRight">
  5. <!-- <img src="~/public/image/title-left.png" style="width: 24px;" alt=""> -->
  6. <van-icon name="arrow-left" size="24" />
  7. </div>
  8. <div class="flex-1 flex items-center justify-center">
  9. <img src="~/public/favicon.ico" style="width: 24px;" alt="">
  10. </div>
  11. <div class="w-[24px]">
  12. <a href="tel:17723267692">
  13. <img src="~/public/image/title-right.png" style="width: 24px;" alt="">
  14. </a>
  15. </div>
  16. </div>
  17. <div class="flex w-full flex-col items-center justify-center bg-[#f4f4f4]">
  18. <h1 class="my-[20px] font-black text-[30px]">
  19. {{title}}
  20. </h1>
  21. <div class="w-[375px]">
  22. <p v-html="list">
  23. </p>
  24. </div>
  25. </div>
  26. <div class="w-full bg-[#131820] pt-[20px] pb-[10px] pl-[16px] mt-[20px]" id="contact">
  27. <n-collapse>
  28. <n-collapse-item title="联系方式" name="1">
  29. <div class="flex flex-col text-[#999]">
  30. <span class="text-[12px] mt-[16px]">
  31. 客服邮箱:kefu@hrshuke.com
  32. </span>
  33. <span class="text-[12px] my-[16px]">
  34. 客服投诉:400-003-9350
  35. </span>
  36. <span class="text-[12px]">
  37. <span>商务合作:</span><a href="tel:17723267692" class="text-[#3061f6]">17723267692(微信同号)</a>
  38. </span>
  39. </div>
  40. </n-collapse-item>
  41. <n-collapse-item title="公司地址" name="2">
  42. <span class="text-[12px] py-[10px] text-[#999]">
  43. 重庆市两江新区大竹林街道清枫北路10号3幢双子座A座1406
  44. </span>
  45. </n-collapse-item>
  46. <n-collapse-item class="ncollapse" title="应用二维码(长按识别)" name="3">
  47. <!-- 二维码 -->
  48. <div class="flex items-center justify-center mr-[16px]">
  49. <div class="flex flex-col items-center justify-center" v-if="bottomCode.wxQrUrl">
  50. <img :src="bottomCode.wxQrUrl" style="width:100px;height:100px" alt="">
  51. <span class="text-[#999] text-[12px] mt-[10px]" style="font-size: 11px; margin-bottom: 5px;">
  52. 关注公众号
  53. </span>
  54. </div>
  55. <div class="flex flex-col items-center justify-center" v-if="bottomCode.iosQrUrl" style="margin: 0 10px">
  56. <img :src="bottomCode.iosQrUrl" style="width:100px;height:100px" alt="">
  57. <span class="text-[#999] text-[12px] mt-[10px]" style="font-size: 11px; margin-bottom: 5px;">
  58. iosAPP下载
  59. </span>
  60. </div>
  61. <div class="flex flex-col items-center justify-center" v-if="bottomCode.androidQrUrl">
  62. <img :src="bottomCode.androidQrUrl" style="width:100px;height:100px" alt="">
  63. <span class="text-[#999] text-[12px] mt-[10px]" style="font-size: 11px; margin-bottom: 5px;">
  64. 安卓APP下载
  65. </span>
  66. </div>
  67. </div>
  68. </n-collapse-item>
  69. </n-collapse>
  70. <n-divider />
  71. <div class=" m-auto mt-[30px]">
  72. <!-- 备案号 -->
  73. <div class="flex flex-col items-center justify-center text-[#52575E] text-[10px] my-[20px]">
  74. <span>Copyright © 2023 重庆惠融数字科技有限公司版权所有</span>
  75. <span>
  76. 渝ICP备2023000211号-4
  77. </span>
  78. <span>
  79. 营业执照:91500000MA5UJ59N6Q
  80. </span>
  81. <span class="my-[20px]">
  82. 违法和不良信息举报邮箱:tousu@hrshuke.com
  83. </span>
  84. <span>
  85. 联网备案号:50019002503593
  86. </span>
  87. <span class="mt-[5px]">
  88. 中国互联网违法和不良信息举报中心
  89. </span>
  90. </div>
  91. </div>
  92. </div>
  93. </div>
  94. </template>
  95. <script lang="ts" setup>
  96. import axios from 'axios'
  97. import { postListData, downInfo, sendSms, postCustomer } from '~/server/api/index'
  98. let list = ref('')
  99. let title =ref('')
  100. // 抽屉展示
  101. const active = ref(false)
  102. const postListIDFn = async () => {
  103. localStorage.getItem('hryk-id')
  104. // console.log('localStorage.getItem',localStorage.getItem('hryk-id'))
  105. let z: any = await axios.get(`https://official.webapi.bicredit.xin/api/news/detail/${localStorage.getItem('hryk-id')}`)
  106. console.log('zzz', z)
  107. // if(z.msg == '成功'){
  108. list.value = z.data.data.content
  109. title.value =z.data.data.title
  110. // console.log('list',list.value)
  111. // }
  112. }
  113. postListIDFn()
  114. let bottomCode: any = ref([])
  115. const downInfoFn = async () => {
  116. const list = await downInfo()
  117. console.log('list', list)
  118. bottomCode.value = list.data.data
  119. }
  120. downInfoFn()
  121. const titleRight =()=>{
  122. history.back()
  123. }
  124. </script>
  125. <style scoped lang="scss">
  126. .n-carousel {
  127. width: 529px !important;
  128. }
  129. .carousel-img {
  130. width: 343px;
  131. height: 163px;
  132. margin: 0 auto;
  133. }
  134. .custom-dots {
  135. display: flex;
  136. align-items: center;
  137. justify-content: center;
  138. margin: 0 auto;
  139. padding: 0;
  140. }
  141. .custom-dots li {
  142. display: inline-block;
  143. width: 10px;
  144. height: 4px;
  145. margin: 0 3px;
  146. border-radius: 4px;
  147. background: #E1E1E1;
  148. transition: width 0.3s, background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  149. cursor: pointer;
  150. }
  151. .custom-dots li.is-active {
  152. width: 30px;
  153. background: #0047FF;
  154. }
  155. .custom-indicator {
  156. padding: 2px 5px;
  157. font-size: 12px;
  158. background: #fafafa;
  159. }
  160. .text1 {
  161. display: inline-block;
  162. white-space: nowrap;
  163. width: 200px;
  164. overflow: hidden;
  165. text-overflow: ellipsis;
  166. }
  167. // 框
  168. // .n-drawer.n-drawer--left-placement
  169. ::v-deep(.n-drawer) {
  170. top: 44px !important;
  171. }
  172. ::v-deep(.n-card-header__main) {
  173. flex: inherit !important;
  174. margin: 0 auto !important;
  175. }
  176. ::v-deep(.n-card-header) {
  177. padding: 0;
  178. padding-top: 50px;
  179. }
  180. ::v-deep(.n-card__content) {
  181. flex: inherit;
  182. margin: 0 auto;
  183. }
  184. ::v-deep(.n-form-item-label) {
  185. display: none !important;
  186. }
  187. ::v-deep(.n-carousel__dots) {
  188. display: none !important;
  189. }
  190. ::v-deep(.n-input__input-el) {
  191. height: 55px !important;
  192. line-height: 55px !important;
  193. }
  194. ::v-deep(.n-button) {
  195. // border: 0px !important;
  196. --n-border: 0 !important;
  197. }
  198. // 移动
  199. ::v-deep(.van-cell) {
  200. color: #fff !important;
  201. background: #131820 !important;
  202. }
  203. ::v-deep(.van-collapse-item__content) {
  204. color: #fff !important;
  205. background: #131820 !important;
  206. }
  207. ::v-deep([class*=van-hairline]:after) {
  208. border: 1px solid #262f3e !important;
  209. }
  210. ::v-deep(.van-cell:after) {
  211. border-bottom: 1px solid #262f3e !important;
  212. }
  213. ::v-deep(.van-collapse-item--border:after) {
  214. border-top: 1px solid #262f3e !important;
  215. border-top: 0 !important;
  216. }
  217. // 移动端样式
  218. ::v-deep(.n-input:not(.n-input--autosize)) {
  219. width: 260px !important;
  220. }
  221. ::v-deep(.n-card-header__main) {
  222. font-size: 18px;
  223. }
  224. ::v-deep(.n-card-header) {
  225. padding: 0 !important;
  226. padding-top: 20px !important;
  227. }
  228. ::v-deep(.n-form) {
  229. padding: 0 20px !important;
  230. padding-bottom: 30px !important;
  231. }
  232. ::v-deep(.van-popup--center) {
  233. width: 343px !important;
  234. height: 529px !important;
  235. }
  236. ::v-deep(.van-button__content) {
  237. display: none !important;
  238. }
  239. ::v-deep(.n-form-item) {
  240. --n-label-height: 5px !important;
  241. }
  242. ::v-deep(.n-collapse-item__header-main) {
  243. color: #fff !important;
  244. }
  245. ::v-deep(.n-base-icon svg) {
  246. color: #999 !important;
  247. }
  248. ::v-deep(.n-collapse .n-collapse-item:not(:first-child)) {
  249. border-top: 0.5px solid #2B374A !important;
  250. }
  251. ::v-deep(.n-divider__line){
  252. background-color: #2B374A !important;
  253. }
  254. </style>