|
|
@@ -60,25 +60,32 @@
|
|
|
<div :class="['text']">{{ filterText(index) }}</div>
|
|
|
<div class="content">{{ item.dayContent }}</div>
|
|
|
</template> -->
|
|
|
- <div :class="['text']">今日机会与挑战总结</div>
|
|
|
- <div class="content">
|
|
|
- {{ reportTarget.reportContents.length ? reportTarget.reportContents[0].dayContent : '' }}
|
|
|
- </div>
|
|
|
- <div :class="['text']">明日工作计划</div>
|
|
|
- <div class="content">
|
|
|
- {{ reportTarget.reportContents.length ? reportTarget.reportContents[1].dayContent : '' }}
|
|
|
- </div>
|
|
|
- <div class="text">今日拜访照片</div>
|
|
|
- <div class="content-photos">
|
|
|
- <template v-for="item in photosData">
|
|
|
- <img
|
|
|
- :src="'data:image/jpg;base64,' + item"
|
|
|
- crossorigin="anonymous"
|
|
|
- referrerpolicy="no-referrer"
|
|
|
- alt=""
|
|
|
- style="display: block" />
|
|
|
- </template>
|
|
|
- <!-- <template v-for="item in urlList">
|
|
|
+ <template v-if="checkedPlan">
|
|
|
+ <div :class="['text']">今日机会与挑战总结</div>
|
|
|
+ <div class="content">
|
|
|
+ {{
|
|
|
+ reportTarget.reportContents.length ? reportTarget.reportContents[0].dayContent : ''
|
|
|
+ }}
|
|
|
+ </div>
|
|
|
+ <div :class="['text']">明日工作计划</div>
|
|
|
+ <div class="content">
|
|
|
+ {{
|
|
|
+ reportTarget.reportContents.length ? reportTarget.reportContents[1].dayContent : ''
|
|
|
+ }}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <template v-if="photosData && photosData.length">
|
|
|
+ <div class="text">今日拜访照片</div>
|
|
|
+ <div class="content-photos">
|
|
|
+ <template v-for="item in photosData">
|
|
|
+ <img
|
|
|
+ :src="'data:image/jpg;base64,' + item"
|
|
|
+ crossorigin="anonymous"
|
|
|
+ referrerpolicy="no-referrer"
|
|
|
+ alt=""
|
|
|
+ style="display: block" />
|
|
|
+ </template>
|
|
|
+ <!-- <template v-for="item in urlList">
|
|
|
<img
|
|
|
:src="item + '&' + new Date().getTime()"
|
|
|
crossOrigin="anonymous"
|
|
|
@@ -86,7 +93,8 @@
|
|
|
alt=""
|
|
|
style="display: block" />
|
|
|
</template> -->
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
</div>
|
|
|
<div class="footerShare">
|
|
|
<div class="right-text">
|
|
|
@@ -153,6 +161,11 @@ export default {
|
|
|
return [];
|
|
|
},
|
|
|
},
|
|
|
+ // 是否显示 今日总结&明日规划
|
|
|
+ checkedPlan: {
|
|
|
+ type: Boolean,
|
|
|
+ default: true,
|
|
|
+ },
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
@@ -324,6 +337,7 @@ export default {
|
|
|
background-size: cover;
|
|
|
background-attachment: local;
|
|
|
width: 100%;
|
|
|
+ min-height: 100%;
|
|
|
padding: vw(30);
|
|
|
position: absolute;
|
|
|
padding-bottom: vw(190);
|
|
|
@@ -449,6 +463,7 @@ export default {
|
|
|
}
|
|
|
|
|
|
.footerShare {
|
|
|
+ // position: absolute;
|
|
|
display: flex;
|
|
|
// align-items: center;
|
|
|
justify-content: flex-end;
|