Showing
3 changed files
with
10 additions
and
4 deletions
| ... | @@ -4,7 +4,8 @@ VITE_BASE = / | ... | @@ -4,7 +4,8 @@ VITE_BASE = / |
| 4 | # 测试open-id | 4 | # 测试open-id |
| 5 | # VITE_OPENID = api-test-openid | 5 | # VITE_OPENID = api-test-openid |
| 6 | # VITE_OPENID = o8BRf1gLDWieH3Y3JvbrI_4IjaME | 6 | # VITE_OPENID = o8BRf1gLDWieH3Y3JvbrI_4IjaME |
| 7 | -VITE_OPENID = oJLZq5hXgSv4zI1b8px22Wl7EuNA | 7 | +# VITE_OPENID = oJLZq5hXgSv4zI1b8px22Wl7EuNA |
| 8 | +VITE_OPENID = oJLZq5je9NQMByqS80qryiQ2xgeA | ||
| 8 | # VITE_OPENID = oJLZq5uT_6GwIh2tQWh1F9IoHZ3U | 9 | # VITE_OPENID = oJLZq5uT_6GwIh2tQWh1F9IoHZ3U |
| 9 | 10 | ||
| 10 | # B端账号 | 11 | # B端账号 | ... | ... |
| ... | @@ -7,7 +7,6 @@ export {} | ... | @@ -7,7 +7,6 @@ export {} |
| 7 | /* prettier-ignore */ | 7 | /* prettier-ignore */ |
| 8 | declare module 'vue' { | 8 | declare module 'vue' { |
| 9 | export interface GlobalComponents { | 9 | export interface GlobalComponents { |
| 10 | - '图形验证码': typeof import('./src/components/图形验证码.vue')['default'] | ||
| 11 | Agreement: typeof import('./src/components/DonateFlower/agreement.vue')['default'] | 10 | Agreement: typeof import('./src/components/DonateFlower/agreement.vue')['default'] |
| 12 | AuditVideoCard: typeof import('./src/components/AuditVideoCard/index.vue')['default'] | 11 | AuditVideoCard: typeof import('./src/components/AuditVideoCard/index.vue')['default'] |
| 13 | Banner: typeof import('./src/components/MuiVideo/banner.vue')['default'] | 12 | Banner: typeof import('./src/components/MuiVideo/banner.vue')['default'] |
| ... | @@ -66,5 +65,6 @@ declare module 'vue' { | ... | @@ -66,5 +65,6 @@ declare module 'vue' { |
| 66 | VideoBar: typeof import('./src/components/MuiVideo/videoBar.vue')['default'] | 65 | VideoBar: typeof import('./src/components/MuiVideo/videoBar.vue')['default'] |
| 67 | VideoCard: typeof import('./src/components/VideoCard/index.vue')['default'] | 66 | VideoCard: typeof import('./src/components/VideoCard/index.vue')['default'] |
| 68 | VideoDetail: typeof import('./src/components/VideoDetail/index.vue')['default'] | 67 | VideoDetail: typeof import('./src/components/VideoDetail/index.vue')['default'] |
| 68 | + '图形验证码': typeof import('./src/components/图形验证码.vue')['default'] | ||
| 69 | } | 69 | } |
| 70 | } | 70 | } | ... | ... |
| ... | @@ -58,8 +58,8 @@ | ... | @@ -58,8 +58,8 @@ |
| 58 | 58 | ||
| 59 | <script setup> | 59 | <script setup> |
| 60 | // import icon_cert from '@images/zhengshu@2x.png' | 60 | // import icon_cert from '@images/zhengshu@2x.png' |
| 61 | -import icon_stamp01 from '@images/stamp01.png' | 61 | +// import icon_stamp01 from '@images/stamp01.png' |
| 62 | -import icon_stamp02 from '@images/stamp02.png' | 62 | +// import icon_stamp02 from '@images/stamp02.png' |
| 63 | // import donate_top from '@images/donate_top.png' | 63 | // import donate_top from '@images/donate_top.png' |
| 64 | // import donate_center from '@images/donate_center.png' | 64 | // import donate_center from '@images/donate_center.png' |
| 65 | // import donate_bottom from '@images/donate_bottom.png' | 65 | // import donate_bottom from '@images/donate_bottom.png' |
| ... | @@ -73,7 +73,12 @@ const flag = ref(true); | ... | @@ -73,7 +73,12 @@ const flag = ref(true); |
| 73 | const ref_width = ref(''); | 73 | const ref_width = ref(''); |
| 74 | const ref_height = ref(''); | 74 | const ref_height = ref(''); |
| 75 | 75 | ||
| 76 | +const props = defineProps({ | ||
| 77 | + item: Object, | ||
| 78 | +}) | ||
| 79 | + | ||
| 76 | onMounted(() => { | 80 | onMounted(() => { |
| 81 | + console.warn('item', props.item); | ||
| 77 | nextTick(() => { | 82 | nextTick(() => { |
| 78 | let canvasDom = canvasRef.value; | 83 | let canvasDom = canvasRef.value; |
| 79 | ref_width.value = canvasDom.offsetWidth + 'px'; | 84 | ref_width.value = canvasDom.offsetWidth + 'px'; | ... | ... |
-
Please register or login to post a comment