Commit 15cee3c7 by 陈玉桐

fix

parent 725bb3fb
......@@ -20,13 +20,6 @@
<span @click="cropperShow=false">取消</span>
<span @click="croppSure">完成</span>
</div>
<!-- <div class="cropperOpt">
<div class="button" @click="confirm">使用</div>
<div class="button cancel" @click="cropperShow=false">取消</div>
</div>
<div class="content">
<quick-cropper ref="cropper" :img-src="imgSrc" @finish="finish"></quick-cropper>
</div> -->
</div>
<!-- 21天模板 -->
<div id="posterCon" class="posterCon_21" v-if="days==21||days==150">
......@@ -217,7 +210,6 @@ export default {
autoCropHeight: 150,
fixedBox: false // 截图框固定大小
},
// imgSrc: '',
cropperShow: false,
......@@ -353,24 +345,6 @@ export default {
})
},
// finish(base64,data){
// console.log(base64,'图片base64')
// console.log(data,'图片二进制')
// this.uploadPic = base64
// this.cropperShow = false
// },
// // 确定使用
// confirm() {
// this.$nextTick(() => {
// // 确认截图
// this.$refs.cropper.confirm()
// })
// },
// // 取消
// cancel(){
// this.visible = false
// },
create() {
// 使input失去焦点
document.getElementById("currentDayInput").blur()
......@@ -590,30 +564,7 @@ export default {
right: 0;
bottom: 0;
z-index: 10000;
box-sizing: border-box;
padding-top: 44px;
.content {
height: 100%;
}
.cropperOpt{
// position: fixed;
// top: 0;
// right: 0;
// height: 44px;
// width: 100%;
// background: #303030;
// .button {
// float: right;
// height: 44px;
// line-height: 44px;
// font-size: 14px;
// margin-right: 15px;
// color: green;
// }
// .cancel{
// float:left;
// margin-left:15px;
// }
position: absolute;
bottom: 0;
width: 100%;
......
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