|
@@ -77,6 +77,7 @@ import giftExtraTitleIcon from './images/gift-tip-icon.png';
|
|
|
import giftCard1Icon from './images/gift_card1.png';
|
|
|
import giftCard2Icon from './images/gift_card2.png';
|
|
|
import giftZsIcon from './images/gift_zs_icon.png';
|
|
|
+import useWeChatShare from '@/hooks/useWeChatShare';
|
|
|
|
|
|
const classList: any = [];
|
|
|
for (let i = 1; i <= 40; i++) {
|
|
@@ -126,6 +127,12 @@ const getGradeList = (gradeYear: string, instrumentCode?: string) => {
|
|
|
export default defineComponent({
|
|
|
name: 'student-register',
|
|
|
setup() {
|
|
|
+ const weChatShare = useWeChatShare(
|
|
|
+ '音乐(器乐)数字AI团购通道',
|
|
|
+ '智慧旋律,告别枯燥练习。借助科技的光芒,我们让音乐跨越山海,抵达每一个角落,点亮每一颗童心',
|
|
|
+ window.location.origin + '/classroom-app/shareImg/instrument-share.png'
|
|
|
+ );
|
|
|
+
|
|
|
const route = useRoute();
|
|
|
const studentRegisterStore = useStudentRegisterStore();
|
|
|
const router = useRouter();
|
|
@@ -1291,6 +1298,9 @@ export default defineComponent({
|
|
|
} else {
|
|
|
forms.code = code;
|
|
|
}
|
|
|
+ // 获取微信分享签名
|
|
|
+ weChatShare.getAppSignature()
|
|
|
+
|
|
|
}
|
|
|
|
|
|
const formatTimerTo = (num: number): string => {
|