Commit c558f069 by 高浩杰

finish route

parent 7915f8fb
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<div class="right__write-answer" @click="toRelease">我要提问</div> <div class="right__write-answer" @click="toRelease">我要提问</div>
<div class="right__search-answer"> <div class="right__search-answer">
<input type="text"> <input type="text">
<div><yun-icon name="search" size="16px" color="#fff"></yun-icon></div> <div @click="search"><yun-icon name="search" size="16px" color="#fff"></yun-icon></div>
</div> </div>
<div class="right__my-answer"> <div class="right__my-answer">
<div class="my-answer__wrap"> <div class="my-answer__wrap">
...@@ -110,7 +110,10 @@ export default { ...@@ -110,7 +110,10 @@ export default {
}, },
methods: { methods: {
toRelease(){ toRelease(){
this.$router.push('/answer/release') this.$router.push('/answer/release');
},
search(){
this.$router.push('/search/answer');
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment