This commit is contained in:
Air 2024-12-27 17:57:17 +08:00
parent 190c7c3412
commit cb7c9626e7
13 changed files with 86 additions and 439 deletions

98
.idea/workspace.xml generated
View File

@ -5,32 +5,61 @@
</component>
<component name="ChangeListManager">
<list default="true" id="e11c9797-a6f9-465b-b13b-58e9e5eed50f" name="更改" comment="123">
<change beforePath="$PROJECT_DIR$/dist/favicon.ico" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/dist/index.html" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/dist/static/2024-11-07/632-01.jpg" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/dist/static/2024-11-07/632-01.pdf" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/dist/static/2024-11-07/632-02.jpg" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/dist/static/2024-11-07/632-02.pdf" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/dist/static/2024-11-07/632-03.jpg" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/dist/static/2024-11-07/632-03.pdf" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/dist/static/2024-11-07/632-04.jpg" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/dist/static/2024-11-07/632-04.pdf" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/dist/static/css/jquery-ui.css" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/dist/static/css/reset.min.css" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/dist/static/css/style.css" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/dist/static/data/2024-11.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/dist/static/icon_default.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/dist/static/icon_pdf.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/dist/static/icon_plus.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/dist/static/icon_sub.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/dist/static/js/Canvas_range.js" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/dist/static/js/common.js" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/dist/static/js/index.js" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/dist/static/js/jquery-ui.css" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/dist/static/js/jquery-ui.js" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/dist/static/js/jquery.datepicker.js" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/dist/static/js/jquery.min.js" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/dist/static/js/jquery.rwdImageMaps.min.js" beforeDir="false" />
<change afterPath="$PROJECT_DIR$/dist.zip" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/assets/center.c81186bc.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/assets/icon_top.5e55000a.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/assets/index.67145470.css" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/assets/index.d02c565a.js" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/assets/index.f0b00bde.js" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/assets/jquery.b9f510f5.js" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/assets/knowledge.07c9cc68.js" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/assets/knowledge.0a067a58.css" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/assets/left3.4b015ba3.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/assets/right1.f4990ed4.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/assets/right5.3e6915ea.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/assets/vendor.59a0f5d3.js" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/favicon.ico" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/index.html" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/public/static/center.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/public/static/css/jquery-ui.css" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/public/static/css/reset.min.css" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/public/static/css/style.css" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/public/static/icon_default.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/public/static/icon_pdf.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/public/static/icon_plus.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/public/static/icon_sub.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/public/static/icon_top.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/public/static/js/Canvas_range.js" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/public/static/js/common.js" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/public/static/js/index.js" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/public/static/js/jquery-ui.css" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/public/static/js/jquery-ui.js" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/public/static/js/jquery.datepicker.js" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/public/static/js/jquery.min.js" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/public/static/js/jquery.rwdImageMaps.min.js" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/public/static/left1.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/public/static/left2.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/public/static/left3.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/public/static/left4.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/public/static/right1.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/public/static/right2.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/public/static/right3.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/public/static/right4.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/public/static/right5.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/dist/public/static/right6.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/static/2024-11-07/632-01.jpg" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/public/static/2024-11-07/632-01.pdf" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/public/static/2024-11-07/632-02.jpg" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/public/static/2024-11-07/632-02.pdf" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/public/static/2024-11-07/632-03.jpg" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/public/static/2024-11-07/632-03.pdf" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/public/static/2024-11-07/632-04.jpg" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/public/static/2024-11-07/632-04.pdf" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/public/static/data/2024-11.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/public/static/data/newTime.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/public/static/js/index.js" beforeDir="false" afterPath="$PROJECT_DIR$/public/static/js/index.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/view/home/index.vue" beforeDir="false" afterPath="$PROJECT_DIR$/src/view/home/index.vue" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -74,7 +103,7 @@
&quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
&quot;SHARE_PROJECT_CONFIGURATION_FILES&quot;: &quot;true&quot;,
&quot;git-widget-placeholder&quot;: &quot;master&quot;,
&quot;last_opened_file_path&quot;: &quot;E:/小程序/电子报API/src/components&quot;,
&quot;last_opened_file_path&quot;: &quot;E:/小程序/电子报API&quot;,
&quot;node.js.detected.package.eslint&quot;: &quot;true&quot;,
&quot;node.js.detected.package.tslint&quot;: &quot;true&quot;,
&quot;node.js.selected.package.eslint&quot;: &quot;(autodetect)&quot;,
@ -156,7 +185,10 @@
<workItem from="1735001501984" duration="17083000" />
<workItem from="1735087604123" duration="18904000" />
<workItem from="1735193928488" duration="7944000" />
<workItem from="1735260138672" duration="446000" />
<workItem from="1735260138672" duration="4652000" />
<workItem from="1735286305103" duration="348000" />
<workItem from="1735287696015" duration="2020000" />
<workItem from="1735291368045" duration="823000" />
</task>
<task id="LOCAL-00001" summary="123">
<option name="closed" value="true" />
@ -206,7 +238,15 @@
<option name="project" value="LOCAL" />
<updated>1734509247971</updated>
</task>
<option name="localTasksCounter" value="7" />
<task id="LOCAL-00007" summary="123">
<option name="closed" value="true" />
<created>1735260774543</created>
<option name="number" value="00007" />
<option name="presentableId" value="LOCAL-00007" />
<option name="project" value="LOCAL" />
<updated>1735260774543</updated>
</task>
<option name="localTasksCounter" value="8" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">

Binary file not shown.

Before

Width:  |  Height:  |  Size: 721 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 716 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 725 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 686 KiB

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -1,3 +0,0 @@
{
"time": "2024-11-07"
}

View File

@ -10,6 +10,15 @@ Page.initPhonePage = function () {
if (userAgentInfo.indexOf(Agents[v]) > 0) {
var sURL2 = local_url.replace("/dist/", "/h5/");
console.log(sURL2);
sessionStorage.removeItem('DateIndexH5');
sessionStorage.removeItem('DateIndex');
sessionStorage.removeItem('DateListH5');
sessionStorage.removeItem('DateList');
sessionStorage.removeItem('year');
sessionStorage.removeItem('month');
sessionStorage.removeItem('day');
sessionStorage.removeItem('index');
sessionStorage.removeItem('newInfo');
window.location.href = sURL2;
}
}

View File

@ -40,10 +40,10 @@
<!-- 主体 -->
<div class="main-box">
<div class="main-header clearfix">
<div class="fl">
<span @click="openType(item)" :class="[item.id==typeId?'type_text_act':'','type_text']"
v-for="(item,index) in typeList">{{ item.type }}</span>
</div>
<!-- <div class="fl">-->
<!-- <span @click="openType(item)" :class="[item.id==typeId?'type_text_act':'','type_text']"-->
<!-- v-for="(item,index) in typeList">{{ item.type }}</span>-->
<!-- </div>-->
<ul class="main-header-nav fr clearfix"></ul>
</div>
<div class="main-tools clearfix">
@ -161,7 +161,6 @@
<script>
import axios from 'axios';
import $ from 'jquery';
import newTime from "/public/static/data/newTime.json"
export default {
data() {
@ -182,7 +181,7 @@ export default {
var index = sessionStorage.getItem("index");
this.dataIndex = index ? index : 0;
this.getTypeList();
this.getCurrentDateMaxDay();
//document.title =this.data.list[this.dataIndex].editionName;
// var newInfo = sessionStorage.getItem("newInfo");
// if (newInfo) {
@ -288,8 +287,8 @@ export default {
//$('#BantuTop').attr("src",img)
//BantuTop
},
getCurrentDateFormatted() {
const date = new Date();
getCurrentDateFormatted(d) {
const date = new Date(d);
const year = date.getFullYear();
const month = String(date.getMonth() + 1).padStart(2, '0'); // 01
const day = String(date.getDate()).padStart(2, '0');
@ -304,7 +303,7 @@ export default {
activeDate = storageTimeYear + "-" + storageTimeMonth;
}
console.log(activeDate);
axios.post("http://csdzb.hschool.com.cn/api/dzb/date/index", {date: activeDate,type_id: this.typeId})
axios.post("http://csdzb.hschool.com.cn/api/dzb/date/index", {date: activeDate})
.then(response => {
console.log(response);
if(response.data.data.length==0){