m_list.vue 7.3 KB

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