Commit 9bce05dd authored by Xuguangxing's avatar Xuguangxing

'fix'

parent 0af1057c
......@@ -74,7 +74,7 @@
style="width: 94px;height: 94px;margin: 0 21px;font-size: 34px;"
/>
</div>
<div class="groupProcess" style="width: 750px;height: 123px;padding-top: 50px;">
<div class="groupProcess" style="width: 920px;height: 123px;padding-top: 50px;">
<div class="desc" style="border-radius: 36.5px;font-size: 34px;">
还差 <span style="margin: 0 10px;">{{ sharePicData.needGuys }}人</span> 成团,<template
v-if="endTime != ''"
......@@ -171,9 +171,12 @@ export default {
},
async createAndUploadPic(sharePicData) {
this.sharePicData = sharePicData;
let endTime = sharePicData.endTime ? sharePicData.endTime.split(' ')[0] : '';
if (endTime) {
this.endTime = `${new Date(endTime).getMonth() + 1}${new Date(endTime).getDate()}日`;
const endTimeYMD = sharePicData.endTime ? sharePicData.endTime.split(' ')[0] : '';
const endTimeHMS = sharePicData.endTime ? sharePicData.endTime.split(' ')[1] : '';
if (endTimeYMD) {
this.endTime = `${new Date(endTimeYMD).getMonth() + 1}${new Date(
endTimeYMD
).getDate()}${endTimeHMS}`;
}
this.handleAvator(sharePicData);
const _this = this;
......
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