Commit 48e7f898 authored by IvyXia123's avatar IvyXia123

测试提交代码

parent ffca9b40
...@@ -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.303313a79c5fa3dcdf18.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.b950a0034aebb1560f09.js></script><script type=text/javascript src=static/js/vendor.36d83e6884bff4a7bb8f.js></script><script type=text/javascript src=static/js/app.fbbfc9bcad01391e5ad0.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 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.
This diff is collapsed.
!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:"15e5f920a64dfe6f2e9c",2:"fc5cfbf9b31b42b6644f",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:"93621c8221e72ef597a5",24:"eb40c767eb5f51c9b1e1",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:"06a911608636cf3e7bdf",2:"0386ed561a1a4149a8cb",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:"eb40c767eb5f51c9b1e1",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
src/assets/btn_kechegn.png

15.5 KB | W: | H:

src/assets/btn_kechegn.png

18.9 KB | W: | H:

src/assets/btn_kechegn.png
src/assets/btn_kechegn.png
src/assets/btn_kechegn.png
src/assets/btn_kechegn.png
  • 2-up
  • Swipe
  • Onion skin
src/assets/star/star1.png

14.8 KB | W: | H:

src/assets/star/star1.png

18.4 KB | W: | H:

src/assets/star/star1.png
src/assets/star/star1.png
src/assets/star/star1.png
src/assets/star/star1.png
  • 2-up
  • Swipe
  • Onion skin
File mode changed from 100644 to 100755
...@@ -23,9 +23,9 @@ ...@@ -23,9 +23,9 @@
<img class="scoring-category-active" :src="scoringCategoryImage.scoringCategory3Active" alt=""> <img class="scoring-category-active" :src="scoringCategoryImage.scoringCategory3Active" alt="">
<span class="num">{{ itemChild.parent_child }}</span> <span class="num">{{ itemChild.parent_child }}</span>
</div> </div>
<div class="rowthRecord-content-sub"> <div class="rowthRecord-content-sub" @click="xiajiantou(itemChild.id)">
<span class="text fa-text" :data-id="itemChild.id" :data-int="1" v-html="itemChild.growth_record"></span> <span class="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> <span class=""><img class="xiajiantou" :src="scoringCategoryImage.xiajiantou" alt=""></span> <!-- @click="xiajiantou(itemChild.id)" -->
</div> </div>
<div class="timer">{{ itemChild.created_at.split(' ')[1] }}</div> <div class="timer">{{ itemChild.created_at.split(' ')[1] }}</div>
</div> </div>
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
textArew: false, textArew: false,
indexPa: -1, indexPa: -1,
scoringCategoryData: [], // 获取数据 scoringCategoryData: [], // 获取数据
scoringCategoryImage: scoringCategory // 获取图片 scoringCategoryImage: scoringCategory, // 获取图片
} }
}, },
methods: { methods: {
...@@ -67,8 +67,6 @@ ...@@ -67,8 +67,6 @@
item.month[k][0].ataer = 1; item.month[k][0].ataer = 1;
// 数据重新整合 // 数据重新整合
for(let i = 0; i < item.month[k].length; i++) { for(let i = 0; i < item.month[k].length; i++) {
// console.log(new Date(item.month[k][i].created_at).getDate());
// new Date(returns.openData).getDate()
item.monthArr.push(item.month[k][i]) item.monthArr.push(item.month[k][i])
} }
} }
...@@ -76,6 +74,22 @@ ...@@ -76,6 +74,22 @@
this.scoringCategoryData = userGrowthRecordData; this.scoringCategoryData = userGrowthRecordData;
// 初始化滚动值 // 初始化滚动值
this.dataTimer = userGrowthRecordData[0].monthArr[0].cur_date.split('-')[0]; this.dataTimer = userGrowthRecordData[0].monthArr[0].cur_date.split('-')[0];
// 判断行数
this.$nextTick(() => {
var rowthRecord = document.querySelectorAll('.rowthRecord-content-sub')
for(var i = 0; i < rowthRecord.length; i++) {
let line = window.getComputedStyle(rowthRecord[i], null);
var lh = parseInt(line.lineHeight, 10);
var h = parseInt(line.height, 10);
var lc = Math.round(h / lh);
if(lc > 2) {
rowthRecord[i].querySelectorAll('.fa-text')[0].classList.add('text')
}else {
rowthRecord[i].querySelectorAll('.xiajiantou')[0].style.display = 'none';
}
}
})
}, },
/** /**
* 滚动监听 * 滚动监听
...@@ -96,7 +110,6 @@ ...@@ -96,7 +110,6 @@
let faText = document.querySelectorAll('.fa-text'), let faText = document.querySelectorAll('.fa-text'),
xiajiantou = document.querySelectorAll('.xiajiantou') xiajiantou = document.querySelectorAll('.xiajiantou')
for(var i = 0; i < faText.length; i++) { 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) { if(faText[i].getAttribute('data-id') == itemIndex && faText[i].getAttribute('data-int') == 1) {
faText[i].style.display = 'inherit' faText[i].style.display = 'inherit'
faText[i].setAttribute('data-int', 2) faText[i].setAttribute('data-int', 2)
...@@ -107,14 +120,13 @@ ...@@ -107,14 +120,13 @@
xiajiantou[i].setAttribute('src', this.scoringCategoryImage.xiajiantou) xiajiantou[i].setAttribute('src', this.scoringCategoryImage.xiajiantou)
} }
} }
} },
}, },
mounted() { mounted() {
this.introduce = '拥有财富、名声、权力,这世界上的一切的男人--哥尔·D·罗杰,在被行刑受死之前说了一句话,让全世界的人都涌向了大海。“想要我的宝藏吗?如果想要的话,那就到海上去找吧,我全部都放在那里。”,世界开始迎接“大海贼时代”的来临。拥有财富、名声、权力,这世界上的一切的男人 “海贼王”哥尔·D·罗杰,在被行刑受死之前说了一句话,让全世界的人都涌向了大海。“想要我的宝藏吗?如果想要的话,那就到海上去找吧,我全部都放在那里。”,世界开始迎接“大海贼时代”的来临。';
window.addEventListener('scroll', this.scrollEvent, false) window.addEventListener('scroll', this.scrollEvent, false)
this.userGrowthRecordList() this.userGrowthRecordList()
this.$nextTick(() => {
console.log(document.querySelectorAll('.fa-text'));
})
} }
} }
</script> </script>
...@@ -204,14 +216,21 @@ ...@@ -204,14 +216,21 @@
color: #666666; color: #666666;
} }
} }
.text {
word-wrap: break-word;
word-break: break-all;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
}
.rowthRecord-content-sub { .rowthRecord-content-sub {
position: relative; position: relative;
padding-top: 10 * @toVw; padding-top: 10 * @toVw;
line-height: 21 * @toVw; line-height: 21 * @toVw;
font-size: 14 * @toVw; font-size: 14 * @toVw;
color: #666666; color: #666666;
text1 { .text1 {
overflow: auto; overflow: auto;
} }
...@@ -220,23 +239,12 @@ ...@@ -220,23 +239,12 @@
color: #40A9FF; color: #40A9FF;
vertical-align: middle; vertical-align: middle;
} }
.text {
word-wrap: break-word;
word-break: break-all;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
}
.xiajiantou { .xiajiantou {
width: 17 * @toVw; width: 17 * @toVw;
height: 10 * @toVw; height: 10 * @toVw;
position: absolute; position: absolute;
right: -7 * @toVw; right: 0;
bottom: 0; bottom: 2px;
} }
} }
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<img slot="icon" :src="image.order" /> <img slot="icon" :src="image.order" />
</van-cell> </van-cell>
<van-cell title="成长记录" ref="star" to="/growthRecord" @click="toStar" is-link> <van-cell title="成长记录" ref="star" to="/growthRecord" @click="toStar" is-link>
<img slot="icon" :src="image.yizi" /> <img slot="icon" :src="image.yizi" style="width: 5.5vw; height: 5.5vw;" />
</van-cell> </van-cell>
<van-cell v-if="acitivityType==1" title="我的星星" ref="star" to="/starRank" @click="toStar" is-link> <van-cell v-if="acitivityType==1" title="我的星星" ref="star" to="/starRank" @click="toStar" is-link>
<img slot="icon" :src="image.mine_icon_star" /> <img slot="icon" :src="image.mine_icon_star" />
......
...@@ -98,26 +98,35 @@ ...@@ -98,26 +98,35 @@
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.elementId }) this.cache = Object.assign({}, { imageNum: this.imageNum, imageNum2: this.imageNum2, imageNum3: this.imageNum3, inner: this.myHtmlCode, id: classQuery.elementId })
localStorage.setItem('cache', JSON.stringify(this.cache)) localStorage.setItem('cache', JSON.stringify(this.cache))
window.scrollTo(0,0)
}, },
/** /**
* 提交成长记录 * 提交看课数据
* @returns {Promise.<void>} * @param elementId
* @param category_id
* @param periods_id
*/ */
async userCategoryClick() { async subUserLessonFn(elementId, category_id, periods_id) {
let nowTime = Date.parse(new Date()), // 时间 let nowTime = Date.parse(new Date()), // 时间
classQuery = JSON.parse(sessionStorage.getItem("classQuery")), // 获取elementId,category_id,periods_id
lessonDetail = JSON.parse(localStorage.getItem("lessonDetail")),// 获取延长时间 lessonDetail = JSON.parse(localStorage.getItem("lessonDetail")),// 获取延长时间
lookTime = (nowTime - lessonDetail.nowTime) / 1000, lookTime = (nowTime - lessonDetail.nowTime) / 1000,
watchLog = { page_type: 0, page_id: 7, stay_time: lookTime }; watchLog = { page_type: 0, page_id: 7, stay_time: lookTime };
const subUserLessonDatac = await subUserLessonApi(elementId, category_id, periods_id, watchLog)
this.totalStarNum = subUserLessonDatac.total_star_num
},
/**
* 提交成长记录
* @returns {Promise.<void>}
*/
async userCategoryClick() {
let classQuery = JSON.parse(sessionStorage.getItem("classQuery")); // 获取elementId,category_id,periods_id
let data = { interest: this.imageNum, concert: this.imageNum2, parent_child: this.imageNum3, growth_record: this.myHtmlCode } let data = { interest: this.imageNum, concert: this.imageNum2, parent_child: this.imageNum3, growth_record: this.myHtmlCode }
// 字数限制 // 字数限制
if(this.imageNum !== 0 && this.imageNum2 !== 0 && this.imageNum3 !== 0) { if(this.imageNum !== 0 && this.imageNum2 !== 0 && this.imageNum3 !== 0) {
if(this.myHtmlCode.length > 15 && this.myHtmlCode.length < 100) { if(this.myHtmlCode.length > 15 && this.myHtmlCode.length < 100) {
// 提交评价页面 // 提交评价页面
const postUserGrowthAddData = await postUserGrowthAddApi(classQuery.elementId, classQuery.category_id, classQuery.periods_id, data) const postUserGrowthAddData = await postUserGrowthAddApi(classQuery.elementId, classQuery.category_id, classQuery.periods_id, data)
// 提交看课数据 this.subUserLessonFn(classQuery.elementId, classQuery.category_id, classQuery.periods_id)
const subUserLessonDatac = await subUserLessonApi(classQuery.elementId, classQuery.category_id, classQuery.periods_id, watchLog)
this.totalStarNum = subUserLessonDatac.total_star_num
// 删除缓存 // 删除缓存
localStorage.removeItem("cache"); localStorage.removeItem("cache");
// 展示网页生成图片 // 展示网页生成图片
...@@ -141,16 +150,20 @@ ...@@ -141,16 +150,20 @@
Toast("请填写相关信息"); Toast("请填写相关信息");
} }
}, },
/**
* 跳过
*/
skipTextClick() { skipTextClick() {
let classQuery = JSON.parse(sessionStorage.getItem("classQuery")) let classQuery = JSON.parse(sessionStorage.getItem("classQuery"))
this.subUserLessonFn(classQuery.elementId, classQuery.category_id, classQuery.periods_id)
this.shareShow = true
this.audioFn() // 声音时间
this.$sa.track('buttonClick',{ this.$sa.track('buttonClick',{
tabTitle:'评价', tabTitle:'评价',
moduleTitle:'评价', moduleTitle:'评价',
buttonType:'点击', buttonType:'点击',
buttonName:'提交成长记录不提交跳过' buttonName:'提交成长记录不提交跳过'
}); });
this.shareShow = true
this.audioFn()
}, },
audioFn(){ audioFn(){
setTimeout(() => { setTimeout(() => {
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<div class="main-content"> <div class="main-content">
<div class="topBox"> <div class="topBox">
<div v-if="totalStarNum == 3"> <div v-if="totalStarNum == 3">
<div class="diyikexing animated"> <div class="diyikexing animated bounceInUp">
<img :src="diyikexing" alt=""> <img :src="diyikexing" alt="">
</div> </div>
<div class="dierkexing animated1"> <div class="dierkexing animated1">
...@@ -339,7 +339,6 @@ ...@@ -339,7 +339,6 @@
}, },
initPage() { initPage() {
this.watchDetail = this.$store.state.watchDetail; this.watchDetail = this.$store.state.watchDetail;
console.log(this.$store.state, 324423)
// debugger // debugger
this.lesson = JSON.parse(localStorage.getItem("lessonDetail")); this.lesson = JSON.parse(localStorage.getItem("lessonDetail"));
this.lesson.domTitle = this.lesson.domTitle.substring(0, 9); this.lesson.domTitle = this.lesson.domTitle.substring(0, 9);
...@@ -353,7 +352,6 @@ ...@@ -353,7 +352,6 @@
this.nickname = this.nickname.slice(0, 4) + "..."; this.nickname = this.nickname.slice(0, 4) + "...";
} }
this.minute = (this.route.stay_time / 60).toFixed(); this.minute = (this.route.stay_time / 60).toFixed();
console.log(this.minute, 2323)
// this.minute = (600/60).toFixed() // this.minute = (600/60).toFixed()
if (this.minute < 1) { if (this.minute < 1) {
this.minute = 1; this.minute = 1;
...@@ -1283,10 +1281,9 @@ ...@@ -1283,10 +1281,9 @@
} }
} }
@keyframes mymove @keyframes mymove {
{
0%{ 0%{
transform: scale(1); /*开始为原始大小*/ transform: scale(1);
} }
50%{ 50%{
transform: scale(1.5); transform: scale(1.5);
...@@ -1297,10 +1294,9 @@ ...@@ -1297,10 +1294,9 @@
} }
@-webkit-keyframes mymove /*Safari and Chrome*/ @-webkit-keyframes mymove {
{
0%{ 0%{
transform: scale(1); /*开始为原始大小*/ transform: scale(1);
} }
50%{ 50%{
transform: scale(1.5); transform: scale(1.5);
......
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