hookehuyr

✨ feat: 客户要求捐赠证书文字修改,捐赠协议获取源调整

...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
6 <div class="title"> 6 <div class="title">
7 <van-row align="center"> 7 <van-row align="center">
8 <van-col> 8 <van-col>
9 - <span style="font-size: 0.8rem; color: #272727;">亲爱的者</span> 9 + <span style="font-size: 0.8rem; color: #272727;">亲爱的捐赠者</span>
10 </van-col> 10 </van-col>
11 <van-col> 11 <van-col>
12 <div style="color: #713610; padding: 1rem;" class="van-hairline--bottom">{{ item.name }}</div> 12 <div style="color: #713610; padding: 1rem;" class="van-hairline--bottom">{{ item.name }}</div>
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
15 </van-row> 15 </van-row>
16 </div> 16 </div>
17 <div class="content"> 17 <div class="content">
18 - 感谢您为“童声无界”活动的捐赠,让更多的孩子体验到了阅读的乐趣。您的爱心行为增加了两地儿童的牵绊,使更多的孩子交到了远方的朋友。共读一本书,传递一份爱。初心为爱,童声无界感谢您对公益事业的支持。 18 + 感谢您对“童声无界”多民族儿童共读活动的关注及捐赠。上海市儿童基金会已收到您的捐款。您的爱心将用于边疆地区少数民族儿童阅读能力的培育。共读一本书传递一份爱,初心为爱童声无界。感谢您对公益事业的支持。
19 </div> 19 </div>
20 <div class="price"> 20 <div class="price">
21 <div>爱心捐赠</div> 21 <div>爱心捐赠</div>
...@@ -43,8 +43,7 @@ ...@@ -43,8 +43,7 @@
43 <van-image :src="donate_top" style="width: 100%; height: 10rem;" /> 43 <van-image :src="donate_top" style="width: 100%; height: 10rem;" />
44 </div> 44 </div>
45 <div class="center-bg"> 45 <div class="center-bg">
46 - <!-- <van-image :src="donate_center" style="width: 100%;" /> --> 46 + <img :src="donate_center" :style="styleObject">
47 - <img :src="donate_center" :style="style">
48 </div> 47 </div>
49 <div class="bottom-bg"> 48 <div class="bottom-bg">
50 <van-image :src="donate_bottom" style="width: 100%;" /> 49 <van-image :src="donate_bottom" style="width: 100%;" />
...@@ -76,7 +75,7 @@ export default { ...@@ -76,7 +75,7 @@ export default {
76 name: '', 75 name: '',
77 price: '', 76 price: '',
78 datetime: '', 77 datetime: '',
79 - style: '' 78 + styleObject: {}
80 } 79 }
81 }, 80 },
82 mounted() { 81 mounted() {
...@@ -84,8 +83,11 @@ export default { ...@@ -84,8 +83,11 @@ export default {
84 const wrapper_height = $('.donate-certificate').height() 83 const wrapper_height = $('.donate-certificate').height()
85 const top_height = $('.top-bg').height() 84 const top_height = $('.top-bg').height()
86 const bottom_height = $('.bottom-bg').height() 85 const bottom_height = $('.bottom-bg').height()
87 - const height = (wrapper_height - top_height - bottom_height).toFixed(); 86 + const center_height = (wrapper_height - top_height - bottom_height).toFixed();
88 - this.style = `width: 100%;height:${height}px;`; 87 + this.styleObject = {
88 + width: '100%',
89 + height: center_height + 'px'
90 + }
89 }, 91 },
90 methods: { 92 methods: {
91 93
......
1 +<!--
2 + * @Date: 2022-06-17 17:17:13
3 + * @LastEditors: hookehuyr hookehuyr@gmail.com
4 + * @LastEditTime: 2022-06-17 17:39:12
5 + * @FilePath: /tswj/src/components/DonateFlower/agreement.vue
6 + * @Description: 文件描述
7 +-->
8 +<template>
9 + <div class="agreement-page">
10 + <div class="title">捐赠协议</div>
11 + <div class="sub"> 感谢您对中国公益慈善事业的关心与支持!{{ str }}面向所有具有公开募捐资质的慈善组织提供服务。{{ str }}始终秉持着最高的合规性要求,因此,只要您点击“同意”或“接受”,您的行为就已表示您无条件接受并遵守“本网络捐赠条款和条件”以及{{ str }}不时公布的“其他公开规则”。 </div>
12 + <div class="content">
13 + <div class="title-content">1.资格规定</div>
14 + <div class="text-content">
15 + 您声明您是符合中华人民共和国法律规定的具有完全民事行为能力的自然人。
16 + </div>
17 + </div>
18 + <div class="content">
19 + <div class="title-content">2.捐赠财产</div>
20 + <div class="text-content"> 您同意依照《公益事业捐赠法》的相关规定,自愿无偿地通过网络向{{ str }}平台上具有公开募捐资质的慈善组织捐赠财产用于公益事业。</div>
21 + <div class="text-content">您声明您用于捐赠的财产是您合法持有并有权处分的财产。</div>
22 + <div class="text-content"> 您声明您已经了解《公益事业捐赠法》、《合同法》中关干财产捐赠的相关规定,明确同意不会撤销或部分撤销对{{ str }}平台上具有公开募捐资质的慈善组织作出的捐赠。</div>
23 + <div class="text-content">
24 + 您声明您知晓并同意,{{ str }}平台上具有公开募捐资质的慈善组织可以为公益事业之目的合理审慎地自主决定捐赠财产的实际受助对象、以及具体使用的领域、金额、时间。
25 + </div>
26 + </div>
27 + <div class="content">
28 + <div class="title-content">3.争议解决和法律适用</div>
29 + <div class="text-content">除非另有明确约定,否则,本网络捐款条款和条件适用中华人民共和国法律,并排除一切冲突法原则的适用。</div>
30 + <div class="text-content">
31 + 如果各方无法通过协商解决争端,您和{{ str }}平台上具有公开募捐资质的慈善组织,也即善款接收方,均有权向有管辖权的人民法院提起诉讼以解决争议,由此产生的诉讼费、律师费、公证费等由败诉方承担。
32 + </div>
33 + </div>
34 + <div class="content">
35 + <div class="title-content">4.其他</div>
36 + <div class="text-content"> 本网络捐款条款和条件构成您与{{ str }}之间就本网络捐款条款和条件约定事项的完整和唯一的协议,并取代就本网络捐款条款和条件事项达成的口头或书面协议。如本网络捐款条款和条件内容与{{ str }}其他公开规则内容相冲突,则以本网络捐款条款和条件内容为准。 </div>
37 + </div>
38 + <div class="content">
39 + 如果本网络捐款条款和条件条文因任何原因被认定是违法、无效或者丧失执行力,该条文将从本网络捐款条款和条件中删除,而其余条款的效力则不受影响。
40 + </div>
41 + <div class="content">
42 + {{ str }}未能执行本网络捐款条款和条件中的任何条款的行为不应被解释为放弃当前或未来对该条款的权利,也不会影响{{ str }}日后要求执行该条款的权利。{{ str }}明确提出放弃本网络捐款条款和条件中的规定、条件或要求不构成放弃追究未来与此规定、条件或要求相一致的责任。
43 + </div>
44 + <div style="height: 5rem;" />
45 + </div>
46 +</template>
47 +
48 +<script setup>
49 +import { ref } from 'vue'
50 +import { useRoute, useRouter } from 'vue-router'
51 +
52 +import { Cookies, $, _, axios, storeToRefs, mainStore, Toast, useTitle } from '@/utils/generatePackage.js'
53 +//import { } from '@/utils/generateModules.js'
54 +//import { } from '@/utils/generateIcons.js'
55 +//import { } from '@/composables'
56 +const $route = useRoute();
57 +const $router = useRouter();
58 +useTitle($route.meta.title);
59 +
60 +const str = ref('上海XX益基金会')
61 +
62 +</script>
63 +
64 +<style lang="less" scoped>
65 +.agreement-page {
66 + padding: 1rem;
67 + .title {
68 + text-align: center;
69 + font-weight: bold;
70 + margin-bottom: 1rem;
71 + font-size: 1.25rem;
72 + color: #11D2B1;
73 + }
74 + .sub {
75 + text-align: justify;
76 + color: #231815;
77 + font-size: 1.05rem;
78 + line-height: 1.5;
79 + }
80 + .content {
81 + margin: 1rem 0;
82 + line-height: 1.75;
83 + .title-content {
84 + margin-bottom: 0.5rem;
85 + }
86 + .text-content {
87 + margin-bottom: 0.5rem;
88 + line-height: 1.75;
89 + }
90 + }
91 +}
92 +</style>
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 * @Author: hookehuyr hookehuyr@gmail.com 2 * @Author: hookehuyr hookehuyr@gmail.com
3 * @Date: 2022-05-31 22:09:58 3 * @Date: 2022-05-31 22:09:58
4 * @LastEditors: hookehuyr hookehuyr@gmail.com 4 * @LastEditors: hookehuyr hookehuyr@gmail.com
5 - * @LastEditTime: 2022-06-17 14:52:12 5 + * @LastEditTime: 2022-06-17 17:25:28
6 * @FilePath: /tswj/src/components/DonateFlower/index.vue 6 * @FilePath: /tswj/src/components/DonateFlower/index.vue
7 * @Description: 捐花组件 7 * @Description: 捐花组件
8 --> 8 -->
...@@ -86,7 +86,8 @@ ...@@ -86,7 +86,8 @@
86 </van-popup> 86 </van-popup>
87 <div class="popup-wrapper"> 87 <div class="popup-wrapper">
88 <van-popup v-model:show="showDA" position="bottom" :style="{ height: '100%', zIndex: 4000 }"> 88 <van-popup v-model:show="showDA" position="bottom" :style="{ height: '100%', zIndex: 4000 }">
89 - <div class="agreementHtml" v-html="agreementHtml" /> 89 + <agreement />
90 + <!-- <div class="agreementHtml" v-html="agreementHtml" /> -->
90 <div class="bottom-btn" @click="showDA=false"> 91 <div class="bottom-btn" @click="showDA=false">
91 <div class="text">关闭</div> 92 <div class="text">关闭</div>
92 </div> 93 </div>
...@@ -97,6 +98,7 @@ ...@@ -97,6 +98,7 @@
97 <script setup> 98 <script setup>
98 import { icon_flower } from '@/utils/generateIcons' 99 import { icon_flower } from '@/utils/generateIcons'
99 import MyButton from '@/components/MyButton/index.vue' 100 import MyButton from '@/components/MyButton/index.vue'
101 +import agreement from './agreement.vue'
100 import { ref, watch, nextTick } from 'vue' 102 import { ref, watch, nextTick } from 'vue'
101 import { useRouter } from 'vue-router' 103 import { useRouter } from 'vue-router'
102 import { $, Toast } from '@/utils/generatePackage' 104 import { $, Toast } from '@/utils/generatePackage'
......