|
|
|
@ -30,8 +30,14 @@
|
|
|
|
|
class="block-item"
|
|
|
|
|
v-for="blockItem in item.itemJson"
|
|
|
|
|
:key="blockItem.id"
|
|
|
|
|
@click="goLink(blockItem.link)"
|
|
|
|
|
>
|
|
|
|
|
<div
|
|
|
|
|
class="go-sys"
|
|
|
|
|
:style="{ backgroundColor: theme }"
|
|
|
|
|
@click="goLink(blockItem.link)"
|
|
|
|
|
>
|
|
|
|
|
进入系统
|
|
|
|
|
</div>
|
|
|
|
|
<div class="is-private" v-show="blockItem.isPrivate == 1">内网</div>
|
|
|
|
|
<img :src="baseUrl + blockItem.cover" alt="" />
|
|
|
|
|
<div class="video-icon">
|
|
|
|
@ -64,10 +70,9 @@ import useSettingsStore from "@/store/modules/settings";
|
|
|
|
|
import { getList, getInfo } from "@/api/jichuang/model.js";
|
|
|
|
|
const { proxy } = getCurrentInstance();
|
|
|
|
|
const baseUrl = import.meta.env.VITE_APP_BASE_API;
|
|
|
|
|
const { jc_technology, jc_item_type, sys_yes_no } = proxy.useDict(
|
|
|
|
|
const { jc_technology, jc_item_type } = proxy.useDict(
|
|
|
|
|
"jc_item_type",
|
|
|
|
|
"jc_technology",
|
|
|
|
|
"sys_yes_no"
|
|
|
|
|
"jc_technology"
|
|
|
|
|
);
|
|
|
|
|
const loading = ref(true);
|
|
|
|
|
let currentIndex = ref(0);
|
|
|
|
@ -195,6 +200,15 @@ const activeStyle = (index) => {
|
|
|
|
|
& > div {
|
|
|
|
|
margin-top: 6px;
|
|
|
|
|
}
|
|
|
|
|
.go-sys {
|
|
|
|
|
margin: 0;
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
color: #fff;
|
|
|
|
|
padding: 3px;
|
|
|
|
|
}
|
|
|
|
|
.is-private {
|
|
|
|
|
margin: 0;
|
|
|
|
|
position: absolute;
|
|
|
|
|