|
@@ -1,4 +1,4 @@
|
|
|
-import { defineComponent, ref } from 'vue';
|
|
|
+import { defineComponent, onMounted, ref } from 'vue';
|
|
|
import styles from './index.module.less';
|
|
|
import MHeader from '@/components/m-header';
|
|
|
import img1 from './images/img1.png';
|
|
@@ -7,13 +7,44 @@ import img13 from './images/img-1-3.png';
|
|
|
import img14 from './images/img-1-4.png';
|
|
|
import img21 from './images/img-2-1.png';
|
|
|
import img22 from './images/img-2-2.png';
|
|
|
-
|
|
|
import MFooter from '@/components/m-footer';
|
|
|
+import request from '@/helpers/request';
|
|
|
|
|
|
export default defineComponent({
|
|
|
name: 'colexiu-person',
|
|
|
setup() {
|
|
|
const activeTab = ref<'love' | 'music'>('love');
|
|
|
+ const studentAndroidUrl = ref('');
|
|
|
+ const teacherAndroidUrl = ref('');
|
|
|
+
|
|
|
+ onMounted(async () => {
|
|
|
+ try {
|
|
|
+ const studentRes = await request.get(
|
|
|
+ '/api-web/open/appVersionInfo/queryLatestByPlatform',
|
|
|
+ {
|
|
|
+ params: {
|
|
|
+ platform: 'android-student',
|
|
|
+ status: 'history'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ );
|
|
|
+ studentAndroidUrl.value = studentRes.value.downloadUrl;
|
|
|
+
|
|
|
+ const teacherRes = await request.get(
|
|
|
+ '/api-web/open/appVersionInfo/queryLatestByPlatform',
|
|
|
+ {
|
|
|
+ params: {
|
|
|
+ platform: 'android-teacher',
|
|
|
+ status: 'history'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ );
|
|
|
+ teacherAndroidUrl.value = teacherRes.value.downloadUrl;
|
|
|
+ } catch (e) {
|
|
|
+ console.log(e);
|
|
|
+ }
|
|
|
+ });
|
|
|
+
|
|
|
return () => (
|
|
|
<div class={styles.person}>
|
|
|
<MHeader />
|
|
@@ -124,7 +155,7 @@ export default defineComponent({
|
|
|
|
|
|
<div class={[styles.section4, styles.sectionBg]}>
|
|
|
<img
|
|
|
- src="https://oss.dayaedu.com/klx/1699439143414img-2-3.png"
|
|
|
+ src="https://oss.dayaedu.com/klx/1699510915684img2-3.png"
|
|
|
class="w100"
|
|
|
/>
|
|
|
|
|
@@ -146,11 +177,22 @@ export default defineComponent({
|
|
|
<span>风采展示</span>
|
|
|
</div>
|
|
|
<div class={styles.content}>
|
|
|
- 你有一肚子的演奏心得无处传播?你的得意的演奏技巧无法展示?在这里分享你的演奏心得,展示你的演奏技巧,让更多的器乐爱好者得到你的指点,将你的才能传播得更加广阔
|
|
|
+ 你有一肚子的演奏心得无处传播?你的得意的演奏技巧无法展示?在这里分享你的演奏心得,展示你的演奏技巧,让更多的器乐爱好者得到你的指点,将你的才能传播得更加广阔。
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
+ <div class={[styles.section6]}>
|
|
|
+ <div class={styles.sTitle}>
|
|
|
+ 立即加入
|
|
|
+ <br />
|
|
|
+ 与器乐爱好者们分享音乐吧!
|
|
|
+ </div>
|
|
|
+ <div class={styles.btnGroup}>
|
|
|
+ <div class={[styles.btn, styles.btnIos]}></div>
|
|
|
+ <div class={[styles.btn, styles.btnAndroid]}></div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
<MFooter />
|
|
|
</div>
|
|
|
);
|