|
76 | 76 |
|
77 | 77 | <!--<div :class="'side-left side-view-' + baseview">-->
|
78 | 78 | <div class="side-left">
|
79 |
| - <div class="left-bar" > |
| 79 | + <div v-show="! isRemoteShow" class="left-bar" > |
80 | 80 | <button class="transfer" id="vTransfer" @click="transfer()">' / "</button>
|
81 | 81 | <input class="url" id="vUrl" type="text" placeholder="请输入请求的接口地址" @keyup="doOnKeyUp(event)" />
|
82 | 82 | <button class="send" id="vSend" @click="send()">发送请求</button>
|
83 | 83 | </div>
|
| 84 | + <div v-show="isRemoteShow" class="left-bar"> |
| 85 | + <svg class="icon" style="margin-left: 10px"> |
| 86 | + <use xlink:href="svg/icon.svg#share"></use> |
| 87 | + </svg> |
| 88 | + <span style="display: flex;flex-grow: 1;font-size: medium;margin-left: 6px">测试用例</span> |
| 89 | + <a class="hint--top save-tool" data-hint="回归测试" href="javascript:void(0)" @click="test()"> |
| 90 | + <img class="icon" src="img/refresh.png"/> |
| 91 | + </a> |
| 92 | + </div> |
84 | 93 | <div class="left-panel">
|
85 |
| - <ul v-show="isRemoteShow" class="historys" style="width: 100%;height: 100%;overflow: hidden;overflow-y: scroll;"> |
| 94 | + <ul v-show="isRemoteShow" class="historys" style="width: 100%;height: 100%;overflow: hidden;overflow-y: scroll;padding-bottom: 50px"> |
86 | 95 | <li v-for="(item, index) in remotes" >
|
87 | 96 | <a href="javascript:void(0)" @click="restore(item)" > {{(item.version > 0 ? 'V' + item.version : 'V*') + ' ' + item.name + ' ' + item.url}}</a>
|
88 | 97 | <div v-show="item.compare != null && item.compare > 0" style="position: absolute;right: 30px;display: inline-block;">
|
|
92 | 101 | </svg>
|
93 | 102 | <button @click="handleTest(true, index, item)">正确,上传</button>
|
94 | 103 | </div>
|
95 |
| - <svg v-show="item.userId == User.id" class="icon" @click="remove(item, index, true)"> |
| 104 | + <svg v-show="item.userId == User.id" class="icon" style="margin-right: 4px" @click="remove(item, index, true)"> |
96 | 105 | <use xlink:href="svg/icon.svg#trash"></use>
|
97 | 106 | </svg>
|
98 | 107 | </li>
|
|
160 | 169 | </ul>
|
161 | 170 | </span>
|
162 | 171 |
|
163 |
| - <a class="hint--top save-tool" data-hint="回归测试,TODO 做成列表上方的文字按钮" href="javascript:void(0)" @click="test()"> |
164 |
| - <svg class="icon"> |
165 |
| - <use xlink:href="svg/icon.svg#save"></use> |
166 |
| - </svg> |
167 |
| - </a> |
168 |
| - |
169 | 172 | </div>
|
170 | 173 | <div class="pull-right">
|
171 | 174 |
|
|
0 commit comments