|
@@ -6,10 +6,7 @@ import img_lczs3 from '~/assets/zbktssys/3.png';
|
|
|
import img_lczs from '~/assets/zbktssys/bar.png';
|
|
|
import img_tx from '~/assets/zbktssys/tx.png';
|
|
|
import { View as IconView, Histogram as IconHistogram, Search as IconSearch } from '@element-plus/icons-vue';
|
|
|
-const activeTab = $ref('first')
|
|
|
-function handleClick() {
|
|
|
|
|
|
-}
|
|
|
|
|
|
const nj = [
|
|
|
{ n: '全部', v: '1' },
|
|
@@ -35,7 +32,31 @@ const fc = [
|
|
|
{ n: '下册', v: '' },
|
|
|
]
|
|
|
|
|
|
-const data = $ref([
|
|
|
+const data_zzzb = $ref([
|
|
|
+ { img: img_lczs1, title: '走进生肖文化——寅虎卯兔', bfl: 100, desc: '领略生肖传奇,品味传统文化!', nj: '四年级', xk: '美术', ls: '尚老师', tx: img_tx, zt: '1' },
|
|
|
+ // { img: img_lczs2, title: '走进生肖文化——寅虎卯兔', bfl: 100, desc: '领略生肖传奇,品味传统文化!', nj: '四年级', xk: '美术', ls: '尚老师', tx: img_tx, zt: '1' },
|
|
|
+ // { img: img_lczs3, title: '走进生肖文化——寅虎卯兔', bfl: 100, desc: '领略生肖传奇,品味传统文化!', nj: '四年级', xk: '美术', ls: '尚老师', tx: img_tx, zt: '1' },
|
|
|
+])
|
|
|
+
|
|
|
+const data_tjzb = $ref([
|
|
|
+ { img: img_lczs1, title: '走进生肖文化——寅虎卯兔', bfl: 100, desc: '领略生肖传奇,品味传统文化!', nj: '四年级', xk: '美术', ls: '尚老师', tx: img_tx, zt: '1' },
|
|
|
+ { img: img_lczs2, title: '走进生肖文化——寅虎卯兔', bfl: 100, desc: '领略生肖传奇,品味传统文化!', nj: '四年级', xk: '美术', ls: '尚老师', tx: img_tx, zt: '1' },
|
|
|
+ { img: img_lczs3, title: '走进生肖文化——寅虎卯兔', bfl: 100, desc: '领略生肖传奇,品味传统文化!', nj: '四年级', xk: '美术', ls: '尚老师', tx: img_tx, zt: '1' },
|
|
|
+ { img: img_lczs1, title: '走进生肖文化——寅虎卯兔', bfl: 100, desc: '领略生肖传奇,品味传统文化!', nj: '四年级', xk: '美术', ls: '尚老师', tx: img_tx, zt: '1' },
|
|
|
+ { img: img_lczs2, title: '走进生肖文化——寅虎卯兔', bfl: 100, desc: '领略生肖传奇,品味传统文化!', nj: '四年级', xk: '美术', ls: '尚老师', tx: img_tx, zt: '1' },
|
|
|
+ { img: img_lczs3, title: '走进生肖文化——寅虎卯兔', bfl: 100, desc: '领略生肖传奇,品味传统文化!', nj: '四年级', xk: '美术', ls: '尚老师', tx: img_tx, zt: '1' },
|
|
|
+ { img: img_lczs1, title: '走进生肖文化——寅虎卯兔', bfl: 100, desc: '领略生肖传奇,品味传统文化!', nj: '四年级', xk: '美术', ls: '尚老师', tx: img_tx, zt: '1' },
|
|
|
+ { img: img_lczs2, title: '走进生肖文化——寅虎卯兔', bfl: 100, desc: '领略生肖传奇,品味传统文化!', nj: '四年级', xk: '美术', ls: '尚老师', tx: img_tx, zt: '1' },
|
|
|
+ { img: img_lczs3, title: '走进生肖文化——寅虎卯兔', bfl: 100, desc: '领略生肖传奇,品味传统文化!', nj: '四年级', xk: '美术', ls: '尚老师', tx: img_tx, zt: '1' },
|
|
|
+])
|
|
|
+
|
|
|
+const data_phb = $ref([
|
|
|
+ { img: img_lczs1, title: '走进生肖文化——寅虎卯兔', bfl: 100, desc: '领略生肖传奇,品味传统文化!', nj: '四年级', xk: '美术', ls: '尚老师', tx: img_tx, zt: '1' },
|
|
|
+ { img: img_lczs2, title: '走进生肖文化——寅虎卯兔', bfl: 100, desc: '领略生肖传奇,品味传统文化!', nj: '四年级', xk: '美术', ls: '尚老师', tx: img_tx, zt: '1' },
|
|
|
+ { img: img_lczs3, title: '走进生肖文化——寅虎卯兔', bfl: 100, desc: '领略生肖传奇,品味传统文化!', nj: '四年级', xk: '美术', ls: '尚老师', tx: img_tx, zt: '1' },
|
|
|
+ { img: img_lczs1, title: '走进生肖文化——寅虎卯兔', bfl: 100, desc: '领略生肖传奇,品味传统文化!', nj: '四年级', xk: '美术', ls: '尚老师', tx: img_tx, zt: '1' },
|
|
|
+ { img: img_lczs2, title: '走进生肖文化——寅虎卯兔', bfl: 100, desc: '领略生肖传奇,品味传统文化!', nj: '四年级', xk: '美术', ls: '尚老师', tx: img_tx, zt: '1' },
|
|
|
+ { img: img_lczs3, title: '走进生肖文化——寅虎卯兔', bfl: 100, desc: '领略生肖传奇,品味传统文化!', nj: '四年级', xk: '美术', ls: '尚老师', tx: img_tx, zt: '1' },
|
|
|
{ img: img_lczs1, title: '走进生肖文化——寅虎卯兔', bfl: 100, desc: '领略生肖传奇,品味传统文化!', nj: '四年级', xk: '美术', ls: '尚老师', tx: img_tx, zt: '1' },
|
|
|
{ img: img_lczs2, title: '走进生肖文化——寅虎卯兔', bfl: 100, desc: '领略生肖传奇,品味传统文化!', nj: '四年级', xk: '美术', ls: '尚老师', tx: img_tx, zt: '1' },
|
|
|
{ img: img_lczs3, title: '走进生肖文化——寅虎卯兔', bfl: 100, desc: '领略生肖传奇,品味传统文化!', nj: '四年级', xk: '美术', ls: '尚老师', tx: img_tx, zt: '1' },
|
|
@@ -45,11 +66,22 @@ const data = $ref([
|
|
|
function hrefTo(href) {
|
|
|
window.open(href, '_blank')
|
|
|
}
|
|
|
+
|
|
|
+const router = useRouter()
|
|
|
+function handleTjzbClick() {
|
|
|
+ router.push('/zbkt/wlzb/content')
|
|
|
+}
|
|
|
+
|
|
|
+function handlePhbClick() {
|
|
|
+ router.push('/zbkt/wlzb/content')
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
</script>
|
|
|
|
|
|
<template>
|
|
|
- <common-header/>
|
|
|
- <div class="w-full flex items-center justify-center shadow-sm h-60px">
|
|
|
+ <common-header />
|
|
|
+ <div class="w-full flex items-center justify-center shadow-sm h-60px bg-hex-fefefe">
|
|
|
<div class="w-1400px flex items-center">
|
|
|
<div class="text-lg text-hex-050026">网络直播</div>
|
|
|
<el-divider direction="vertical" />
|
|
@@ -66,7 +98,7 @@ function hrefTo(href) {
|
|
|
<div class="text-hex-fff text-5xl">网络直播</div>
|
|
|
<el-input class="input w-500px h-50px rounded-md overflow-hidden" placeholder="搜索关键字">
|
|
|
<template #suffix>
|
|
|
- <div class="w-26px h-26px bg-hex-00A3FF rounded-md flex justify-center items-center">
|
|
|
+ <div class="w-26px h-26px bg-hex-00A3FF rounded-md flex justify-center items-center cursor-pointer">
|
|
|
<el-icon size="13" color="#fff">
|
|
|
<IconSearch />
|
|
|
</el-icon>
|
|
@@ -84,7 +116,7 @@ function hrefTo(href) {
|
|
|
<div class="flex-auto flex-wrap">
|
|
|
<label v-for="i in nj" :for="i.v" class="text-hex-949494 mx-3 px-4px py-px rounded cursor-pointer"
|
|
|
:class="i.v && 'text-hex-00A3FF bg-hex-00A3FF bg-opacity-10'">
|
|
|
- <span>{{ i.n }}</span>
|
|
|
+ <span>{{ i.n }}</span>
|
|
|
</label>
|
|
|
<div class="border_b my-4"></div>
|
|
|
</div>
|
|
@@ -95,7 +127,7 @@ function hrefTo(href) {
|
|
|
<div class="flex-auto">
|
|
|
<label v-for="i in fc" :for="i.v" class="text-hex-949494 mx-3 px-4px py-px rounded cursor-pointer"
|
|
|
:class="i.v && 'text-hex-00A3FF bg-hex-00A3FF bg-opacity-10'">
|
|
|
- <span>{{ i.n }}</span>
|
|
|
+ <span>{{ i.n }}</span>
|
|
|
</label>
|
|
|
<div class="border_b my-4"></div>
|
|
|
</div>
|
|
@@ -105,35 +137,35 @@ function hrefTo(href) {
|
|
|
|
|
|
<div class="text-lg font-bold mt-7 mb-3">正在直播</div>
|
|
|
<div class="flex flex-wrap justify-between">
|
|
|
- <div class="w-647px h-155px rounded-xl shadow-lg mb-7 flex" v-for="i in data">
|
|
|
+ <div class="w-647px h-155px rounded-xl shadow-lg mb-7 flex" v-for="i in data_zzzb">
|
|
|
<div class="w-264px h-full flex-none">
|
|
|
<img :src="i.img" alt="" class="w-full h-full">
|
|
|
</div>
|
|
|
<div class="p-2 pr-6 flex-auto flex flex-col">
|
|
|
<div class="flex justify-between w-full items-center py-1">
|
|
|
- <div class="font-bold">{{ i.title }}</div>
|
|
|
+ <div class="font-bold">{{ i.title }}</div>
|
|
|
<div class="text-hex-949494 text-sm flex justify-between items-center">
|
|
|
<el-icon :size="14" color="#949494">
|
|
|
<icon-view />
|
|
|
</el-icon>
|
|
|
- <span class="ml-1">{{ i.bfl }}</span>
|
|
|
+ <span class="ml-1">{{ i.bfl }}</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="text-sm text-hex-949494 py-1">
|
|
|
- {{ i.desc }}
|
|
|
+ {{ i.desc }}
|
|
|
</div>
|
|
|
|
|
|
<div class="text-sm py-1 flex-auto">
|
|
|
- <span>{{ i.nj }}</span>
|
|
|
+ <span>{{ i.nj }}</span>
|
|
|
<span class="mx-2">|</span>
|
|
|
- <span>{{ i.xk }}</span>
|
|
|
+ <span>{{ i.xk }}</span>
|
|
|
</div>
|
|
|
|
|
|
<div class="flex text-sm justify-between items-center">
|
|
|
<div @click="hrefTo('https://rtc.bozedu.net/index.html?uroom=18&uname=txsxnxxb&stream=18_2')"
|
|
|
class="cursor-pointer flex items-center">
|
|
|
- <el-avatar :size="16" :src="i.tx" /><span class="ml-1">{{ i.ls }}</span>
|
|
|
+ <el-avatar :size="16" :src="i.tx" /><span class="ml-1">{{ i.ls }}</span>
|
|
|
</div>
|
|
|
<div @click="hrefTo('https://rtc.bozedu.net/index.html?uroom=18&uname=txsxnxxa&stream=18')"
|
|
|
class="h-26px rounded-14px px-2 flex items-center text-hex-0083C5 cursor-pointer"
|
|
@@ -141,7 +173,7 @@ function hrefTo(href) {
|
|
|
<el-icon :color="i.zt ? '#FF0000' : '#949494'">
|
|
|
<icon-histogram />
|
|
|
</el-icon>
|
|
|
- <span class="ml-2 "> {{ i.zt ? '直播中' : '未开始' }}</span>
|
|
|
+ <span class="ml-2 "> {{ i.zt ? '直播中' : '未开始' }}</span>
|
|
|
</div>
|
|
|
<!-- <div class="h-26px leading-26px px-4 bg-gradient-to-l from-green-400 to-blue-500 text-white rounded-14px">
|
|
|
讲义</div> -->
|
|
@@ -156,12 +188,13 @@ function hrefTo(href) {
|
|
|
<div class="flex-auto mr-8">
|
|
|
<div class="text-lg font-bold mt-7 mb-3">推荐直播</div>
|
|
|
<div class="flex flex-wrap justify-between">
|
|
|
- <div class="w-318px h-263px rounded-xl shadow-lg mb-7 flex flex-col overflow-hidden" v-for="i in [...data,...data]">
|
|
|
+ <div class="w-318px h-263px rounded-xl shadow-lg mb-7 flex flex-col overflow-hidden cursor-pointer"
|
|
|
+ v-for="i in data_tjzb" @click="handleTjzbClick(i)">
|
|
|
<div class="w-full flex-none">
|
|
|
<img :src="i.img" alt="" class="w-full h-full">
|
|
|
</div>
|
|
|
<div class="p-2">
|
|
|
- {{ i.title }}
|
|
|
+ {{ i.title }}
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -169,21 +202,25 @@ function hrefTo(href) {
|
|
|
|
|
|
<div class="w-320px shadow flex-none p-6">
|
|
|
<div class="text-lg font-bold mt-1 mb-3">直播课程排行榜</div>
|
|
|
- <template v-for="(i, index) in [...data,...data,...data]">
|
|
|
- <div v-if="index < 2" class="w-full h-167px rounded-md mb-4 relative overflow-hidden">
|
|
|
- <img :src="i.img" alt="" class="w-full h-full ">
|
|
|
+ <template v-for="(i, index) in data_phb">
|
|
|
+ <div v-if="index < 2" class="w-full h-167px mb-4 relative cursor-pointer" @click="handlePhbClick(i)">
|
|
|
+ <img :src="i.img" alt="" class="w-full h-full overflow-hidden rounded-md ">
|
|
|
<div class="p-2 absolute z-2 bottom-0 w-full text-white">
|
|
|
- {{ i.title }}
|
|
|
+ {{ i.title }}
|
|
|
</div>
|
|
|
+ <div class="absolute -top-11px right-20px w-50px h-22px text-white flex_center rounded-sm text-sm"
|
|
|
+ :class="['bg-red-600', 'bg-yellow-400'][index]">Top{{ index + 1 }}</div>
|
|
|
</div>
|
|
|
|
|
|
- <div v-else class="flex mb-4">
|
|
|
+ <div v-else class="flex mb-4 cursor-pointer" @click="handlePhbClick(i)">
|
|
|
<div class="w-110px flex-none relative">
|
|
|
<img :src="i.img" alt="" class="w-full h-full rounded-sm overflow-hidden">
|
|
|
- <div class="absolute rounded-sm right-0 top-0 w-20px h-20px bg-hex-6C5DD3 text-white flex_center text-xs">{{index+1}}</div>
|
|
|
+ <div
|
|
|
+ class="absolute rounded-sm right-0 top-0 w-20px h-20px bg-hex-6C5DD3 text-white flex_center text-xs">
|
|
|
+ {{ index + 1 }}</div>
|
|
|
</div>
|
|
|
<div class="px-1 leading-tight">
|
|
|
- {{ i.title }}
|
|
|
+ {{ i.title }}
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|