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
2024-11-20 11:02:59 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bea25518c0a58eda2db6c3a3ca103bf0729e9b24
bea25518
1 parent
83bfbebd
fix
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
.env.development
components.d.ts
src/components/DonateCert/index.vue
.env.development
View file @
bea2551
...
...
@@ -4,7 +4,8 @@ VITE_BASE = /
# 测试open-id
# VITE_OPENID = api-test-openid
# VITE_OPENID = o8BRf1gLDWieH3Y3JvbrI_4IjaME
VITE_OPENID = oJLZq5hXgSv4zI1b8px22Wl7EuNA
# VITE_OPENID = oJLZq5hXgSv4zI1b8px22Wl7EuNA
VITE_OPENID = oJLZq5je9NQMByqS80qryiQ2xgeA
# VITE_OPENID = oJLZq5uT_6GwIh2tQWh1F9IoHZ3U
# B端账号
...
...
components.d.ts
View file @
bea2551
...
...
@@ -7,7 +7,6 @@ export {}
/* prettier-ignore */
declare
module
'vue'
{
export
interface
GlobalComponents
{
'图形验证码'
:
typeof
import
(
'./src/components/图形验证码.vue'
)[
'default'
]
Agreement
:
typeof
import
(
'./src/components/DonateFlower/agreement.vue'
)[
'default'
]
AuditVideoCard
:
typeof
import
(
'./src/components/AuditVideoCard/index.vue'
)[
'default'
]
Banner
:
typeof
import
(
'./src/components/MuiVideo/banner.vue'
)[
'default'
]
...
...
@@ -66,5 +65,6 @@ declare module 'vue' {
VideoBar
:
typeof
import
(
'./src/components/MuiVideo/videoBar.vue'
)[
'default'
]
VideoCard
:
typeof
import
(
'./src/components/VideoCard/index.vue'
)[
'default'
]
VideoDetail
:
typeof
import
(
'./src/components/VideoDetail/index.vue'
)[
'default'
]
'图形验证码'
:
typeof
import
(
'./src/components/图形验证码.vue'
)[
'default'
]
}
}
...
...
src/components/DonateCert/index.vue
View file @
bea2551
...
...
@@ -58,8 +58,8 @@
<script setup>
// import icon_cert from '@images/zhengshu@2x.png'
import icon_stamp01 from '@images/stamp01.png'
import icon_stamp02 from '@images/stamp02.png'
//
import icon_stamp01 from '@images/stamp01.png'
//
import icon_stamp02 from '@images/stamp02.png'
// import donate_top from '@images/donate_top.png'
// import donate_center from '@images/donate_center.png'
// import donate_bottom from '@images/donate_bottom.png'
...
...
@@ -73,7 +73,12 @@ const flag = ref(true);
const ref_width = ref('');
const ref_height = ref('');
const props = defineProps({
item: Object,
})
onMounted(() => {
console.warn('item', props.item);
nextTick(() => {
let canvasDom = canvasRef.value;
ref_width.value = canvasDom.offsetWidth + 'px';
...
...
Please
register
or
login
to post a comment