|
@@ -5,9 +5,10 @@ const images = [
|
|
];
|
|
];
|
|
|
|
|
|
const gridList = [
|
|
const gridList = [
|
|
- { icon: 'photo-o', text: '求真在线', to: '' },
|
|
|
|
|
|
+ { icon: 'photo-o', text: '求真在线', to: '/qzzx' },
|
|
{ icon: 'photo-o', text: '线上课堂', to: '' },
|
|
{ icon: 'photo-o', text: '线上课堂', to: '' },
|
|
{ icon: 'photo-o', text: '社团选课', to: '/stxk' },
|
|
{ icon: 'photo-o', text: '社团选课', to: '/stxk' },
|
|
|
|
+ { icon: 'photo-o', text: '社团选课js', to: '/stxkjsd' },
|
|
{ icon: 'photo-o', text: '教师成长', to: '' },
|
|
{ icon: 'photo-o', text: '教师成长', to: '' },
|
|
{ icon: 'photo-o', text: '云尚活动', to: '' },
|
|
{ icon: 'photo-o', text: '云尚活动', to: '' },
|
|
{ icon: 'photo-o', text: '校长信箱', to: '' },
|
|
{ icon: 'photo-o', text: '校长信箱', to: '' },
|
|
@@ -16,13 +17,12 @@ const gridList = [
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<template>
|
|
<template>
|
|
- <div class="flex flex-col justify-center items-center p-4">
|
|
|
|
|
|
+ <div class="flex flex-col justify-center p-4">
|
|
<van-swipe :autoplay="3000" lazy-render class="rounded-md shadow-md">
|
|
<van-swipe :autoplay="3000" lazy-render class="rounded-md shadow-md">
|
|
<van-swipe-item v-for="image in images" :key="image">
|
|
<van-swipe-item v-for="image in images" :key="image">
|
|
- <img :src="image" />
|
|
|
|
|
|
+ <img :src="image" class="w-full" />
|
|
</van-swipe-item>
|
|
</van-swipe-item>
|
|
</van-swipe>
|
|
</van-swipe>
|
|
-
|
|
|
|
<van-grid :gutter="10" class="mt-4">
|
|
<van-grid :gutter="10" class="mt-4">
|
|
<van-grid-item v-for="item in gridList" :key="item.text" v-bind="item" />
|
|
<van-grid-item v-for="item in gridList" :key="item.text" v-bind="item" />
|
|
</van-grid>
|
|
</van-grid>
|
|
@@ -34,9 +34,19 @@ const gridList = [
|
|
</van-tab>
|
|
</van-tab>
|
|
</van-tabs>
|
|
</van-tabs>
|
|
|
|
|
|
- <van-tabbar route>
|
|
|
|
|
|
+ <van-tabbar route placeholder>
|
|
<van-tabbar-item icon="home-o" to="/home">首页</van-tabbar-item>
|
|
<van-tabbar-item icon="home-o" to="/home">首页</van-tabbar-item>
|
|
<van-tabbar-item icon="chat-o" to="/chat">消息</van-tabbar-item>
|
|
<van-tabbar-item icon="chat-o" to="/chat">消息</van-tabbar-item>
|
|
<van-tabbar-item icon="user-o" to="/user">我的</van-tabbar-item>
|
|
<van-tabbar-item icon="user-o" to="/user">我的</van-tabbar-item>
|
|
</van-tabbar>
|
|
</van-tabbar>
|
|
</template>
|
|
</template>
|
|
|
|
+
|
|
|
|
+<style>
|
|
|
|
+.my-swipe .van-swipe-item {
|
|
|
|
+ color: #fff;
|
|
|
|
+ font-size: 20px;
|
|
|
|
+ line-height: 150px;
|
|
|
|
+ text-align: center;
|
|
|
|
+ background-color: #39a9ed;
|
|
|
|
+}
|
|
|
|
+</style>
|