index.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553
  1. <route lang="json">
  2. {
  3. "style": {
  4. "navigationStyle": "custom"
  5. }
  6. }
  7. </route>
  8. <script setup lang="ts">
  9. import NavbarEvo from '@/components/navbar-evo.vue'
  10. import {
  11. activitySignup,
  12. getActivity,
  13. getActivitySignups,
  14. getAppMemberLevelConfigs,
  15. getPhotoList,
  16. getStudyTour,
  17. getStudyTourSignups,
  18. studyTourSignup,
  19. } from '../../../../core/libs/requests'
  20. import { bell, map, rightFill } from '@designer-hub/assets/src/assets/svgs'
  21. import dayjs from 'dayjs'
  22. import BottomAppBar from '@/components/bottom-app-bar.vue'
  23. import { useRouter } from '../../../../core/utils/router'
  24. import PageHelper from '@/components/page-helper.vue'
  25. import { ConfigProviderThemeVars } from 'wot-design-uni'
  26. import SectionHeading from '@/components/section-heading.vue'
  27. import AvatarGroupCasual from '@/components/avatar-group-casual/avatar-group-casual.vue'
  28. import { calendar, clock, funnel, location, user } from '@designer-hub/assets/src/icons'
  29. import { signupSuccessDialogBg } from '@designer-hub/assets/src/bgs'
  30. import { NetImages } from '../../../../core/libs/net-images'
  31. import signupListDialogBg from '@designer-hub/assets/src/libs/assets/signupListDialogBg'
  32. import { getActivityStatusText, getCountsArr } from '../../../../core/utils/common'
  33. import { extractColorsFromImageData } from 'extract-colors/lib/extract-colors.mjs'
  34. import { group, mapEntries, sort } from 'radash'
  35. import { Activity, ActivitySignUp, ResPageData, StudyTour } from '../../../../core/libs/models'
  36. import mapLocation from '@designer-hub/assets/src/libs/assets/mapLocation'
  37. import cameraWhite from '@designer-hub/assets/src/libs/assets/cameraWhite'
  38. import ButtonEvo from '@/components/button-evo.vue'
  39. import mpHtml from 'mp-html/dist/uni-app/components/mp-html/mp-html.vue'
  40. import { useActivity } from '../../../../composables/activity'
  41. import ImageEvo from '@/components/image-evo.vue'
  42. import TooltipEvo from '@/components/tooltip-evo.vue'
  43. import ActivityAsOf from '../../components/activity-as-of.vue'
  44. import images from '@designer-hub/assets/src/libs/assets/images'
  45. import { usePermissions } from '../../../../composables/permissions'
  46. const themeVars = ref<ConfigProviderThemeVars>({
  47. tableBorderColor: 'white',
  48. tabsNavLineBgColor: 'white',
  49. tabsNavColor: 'white',
  50. })
  51. const router = useRouter()
  52. const { clickByPermission } = usePermissions()
  53. const id = ref()
  54. const type = ref<'activity' | 'studyTour'>()
  55. const activityTypes = ref({ activity: '活动', studyTour: '游学' })
  56. const tab = ref(0)
  57. const request = ref<() => Promise<IResData<Partial<StudyTour> | Partial<Activity>>>>()
  58. const { data, run: setData } = useRequest(() => request.value(), { initialData: {} })
  59. const signUpsReq = ref<() => Promise<IResData<ResPageData<ActivitySignUp>>>>()
  60. const { data: signups, run: setSignups } = useRequest(() => signUpsReq.value(), {
  61. initialData: { list: [], total: 0 },
  62. })
  63. const { data: levels, run: setLevels } = useRequest(() => getAppMemberLevelConfigs(), {
  64. initialData: [],
  65. })
  66. const { data: photos, run: setPhotos } = useRequest(
  67. () =>
  68. getPhotoList({
  69. bizId: id.value,
  70. bizType: { studyTour: '2', activity: '1' }[type.value] as '1' | '2',
  71. pageSize: -1,
  72. }),
  73. { initialData: { list: [], total: 0 } },
  74. )
  75. const show = ref(false)
  76. const successShow = ref(false)
  77. const listShow = ref(false)
  78. const dominantColor = ref()
  79. const isActivity = computed(() => type.value === 'activity')
  80. const isStudyTour = computed(() => type.value === 'studyTour')
  81. const levelsByMemberLevel = computed(() =>
  82. levels.value.reduce((acc, item) => {
  83. acc[item.memberLevel] = item
  84. return acc
  85. }, {}),
  86. )
  87. const places = computed(() => {
  88. if (isActivity.value && data.value?.activityAllowType === '1') {
  89. return data.value?.activityAllowCount
  90. }
  91. if (isStudyTour.value && data.value?.studyAllowType === '1') {
  92. return data.value?.studyAllowCount
  93. }
  94. return '不限制'
  95. })
  96. const remainedCount = computed(() => {
  97. if (isActivity.value && data.value?.activityAllowType === '1') {
  98. return data.value?.activityAllowCount - signups.value.total
  99. }
  100. if (isStudyTour.value && data.value?.studyAllowType === '1') {
  101. return data.value?.studyAllowCount - signups.value.total
  102. }
  103. return '不限制'
  104. })
  105. const infos = computed(() => [
  106. {
  107. icon: clock,
  108. title: '报名时间',
  109. content: [
  110. dayjs(data.value.applyStartTime).format('YYYY.MM.DD HH:mm'),
  111. // dayjs(data.value.applyEndTime).format('YYYY.MM.DD'),
  112. ],
  113. visable: true,
  114. },
  115. {
  116. icon: calendar,
  117. title: `${activityTypes.value[type.value]}时间`,
  118. content: [
  119. dayjs(
  120. data.value.activityStartTime || data.value.studyStartTime || data.value.planStudyStartTime,
  121. ).format('YYYY.MM.DD'),
  122. // '111',
  123. dayjs(
  124. data.value.activityEndTime || data.value.studyEndTime || data.value.planStudyEndTime,
  125. ).format('YYYY.MM.DD'),
  126. ],
  127. visable: true,
  128. },
  129. {
  130. icon: location,
  131. title: `${activityTypes.value[type.value]}地点`,
  132. content: [data.value.activityAddr || ''],
  133. visable: isActivity.value,
  134. },
  135. {
  136. icon: user,
  137. title: `${activityTypes.value[type.value]}名额`,
  138. content: [
  139. places.value === '不限制' ? `不限制` : `${places.value}人/剩余${data.value.surplus}人`,
  140. ],
  141. visable: true,
  142. },
  143. {
  144. icon: funnel,
  145. title: `等级限制`,
  146. content: [
  147. data.value.memberLevel
  148. ?.map((it) => levelsByMemberLevel.value[String(it)]?.memberLevelName)
  149. .join('、') || '',
  150. ],
  151. visable: true,
  152. },
  153. ])
  154. const schedules = computed(() =>
  155. group(data.value?.studyTravelList, (it) => dayjs(it?.travelTime).format('YYYY-MM-DD')),
  156. )
  157. const activity = useActivity(data)
  158. const { status, statusText, difference, refresh } = activity
  159. const handleConfirm = async () => {
  160. const { data, code, msg } = await (isActivity.value ? activitySignup : studyTourSignup)({
  161. id: id.value,
  162. })
  163. console.log(msg)
  164. if (code === 0) {
  165. // todo: 报名成功弹框
  166. show.value = false
  167. successShow.value = true
  168. }
  169. await setData()
  170. }
  171. onLoad(async (query: { id: string; type: 'activity' | 'studyTour' }) => {
  172. id.value = query.id
  173. type.value = query.type
  174. if (type.value === 'activity') {
  175. request.value = () => getActivity(id.value)
  176. signUpsReq.value = () => getActivitySignups({ activityId: id.value })
  177. }
  178. if (type.value === 'studyTour') {
  179. request.value = () => getStudyTour(id.value)
  180. signUpsReq.value = () => getStudyTourSignups({ studyId: id.value })
  181. }
  182. await setData()
  183. const { path } = await uni.getImageInfo({ src: data.value.backgroundUrl })
  184. const ctx = uni.createCanvasContext('firstCanvas')
  185. uni
  186. .createSelectorQuery()
  187. .select('#firstCanvas')
  188. .fields({ size: true }, async ({ width, height }: any) => {
  189. // ctx.setFillStyle('#ffffff')
  190. ctx.drawImage(path, 0, 0, width, height)
  191. ctx.draw(true, async () => {
  192. const res1 = await uni.canvasGetImageData({
  193. canvasId: 'firstCanvas',
  194. x: 0,
  195. y: 0,
  196. width: width.toFixed(0),
  197. height: height.toFixed(0),
  198. })
  199. const { data: imageData } = res1
  200. dominantColor.value = `rgb(${getCountsArr(imageData, width, height)})`
  201. console.log(res1)
  202. const a = await extractColorsFromImageData(res1, {
  203. pixels: 1000000,
  204. distance: 0.22,
  205. colorValidator: (red, green, blue, alpha = 255) => alpha > 250,
  206. saturationDistance: 0.2,
  207. lightnessDistance: 0.2,
  208. hueDistance: 0.083333333,
  209. })
  210. console.log(a)
  211. const colors = sort(a, (it: any) => it.intensity, true)
  212. dominantColor.value = a[0].hex
  213. })
  214. })
  215. .exec()
  216. await Promise.all([setSignups(), setLevels(), setPhotos()])
  217. })
  218. onShareAppMessage(() => ({ title: data.value.name, imageUrl: data.value.thumbnailUrl }))
  219. onShareTimeline(() => ({ title: data.value.name, imageUrl: data.value.thumbnailUrl }))
  220. </script>
  221. <template>
  222. <div
  223. class="flex-grow bg-white px-3.5 bg-[length:100%_100%]"
  224. :style="{
  225. backgroundColor: `${dominantColor}`,
  226. }"
  227. >
  228. <NavbarEvo transparent dark></NavbarEvo>
  229. <div class="aspect-[1.26/1] relative mx--3.5 relative">
  230. <!-- <wd-img width="100%" height="100%" :src="data.bannerUrl?.at(0)"></wd-img> -->
  231. <canvas
  232. class="w-full h-full absolute top--1000"
  233. canvas-id="firstCanvas"
  234. id="firstCanvas"
  235. ></canvas>
  236. <ImageEvo :src="data?.backgroundUrl"></ImageEvo>
  237. <!-- <wd-img width="100%" height="100%" :src="data?.backgroundUrl"></wd-img> -->
  238. <div class="absolute left-3.5 bottom-3" @click="isActivity && (listShow = true)">
  239. <!-- <div-->
  240. <!-- v-if="isStudyTour"-->
  241. <!-- class="bg-white/20 rounded-[20px] backdrop-blur-[6px] px-3.5 py-1 flex gap-2.5"-->
  242. <!-- >-->
  243. <!-- <wd-img width="20" height="20" :src="bell"></wd-img>-->
  244. <!-- <div class="text-[#c1c1c1] text-base font-normal font-['PingFang_SC'] leading-normal">-->
  245. <!-- 白金会员王凯峰已报名-->
  246. <!-- </div>-->
  247. <!-- <div class="w-6 bg-black aspect-square rounded-full flex items-center justify-center">-->
  248. <!-- <wd-img width="18" height="18" :src="rightFill"></wd-img>-->
  249. <!-- </div>-->
  250. <!-- </div>-->
  251. <div class="flex items-center gap-1.25">
  252. <AvatarGroupCasual
  253. :urls="signups.list.map((it) => it.headImgUrl || NetImages.DefaultAvatar)"
  254. :width="40"
  255. :height="40"
  256. ></AvatarGroupCasual>
  257. <div class="text-white/60 text-sm font-normal font-['PingFang_SC'] leading-[10.18px]">
  258. {{ signups.total }}人已报名
  259. </div>
  260. </div>
  261. </div>
  262. </div>
  263. <div class="h-9">
  264. <div v-if="type === 'studyTour'" class="flex items-center h-full mt-9 gap-1.5">
  265. <wd-img width="18" height="18" :src="map"></wd-img>
  266. <div class="text-[#c1c1c1] text-base font-normal font-['PingFang_SC'] leading-normal">
  267. 第{{ data?.sort }}站
  268. </div>
  269. </div>
  270. </div>
  271. <div
  272. class="text-white text-[26px] font-normal font-['PingFang_SC'] leading-[44px] flex items-center gap-4"
  273. >
  274. <!-- 日本研学·东京艺术大学设计游学 -->
  275. <div class="inline-block">{{ data?.name }}</div>
  276. <div class="inline-block py-1.5 px-4 bg-white rounded-[20px] backdrop-blur-[15px]">
  277. <div class="text-[#a60707] text-sm font-normal font-['PingFang_SC'] leading-relaxed">
  278. <!-- {{ getActivityStatusText(data?.applyStartTime, data?.applyEndTime) }} -->
  279. {{ statusText }}
  280. </div>
  281. </div>
  282. </div>
  283. <div
  284. class="px-4 py-6 bg-[#010102]/30 backdrop-blur-[20px] rounded-2xl my-8 flex flex-col gap-3"
  285. >
  286. <!-- {{ levelsById }} -->
  287. <template v-for="(it, i) in infos" :key="i">
  288. <div v-if="it.visable" class="flex items-center gap-1.5">
  289. <wd-img width="16" height="16" :src="it.icon"></wd-img>
  290. <div
  291. class="w-17.5 whitespace-nowrap text-[#c1c1c1] text-base font-normal font-['PingFang_SC'] leading-normal"
  292. >
  293. {{ it.title }}
  294. </div>
  295. <div class="w-3"></div>
  296. <div
  297. class="flex-1 flex break-all items-center text-white text-base font-normal font-['PingFang_SC'] leading-[34px]"
  298. >
  299. <template v-if="it.content.length === 2">
  300. <div class="w-22 text-start">{{ it.content[0] }}</div>
  301. <wd-icon name="play" size="22px"></wd-icon>
  302. <div class="w-22 text-center">{{ it.content[1] }}</div>
  303. </template>
  304. <template v-else>{{ it.content[0] }}</template>
  305. </div>
  306. </div>
  307. </template>
  308. </div>
  309. <div v-if="isStudyTour" class="w-50%">
  310. <wd-config-provider :themeVars="themeVars">
  311. <wd-tabs v-model="tab" class="bg-transparent!" custom-class="bg-transparent!">
  312. <wd-tab title="活动介绍"></wd-tab>
  313. <wd-tab title="行程安排"></wd-tab>
  314. </wd-tabs>
  315. </wd-config-provider>
  316. </div>
  317. <SectionHeading v-if="isActivity" size="lg" title="活动介绍"></SectionHeading>
  318. <div class="mt-5 mx-3.5">
  319. <!-- v-html="data['activityDesc'] || data['studyDesc']" -->
  320. <div
  321. v-if="tab === 0"
  322. class="text-justify text-[#c1c1c1] text-base font-normal font-['PingFang_SC'] leading-relaxed"
  323. >
  324. <!-- <u-parse :content="data['activityDesc'] || data['studyDesc']"></u-parse> -->
  325. <mpHtml :content="data['activityDesc'] || data['studyDesc']"></mpHtml>
  326. </div>
  327. <div v-if="tab === 1 && 'studyTravelList' in data" class="flex flex-col gap-6">
  328. <!-- {{ mapEntries(schedules, (key, value) => [key, value]) }} -->
  329. <template v-for="([key, items], i) in Object.entries(schedules)" :key="key">
  330. <div class="flex flex-col gap-6">
  331. <div class="text-white text-base font-normal font-['PingFang_SC'] leading-normal">
  332. <!-- 6月26日 第一天 -->
  333. {{ dayjs(key).format('MM月DD日') }}
  334. <span class="ml-1">{{ `第${i + 1}天` }}</span>
  335. </div>
  336. <template v-for="(item, index) in items" :key="index">
  337. <div class="flex gap-2">
  338. <div class="w-7 h-7 bg-white/10 rounded-full flex items-center justify-center">
  339. <wd-img width="82%" height="82%" :src="mapLocation"></wd-img>
  340. </div>
  341. <div class="flex-1 flex flex-col gap-4">
  342. <div class="h-7 flex items-center gap-2.5">
  343. <div class="text-white text-sm font-normal font-['PingFang_SC'] leading-normal">
  344. {{ dayjs(item?.travelTime).format('HH:mm') }}
  345. </div>
  346. <div class="text-white text-sm font-normal font-['PingFang_SC'] leading-normal">
  347. <!-- 早稻田大学课程 -->
  348. {{ item.title }}
  349. </div>
  350. </div>
  351. <div class="">
  352. <span
  353. class="text-[#c1c1c1] text-sm font-normal font-['PingFang_SC'] leading-[23px]"
  354. >
  355. 行程介绍:
  356. </span>
  357. <span
  358. class="text-[#ababab] text-sm font-normal font-['PingFang_SC'] leading-[23px]"
  359. >
  360. <!-- 是位于日本东京都新宿区的一所著名的私立大学。它由早稻田大学的创始人大隈重信于1882年创立,是日本超级国际化大学计划(Top
  361. Global University Project)选定的大学之一,也是日本顶尖的高等教育机构之一。 -->
  362. {{ item.travelDesc }}
  363. </span>
  364. </div>
  365. <div class="flex items-center gap-1">
  366. <wd-img width="16" height="16" :src="cameraWhite"></wd-img>
  367. <div class="text-white text-xs font-normal font-['PingFang_SC'] leading-normal">
  368. 打卡示例
  369. </div>
  370. </div>
  371. <!-- <img class="w-full rounded-2xl border" :src="it.clockExplainUrl" /> -->
  372. <wd-img
  373. v-if="(item.clockExplainUrl ?? '') !== ''"
  374. width="100%"
  375. custom-class="rounded-2xl overflow-hidden"
  376. :src="item.clockExplainUrl"
  377. mode="widthFix"
  378. ></wd-img>
  379. <div
  380. class="text-white/40 text-xs font-normal font-['PingFang_SC'] leading-normal"
  381. >
  382. {{ item.clockExplainDesc }}
  383. </div>
  384. </div>
  385. </div>
  386. </template>
  387. </div>
  388. </template>
  389. </div>
  390. </div>
  391. <BottomAppBar fixed placeholder transparent>
  392. <div
  393. class="h-[63px] bg-white/90 rounded-2xl backdrop-blur-[20px] flex items-center gap-1 px-4 box-border"
  394. >
  395. <div class="text-[#ef4343] text-2xl font-normal font-['D-DIN_Exp'] leading-normal">
  396. {{ data.needPointsCount || 0 }}
  397. </div>
  398. <div class="text-black/40 text-base font-normal font-['PingFang_SC'] leading-[34px]">
  399. 积分
  400. </div>
  401. <div class="flex-1"></div>
  402. <div>
  403. <div class="relative">
  404. <div class="absolute bottom-3 left-0 right-0 flex flex-col justify-center items-center">
  405. <div
  406. v-if="['waiting', 'registering'].includes(status)"
  407. class="bg-[#3b3c46] rounded-[60px] flex items-center py-1.5 px-4"
  408. >
  409. <ActivityAsOf
  410. :start-at="data?.applyStartTime || data?.planApplyStartTime"
  411. :end-at="data?.applyEndTime || data?.planApplyEndTime"
  412. @end="refresh"
  413. ></ActivityAsOf>
  414. </div>
  415. </div>
  416. </div>
  417. <TooltipEvo
  418. placement="top"
  419. :content="`还差${difference}积分`"
  420. :model-value="status === 'runing' && difference > 0"
  421. >
  422. <div @click="clickByPermission('exchange', () => (show = true))">
  423. <ButtonEvo>{{ data?.ifSingnUp ? '已报名' : '立即报名' }}</ButtonEvo>
  424. </div>
  425. </TooltipEvo>
  426. </div>
  427. </div>
  428. </BottomAppBar>
  429. <!-- <wd-fab
  430. custom-class="bg-red"
  431. :draggable="true"
  432. :expandable="false"
  433. :gap="{ bottom: 120 }"
  434. ></wd-fab> -->
  435. <!-- <wd-fab :expandable="false" :gap="{ bottom: 0, top: 0 }"></wd-fab> -->
  436. <div
  437. v-if="photos.total"
  438. class="fixed bottom-30 right-8 bg-[#0cbe7c] w-15 h-15 rounded-full flex flex-col items-center justify-center"
  439. @click="
  440. router.push(`/pages/home/activity/images/index?id=${id}&type=${type}&title=${data.name}`)
  441. "
  442. >
  443. <div>
  444. <wd-img width="29" height="29" :src="images"></wd-img>
  445. </div>
  446. <div class="text-white text-[10px] font-normal font-['PingFang_SC'] leading-tight">
  447. 查看照片
  448. </div>
  449. </div>
  450. <wd-action-sheet v-model="show">
  451. <view class="px-3.5 py-10">
  452. <div class="flex gap-5 mb-13.5">
  453. <div class="w-[110px] h-[94px] bg-[#f6f6f6] rounded-2xl">
  454. <wd-img width="100%" height="100%" :src="data.thumbnailUrl"></wd-img>
  455. </div>
  456. <div class="flex flex-col justify-between flex-1">
  457. <div class="text-black text-base font-normal font-['PingFang_SC'] leading-normal">
  458. {{ data.name }}
  459. </div>
  460. <div class="flex items-end gap-1">
  461. <div class="text-[#ef4343] text-[22px] font-normal leading-[22px]">
  462. {{ data.needPointsCount || 0 }}
  463. </div>
  464. <div class="text-black/40 text-sm font-normal font-['PingFang_SC']">积分</div>
  465. <!-- <div class="ml-1 text-black/40 text-xs font-normal font-['PingFang_SC']">-->
  466. <!-- 剩余:{{ remainedCount || 0 }}-->
  467. <!-- </div>-->
  468. <div class="flex-1"></div>
  469. </div>
  470. </div>
  471. </div>
  472. <wd-button block :round="false" @click="handleConfirm">确认报名</wd-button>
  473. </view>
  474. </wd-action-sheet>
  475. <wd-overlay :show="listShow" @click="listShow = false">
  476. <view class="flex px-10 h-full items-center justify-center">
  477. <div class="w-full flex flex-col gap-5 aspect-[0.71/1] relative">
  478. <div class="absolute top-0 left-0 right-0 bottom-0 z--1">
  479. <wd-img width="100%" height="100%" :src="signupListDialogBg"></wd-img>
  480. </div>
  481. <div class="h-full box-border py-5 px-7.25 flex flex-col justify-between">
  482. <div class="flex justify-between">
  483. <div class="text-justify text-white text-2xl font-bold font-['Alimama_ShuHeiTi']">
  484. 报名详情
  485. </div>
  486. </div>
  487. <div class="flex flex-col justify-center aspect-[0.7/1] gap-5 p-6.5">
  488. <PageHelper
  489. :request="isActivity ? getActivitySignups : getStudyTourSignups"
  490. :query="isActivity ? { activityId: id } : { studyId: id }"
  491. class="flex-grow flex flex-col"
  492. >
  493. <template #default="{ source }">
  494. <div class="flex flex-col gap-5">
  495. <template v-for="(it, i) in source.list" :key="i">
  496. <div
  497. class="text-black text-sm font-normal font-['PingFang_SC'] leading-normal"
  498. >
  499. {{ dayjs(it.createTime).format('YYYY-MM-DD') }} {{ it.name }}已报名
  500. </div>
  501. </template>
  502. </div>
  503. </template>
  504. </PageHelper>
  505. </div>
  506. </div>
  507. </div>
  508. </view>
  509. </wd-overlay>
  510. <wd-overlay :show="successShow" @click="successShow = false">
  511. <view class="flex mx-10 h-full items-center justify-center">
  512. <div class="w-full flex flex-col gap-5 aspect-[1.12/1] relative">
  513. <div class="absolute top-0 left-0 right-0 bottom-0 z--1">
  514. <wd-img width="100%" height="100%" :src="signupSuccessDialogBg"></wd-img>
  515. </div>
  516. <div class="h-full box-border py-5 px-7.25 flex flex-col justify-between">
  517. <div class="flex justify-between">
  518. <div class="text-justify text-white text-2xl font-bold font-['Alimama_ShuHeiTi']">
  519. 报名成功
  520. </div>
  521. <wd-icon name="close" color="white" size="22px"></wd-icon>
  522. </div>
  523. <div class="flex flex-col justify-center aspect-[1.46/1] gap-5">
  524. <div class="flex gap-1.5">
  525. <wd-icon name="error-circle" size="22px"></wd-icon>
  526. <div
  527. class="w-[151px] h-[21px] text-justify text-black text-base font-normal font-['PingFang_SC'] leading-[21px]"
  528. >
  529. 请准时参加活动!
  530. </div>
  531. </div>
  532. <div
  533. class="w-[237px] h-[60px] text-justify text-black/60 text-base font-normal font-['PingFang_SC'] leading-normal"
  534. >
  535. 如有问题可咨询官方客服或您的专属经纪人!
  536. </div>
  537. </div>
  538. </div>
  539. </div>
  540. </view>
  541. </wd-overlay>
  542. </div>
  543. </template>
  544. <style lang="scss"></style>