From ce937a5f3f5e5506efd70e34a2e099f351d77be1 Mon Sep 17 00:00:00 2001 From: 26947 <12@1> Date: Sun, 2 Jun 2024 11:10:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8B=86=E5=88=86=E9=83=A8=E5=88=86=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/activity/index.vue | 159 +++----------------------- pages/activity/info.vue | 32 +++++- pages/common/activityList/index.vue | 170 ++++++++++++++++++++++++++++ utils/icon/icon.js | 4 +- 4 files changed, 214 insertions(+), 151 deletions(-) create mode 100644 pages/common/activityList/index.vue diff --git a/pages/activity/index.vue b/pages/activity/index.vue index 708ae04..4b3421d 100644 --- a/pages/activity/index.vue +++ b/pages/activity/index.vue @@ -18,7 +18,7 @@ - + 电音节节日活动 @@ -40,45 +40,14 @@ - - - - - - {{ item.title }} - - - - 开始时间:{{ item.startTime }} - - - 结束时间:{{ item.endTime }} - - - 活动地点:{{ item.addrs }} - - - - - - 报名中 - - - - - - - - - + + \ No newline at end of file diff --git a/pages/activity/info.vue b/pages/activity/info.vue index fac6f5f..e5718a4 100644 --- a/pages/activity/info.vue +++ b/pages/activity/info.vue @@ -31,7 +31,8 @@ - + + {{ actiInfoList.launchName }} {{ actiInfoList.launchAddres }} @@ -39,7 +40,15 @@ 已报名:{{ actiInfoList.elroll }}人 - + @@ -54,7 +63,9 @@ const tu22 = iconConfig.tu22; const tu51 = iconConfig.tu51; const tu52 = iconConfig.tu52; const tu53 = iconConfig.tu53; - +const open = ref(false) +const title = ref('确认签到'); +const content = ref('请您确认活动签到,祝您玩的愉快!'); // 创建响应式数据 ref('#001f3f') const bgColor = ref(''); @@ -82,6 +93,18 @@ onLoad((options) => { const leftClick = () => { proxy.$tab.navigateBack(1) } +const btnClick = () => { + open.value = !open.value +} +//模态框确认按钮 +function confirm () { + open.value = !open.value +} +//模态框取消按钮 +function cancel () { + open.value = !open.value +} + \ No newline at end of file diff --git a/pages/common/activityList/index.vue b/pages/common/activityList/index.vue new file mode 100644 index 0000000..0a53d56 --- /dev/null +++ b/pages/common/activityList/index.vue @@ -0,0 +1,170 @@ + + + \ No newline at end of file diff --git a/utils/icon/icon.js b/utils/icon/icon.js index 95003d0..2b5d0d7 100644 --- a/utils/icon/icon.js +++ b/utils/icon/icon.js @@ -8,8 +8,10 @@ const tu22 = ref(QNDomain + "home/icon/image/png/tu2-2_20240531163115818.png") const tu51 = ref(QNDomain + "home/icon/image/png/tu5-1_20240601124004353.png") const tu52 = ref(QNDomain + "home/icon/image/png/tu5-2_20240601124010403.png") const tu53 = ref(QNDomain + "home/icon/image/png/tu5-3_20240601124016641.png") +const tu23 = ref(QNDomain + "home/icon/image/png/tu2-3_20240602093303793.png") + export default { - tu21,tu22, + tu21,tu22,tu23, tu51,tu52,tu53 } \ No newline at end of file