186 lines
4.1 KiB
Vue
186 lines
4.1 KiB
Vue
<template>
|
|
<div class="AppBroadcast">
|
|
<div class="header">
|
|
<img src="./img/bigHorn-bg.png" alt="">
|
|
<div class="content">
|
|
<div class="item" @click="linkTo('./AppEquipment/AppEquipment')">
|
|
<img src="./img/bigHorn-icon1@2x.png" alt="">
|
|
<div>广播设备</div>
|
|
<!-- <h2>1</h2> -->
|
|
</div>
|
|
<div class="item" @click="linkTo('./AppPlayList/AppPlayList')">
|
|
<img src="./img/bigHorn-icon2@2x.png" alt="">
|
|
<div>播放记录</div>
|
|
</div>
|
|
<!-- <div class="item" @click="linkTo('./onlinePlayList')">
|
|
<img src="./img/bigHorn-icon3@2x.png" alt="">
|
|
<div>在播设备</div>
|
|
</div> -->
|
|
</div>
|
|
</div>
|
|
<div class="banner">
|
|
<div class="item" :class="item.bgClass" v-for="(item, index) in bannerList" :key="index"
|
|
@click="linkTo(item.path)">
|
|
<h2>{{ item.title }}</h2>
|
|
<div>{{ item.text }}</div>
|
|
<img :src="item.imgUrl" alt="">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
<script>
|
|
export default {
|
|
name: "AppBroadcast",
|
|
appName: "云广播",
|
|
data() {
|
|
return {
|
|
bannerList: [
|
|
{
|
|
title: '素材播放',
|
|
text: '支持音频立即播发和定时播发',
|
|
imgUrl: require('./img/bigHorn-icon11@2x.png'),
|
|
path: './addPlay',
|
|
bgClass: 'bg-67A3F4'
|
|
},
|
|
{
|
|
title: '实时喊话',
|
|
path: './LiveBroadcast',
|
|
text: '实时在线喊话,远程广播通知',
|
|
imgUrl: require('./img/bigHorn-icon22@2x.png'),
|
|
bgClass: 'bg-4ED5BB'
|
|
},
|
|
{
|
|
title: '音频录制',
|
|
text: '音频文件的录制',
|
|
path: './AppResourcesManage/addMedia?type=1',
|
|
imgUrl: require('./img/bigHorn-icon33@2x.png'),
|
|
bgClass: 'bg-E5B565'
|
|
},
|
|
{
|
|
title: '媒资管理',
|
|
path: './AppResourcesManage/AppResourcesManage',
|
|
text: '支持音频文件和录音内容添加',
|
|
imgUrl: require('./img/bigHorn-icon44@2x.png'),
|
|
bgClass: 'bg-F19661'
|
|
}
|
|
]
|
|
}
|
|
},
|
|
methods: {
|
|
linkTo(url) {
|
|
uni.navigateTo({url})
|
|
}
|
|
},
|
|
onShow() {
|
|
document.title = '云广播'
|
|
},
|
|
}
|
|
</script>
|
|
<style lang="scss" scoped>
|
|
.AppBroadcast {
|
|
.header {
|
|
position: relative;
|
|
|
|
img {
|
|
width: 100%;
|
|
height: 306px;
|
|
}
|
|
|
|
.content {
|
|
width: 686px;
|
|
padding: 40px 0;
|
|
background: #FFFFFF;
|
|
box-shadow: 0 4px 8px 4px rgba(0, 0, 0, 0.06);
|
|
border-radius: 12px;
|
|
position: absolute;
|
|
top: 210px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
display: flex;
|
|
|
|
.item {
|
|
text-align: center;
|
|
flex: 1;
|
|
|
|
img {
|
|
width: 64px;
|
|
height: 64px;
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
div {
|
|
font-size: 30px;
|
|
font-family: PingFang-SC-Medium, PingFang-SC;
|
|
font-weight: 500;
|
|
color: #333;
|
|
line-height: 42px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 40px;
|
|
font-family: DINAlternate-Bold, DINAlternate;
|
|
font-weight: bold;
|
|
color: #333;
|
|
line-height: 48px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.banner {
|
|
margin-top: 150px;
|
|
|
|
.item {
|
|
width: 686px;
|
|
height: 190px;
|
|
border-radius: 12px;
|
|
margin: 0 auto 24px auto;
|
|
padding: 40px 46px 0 80px;
|
|
box-sizing: border-box;
|
|
color: #FFF;
|
|
position: relative;
|
|
|
|
h2 {
|
|
font-size: 42px;
|
|
font-family: PingFangSC-Medium, PingFang SC;
|
|
font-weight: 500;
|
|
line-height: 60px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
div {
|
|
font-size: 26px;
|
|
font-family: PingFangSC-Regular, PingFang SC;
|
|
font-weight: 400;
|
|
color: #FFF;
|
|
line-height: 32px;
|
|
}
|
|
|
|
img {
|
|
width: 160px;
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 30px;
|
|
}
|
|
}
|
|
|
|
.bg-67A3F4 {
|
|
background: #67A3F4;
|
|
}
|
|
|
|
.bg-4ED5BB {
|
|
background: #4ED5BB;
|
|
}
|
|
|
|
.bg-E5B565 {
|
|
background: #E5B565;
|
|
}
|
|
|
|
.bg-F19661 {
|
|
background: #F19661;
|
|
}
|
|
}
|
|
}
|
|
</style>
|