|
@@ -1,13 +1,6 @@
|
|
|
-import { defineComponent, reactive } from 'vue';
|
|
|
-import { Icon, Image } from 'vant';
|
|
|
+import { defineComponent } from 'vue';
|
|
|
import styles from './index.module.less';
|
|
|
-import orchestraTopBg from '@/views/student-register/images/orchestra-top_bg.png';
|
|
|
import OQrcode from '@/components/m-qrcode';
|
|
|
-import { browser } from '@/helpers/utils';
|
|
|
-import { useRouter } from 'vue-router';
|
|
|
-import OHeader from '@/components/m-header';
|
|
|
-import OSticky from '@/components/m-sticky';
|
|
|
-import { postMessage } from '@/helpers/native-message';
|
|
|
|
|
|
export default defineComponent({
|
|
|
name: 'qrcode-payment',
|
|
@@ -26,29 +19,9 @@ export default defineComponent({
|
|
|
}
|
|
|
},
|
|
|
setup(props) {
|
|
|
- const router = useRouter();
|
|
|
- const state = reactive({
|
|
|
- height: 0
|
|
|
- });
|
|
|
- const onBack = () => {
|
|
|
- if (browser().isApp) {
|
|
|
- postMessage({ api: 'goBack' });
|
|
|
- } else {
|
|
|
- router.back();
|
|
|
- }
|
|
|
- };
|
|
|
return () => (
|
|
|
<div class={[styles.saveShareImage]}>
|
|
|
- {browser().isApp && (
|
|
|
- <OSticky position="top">
|
|
|
- <OHeader
|
|
|
- title={props.orderType === 'VIP' ? '会员购买' : '报名缴费'}
|
|
|
- />
|
|
|
- </OSticky>
|
|
|
- )}
|
|
|
-
|
|
|
- <Image src={orchestraTopBg} class={styles.topImage} />
|
|
|
- <div class={[styles.shareContaienr, styles.orchestraContainer]}>
|
|
|
+ <div class={[styles.shareContaienr]}>
|
|
|
<div class={styles.schoolName}>
|
|
|
{props.orderType === 'VIP' ? '会员购买' : '报名缴费'}
|
|
|
</div>
|
|
@@ -66,7 +39,7 @@ export default defineComponent({
|
|
|
<div class={styles.memo}>请在30分钟内扫码支付</div>
|
|
|
</div>
|
|
|
|
|
|
- <div class={[styles.shareContaienr, styles.tips]}>
|
|
|
+ <div class={[styles.tips]}>
|
|
|
<div class={styles.tipsTitle}>使用说明:</div>
|
|
|
<div class={styles.tipsContent}>
|
|
|
1.打开{props.pay_channel === 'wx_pub' ? '微信' : '支付宝'}扫一扫
|