From 18b45638fe3aac07e65aeb5b1da337d4e4bdc87c Mon Sep 17 00:00:00 2001
From: 石广澎 <shiguangpeng@163.com>
Date: 星期日, 30 十一月 2025 18:24:36 +0800
Subject: [PATCH] fix(pay): 更新支付页面文案及逻辑

---
 pages/pay/shuaKa/introduce.vue |   92 ++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 92 insertions(+), 0 deletions(-)

diff --git a/pages/pay/shuaKa/introduce.vue b/pages/pay/shuaKa/introduce.vue
new file mode 100644
index 0000000..4d87bcf
--- /dev/null
+++ b/pages/pay/shuaKa/introduce.vue
@@ -0,0 +1,92 @@
+<template>
+	<view>
+		<view class="title">
+			<image class="title-icon" src="/static/shuaka/title-icon1.png"></image>
+			<view class="title-text">娲诲姩绱Н瑙勫垯</view>
+		</view>
+		<view class="content">
+			<view class="u-m-t-20">
+				1銆佸弬涓庢椂闂达細{{$u.timeFormat(info.actStartTime, 'yyyy骞磎m鏈坉d鏃�')}}鍒皗{$u.timeFormat(info.actEndTime, 'yyyy骞磎m鏈坉d鏃�')}}锛屽悕棰漿{info.numOfUser}}浜恒��
+			</view>
+			<view>2銆佺疮绉埛鍗$瑪鏁版湁鏁堟椂闂达細鐢ㄦ埛鎴愬姛鍙備笌娲诲姩鍚巤{info.dayMax}}澶╁唴銆�</view>
+			<view class="u-m-t-20">3銆佺疮绉鍒欙細鐢ㄦ埛浣跨敤娲诲姩鎸囧畾閾惰鍗¤繘琛屾敮浠橈紝鍗曠瑪鏀粯瀹為檯鏀粯閲戦澶т簬绛変簬{{info.numOfMin/100}}鍏冪殑浜ゆ槗锛屾柟鍙疮绉椿鍔ㄥ埛鍗$瑪鏁般��</view>
+			<view class="u-m-t-20">
+				4銆佺疮绉笂闄愶細鐢ㄦ埛鍙備笌娲诲姩鍚庯紝姣忎釜鑷劧鏃ユ渶澶氱疮绉瘂{info.numOfDay}}绗旀椿鍔ㄥ埛鍗$瑪鏁帮紝瓒呰繃{{info.numOfDay}}绗斿悗锛屽綋澶╃户缁氦鏄撳皢涓嶄細璁″叆娲诲姩鍒峰崱绗旀暟銆�</view>
+		</view>
+		<view class="title">
+			<image class="title-icon" src="/static/shuaka/title-icon2.png"></image>
+			<view class="title-text">娲诲姩瑙勫垯</view>
+		</view>
+		<view class="content">{{info.actRules}}</view>
+
+	</view>
+</template>
+
+<script>
+	import {
+		activityInfo
+	} from '@/common/api/shuaka'
+	export default {
+		data() {
+			return {
+				info: {
+					bankCardName: '',
+					totalDiscount: 0,
+					dayMax: 0,
+					numOfMin: 0,
+					numOfDay: 0,
+					numOfUser: 0,
+					actRules: ''
+				},
+			};
+		},
+		onLoad() {
+			activityInfo().then(res => {
+				if (res) {
+					res.actRules = decodeURIComponent(res.actRules || '')
+					this.info = res
+				}
+			})
+		}
+	}
+</script>
+
+<style lang="scss" scoped>
+	page {
+		box-sizing: border-box;
+		background-color: #ffffff;
+		padding: 0 32rpx 32rpx;
+	}
+
+	.title {
+		display: flex;
+		justify-content: center;
+		margin: 60rpx 0;
+	}
+
+	.title-icon {
+		width: 42rpx;
+		height: 42rpx;
+		margin-top: 10rpx;
+		margin-right: 10rpx;
+	}
+
+	.title-text {
+		font-size: 36rpx;
+		font-weight: 500;
+		padding-bottom: 20rpx;
+		color: #333333;
+		background-image: url('~@/static/shuaka/title-bg.png');
+		background-position: left bottom;
+		background-size: 170rpx 14rpx;
+		background-repeat: no-repeat;
+	}
+
+	.content {
+		line-height: 1.5;
+		font-size: 30rpx;
+		font-weight: 400;
+		counter-reset: #333333;
+		white-space: pre-wrap;
+	}
+</style>

--
Gitblit v1.9.1