Browse Source

添加搜索地址调整

master
xuhuajiao 2 years ago
parent
commit
605500d28b
  1. 5
      src/views/index.vue

5
src/views/index.vue

@ -11,7 +11,7 @@
</div> </div>
<!-- 智慧书架导航 --> <!-- 智慧书架导航 -->
<ul class="book-nav"> <ul class="book-nav">
<li>
<li @click="toSearch">
<img src="~@/assets/images/home/nav1.png" /> <img src="~@/assets/images/home/nav1.png" />
<p>图书检索</p> <p>图书检索</p>
</li> </li>
@ -93,6 +93,9 @@ export default {
mounted() { mounted() {
}, },
methods: { methods: {
toSearch() {
window.location.href = 'http://219.140.69.151/opac'
},
toPath(path) { toPath(path) {
if (path === '/CurrentRackBook') { if (path === '/CurrentRackBook') {
const query = { leftShelfNo: this.leftShelfNo, rightShelfNo: this.rightShelfNo } const query = { leftShelfNo: this.leftShelfNo, rightShelfNo: this.rightShelfNo }

Loading…
Cancel
Save