5a6e1be1 by renchao@pashanhoo.com

style:导航切换

1 parent 4f63a148
...@@ -118,11 +118,11 @@ ...@@ -118,11 +118,11 @@
118 </div> 118 </div>
119 </div> 119 </div>
120 </div> 120 </div>
121 <div class="d-center" v-if="!$store.state.business.Edit && titleName == 'sjmx'"> 121 <div class="d-center" v-show="!$store.state.business.Edit && titleName == 'sjmx'">
122 <btn nativeType="cz" @click="dialogVisible = false">取 消</btn> 122 <btn nativeType="cz" @click="dialogVisible = false">取 消</btn>
123 <btn nativeType="cx" @click="submitForm">保 存</btn> 123 <btn nativeType="cx" @click="submitForm">保 存</btn>
124 </div> 124 </div>
125 <div class="d-center" v-if="!$store.state.business.Edit && titleName == 'xml'"> 125 <div class="d-center" v-show="!$store.state.business.Edit && titleName == 'xml'">
126 <btn nativeType="cx" @click="handleResubmit">重新上报</btn> 126 <btn nativeType="cx" @click="handleResubmit">重新上报</btn>
127 </div> 127 </div>
128 </el-dialog> 128 </el-dialog>
......
...@@ -10,10 +10,9 @@ ...@@ -10,10 +10,9 @@
10 </router-link> 10 </router-link>
11 </scroll-pane> 11 </scroll-pane>
12 <ul v-show="visible" :style="{ left: left + 'px', top: top + 'px' }" class="contextmenu"> 12 <ul v-show="visible" :style="{ left: left + 'px', top: top + 'px' }" class="contextmenu">
13 <li @click="refreshSelectedTag(selectedTag)">Refresh</li> 13 <li v-if="!isAffix(selectedTag)" @click="closeSelectedTag(selectedTag)">关闭</li>
14 <li v-if="!isAffix(selectedTag)" @click="closeSelectedTag(selectedTag)">Close</li> 14 <li @click="closeOthersTags">关闭其他</li>
15 <li @click="closeOthersTags">Close Others</li> 15 <li @click="closeAllTags(selectedTag)">关闭全部</li>
16 <li @click="closeAllTags(selectedTag)">Close All</li>
17 </ul> 16 </ul>
18 </div> 17 </div>
19 </template> 18 </template>
...@@ -165,7 +164,7 @@ export default { ...@@ -165,7 +164,7 @@ export default {
165 }, 164 },
166 openMenu (tag, e) { 165 openMenu (tag, e) {
167 const menuMinWidth = 105 166 const menuMinWidth = 105
168 const offsetLeft = this.$el.getBoundingClientRect().left // container margin left 167 const offsetLeft = this.$el.getBoundingClientRect().left - 210 // container margin left
169 const offsetWidth = this.$el.offsetWidth // container width 168 const offsetWidth = this.$el.offsetWidth // container width
170 const maxLeft = offsetWidth - menuMinWidth // left boundary 169 const maxLeft = offsetWidth - menuMinWidth // left boundary
171 const left = e.clientX - offsetLeft + 15 // 15: margin right 170 const left = e.clientX - offsetLeft + 15 // 15: margin right
......
...@@ -320,7 +320,7 @@ ...@@ -320,7 +320,7 @@
320 320
321 // 响应结果 321 // 响应结果
322 .xyjg { 322 .xyjg {
323 height: 78vh; 323 height: 80vh;
324 324
325 .result-con { 325 .result-con {
326 height: 49%; 326 height: 49%;
......