优化
This commit is contained in:
@@ -2,6 +2,12 @@
|
||||
<div class="report">
|
||||
<components class="report-item" ref="reportItem" :config="currConfig" v-if="currConfig.length" :is="component"></components>
|
||||
<div class="report-list" data-html2canvas-ignore>
|
||||
<div class="report-btns">
|
||||
<span @click="back">返回</span>
|
||||
<h2>拼图模板</h2>
|
||||
<span @click="save">保存</span>
|
||||
</div>
|
||||
<div class="report-wrapper">
|
||||
<div
|
||||
class="report-item"
|
||||
:key="index"
|
||||
@@ -13,7 +19,7 @@
|
||||
<span @click="toEdit">编辑</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="report-btn" data-html2canvas-ignore @click="save">完成</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -66,6 +72,12 @@
|
||||
})
|
||||
},
|
||||
|
||||
back () {
|
||||
uni.navigateBack({
|
||||
delta: 1
|
||||
})
|
||||
},
|
||||
|
||||
toEdit () {
|
||||
this.$refs.reportItem.linkTo()
|
||||
},
|
||||
@@ -124,25 +136,25 @@
|
||||
<style lang="scss" scoped>
|
||||
.report {
|
||||
position: relative;
|
||||
padding-bottom: 240px;
|
||||
padding-bottom: 330px;
|
||||
|
||||
.report-btn {
|
||||
position: fixed;
|
||||
bottom: 272px;
|
||||
left: 32px;
|
||||
z-index: 11;
|
||||
width: 144px;
|
||||
height: 64px;
|
||||
line-height: 64px;
|
||||
text-align: center;
|
||||
background: #FFFFFF;
|
||||
.report-btns {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: 96px;
|
||||
padding: 0 32px;
|
||||
|
||||
span {
|
||||
color: #222222;
|
||||
font-size: 32px;
|
||||
color: #408EF6;
|
||||
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);
|
||||
border-radius: 40px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
&:active {
|
||||
opacity: 0.7;
|
||||
h2 {
|
||||
color: #333333;
|
||||
font-size: 28px;
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -157,16 +169,19 @@
|
||||
|
||||
.report-list {
|
||||
position: fixed;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 240px;
|
||||
padding: 0 24px;
|
||||
padding-bottom: 16px;
|
||||
background: #FFFFFF;
|
||||
|
||||
.report-wrapper {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 0 24px;
|
||||
}
|
||||
|
||||
.report-item {
|
||||
position: relative;
|
||||
width: 176px;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="photo" :class="[isHide ? 'home-active' : '']" :style="{height: height + 'px'}" @click="isHide = true">
|
||||
<div class="photo" :class="[isHide ? 'home-active' : '']" :style="{height: height + 'px'}">
|
||||
<div class="photo-top" data-html2canvas-ignore>
|
||||
<div class="photo-top__middle" @click="isShowAlbum = true">
|
||||
<span>保存至:{{ albumName || '默认相册' }}</span>
|
||||
@@ -19,7 +19,7 @@
|
||||
</div>
|
||||
<div class="photo-bottom" data-html2canvas-ignore>
|
||||
<div class="photo-bottom__top">
|
||||
<span></span>
|
||||
<span @click.stop="isHide = true">取消</span>
|
||||
<!-- <image src="./images/clear.png" @click.stop="isHide = true, currIndex = -1" /> -->
|
||||
<h2>水印</h2>
|
||||
<span @click.stop="isHide = true">确定</span>
|
||||
|
||||
Reference in New Issue
Block a user