|
|
|
@ -28,7 +28,7 @@ |
|
|
|
</ul> |
|
|
|
<div class="fbdiv" v-if="fsclist.length > 0"> |
|
|
|
<input type="hidden" name="curpath" :value="fspath" /> |
|
|
|
<button class="fbtn">同步选中的文件</button> |
|
|
|
<!-- <button class="fbtn">同步选中的文件</button> --> |
|
|
|
</div> |
|
|
|
</form> |
|
|
|
</div> |
|
|
|
@ -46,22 +46,22 @@ |
|
|
|
<!-- 选择服务器 --> |
|
|
|
<select class="selbox" name="ssip" ref="ssip"> |
|
|
|
<option value="0">请选择目标服务器</option> |
|
|
|
<option v-for="item in uslist" :value="item.addr + ':' + item.port">{{ item.addr + ':' + item.port |
|
|
|
}} |
|
|
|
</option> |
|
|
|
<option v-for="item in uslist" :value="item.addr + ':' + item.port">{{ item.addr + ':' + item.port}}</option> |
|
|
|
</select> |
|
|
|
<input name="path" class="inputbox" type="text" placeholder="/" autocomplete="off" v-model="sspath"> |
|
|
|
<button @click="getSflist">GO</button> |
|
|
|
<button @click="goParent">🔙</button> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="sflist"> |
|
|
|
<ul> |
|
|
|
<li v-for="item in ssclist" :key="item" :data-index="index"> |
|
|
|
<input type="checkbox" :value="item.path" class="sfchkbox" :name="'ssbox' + index" :ref="'fsbox' + index"/> |
|
|
|
<a class="haschild" @click="goIntoDir(item.path, 2)" v-if="item.isdir"><i></i>{{ item.path }}</a> |
|
|
|
<a class="haschild" @click="goIntoDir(item.path, 2)" v-if="item.isdir "><i></i>{{ item.path }}</a> |
|
|
|
<span v-else><i :class="'tb tb-'+item.suffix"></i>{{ item.path }}</span> |
|
|
|
</li> |
|
|
|
|
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
|
|
|
|
@ -85,9 +85,8 @@ |
|
|
|
<!-- 待发送文件 --> |
|
|
|
<div class="fsend"> |
|
|
|
<div class="fsendcon"> |
|
|
|
<textarea name="needsend"> |
|
|
|
{{ selectedFiles }} |
|
|
|
</textarea> |
|
|
|
<!-- 暂未想好放啥 --> |
|
|
|
<button class="fbtn">同步选中的文件</button> |
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
@ -117,6 +116,9 @@ export default { |
|
|
|
isMenuVisible: false, // 菜单是否可见 |
|
|
|
menuTop: 0, // 菜单顶部位置 |
|
|
|
menuLeft: 0, // 菜单左侧位置 |
|
|
|
|
|
|
|
|
|
|
|
isShowDir: false, // 只显示目录 |
|
|
|
} |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
@ -394,18 +396,18 @@ export default { |
|
|
|
position: relative; |
|
|
|
} |
|
|
|
/* 操作按钮 */ |
|
|
|
.sfcon .sflist .fbdiv{ |
|
|
|
/* .sfcon .sflist .fbdiv{ |
|
|
|
position: absolute; |
|
|
|
bottom: 0; |
|
|
|
left: 0; |
|
|
|
height: 46px; |
|
|
|
background-color: #00bd7e; |
|
|
|
width: 100%; |
|
|
|
} |
|
|
|
} */ |
|
|
|
|
|
|
|
.sfcon .sflist .fbdiv .fbtn{ |
|
|
|
/* .sfcon .sflist .fbdiv .fbtn{ |
|
|
|
margin: 12px; |
|
|
|
} |
|
|
|
} */ |
|
|
|
|
|
|
|
.sfind { |
|
|
|
width: 100%; |
|
|
|
@ -549,15 +551,22 @@ export default { |
|
|
|
/** 发送文件 */ |
|
|
|
.fsend{ |
|
|
|
float: left; |
|
|
|
height: 120px; |
|
|
|
background-color: #f5f5f5; |
|
|
|
height: 60px; |
|
|
|
background-color: #f3efef; |
|
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); |
|
|
|
margin-top: 20px; |
|
|
|
width: 100%; |
|
|
|
position:fixed; |
|
|
|
bottom: 0; |
|
|
|
left: 0; |
|
|
|
} |
|
|
|
.fsend .fsendcon{ |
|
|
|
margin-left: auto; |
|
|
|
padding: 12px; |
|
|
|
background-color: #fff; |
|
|
|
min-height: 60px; |
|
|
|
width: 1200px; |
|
|
|
margin-left: auto; |
|
|
|
margin-right: auto; |
|
|
|
} |
|
|
|
</style> |