Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
tswj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2022-06-02 20:15:21 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
00534532b914d7f42fde031e415dbb279778ee14
00534532
1 parent
857de646
fix 捐赠协议优化
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
src/components/DonateFlower/agreement.js
src/components/DonateFlower/index.vue
src/components/DonateFlower/agreement.js
View file @
0053453
...
...
@@ -2,13 +2,12 @@
* @Author: hookehuyr hookehuyr@gmail.com
* @Date: 2022-06-02 11:23:16
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-06-02
19:27:06
* @LastEditTime: 2022-06-02
20:02:30
* @FilePath: /tswj/src/components/DonateFlower/agreement.js
* @Description:
*/
const
str
=
'上海XX益基金会'
const
html
=
`
<div style="padding: 1rem;">
<div style="text-align: center; font-weight: bold; margin-bottom: 1rem; font-size: 1.25rem; color: #713610;">
捐赠协议
</div>
...
...
@@ -43,7 +42,6 @@ const html = `
</div>
</div>
<div style="height: 5rem;"></div>
</div>
`
export
default
html
;
...
...
src/components/DonateFlower/index.vue
View file @
0053453
...
...
@@ -2,7 +2,7 @@
* @Author: hookehuyr hookehuyr@gmail.com
* @Date: 2022-05-31 22:09:58
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-06-02
19:21:18
* @LastEditTime: 2022-06-02
20:04:23
* @FilePath: /tswj/src/components/DonateFlower/index.vue
* @Description: 捐花组件
-->
...
...
@@ -79,13 +79,14 @@
</div>
</div>
</van-popup>
<
!-- TODO: 正式文案需要更新 --
>
<
div class="popup-wrapper"
>
<van-popup v-model:show="showDA" position="bottom" :style="{ height: '100%', zIndex: 4000 }">
<div
v-html="agreementHtml"></div>
<div class="agreementHtml"
v-html="agreementHtml"></div>
<div class="bottom-btn" @click="closeDA">
<div class="text">关闭</div>
</div>
</van-popup>
</div>
</template>
<script setup>
...
...
@@ -301,4 +302,9 @@ const closeDA = () => {
}
}
.popup-wrapper {
.agreementHtml {
padding: 1rem;
}
}
</style>
...
...
Please
register
or
login
to post a comment