|
@@ -59,7 +59,12 @@
|
|
|
|
|
|
<!-- 底部导航 -->
|
|
|
<!-- <MtaTabBar></MtaTabBar> -->
|
|
|
-
|
|
|
+ <view :class="indexMenu" @click="menuClick">
|
|
|
+ <view :class="indexList">
|
|
|
+ <view class="index-text-btn" @click="goFun('zsrx')">招生<br/>热线</view>
|
|
|
+ <view class="index-text-btn" @click="goFun('ewm')">首页<br/>二维码</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
|
|
|
</view>
|
|
|
</template>
|
|
@@ -79,7 +84,8 @@
|
|
|
import MtaFooter from "@/components/MtaFooter.vue"
|
|
|
import default2 from '@/static/images/common/news-bj2.png'
|
|
|
|
|
|
-
|
|
|
+ let indexMenu = ref('index-menu-btn');
|
|
|
+ let indexList = ref('index-text-list-hiden');
|
|
|
const banners = ref('');
|
|
|
const data = reactive({
|
|
|
xinwen: [],
|
|
@@ -96,12 +102,30 @@
|
|
|
pageInit();
|
|
|
})
|
|
|
|
|
|
+ function menuClick(){
|
|
|
+ if(indexMenu.value==='index-menu-btn'){
|
|
|
+ indexMenu.value='index-close-btn'
|
|
|
+ indexList.value='index-text-list-show'
|
|
|
+ }else{
|
|
|
+ indexMenu.value='index-menu-btn'
|
|
|
+ indexList.value='index-text-list-hiden'
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
function goFun(code) {
|
|
|
if (code == 'wnlqfs') {
|
|
|
uni.navigateTo({
|
|
|
url: '/pages/zsjyWangnianluqufenshu/zsjyWangnianluqufenshu'
|
|
|
})
|
|
|
- } else {
|
|
|
+ }else if (code == 'zsrx') {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: '/pages/zhaoshengrexian/zhaoshengrexian'
|
|
|
+ })
|
|
|
+ }else if (code == 'ewm') {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: '/pages/erweima/erweima'
|
|
|
+ })
|
|
|
+ }else {
|
|
|
uni.navigateTo({
|
|
|
url: '/pages/zsjyXiaoqihezuo/zsjyXiaoqihezuo'
|
|
|
})
|