Compare commits

..

No commits in common. "1ec48ed0404322097b40ba39fde5c01d1d6f14d4" and "60d2ab6380ca03715f78851490083778dbc51fb1" have entirely different histories.

1 changed files with 130 additions and 168 deletions

View File

@ -17,12 +17,7 @@
<!-- 表单区域 --> <!-- 表单区域 -->
<div class="p-4 -mt-10 z-10 relative"> <div class="p-4 -mt-10 z-10 relative">
<div <div class="mx-auto bg-white rounded-xl shadow-sm p-6">
class="relative overflow-hidden rounded-2xl border border-[#FFD7DF] bg-gradient-to-br from-[#FFF7F9] via-white to-[#FFE4EA] shadow-[0_12px_32px_rgba(232,66,77,0.08)] p-6 sm:p-7 backdrop-blur-sm">
<div class="absolute -right-10 -top-16 h-40 w-40 rounded-full bg-[#FFE3EA] blur-3xl opacity-70"></div>
<div class="absolute -left-14 -bottom-16 h-40 w-40 rounded-full bg-[#FFD6E2] blur-3xl opacity-60"></div>
<div class="relative z-10">
<!-- 标题 --> <!-- 标题 -->
<div class="flex items-center justify-center text-xl text-[#E8424D] mb-6"> <div class="flex items-center justify-center text-xl text-[#E8424D] mb-6">
<img src="/爱心点缀1.png" alt="" class="h-5"> <img src="/爱心点缀1.png" alt="" class="h-5">
@ -34,7 +29,7 @@
<div v-if="![2, 3].includes(activityInfo.status)"> <div v-if="![2, 3].includes(activityInfo.status)">
<!-- 手机号输入 --> <!-- 手机号输入 -->
<div class="mb-5 flex items-center gap-3 border border-gray-200 rounded-lg px-4 bg-white/85 shadow-[0_6px_14px_rgba(232,66,77,0.06)]"> <div class="mb-5 flex items-center gap-3 border border-gray-200 rounded-lg px-4">
<input :disabled="formData.verifyCode" v-model="formData.phone" type="tel" placeholder="请输入手机号码" <input :disabled="formData.verifyCode" v-model="formData.phone" type="tel" placeholder="请输入手机号码"
maxlength="11" class="outline-none focus:border-[#E8424D] transition-colors flex-1 h-14 w-full" /> maxlength="11" class="outline-none focus:border-[#E8424D] transition-colors flex-1 h-14 w-full" />
@ -46,7 +41,7 @@
</div> </div>
<!-- 验证码输入 --> <!-- 验证码输入 -->
<div class="mb-5 flex items-center gap-3 border border-gray-200 rounded-lg px-4 bg-white/85 shadow-[0_6px_14px_rgba(232,66,77,0.06)]"> <div class="mb-5 flex items-center gap-3 border border-gray-200 rounded-lg px-4">
<input :disabled="formData.verifyCode" v-model="formData.smsCode" type="text" placeholder="请输入验证码" <input :disabled="formData.verifyCode" v-model="formData.smsCode" type="text" placeholder="请输入验证码"
maxlength="6" class="outline-none focus:border-[#E8424D] transition-colors flex-1 h-14 w-full" /> maxlength="6" class="outline-none focus:border-[#E8424D] transition-colors flex-1 h-14 w-full" />
<button v-if="!formData.verifyCode" @click="verifyCode" :disabled="formData.smsCode.length !== 6" <button v-if="!formData.verifyCode" @click="verifyCode" :disabled="formData.smsCode.length !== 6"
@ -64,13 +59,13 @@
<div v-if="formData.marriageNo" class="text-xs" @click="resetMarriageInfo">重新扫描</div> <div v-if="formData.marriageNo" class="text-xs" @click="resetMarriageInfo">重新扫描</div>
</div> </div>
<div v-if="!formData.marriageNo" <div v-if="!formData.marriageNo"
class="border border-dashed border-gray-200 rounded-lg p-5 flex items-center justify-center bg-white/80"> class="border border-dashed border-gray-200 rounded-lg p-5 flex items-center justify-center">
<div class="relative inline-block" @click="handleScanClick"> <div class="relative inline-block" @click="handleScanClick">
<img src="/扫描.png" alt="" class="h-20"> <img src="/扫描.png" alt="" class="h-20">
</div> </div>
</div> </div>
<div v-if="formData.marriageNo" <div v-if="formData.marriageNo"
class="w-full flex flex-col items-start border border-gray-200 rounded-lg p-5 bg-white/85 shadow-[0_6px_14px_rgba(232,66,77,0.06)]"> class="w-full flex flex-col items-start border border-gray-200 rounded-lg p-5 bg-[#FAFAFA]">
<div> <div>
<span class="inline-block w-25 text-right">结婚证字号</span> <span class="inline-block w-25 text-right">结婚证字号</span>
<span class="pl-2">{{ formData.marriageNo }}</span> <span class="pl-2">{{ formData.marriageNo }}</span>
@ -126,66 +121,33 @@
<div class="mt-4 text-xs text-gray-500">活动时间--</div> <div class="mt-4 text-xs text-gray-500">活动时间--</div>
</div> </div>
</div> </div>
</div>
</div> </div>
</div> </div>
<!-- 使用说明 --> <!-- 使用说明 -->
<div class="p-4" v-if="![2, 3].includes(activityInfo.status)"> <div class="p-4" v-if="![2, 3].includes(activityInfo.status)">
<div <div class="w-full relative">
class="relative overflow-hidden rounded-2xl border border-[#FFD7DF] bg-gradient-to-br from-[#FFF7F9] via-white to-[#FFE4EA] shadow-[0_12px_32px_rgba(232,66,77,0.08)]"> <div class="h-full">
<div class="absolute -right-10 -top-16 h-40 w-40 rounded-full bg-[#FFE3EA] blur-3xl opacity-70"></div> <h3 class="h-9 text-lg text-[#E8424D] font-bold flex items-center justify-center pt-4"
<div class="absolute -left-14 -bottom-16 h-40 w-40 rounded-full bg-[#FFD6E2] blur-3xl opacity-60"></div> style="background: url('/并集.png') no-repeat center center / cover; background-size: 100% 100%;">
<svg class="w-5 h-5 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<div class="relative px-5 pt-6 pb-3">
<div
class="inline-flex items-center gap-2 px-4 h-11 rounded-full bg-white/90 border border-[#F7B9C2] text-[#E8424D] font-semibold shadow-[0_10px_22px_rgba(232,66,77,0.12)]">
<span
class="inline-flex h-7 w-7 items-center justify-center rounded-full bg-gradient-to-br from-[#E8424D] via-[#F55F6E] to-[#FF9AAE] text-white shadow-md">
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z" /> d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path>
</svg> </svg>
</span> 使用说明
<span class="text-base tracking-wide">使用说明</span> </h3>
</div> <div class="p-4 h-full bg-gradient-to-br from-[#FFFFFF] to-[#FFF2F2] rounded-xl">
</div> <div
class="h-full p-4 text-sm text-gray-600 leading-relaxed bg-gradient-to-br from-[#FFDEEB] to-[#FCC2D7] rounded-xl">
<div class="relative px-5 pb-5"> <ol class="list-decimal list-inside pl-2 text-sm text-[#AB8291]">
<div class="bg-white/90 backdrop-blur-sm rounded-xl p-4 shadow-[0_10px_24px_rgba(232,66,77,0.08)]"> <li>参与活动人员{{ activityInfo.activityStartTime }}{{
<div class="space-y-4"> activityInfo.activityEndTime }}在宁夏全区民政婚姻登记机构含涉外机构办理结婚登记的新人</li>
<div class="flex items-start gap-3"> <li>凭结婚证可至全区指定福利彩票销售点兑换即开型福利彩票赠票总额{{ activityInfo.totalMoney > 10000 ? (activityInfo.totalMoney /
<div class="h-9 w-9 shrink-0 rounded-full bg-gradient-to-br from-[#E8424D] to-[#FF7A7A] text-white flex items-center justify-center font-bold shadow-md"> 10000).toFixed(2) + '万' : activityInfo.totalMoney }}赠完即止</li>
1 <li>每对新人限使用一次线上二维码兑换券</li>
</div> <li>本活动最终解释权归宁夏福利彩票发行中心所有</li>
<div class="text-sm text-[#7A5967] leading-6"> </ol>
{{ activityInfo.activityStartTime }} {{ activityInfo.activityEndTime }}在宁夏全区民政婚姻登记机构含涉外机构办理结婚登记的新人可参与活动
</div>
</div>
<div class="flex items-start gap-3">
<div class="h-9 w-9 shrink-0 rounded-full bg-gradient-to-br from-[#E8424D] to-[#FF7A7A] text-white flex items-center justify-center font-bold shadow-md">
2
</div>
<div class="text-sm text-[#7A5967] leading-6">
凭结婚证到全区指定福利彩票销售点兑换即开型福利彩票赠票总额 {{ activityInfo.totalMoney > 10000 ? (activityInfo.totalMoney / 10000).toFixed(2) + '万' : activityInfo.totalMoney }} 赠完即止
</div>
</div>
<div class="flex items-start gap-3">
<div class="h-9 w-9 shrink-0 rounded-full bg-gradient-to-br from-[#E8424D] to-[#FF7A7A] text-white flex items-center justify-center font-bold shadow-md">
3
</div>
<div class="text-sm text-[#7A5967] leading-6">
每对新人限使用一次线上二维码兑换券请妥善保管二维码核销后即失效
</div>
</div>
<div class="flex items-start gap-3">
<div class="h-9 w-9 shrink-0 rounded-full bg-gradient-to-br from-[#E8424D] to-[#FF7A7A] text-white flex items-center justify-center font-bold shadow-md">
4
</div>
<div class="text-sm text-[#7A5967] leading-6">
本活动最终解释权归宁夏福利彩票发行中心所有如有疑问请咨询现场工作人员
</div>
</div>
</div> </div>
</div> </div>
</div> </div>