修改图片

This commit is contained in:
duan
2024-08-09 09:48:06 +08:00
parent c4b734ce12
commit b6b80c3d43

View File

@@ -3,12 +3,12 @@
<el-dialog title="请选择" :visible.sync="dialogVisible" width="1000px"> <el-dialog title="请选择" :visible.sync="dialogVisible" width="1000px">
<el-container> <el-container>
<el-aside style="background-color: #fff;" width="150px"> <el-aside style="background-color: #fff;" width="150px">
<ul style="padding-left: 0;"> <ul style="padding-left: 0;margin: 0;">
<li style="cursor: pointer;" v-for="item in options" :key="item.id" <li style="cursor: pointer;" v-for="item in options" :key="item.id"
:class="[activedata == item.id ? 'activedata' : '']" @click="changeEvent(item.id)">{{ :class="[activedata == item.id ? 'activedata' : '']" @click="changeEvent(item.id)">{{
item.name }}</li> item.name }}</li>
</ul> </ul>
<div class="uplocation" :class="[activedata == -1 ? 'activedata' : '']" @click="uplocation">本地上传 <div class="uplocation" :class="[activedata == -1 ? 'activedata' : '']" @click="uplocation">本地图片
</div> </div>
</el-aside> </el-aside>
<el-main> <el-main>
@@ -224,7 +224,7 @@ export default {
.uplocation { .uplocation {
cursor: pointer; cursor: pointer;
position: absolute; /* position: absolute; */
bottom: 20px; /* bottom: 20px; */
} }
</style> </style>