Showing
4 changed files
with
49 additions
and
14 deletions
| ... | @@ -7,6 +7,7 @@ export {} | ... | @@ -7,6 +7,7 @@ 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'] | ||
| 10 | Agreement: typeof import('./src/components/DonateFlower/agreement.vue')['default'] | 11 | Agreement: typeof import('./src/components/DonateFlower/agreement.vue')['default'] |
| 11 | AuditVideoCard: typeof import('./src/components/AuditVideoCard/index.vue')['default'] | 12 | AuditVideoCard: typeof import('./src/components/AuditVideoCard/index.vue')['default'] |
| 12 | Banner: typeof import('./src/components/MuiVideo/banner.vue')['default'] | 13 | Banner: typeof import('./src/components/MuiVideo/banner.vue')['default'] |
| ... | @@ -35,35 +36,27 @@ declare module 'vue' { | ... | @@ -35,35 +36,27 @@ declare module 'vue' { |
| 35 | Template: typeof import('./src/components/template/index.vue')['default'] | 36 | Template: typeof import('./src/components/template/index.vue')['default'] |
| 36 | Test: typeof import('./src/components/LoginBox/test.vue')['default'] | 37 | Test: typeof import('./src/components/LoginBox/test.vue')['default'] |
| 37 | VanActionSheet: typeof import('vant/es')['ActionSheet'] | 38 | VanActionSheet: typeof import('vant/es')['ActionSheet'] |
| 38 | - VanButton: typeof import('vant/es')['Button'] | ||
| 39 | VanCellGroup: typeof import('vant/es')['CellGroup'] | 39 | VanCellGroup: typeof import('vant/es')['CellGroup'] |
| 40 | VanCheckbox: typeof import('vant/es')['Checkbox'] | 40 | VanCheckbox: typeof import('vant/es')['Checkbox'] |
| 41 | VanCol: typeof import('vant/es')['Col'] | 41 | VanCol: typeof import('vant/es')['Col'] |
| 42 | - VanConfigProvider: typeof import('vant/es')['ConfigProvider'] | ||
| 43 | - VanDialog: typeof import('vant/es')['Dialog'] | ||
| 44 | VanEmpty: typeof import('vant/es')['Empty'] | 42 | VanEmpty: typeof import('vant/es')['Empty'] |
| 45 | VanField: typeof import('vant/es')['Field'] | 43 | VanField: typeof import('vant/es')['Field'] |
| 46 | - VanForm: typeof import('vant/es')['Form'] | ||
| 47 | VanIcon: typeof import('vant/es')['Icon'] | 44 | VanIcon: typeof import('vant/es')['Icon'] |
| 48 | VanImage: typeof import('vant/es')['Image'] | 45 | VanImage: typeof import('vant/es')['Image'] |
| 49 | VanList: typeof import('vant/es')['List'] | 46 | VanList: typeof import('vant/es')['List'] |
| 50 | VanLoading: typeof import('vant/es')['Loading'] | 47 | VanLoading: typeof import('vant/es')['Loading'] |
| 51 | - VanNumberKeyboard: typeof import('vant/es')['NumberKeyboard'] | ||
| 52 | VanOverlay: typeof import('vant/es')['Overlay'] | 48 | VanOverlay: typeof import('vant/es')['Overlay'] |
| 53 | VanPicker: typeof import('vant/es')['Picker'] | 49 | VanPicker: typeof import('vant/es')['Picker'] |
| 50 | + VanPopover: typeof import('vant/es')['Popover'] | ||
| 54 | VanPopup: typeof import('vant/es')['Popup'] | 51 | VanPopup: typeof import('vant/es')['Popup'] |
| 55 | VanRow: typeof import('vant/es')['Row'] | 52 | VanRow: typeof import('vant/es')['Row'] |
| 56 | VanStepper: typeof import('vant/es')['Stepper'] | 53 | VanStepper: typeof import('vant/es')['Stepper'] |
| 57 | VanSticky: typeof import('vant/es')['Sticky'] | 54 | VanSticky: typeof import('vant/es')['Sticky'] |
| 58 | - VanSwipe: typeof import('vant/es')['Swipe'] | ||
| 59 | - VanSwipeItem: typeof import('vant/es')['SwipeItem'] | ||
| 60 | VanTab: typeof import('vant/es')['Tab'] | 55 | VanTab: typeof import('vant/es')['Tab'] |
| 61 | VanTabs: typeof import('vant/es')['Tabs'] | 56 | VanTabs: typeof import('vant/es')['Tabs'] |
| 62 | VanTag: typeof import('vant/es')['Tag'] | 57 | VanTag: typeof import('vant/es')['Tag'] |
| 63 | - VanUploader: typeof import('vant/es')['Uploader'] | ||
| 64 | VideoBar: typeof import('./src/components/MuiVideo/videoBar.vue')['default'] | 58 | VideoBar: typeof import('./src/components/MuiVideo/videoBar.vue')['default'] |
| 65 | VideoCard: typeof import('./src/components/VideoCard/index.vue')['default'] | 59 | VideoCard: typeof import('./src/components/VideoCard/index.vue')['default'] |
| 66 | VideoDetail: typeof import('./src/components/VideoDetail/index.vue')['default'] | 60 | VideoDetail: typeof import('./src/components/VideoDetail/index.vue')['default'] |
| 67 | - '图形验证码': typeof import('./src/components/图形验证码.vue')['default'] | ||
| 68 | } | 61 | } |
| 69 | } | 62 | } | ... | ... |
src/assets/images/icon-contact.png
0 → 100644
6.25 KB
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2022-05-11 11:19:14 | 2 | * @Date: 2022-05-11 11:19:14 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2022-06-24 13:19:43 | 4 | + * @LastEditTime: 2024-11-13 15:39:03 |
| 5 | * @FilePath: /tswj/src/components/ShortcutFixed/index.vue | 5 | * @FilePath: /tswj/src/components/ShortcutFixed/index.vue |
| 6 | * @Description: 文件描述 | 6 | * @Description: 文件描述 |
| 7 | --> | 7 | --> |
| ... | @@ -10,12 +10,39 @@ | ... | @@ -10,12 +10,39 @@ |
| 10 | <van-image v-if="isHome" class="icon-box" :src="icon_home" @click="toHome" /> | 10 | <van-image v-if="isHome" class="icon-box" :src="icon_home" @click="toHome" /> |
| 11 | <van-image v-if="isMe" class="icon-box" :src="icon_me" @click="toMe" /> | 11 | <van-image v-if="isMe" class="icon-box" :src="icon_me" @click="toMe" /> |
| 12 | <van-image v-if="isRank" class="icon-box" :src="icon_rank" @click="toRank" /> | 12 | <van-image v-if="isRank" class="icon-box" :src="icon_rank" @click="toRank" /> |
| 13 | + <van-popover v-model:show="showPopover" placement="left"> | ||
| 14 | + <div class="contact-content"> | ||
| 15 | + <div class="text-tel">固话联系</div> | ||
| 16 | + <div> | ||
| 17 | + <a style="color: #C2915F;" | ||
| 18 | + :href="`tel:${tel}`" | ||
| 19 | + > | ||
| 20 | + {{ tel }} | ||
| 21 | + </a> | ||
| 22 | + </div> | ||
| 23 | + </div> | ||
| 24 | + <div class="contact-content" style="padding-top: 0;"> | ||
| 25 | + <div class="text-tel">邮箱联系</div> | ||
| 26 | + <div> | ||
| 27 | + <a style="color: #C2915F;" | ||
| 28 | + :href="`mailto:${mail}`" | ||
| 29 | + > | ||
| 30 | + {{ mail }} | ||
| 31 | + </a> | ||
| 32 | + </div> | ||
| 33 | + </div> | ||
| 34 | + <template #reference> | ||
| 35 | + <div class="wrapper"> | ||
| 36 | + <van-image class="icon-box" :src="icon_contact" /> | ||
| 37 | + </div> | ||
| 38 | + </template> | ||
| 39 | + </van-popover> | ||
| 13 | </div> | 40 | </div> |
| 14 | </template> | 41 | </template> |
| 15 | 42 | ||
| 16 | <script setup> | 43 | <script setup> |
| 17 | import Cookies from 'js-cookie' | 44 | import Cookies from 'js-cookie' |
| 18 | -import { icon_me, icon_home, icon_rank } from '@/utils/generateIcons.js' | 45 | +import { icon_me, icon_home, icon_rank, icon_contact } from '@/utils/generateIcons.js' |
| 19 | </script> | 46 | </script> |
| 20 | 47 | ||
| 21 | <script> | 48 | <script> |
| ... | @@ -24,7 +51,10 @@ export default { | ... | @@ -24,7 +51,10 @@ export default { |
| 24 | props: ['type', 'item', 'customStyle'], | 51 | props: ['type', 'item', 'customStyle'], |
| 25 | data() { | 52 | data() { |
| 26 | return { | 53 | return { |
| 27 | - userType: Cookies.get('userType') ? Cookies.get('userType') : '' | 54 | + userType: Cookies.get('userType') ? Cookies.get('userType') : '', |
| 55 | + showPopover: false, | ||
| 56 | + tel: '021-61517073', | ||
| 57 | + mail: 'cxwa@allforlove.org.cn' | ||
| 28 | } | 58 | } |
| 29 | }, | 59 | }, |
| 30 | computed: { | 60 | computed: { |
| ... | @@ -86,7 +116,7 @@ export default { | ... | @@ -86,7 +116,7 @@ export default { |
| 86 | kg_id: this.$route.query.kg_id | 116 | kg_id: this.$route.query.kg_id |
| 87 | } | 117 | } |
| 88 | }); | 118 | }); |
| 89 | - } | 119 | + }, |
| 90 | } | 120 | } |
| 91 | } | 121 | } |
| 92 | </script> | 122 | </script> |
| ... | @@ -105,4 +135,14 @@ export default { | ... | @@ -105,4 +135,14 @@ export default { |
| 105 | height: 3rem; | 135 | height: 3rem; |
| 106 | margin-bottom: 0.5rem; | 136 | margin-bottom: 0.5rem; |
| 107 | } | 137 | } |
| 138 | + | ||
| 139 | +.contact-content { | ||
| 140 | + padding: 1rem 0.85rem; | ||
| 141 | + text-align: center; | ||
| 142 | + .text-tel { | ||
| 143 | + color: gray; | ||
| 144 | + font-size: 0.9rem; | ||
| 145 | + margin-bottom: 0.5rem; | ||
| 146 | + } | ||
| 147 | +} | ||
| 108 | </style> | 148 | </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-17 11:34:35 | 3 | * @Date: 2022-05-17 11:34:35 |
| 4 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 4 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 5 | - * @LastEditTime: 2022-06-20 16:31:28 | 5 | + * @LastEditTime: 2024-11-13 15:32:45 |
| 6 | * @FilePath: /tswj/src/utils/generateIcons.js | 6 | * @FilePath: /tswj/src/utils/generateIcons.js |
| 7 | * @Description: 图标集合 | 7 | * @Description: 图标集合 |
| 8 | */ | 8 | */ |
| ... | @@ -22,6 +22,7 @@ import icon_liuyan from '@images/icon-liuyan@2x.png' | ... | @@ -22,6 +22,7 @@ import icon_liuyan from '@images/icon-liuyan@2x.png' |
| 22 | import icon_book from '@images/shu@2x.png' | 22 | import icon_book from '@images/shu@2x.png' |
| 23 | import icon_me from '@images/icon-my@2x.png' | 23 | import icon_me from '@images/icon-my@2x.png' |
| 24 | import icon_home from '@images/icon-home@2x.png' | 24 | import icon_home from '@images/icon-home@2x.png' |
| 25 | +import icon_contact from '@images/icon-contact.png' | ||
| 25 | import icon_rank from '@images/icon-paihang@2x.png' | 26 | import icon_rank from '@images/icon-paihang@2x.png' |
| 26 | import icon_ranking1 from '@images/1@2x.png' | 27 | import icon_ranking1 from '@images/1@2x.png' |
| 27 | import icon_ranking2 from '@images/2@2x.png' | 28 | import icon_ranking2 from '@images/2@2x.png' |
| ... | @@ -48,6 +49,7 @@ export { | ... | @@ -48,6 +49,7 @@ export { |
| 48 | icon_book, | 49 | icon_book, |
| 49 | icon_me, | 50 | icon_me, |
| 50 | icon_home, | 51 | icon_home, |
| 52 | + icon_contact, | ||
| 51 | icon_rank, | 53 | icon_rank, |
| 52 | icon_ranking1, | 54 | icon_ranking1, |
| 53 | icon_ranking2, | 55 | icon_ranking2, | ... | ... |
-
Please register or login to post a comment