Commit d0fce0ce by 任建

tankuang

parent 4e0ef0c2
...@@ -91,8 +91,9 @@ ...@@ -91,8 +91,9 @@
</div> </div>
<div class="rightcontent"> <div class="rightcontent">
<transition name="slide-fade"> <transition name="slide-fade">
<keep-alive>
<router-view> <router-view>
</router-view> </router-view></keep-alive>
</transition> </transition>
</div> </div>
</div> </div>
......
...@@ -907,17 +907,17 @@ ...@@ -907,17 +907,17 @@
<!-- 相机弹出层 --> <!-- 相机弹出层 -->
<div v-if="showcropper"> <div v-if="showcropper">
<div <div
style="position: fixed;width:100%;z-index:999;background-color:black;top:0;left:0;right:0;bottom: 0;opacity: 0.5;"> style="position: fixed;width:100%;z-index:999;background-color:rgba(0, 0, 0, 0);top:0;left:0;right:0;bottom: 0;">
</div> </div>
<div <div
style="position:fixed;top:15%;left:25%;height:502px;width:600px;border-radius: 2px;z-index: 9999;background-color:white;"> style="position:fixed;top:50%;left:50%;height:560px;width:600px;margin-left: -300px;margin-top: -250px;border-radius: 4px;z-index: 9999;background-color:white;overflow: hidden;box-shadow:-1px 2px 9px 2px rgba(176,175,175,0.5);">
<div class="cut" style="width:100%;text-align:center;margin: 0 auto;color:#fff;"> <div class="cut" style="width:100%;text-align:center;margin: 0 auto;color:#fff;">
<div <div
style="width:100%;font-size:18px;background: rgba(98, 122, 249, 0.7);height: 45px;line-height: 45px;"> style="width:100%;font-size:18px;background: #fff;height: 80px;line-height: 80px;color: #000;">
<h3 v-if="!title" style="text-align:center;">把不必要的部分裁剪掉,以保证搜索结果的准确性<i <h3 v-if="!title" style="padding-left: 25px;text-align: left;">把不必要的部分裁剪掉,以保证搜索结果的准确性<i
@click="hideCropper" class="el-icon-close" style="cursor:pointer;float: right;margin-right: 10px; @click="hideCropper" class="el-icon-close" style="font-weight: 600;cursor:pointer;float: right;margin-right: 10px;
margin-top: 14px;"> margin-top: 30px;">
</i></h3> </i></h3>
<h3 v-if="title" style="text-align:center;">{{title}}</h3> <h3 v-if="title" style="text-align:center;">{{title}}</h3>
</div> </div>
...@@ -931,14 +931,14 @@ ...@@ -931,14 +931,14 @@
@real-time="realTime" :high="option.high" @img-load="imgLoad"></vue-cropper> @real-time="realTime" :high="option.high" @img-load="imgLoad"></vue-cropper>
<slot></slot> <slot></slot>
<div style="background:#fff;height: 75px;font-size: 14px;"> <div style="background:#fff;height: 75px;font-size: 14px;">
<label class="btn" style="background: #fff;color: rgb(86, 119, 252);" <label class="btn" style="background: #118EE9;color: #fff;width: 100px; "
for="uploads">重新选择</label> for="uploads">重新选择</label>
<input type="file" id="uploads" style="position:absolute; clip:rect(0 0 0 0);" <input type="file" id="uploads" style="position:absolute; clip:rect(0 0 0 0);"
accept="image/png, image/jpeg, image/gif, image/jpg" accept="image/png, image/jpeg, image/gif, image/jpg"
@change="uploadImg($event, 1)"> @change="uploadImg($event, 1)">
<!-- <a @click="down(1)" class="btn">下载图片</a> --> <!-- <a @click="down(1)" class="btn">下载图片</a> -->
<a class="btn" <a class="btn"
style="color: rgb(255, 255, 255);background-color: rgb(86, 119, 252);" style="color: rgb(255, 255, 255);background-color: #118EE9;width: 100px;"
@click="submit">提交图片</a> @click="submit">提交图片</a>
</div> </div>
</div> </div>
......
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