agency-info.vue 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589
  1. <template>
  2. <view>
  3. <view class="container" style="z-index: 999999;">
  4. <view class="meteor"></view>
  5. <view class="meteor"></view>
  6. <view class="meteor"></view>
  7. <view class="meteor"></view>
  8. <view class="meteor"></view>
  9. </view>
  10. <swiper class="screen-swiper square-dot " :indicator-dots="true" :circular="true"
  11. :autoplay="true" interval="5000" duration="500">
  12. <swiper-item v-for="(item,index) in bannerList" :key="index">
  13. <image :src="item.banners" mode="aspectFill" ></image>
  14. </swiper-item>
  15. </swiper>
  16. <view class="card">
  17. <view class="flex flex-direction justify-center padding-left-20">
  18. <text class="text-bold agency-name text-lg" style="padding-bottom: 12rpx;">{{detailData.agencyName}}</text>
  19. </view>
  20. </view>
  21. <view class="bg-white text-black">
  22. <view class="flex" style="padding:20rpx 30rpx 0;">
  23. <image style="width: 35rpx;height: 35rpx;display: block;padding-top: 6rpx;padding-right: 10rpx;" src="../../../static/icon/tag1.png" mode=""></image>
  24. <text class="text-lg padding-left-10" >其他信息</text>
  25. </view>
  26. <view class="cu-list menu text-df padding-top-20">
  27. <view class="cu-item">
  28. <view class="content">
  29. <text class="cuIcon-profilefill base-color" style="font-size: 32rpx;"></text>
  30. <text class="">法定代表人</text>
  31. </view>
  32. <view class="action">
  33. <text>{{detailData.personName}}</text>
  34. </view>
  35. </view>
  36. <view class="cu-item">
  37. <view class="content">
  38. <text class="cuIcon-mobilefill text-bold base-color" style="font-size: 32rpx;"></text>
  39. <text class="">联系方式</text>
  40. </view>
  41. <view class="action">
  42. <text>{{detailData.personPhone}}</text>
  43. </view>
  44. </view>
  45. </view>
  46. <view class="" style="padding: 20rpx 40rpx;">
  47. <view class="">
  48. <text class="cuIcon-locationfill base-color " style="margin-right: 20rpx;"></text>
  49. 公司地址:
  50. </view>
  51. <view class="text-cut-2 " style="padding: 20rpx 10rpx">
  52. <text>{{detailData.address}}</text>
  53. </view>
  54. </view>
  55. </view>
  56. </view>
  57. </template>
  58. <script>
  59. export default {
  60. data() {
  61. return {
  62. detailData:{},
  63. bannerList:[]
  64. }
  65. },
  66. created() {
  67. this.fetchBanner()
  68. this.fetchDeatilData()
  69. },
  70. methods: {
  71. fetchBanner(){
  72. let params={
  73. // tenantId:this.$cache.get('agencyTenantId')
  74. }
  75. this.$api.banner.page(params).then(res=>{
  76. if (!this.$isEmpty(res.data.records)) {
  77. this.bannerList=res.data.records
  78. }
  79. })
  80. },
  81. fetchDeatilData(){
  82. let params={
  83. id:this.$cache.get('agencyId')
  84. }
  85. this.$api.agency.page(params).then(res=>{
  86. this.detailData=res.data.records[0]
  87. })
  88. },
  89. }
  90. }
  91. </script>
  92. <style lang="scss">
  93. page{
  94. background-color: #FFFFFF;
  95. }
  96. @keyframes typing {
  97. from {
  98. width: 0;
  99. }
  100. }
  101. .agency-name {
  102. line-height: 100rpx;
  103. width: 750rpx;
  104. font-size: 35rpx;
  105. font-weight: bold;
  106. overflow: hidden;
  107. white-space: nowrap;
  108. animation: typing 8s;
  109. }
  110. .card{
  111. padding: 20rpx;
  112. background-color: #FFFFFF;
  113. margin: 10rpx;
  114. border-radius: 10rpx;
  115. display: flex;
  116. box-shadow: 0 10rpx rgba(248, 248, 248,.9) , -10rpx 0rpx rgba(248, 248, 248,.9) ,10rpx 0rpx rgba(248, 248, 248,.9);
  117. image{
  118. border: 1rpx solid #f1f1f1;
  119. width:100rpx;
  120. height: 100rpx;
  121. border-radius: 50%;
  122. }
  123. }
  124. .desc{
  125. background-color: #FFFFFF;
  126. padding:40rpx 30rpx;
  127. .sub-title{
  128. padding-top: 40rpx;
  129. font-size: 28rpx;
  130. line-height: 50rpx;
  131. }
  132. }
  133. .history{
  134. background-color: #FFFFFF;
  135. margin-top: 20rpx;
  136. padding: 40rpx 20rpx 20rpx 50rpx;
  137. }
  138. .top{
  139. padding-bottom: 30rpx;
  140. display: flex;
  141. justify-content: space-between;
  142. }
  143. .address{
  144. margin-top: 20rpx;
  145. background-color: #FFFFFF;
  146. padding: 30rpx;
  147. .item{
  148. padding-top: 40rpx;
  149. .sub-address{
  150. padding-left: 70rpx;font-size: 26rpx;color: #bababa;
  151. }
  152. }
  153. }
  154. .u-node {
  155. width: 44rpx;
  156. height: 44rpx;
  157. border-radius: 100rpx;
  158. display: flex;
  159. justify-content: center;
  160. align-items: center;
  161. background: #d0d0d0;
  162. }
  163. .u-order-title {
  164. color: #333333;
  165. font-weight: bold;
  166. font-size: 32rpx;
  167. }
  168. .u-order-desc {
  169. padding-top: 20rpx;
  170. color: #8d8d8d;
  171. font-size: 26rpx;
  172. line-height: 48rpx;
  173. margin-bottom: 6rpx;
  174. }
  175. .u-order-time {
  176. color: rgb(200, 200, 200);
  177. font-size: 26rpx;
  178. }
  179. // 流星
  180. .container {
  181. position: relative;
  182. width: 100%;
  183. height: 100%;
  184. -webkit-transform: rotate(45deg);
  185. transform: rotateZ(45deg);
  186. -webkit-animation: sky 200000ms linear infinite;
  187. animation: sky 200000ms linear infinite;
  188. }
  189. .meteor {
  190. position: absolute;
  191. left: 50%;
  192. top: 50%;
  193. height: 2px;
  194. background: linear-gradient(-45deg, #5f91ff, rgba(0, 0, 255, 0));
  195. border-radius: 999px;
  196. -webkit-filter: drop-shadow(0 0 6px #699bff);
  197. filter: drop-shadow(0 0 6px #699bff);
  198. -webkit-animation: tail 3000ms ease-in-out infinite, shooting 3000ms ease-in-out infinite;
  199. animation: tail 3000ms ease-in-out infinite, shooting 3000ms ease-in-out infinite;
  200. }
  201. .meteor::before,
  202. .meteor::after {
  203. content: '';
  204. position: absolute;
  205. top: calc(50% - 1px);
  206. right: 0;
  207. height: 2px;
  208. background: linear-gradient(-45deg, rgba(0, 0, 255, 0), #5f91ff, rgba(0, 0, 255, 0));
  209. -webkit-transform: translateX(50%) rotateZ(45deg);
  210. transform: translateX(50%) rotateZ(45deg);
  211. border-radius: 100%;
  212. -webkit-animation: shining 3000ms ease-in-out infinite;
  213. animation: shining 3000ms ease-in-out infinite;
  214. }
  215. .meteor::after {
  216. -webkit-transform: translateX(50%) rotateZ(-45deg);
  217. transform: translateX(50%) rotateZ(-45deg);
  218. }
  219. /* 1 */
  220. .meteor:nth-child(1) {
  221. top: calc(50% - 185px);
  222. left: calc(50% - 150px);
  223. -webkit-animation-delay: 8888ms;
  224. animation-delay: 8888ms;
  225. }
  226. .meteor:nth-child(1)::before,
  227. .meteor:nth-child(1)::after,
  228. .meteor:nth-child(1)::after {
  229. -webkit-animation-delay: 8888ms;
  230. animation-delay: 8888ms;
  231. }
  232. /* 2 */
  233. .meteor:nth-child(2) {
  234. top: calc(50% - 50px);
  235. left: calc(50% - 180px);
  236. -webkit-animation-delay: 9288ms;
  237. animation-delay: 9288ms;
  238. }
  239. .meteor:nth-child(2)::before,
  240. .meteor:nth-child(2)::after,
  241. .meteor:nth-child(2)::after {
  242. -webkit-animation-delay: 9288ms;
  243. animation-delay: 9288ms;
  244. }
  245. .meteor:nth-child(3) {
  246. top: calc(50% - 145px);
  247. left: calc(50% - 135px);
  248. -webkit-animation-delay: 8600ms;
  249. animation-delay: 8600ms;
  250. }
  251. .meteor:nth-child(3)::before,
  252. .meteor:nth-child(3)::after,
  253. .meteor:nth-child(3)::after {
  254. -webkit-animation-delay: 8600ms;
  255. animation-delay: 8600ms;
  256. }
  257. .meteor:nth-child(4) {
  258. top: calc(50% - 78px);
  259. left: calc(50% - 155px);
  260. -webkit-animation-delay: 3288ms;
  261. animation-delay: 3288ms;
  262. }
  263. .meteor:nth-child(4)::before,
  264. .meteor:nth-child(4)::after,
  265. .meteor:nth-child(4)::after {
  266. -webkit-animation-delay: 3288ms;
  267. animation-delay: 3288ms;
  268. }
  269. .meteor:nth-child(5) {
  270. top: calc(50% - 183px);
  271. left: calc(50% - 8px);
  272. -webkit-animation-delay: 5588ms;
  273. animation-delay: 5588ms;
  274. }
  275. .meteor:nth-child(5)::before,
  276. .meteor:nth-child(5)::after,
  277. .meteor:nth-child(5)::after {
  278. -webkit-animation-delay: 5588ms;
  279. animation-delay: 5588ms;
  280. }
  281. .meteor:nth-child(6) {
  282. top: calc(50% - 30px);
  283. left: calc(50% - 195px);
  284. -webkit-animation-delay: 9388ms;
  285. animation-delay: 9388ms;
  286. }
  287. .meteor:nth-child(6)::before,
  288. .meteor:nth-child(6)::after,
  289. .meteor:nth-child(6)::after {
  290. -webkit-animation-delay: 9388ms;
  291. animation-delay: 9388ms;
  292. }
  293. .meteor:nth-child(7) {
  294. top: calc(50% - 95px);
  295. left: calc(50% - 70px);
  296. -webkit-animation-delay: 2588ms;
  297. animation-delay: 2588ms;
  298. }
  299. .meteor:nth-child(7)::before,
  300. .meteor:nth-child(7)::after,
  301. .meteor:nth-child(7)::after {
  302. -webkit-animation-delay: 2588ms;
  303. animation-delay: 2588ms;
  304. }
  305. .meteor:nth-child(8) {
  306. top: calc(50% - 60px);
  307. left: calc(50% - 70px);
  308. -webkit-animation-delay: 5288ms;
  309. animation-delay: 5288ms;
  310. }
  311. .meteor:nth-child(8)::before,
  312. .meteor:nth-child(8)::after,
  313. .meteor:nth-child(8)::after {
  314. -webkit-animation-delay: 5288ms;
  315. animation-delay: 5288ms;
  316. }
  317. .meteor:nth-child(9) {
  318. top: calc(50% - 75px);
  319. left: calc(50% - 250px);
  320. -webkit-animation-delay: 888ms;
  321. animation-delay: 888ms;
  322. }
  323. .meteor:nth-child(9)::before,
  324. .meteor:nth-child(9)::after,
  325. .meteor:nth-child(9)::after {
  326. -webkit-animation-delay: 888ms;
  327. animation-delay: 888ms;
  328. }
  329. .meteor:nth-child(9) {
  330. top: calc(50% - 76px);
  331. left: calc(50% - 240px);
  332. -webkit-animation-delay: 2388ms;
  333. animation-delay: 2388ms;
  334. }
  335. .meteor:nth-child(9)::before,
  336. .meteor:nth-child(9)::after,
  337. .meteor:nth-child(9)::after {
  338. -webkit-animation-delay: 2388ms;
  339. animation-delay: 2388ms;
  340. }
  341. .meteor:nth-child(10) {
  342. top: calc(50% - 85px);
  343. left: calc(50% - 6px);
  344. -webkit-animation-delay: 3588ms;
  345. animation-delay: 3588ms;
  346. }
  347. .meteor:nth-child(10)::before,
  348. .meteor:nth-child(10)::after,
  349. .meteor:nth-child(10)::after {
  350. -webkit-animation-delay: 3588ms;
  351. animation-delay: 3588ms;
  352. }
  353. .meteor:nth-child(11) {
  354. top: calc(50% - 135px);
  355. left: calc(50% - 260px);
  356. -webkit-animation-delay: 2888ms;
  357. animation-delay: 2888ms;
  358. }
  359. .meteor:nth-child(11)::before,
  360. .meteor:nth-child(11)::after,
  361. .meteor:nth-child(11)::after {
  362. -webkit-animation-delay: 2888ms;
  363. animation-delay: 2888ms;
  364. }
  365. .meteor:nth-child(12) {
  366. top: calc(50% - 15px);
  367. left: calc(50% - 8px);
  368. -webkit-animation-delay: 388ms;
  369. animation-delay: 388ms;
  370. }
  371. .meteor:nth-child(12)::before,
  372. .meteor:nth-child(12)::after,
  373. .meteor:nth-child(12)::after {
  374. -webkit-animation-delay: 388ms;
  375. animation-delay: 388ms;
  376. }
  377. .meteor:nth-child(13) {
  378. top: calc(50% - 155px);
  379. left: calc(50% - 50px);
  380. -webkit-animation-delay: 7288ms;
  381. animation-delay: 7288ms;
  382. }
  383. .meteor:nth-child(13)::before,
  384. .meteor:nth-child(13)::after,
  385. .meteor:nth-child(13)::after {
  386. -webkit-animation-delay: 7288ms;
  387. animation-delay: 7288ms;
  388. }
  389. .meteor:nth-child(14) {
  390. top: calc(50% - 28px);
  391. left: calc(50% - 80px);
  392. -webkit-animation-delay: 8888ms;
  393. animation-delay: 8888ms;
  394. }
  395. .meteor:nth-child(14)::before,
  396. .meteor:nth-child(14)::after,
  397. .meteor:nth-child(14)::after {
  398. -webkit-animation-delay: 8888ms;
  399. animation-delay: 8888ms;
  400. }
  401. .meteor:nth-child(15) {
  402. top: calc(50% - 35px);
  403. left: calc(50% - 200px);
  404. -webkit-animation-delay: 7588ms;
  405. animation-delay: 7588ms;
  406. }
  407. .meteor:nth-child(15)::before,
  408. .meteor:nth-child(15)::after,
  409. .meteor:nth-child(15)::after {
  410. -webkit-animation-delay: 7588ms;
  411. animation-delay: 7588ms;
  412. }
  413. .meteor:nth-child(16) {
  414. top: calc(50% - 40px);
  415. left: calc(50% - 250px);
  416. -webkit-animation-delay: 1888ms;
  417. animation-delay: 1888ms;
  418. }
  419. .meteor:nth-child(16)::before,
  420. .meteor:nth-child(16)::after,
  421. .meteor:nth-child(16)::after {
  422. -webkit-animation-delay: 1888ms;
  423. animation-delay: 1888ms;
  424. }
  425. @-webkit-keyframes tail {
  426. 0% {
  427. width: 0;
  428. }
  429. 30% {
  430. width: 100px;
  431. }
  432. 100% {
  433. width: 0;
  434. }
  435. }
  436. @keyframes tail {
  437. 0% {
  438. width: 0;
  439. }
  440. 30% {
  441. width: 100px;
  442. }
  443. 100% {
  444. width: 0;
  445. }
  446. }
  447. @-webkit-keyframes shining {
  448. 0% {
  449. width: 0;
  450. }
  451. 50% {
  452. width: 30px;
  453. }
  454. 1000% {
  455. width: 0;
  456. }
  457. }
  458. @keyframes shining {
  459. 0% {
  460. width: 0;
  461. }
  462. 50% {
  463. width: 30px;
  464. }
  465. 1000% {
  466. width: 0;
  467. }
  468. }
  469. @-webkit-keyframes shooting {
  470. 0% {
  471. -webkit-transform: translateX(0);
  472. transform: translateX(0);
  473. }
  474. 100% {
  475. -webkit-transform: translateX(300px);
  476. transform: translateX(300px);
  477. }
  478. }
  479. @keyframes shooting {
  480. 0% {
  481. -webkit-transform: translateX(0);
  482. transform: translateX(0);
  483. }
  484. 100% {
  485. -webkit-transform: translateX(300px);
  486. transform: translateX(300px);
  487. }
  488. }
  489. @-webkit-keyframes sky {
  490. 0% {
  491. -webkit-transform: rotate(45deg);
  492. transform: rotate(45deg);
  493. }
  494. 100% {
  495. -webkit-transform: rotate(405deg);
  496. transform: rotate(405deg);
  497. }
  498. }
  499. @keyframes sky {
  500. 0% {
  501. -webkit-transform: rotate(45deg);
  502. transform: rotate(45deg);
  503. }
  504. 100% {
  505. -webkit-transform: rotate(405deg);
  506. transform: rotate(405deg);
  507. }
  508. }
  509. </style>