|
@@ -0,0 +1,80 @@
|
|
|
+<template>
|
|
|
+ <div class="tv-list" :style="'font-size:' + fontSize + 'px'">
|
|
|
+ <div class="content">1</div>
|
|
|
+ <div class="bottom content">
|
|
|
+ 本数据由“陕西广电融媒体集团大数据平台”提供。
|
|
|
+ <p>
|
|
|
+ 技术支持 <span style="white-space: nowrap">白帆13325452244;</span
|
|
|
+ ><span style="white-space: nowrap">陈科18629350958。</span>
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+// @ is an alias to /src
|
|
|
+import watermark from "watermark-package";
|
|
|
+// import {} from "../utils/tool";
|
|
|
+import { jsonCalendarOne } from "../../../api/index";
|
|
|
+
|
|
|
+// import echarts from "../../../utils/echarts";
|
|
|
+
|
|
|
+export default {
|
|
|
+ name: "Calendar",
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ fontSize: 17,
|
|
|
+ };
|
|
|
+ },
|
|
|
+ watch: {},
|
|
|
+ mounted() {
|
|
|
+ if (
|
|
|
+ this.$route.query.auto !==
|
|
|
+ "06fd56cdf5a6cfc3a2139cc8514d05aa0439ee8c1fb4d81145bc9647"
|
|
|
+ )
|
|
|
+ return;
|
|
|
+ this.fontSize = (document.body.offsetWidth / 24).toFixed(2) - 0;
|
|
|
+ if (document.body.offsetWidth > 677) this.fontSize = 22;
|
|
|
+ watermark.setWaterMark({
|
|
|
+ w_texts: ["陕西新媒体大数据"],
|
|
|
+ w_options: {
|
|
|
+ w_opacity: "0.1",
|
|
|
+ },
|
|
|
+ });
|
|
|
+ jsonCalendarOne({
|
|
|
+ date: this.$route.params.date,
|
|
|
+ time: Date.now(),
|
|
|
+ }).then(res => {
|
|
|
+ console.log(res);
|
|
|
+ });
|
|
|
+ },
|
|
|
+ computed: {},
|
|
|
+ methods: {},
|
|
|
+ beforeUnmount() {},
|
|
|
+ components: {},
|
|
|
+};
|
|
|
+</script>
|
|
|
+
|
|
|
+<style scoped>
|
|
|
+.tv-list {
|
|
|
+ background-color: #fff;
|
|
|
+ padding: 5px;
|
|
|
+ height: 100%;
|
|
|
+ overflow-y: scroll;
|
|
|
+ box-sizing: border-box;
|
|
|
+}
|
|
|
+.bottom {
|
|
|
+ border: 4px solid #0983a8;
|
|
|
+ margin-top: 1em;
|
|
|
+ padding: 10px;
|
|
|
+ font-size: 0.9rem;
|
|
|
+ padding-left: 5px;
|
|
|
+ font-weight: 600;
|
|
|
+ overflow: hidden;
|
|
|
+}
|
|
|
+.content {
|
|
|
+ margin: 0 auto;
|
|
|
+ max-width: 667px;
|
|
|
+}
|
|
|
+</style>
|
|
|
+<style></style>
|