Commit f74f61b2 authored by IvyXia123's avatar IvyXia123

dada

parent 718085d4
...@@ -11,4 +11,4 @@ ...@@ -11,4 +11,4 @@
position: fixed; position: fixed;
background: #f4f4f4; background: #f4f4f4;
} }
/* html{font-size: 1px;} */</style><link href=static/css/app.f983055a19b69eb54137ee36031e8a72.css rel=stylesheet></head><body><div id=app></div><script src=https://res.wx.qq.com/open/js/jweixin-1.3.2.js></script><script></script><script type=text/javascript src=static/js/manifest.3a96aa7bd70930f01a73.js></script><script type=text/javascript src=static/js/vendor.e4eb38428ad1549116b0.js></script><script type=text/javascript src=static/js/app.d5f1443656fcfb8521b5.js></script></body></html> /* html{font-size: 1px;} */</style><link href=static/css/app.f983055a19b69eb54137ee36031e8a72.css rel=stylesheet></head><body><div id=app></div><script src=https://res.wx.qq.com/open/js/jweixin-1.3.2.js></script><script></script><script type=text/javascript src=static/js/manifest.66cab183f428a7d4f621.js></script><script type=text/javascript src=static/js/vendor.e4eb38428ad1549116b0.js></script><script type=text/javascript src=static/js/app.d5f1443656fcfb8521b5.js></script></body></html>
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(c,b,n){for(var r,t,o,i=0,u=[];i<c.length;i++)t=c[i],f[t]&&u.push(f[t][0]),f[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(a&&a(c,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var c={},f={66:0};function d(a){if(c[a])return c[a].exports;var f=c[a]={i:a,l:!1,exports:{}};return e[a].call(f.exports,f,f.exports,d),f.l=!0,f.exports}d.e=function(e){var a=f[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var c=new Promise(function(c,d){a=f[e]=[c,d]});a[2]=c;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,d.nc&&n.setAttribute("nonce",d.nc),n.src=d.p+"static/js/"+({0:"vendor-async"}[e]||e)+"."+{0:"b10826f24002ddd3e501",1:"afb3b2fb50317d67462a",2:"ade47c96e0ac2643d7ee",3:"b2b2244888e1c02ab3b9",4:"54661aecdb6eaea7d223",5:"7029a757ac24ce86eae3",6:"9a4b2de4e5f2256452e7",7:"f026d4d74b942ae82bde",8:"d626ac896620af1d7fad",9:"4b435e95d1f2449a3cfe",10:"3a911ba21a8a5687a931",11:"186f9d6ce7feac535823",12:"0c515eb137cc40185cb2",13:"7ea1191c45784523a3ac",14:"69e4922687438eba713c",15:"db942523628310b3316d",16:"3b3630d8ded09fd1270b",17:"1f2e97a207ce3b166bb9",18:"d6a2697ca1f57e22ff34",19:"4531c807268d8c6fd93b",20:"ee24f287842c72b9ead0",21:"2c80be59f57a480c3291",22:"1f84d2107b238392ab49",23:"f823a41308a413d0a14b",24:"66115b335ef36e664560",25:"1633439d259f64502439",26:"5ad5d664e343c18fe8eb",27:"30ab7d861e8eed001985",28:"cbbef6ff248362140233",29:"021c1d7365a8ee2c3979",30:"d9e5c94fa26678068604",31:"f842995c8354ad6b6443",32:"2591763bd5840bb367aa",33:"684bbdf839ed0f4ffaf9",34:"9cefe88ea4cb8ad514b7",35:"44c887689e29964d34f2",36:"6210b8758a735c5391a7",37:"8b1e96f6799cdaaccb41",38:"97e2fffb29e83feb9d01",39:"4917d317fc25363bc3c0",40:"ff7d58d4997003123bc5",41:"a790909f9effb6de71d4",42:"9e5a58782f286fbf8f67",43:"8055669462572c27a3d8",44:"686b5be02d48ba5551fa",45:"d0d0d370c37e7a42084b",46:"6211394915f4a8791ecb",47:"04c9e2b97a8ffc5da78c",48:"fcae6557af7c43fb20b9",49:"15dfcde89944e80c7c73",50:"81eba7fc043d1b39404d",51:"f0e92bc603cb11b51607",52:"34bc7ce35ffc44bc39c6",53:"a43d114e2a5749b23951",54:"227901bdeeaccadd7719",55:"8bfe68eafde0ad23f278",56:"62e17a695d37db38e8af",57:"4239c75eaf82573ec0a3",58:"3b428d1b18560f57322b",59:"dfb8cbc08f3e50a32dbe",60:"94b69878d0247d060c45",61:"64ec33e7d8534a199ffd",62:"fbb65514d875f85b43e1",63:"7f2a77ee6fe1525877d2"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var a=f[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),c},d.m=e,d.c=c,d.d=function(e,a,c){d.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},d.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(a,"a",a),a},d.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},d.p="",d.oe=function(e){throw console.error(e),e}}([]); !function(e){var a=window.webpackJsonp;window.webpackJsonp=function(c,b,n){for(var r,t,o,i=0,u=[];i<c.length;i++)t=c[i],f[t]&&u.push(f[t][0]),f[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(a&&a(c,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var c={},f={66:0};function d(a){if(c[a])return c[a].exports;var f=c[a]={i:a,l:!1,exports:{}};return e[a].call(f.exports,f,f.exports,d),f.l=!0,f.exports}d.e=function(e){var a=f[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var c=new Promise(function(c,d){a=f[e]=[c,d]});a[2]=c;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,d.nc&&n.setAttribute("nonce",d.nc),n.src=d.p+"static/js/"+({0:"vendor-async"}[e]||e)+"."+{0:"b10826f24002ddd3e501",1:"c3e2faffcf4b58e99b9a",2:"cd2965c9464b26d2eecf",3:"b2b2244888e1c02ab3b9",4:"54661aecdb6eaea7d223",5:"7029a757ac24ce86eae3",6:"9a4b2de4e5f2256452e7",7:"f026d4d74b942ae82bde",8:"d626ac896620af1d7fad",9:"4b435e95d1f2449a3cfe",10:"3a911ba21a8a5687a931",11:"186f9d6ce7feac535823",12:"0c515eb137cc40185cb2",13:"7ea1191c45784523a3ac",14:"69e4922687438eba713c",15:"db942523628310b3316d",16:"3b3630d8ded09fd1270b",17:"1f2e97a207ce3b166bb9",18:"d6a2697ca1f57e22ff34",19:"4531c807268d8c6fd93b",20:"ee24f287842c72b9ead0",21:"2c80be59f57a480c3291",22:"1f84d2107b238392ab49",23:"f823a41308a413d0a14b",24:"66115b335ef36e664560",25:"1633439d259f64502439",26:"5ad5d664e343c18fe8eb",27:"30ab7d861e8eed001985",28:"cbbef6ff248362140233",29:"021c1d7365a8ee2c3979",30:"d9e5c94fa26678068604",31:"f842995c8354ad6b6443",32:"2591763bd5840bb367aa",33:"684bbdf839ed0f4ffaf9",34:"9cefe88ea4cb8ad514b7",35:"44c887689e29964d34f2",36:"6210b8758a735c5391a7",37:"8b1e96f6799cdaaccb41",38:"97e2fffb29e83feb9d01",39:"4917d317fc25363bc3c0",40:"ff7d58d4997003123bc5",41:"a790909f9effb6de71d4",42:"9e5a58782f286fbf8f67",43:"8055669462572c27a3d8",44:"686b5be02d48ba5551fa",45:"d0d0d370c37e7a42084b",46:"6211394915f4a8791ecb",47:"04c9e2b97a8ffc5da78c",48:"fcae6557af7c43fb20b9",49:"15dfcde89944e80c7c73",50:"81eba7fc043d1b39404d",51:"f0e92bc603cb11b51607",52:"34bc7ce35ffc44bc39c6",53:"a43d114e2a5749b23951",54:"227901bdeeaccadd7719",55:"8bfe68eafde0ad23f278",56:"62e17a695d37db38e8af",57:"4239c75eaf82573ec0a3",58:"3b428d1b18560f57322b",59:"dfb8cbc08f3e50a32dbe",60:"94b69878d0247d060c45",61:"64ec33e7d8534a199ffd",62:"fbb65514d875f85b43e1",63:"7f2a77ee6fe1525877d2"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var a=f[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),c},d.m=e,d.c=c,d.d=function(e,a,c){d.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},d.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(a,"a",a),a},d.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},d.p="",d.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file \ No newline at end of file
...@@ -91,12 +91,12 @@ ...@@ -91,12 +91,12 @@
this.imageNum2 = num + 1; this.imageNum2 = num + 1;
else else
this.imageNum3 = num + 1; this.imageNum3 = num + 1;
this.cache = { imageNum: this.imageNum, imageNum2: this.imageNum2, imageNum3: this.imageNum3, id: classQuery.periods_id } this.cache = { imageNum: this.imageNum, imageNum2: this.imageNum2, imageNum3: this.imageNum3, id: classQuery.category_id }
localStorage.setItem('cache', JSON.stringify(this.cache)) localStorage.setItem('cache', JSON.stringify(this.cache))
}, },
handleInput(e){ handleInput(e){
let classQuery = JSON.parse(sessionStorage.getItem("classQuery")) let classQuery = JSON.parse(sessionStorage.getItem("classQuery"))
this.cache = Object.assign({}, { imageNum: this.imageNum, imageNum2: this.imageNum2, imageNum3: this.imageNum3, inner: this.myHtmlCode, id: classQuery.periods_id }) this.cache = Object.assign({}, { imageNum: this.imageNum, imageNum2: this.imageNum2, imageNum3: this.imageNum3, inner: this.myHtmlCode, id: classQuery.category_id })
localStorage.setItem('cache', JSON.stringify(this.cache)) localStorage.setItem('cache', JSON.stringify(this.cache))
window.scrollTo(0,0) window.scrollTo(0,0)
}, },
...@@ -187,12 +187,12 @@ ...@@ -187,12 +187,12 @@
let cacheObj = JSON.parse(localStorage.getItem('cache')) let cacheObj = JSON.parse(localStorage.getItem('cache'))
let classQuery = JSON.parse(sessionStorage.getItem("classQuery")) let classQuery = JSON.parse(sessionStorage.getItem("classQuery"))
if( cacheObj ) { if( cacheObj ) {
if(cacheObj.id == classQuery.periods_id) { if(cacheObj.id == classQuery.category_id) {
// 从缓存里获取 // 从缓存里获取
this.imageNum = cacheObj.imageNum || 0; this.imageNum = cacheObj.imageNum || 0;
this.imageNum2 = cacheObj.imageNum2 || 0; this.imageNum2 = cacheObj.imageNum2 || 0;
this.imageNum3 = cacheObj.imageNum3 || 0; this.imageNum3 = cacheObj.imageNum3 || 0;
this.myHtmlCode = cacheObj.inner || 0; this.myHtmlCode = cacheObj.inner || '';
}else { }else {
localStorage.removeItem("cache"); localStorage.removeItem("cache");
} }
...@@ -212,7 +212,6 @@ ...@@ -212,7 +212,6 @@
} }
}, },
mounted() { mounted() {
this.query = this.$route.query this.query = this.$route.query
this.userCategoryInit() this.userCategoryInit()
} }
......
...@@ -198,9 +198,7 @@ ...@@ -198,9 +198,7 @@
props: ["route", "totalStarNum"], props: ["route", "totalStarNum"],
mounted() { mounted() {
// 判断星星 // 判断星星
console.log(window.sessionStorage.query);
this.dataSession = JSON.parse(window.sessionStorage.query) this.dataSession = JSON.parse(window.sessionStorage.query)
console.log(this.dataSession)
//console.log(window.sessionStorage.query); //console.log(window.sessionStorage.query);
getUserDetailApi() getUserDetailApi()
.then(res => { .then(res => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment