Commit 1d1f6e63 authored by IvyXia123's avatar IvyXia123

测试提交

parent c4a47598
......@@ -11,4 +11,4 @@
position: fixed;
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.9bbc3ca82356aca77f70.js></script><script type=text/javascript src=static/js/vendor.e4eb38428ad1549116b0.js></script><script type=text/javascript src=static/js/app.4c45fe08585867bb30ee.js></script></body></html>
\ No newline at end of file
/* 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.268a826beeff6f5ab28c.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
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 diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
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 diff is collapsed.
!function(e){var f=window.webpackJsonp;window.webpackJsonp=function(c,b,n){for(var r,t,o,i=0,u=[];i<c.length;i++)t=c[i],d[t]&&u.push(d[t][0]),d[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(f&&f(c,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=a(a.s=n[i]);return o};var c={},d={66:0};function a(f){if(c[f])return c[f].exports;var d=c[f]={i:f,l:!1,exports:{}};return e[f].call(d.exports,d,d.exports,a),d.l=!0,d.exports}a.e=function(e){var f=d[e];if(0===f)return new Promise(function(e){e()});if(f)return f[2];var c=new Promise(function(c,a){f=d[e]=[c,a]});f[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,a.nc&&n.setAttribute("nonce",a.nc),n.src=a.p+"static/js/"+({0:"vendor-async"}[e]||e)+"."+{0:"ba7ceb75dd997bd0d725",1:"5575171d154a5b8bb62e",2:"629173d91568da3b0801",3:"d5da607117867bb01e09",4:"381827ced0964d94be33",5:"9ecf51d9d7a9a0930efd",6:"6ac36292e73b9f6a1e22",7:"3174fa1f10888e12b517",8:"f1a76ee92a625f1d2757",9:"23eacc392753fe2a13dd",10:"9a144d31ab713983007e",11:"df7b433f87116d0816cd",12:"6a77f59647682b0f0a78",13:"b72b850f9b82fa88fcd4",14:"69e4922687438eba713c",15:"db942523628310b3316d",16:"3b3630d8ded09fd1270b",17:"f65339360d9adcd5fcd3",18:"d6a2697ca1f57e22ff34",19:"4531c807268d8c6fd93b",20:"ee24f287842c72b9ead0",21:"2c80be59f57a480c3291",22:"1f84d2107b238392ab49",23:"b6fe3ff567757e08f294",24:"eb40c767eb5f51c9b1e1",25:"1633439d259f64502439",26:"5ad5d664e343c18fe8eb",27:"30ab7d861e8eed001985",28:"cbbef6ff248362140233",29:"021c1d7365a8ee2c3979",30:"d9e5c94fa26678068604",31:"f842995c8354ad6b6443",32:"2591763bd5840bb367aa",33:"684bbdf839ed0f4ffaf9",34:"9cefe88ea4cb8ad514b7",35:"c72d013336488b3e3094",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 f=d[e];0!==f&&(f&&f[1](new Error("Loading chunk "+e+" failed.")),d[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),c},a.m=e,a.c=c,a.d=function(e,f,c){a.o(e,f)||Object.defineProperty(e,f,{configurable:!1,enumerable:!0,get:c})},a.n=function(e){var f=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(f,"a",f),f},a.o=function(e,f){return Object.prototype.hasOwnProperty.call(e,f)},a.p="",a.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!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:"ba7ceb75dd997bd0d725",1:"1217c57bbaa864f98ed3",2:"c2088315ea4769ebcfa8",3:"b2b2244888e1c02ab3b9",4:"54661aecdb6eaea7d223",5:"7029a757ac24ce86eae3",6:"9a4b2de4e5f2256452e7",7:"f026d4d74b942ae82bde",8:"d626ac896620af1d7fad",9:"4b435e95d1f2449a3cfe",10:"3a911ba21a8a5687a931",11:"186f9d6ce7feac535823",12:"4e9893004a19aed97d44",13:"7ea1191c45784523a3ac",14:"69e4922687438eba713c",15:"db942523628310b3316d",16:"3b3630d8ded09fd1270b",17:"f65339360d9adcd5fcd3",18:"d6a2697ca1f57e22ff34",19:"4531c807268d8c6fd93b",20:"ee24f287842c72b9ead0",21:"2c80be59f57a480c3291",22:"1f84d2107b238392ab49",23:"8646ddb64a78f707fb22",24:"eb40c767eb5f51c9b1e1",25:"1633439d259f64502439",26:"5ad5d664e343c18fe8eb",27:"30ab7d861e8eed001985",28:"cbbef6ff248362140233",29:"021c1d7365a8ee2c3979",30:"d9e5c94fa26678068604",31:"f842995c8354ad6b6443",32:"2591763bd5840bb367aa",33:"684bbdf839ed0f4ffaf9",34:"9cefe88ea4cb8ad514b7",35:"c72d013336488b3e3094",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
......@@ -6,7 +6,7 @@
<div class="growthRecord-content" v-for="(item, index) in scoringCategoryData" :key="index">
<!-- 年 -->
<div class="growthRecord-content-year">{{ item.year }}</div>
<div class="growthRecord-content-children" :data-timer="itemChild.cur_date" v-for="(itemChild, itemIndex) in item.monthArr">
<div class="growthRecord-content-children" :data-timer="itemChild.cur_date.split('-')[0]" v-for="(itemChild, itemIndex) in item.monthArr">
<!-- 月,日 -->
<div class="growthRecord-content-left" :style="{ opacity: itemChild.ataer == 1 ? '1' : '0' }"> <!-- style="opacity: 0;" -->
<span class="day">{{ itemChild.month.split('-')[1] }}</span><span class="mouth">{{ itemChild.month.split('-')[0] }}</span>
......@@ -23,9 +23,9 @@
<img class="scoring-category-active" :src="scoringCategoryImage.scoringCategory3Active" alt="">
<span class="num">{{ itemChild.parent_child }}</span>
</div>
<div class="rowthRecord-content-sub" @click="xiajiantou(itemChild.id)">
<span class="text" v-html="itemChild.growth_record"></span>
<span class=""><img class="xiajiantou" :src="scoringCategoryImage.xiajiantou" alt=""></span>
<div class="rowthRecord-content-sub">
<span class="text fa-text" :data-id="itemChild.id" :data-int="1" v-html="itemChild.growth_record"></span>
<span class=""><img @click="xiajiantou(itemChild.id)" class="xiajiantou" :src="scoringCategoryImage.xiajiantou" alt=""></span>
</div>
<div class="timer">{{ itemChild.created_at.split(' ')[1] }}</div>
</div>
......@@ -73,7 +73,7 @@
})
this.scoringCategoryData = userGrowthRecordData;
// 初始化滚动值
this.dataTimer = userGrowthRecordData[0].monthArr[0].cur_date;
this.dataTimer = userGrowthRecordData[0].monthArr[0].cur_date.split('-')[0];
},
/**
* 滚动监听
......@@ -94,6 +94,7 @@
let faText = document.querySelectorAll('.fa-text'),
xiajiantou = document.querySelectorAll('.xiajiantou')
for(var i = 0; i < faText.length; i++) {
console.log(faText[i])
if(faText[i].getAttribute('data-id') == itemIndex && faText[i].getAttribute('data-int') == 1) {
faText[i].style.display = 'inherit'
faText[i].setAttribute('data-int', 2)
......@@ -220,7 +221,7 @@
word-break: break-all;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
-webkit-line-clamp: 2;
overflow: hidden;
}
......
......@@ -88,6 +88,7 @@
localStorage.setItem('cache', JSON.stringify(this.cache))
},
handleInput(e){
let classQuery = JSON.parse(sessionStorage.getItem("classQuery"))
let checkboxPutContenteditable = document.querySelector('.checkbox-put-contenteditable');
this.cache = Object.assign({}, this.cache, { inner: checkboxPutContenteditable.innerHTML, id: classQuery.elementId })
localStorage.setItem('cache', JSON.stringify(this.cache))
......@@ -121,10 +122,16 @@
buttonType:'点击',
buttonName:'提交成长记录加一颗星'
});
}else {
Toast("请填写相关信息");
}
}else {
Toast("可输入15-100字");
if(checkboxPutContenteditable.innerHTML.length > 100) {
console.log(checkboxPutContenteditable.innerHTML.length)
Toast(`您多输入了${ checkboxPutContenteditable.innerHTML.length - 100 }个字`);
}else if(checkboxPutContenteditable.innerHTML.length < 15){
Toast("输入字数不满15个");
}
}
},
skipTextClick() {
......@@ -156,10 +163,12 @@
}else {
// 从接口获取
const getUserGrowthRecordData = await getUserGrowthRecordApi(classQuery.elementId, classQuery.category_id, classQuery.periods_id);
this.imageNum = getUserGrowthRecordData.interest;
this.imageNum2 = getUserGrowthRecordData.concent;
this.imageNum3 = getUserGrowthRecordData.parent_child;
this.myHtmlCode = getUserGrowthRecordData.growth_record;
if(getUserGrowthRecordData.length !== 0) {
this.imageNum = getUserGrowthRecordData.interest;
this.imageNum2 = getUserGrowthRecordData.concent;
this.imageNum3 = getUserGrowthRecordData.parent_child;
this.myHtmlCode = getUserGrowthRecordData.growth_record;
}
}
},
closeShare() {
......
......@@ -39,9 +39,9 @@ Vue.config.errorHandler = errorHandler;
Vue.prototype.$throw = (error)=> errorHandler(error,this);
Vue.prototype.$common = common
//VConsole关闭屏蔽代码
// if (process.env.NODE_ENV != 'production') {
// new VConsole();
// }
if (process.env.NODE_ENV != 'production') {
new VConsole();
}
router.beforeEach((to, from, next) => {
next()
......
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