|
|
@ -13,7 +13,7 @@ |
|
|
<input name="path" class="inputbox" type="text" placeholder="/" autocomplete="off" v-model="fspath"> |
|
|
<input name="path" class="inputbox" type="text" placeholder="/" autocomplete="off" v-model="fspath"> |
|
|
<button @click="getFlist">Go</button> |
|
|
<button @click="getFlist">Go</button> |
|
|
<button @click="goParent">🔙</button> |
|
|
<button @click="goParent">🔙</button> |
|
|
<a @click="uploadFile">同步选择的代码</a> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
<div class="sflist"> |
|
|
<div class="sflist"> |
|
|
<ul> |
|
|
<ul> |
|
|
@ -40,7 +40,7 @@ |
|
|
<div class="sfind"> |
|
|
<div class="sfind"> |
|
|
<!-- 选择服务器 --> |
|
|
<!-- 选择服务器 --> |
|
|
<select class="selbox" name="ssip" ref="ssip"> |
|
|
<select class="selbox" name="ssip" ref="ssip"> |
|
|
<option value="0">请选择源服务器</option> |
|
|
<option value="0">请选择目标服务器</option> |
|
|
<option v-for="item in uslist" :value="item.addr + ':' + item.port">{{ item.addr + ':' + item.port |
|
|
<option v-for="item in uslist" :value="item.addr + ':' + item.port">{{ item.addr + ':' + item.port |
|
|
}} |
|
|
}} |
|
|
</option> |
|
|
</option> |
|
|
@ -77,6 +77,14 @@ |
|
|
</ul> |
|
|
</ul> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<!-- 发送文件 --> |
|
|
|
|
|
<div class="fsend"> |
|
|
|
|
|
<div class="fsendcon"> |
|
|
|
|
|
从到 |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
@ -413,6 +421,10 @@ export default { |
|
|
height: 18px; |
|
|
height: 18px; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.sfcon .sflist ul li span{ |
|
|
|
|
|
line-height: 30px; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
.sfcon .sflist .haschild { |
|
|
.sfcon .sflist .haschild { |
|
|
cursor: pointer; |
|
|
cursor: pointer; |
|
|
} |
|
|
} |
|
|
@ -470,4 +482,18 @@ export default { |
|
|
background-color: #00bd7e; |
|
|
background-color: #00bd7e; |
|
|
margin: 10px 0; |
|
|
margin: 10px 0; |
|
|
} |
|
|
} |
|
|
|
|
|
/** 发送文件 */ |
|
|
|
|
|
.fsend{ |
|
|
|
|
|
float: left; |
|
|
|
|
|
height: 120px; |
|
|
|
|
|
background-color: #f5f5f5; |
|
|
|
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); |
|
|
|
|
|
margin-top: 20px; |
|
|
|
|
|
width: 100%; |
|
|
|
|
|
} |
|
|
|
|
|
.fsend .fsendcon{ |
|
|
|
|
|
margin-left: auto; |
|
|
|
|
|
padding: 12px; |
|
|
|
|
|
background-color: #fff; |
|
|
|
|
|
} |
|
|
</style> |
|
|
</style> |