m_list.vue 7.4 KB

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