|
@@ -2,11 +2,36 @@
|
|
|
<section class="bid">
|
|
|
<div class="search">
|
|
|
<input type="text" placeholder="请输入搜索内容">
|
|
|
- <span>我的订阅</span>
|
|
|
+ <span @click="Subscribe">我的订阅</span>
|
|
|
+ </div>
|
|
|
+ <div class="select2">
|
|
|
+ <div class="region" @click="regions(0)">
|
|
|
+ 地区
|
|
|
+ <img src="../../static/img/open.png" v-if="!region[0]" alt>
|
|
|
+ <img src="../../static/img/hide.png" v-else alt>
|
|
|
+ </div>
|
|
|
+ <div class="region" @click="regions(1)">
|
|
|
+ 行业
|
|
|
+ <img src="../../static/img/open.png" v-if="!region[1]" alt>
|
|
|
+ <img src="../../static/img/hide.png" v-else alt>
|
|
|
+ </div>
|
|
|
+ <div class="region" @click="regions(2)">
|
|
|
+ 阶段
|
|
|
+ <img src="../../static/img/open.png" v-if="!region[2]" alt>
|
|
|
+ <img src="../../static/img/hide.png" v-else alt>
|
|
|
+ </div>
|
|
|
+ <areaone class="regions" v-on:province="province" :regiont="regiont" v-if="region[0]"/>
|
|
|
+ <ul id="category" v-if="region[1]">
|
|
|
+ <li>535656</li>
|
|
|
+ <li>535656</li>
|
|
|
+ <li>535656</li>
|
|
|
+ <li>535656</li>
|
|
|
+ <li>535656</li>
|
|
|
+ </ul>
|
|
|
+ <div class="bg" v-if="region[0]||region[1]||region[2]"></div>
|
|
|
</div>
|
|
|
- <sel/>
|
|
|
<ul class="bidlist">
|
|
|
- <nuxt-link to="/project/details">
|
|
|
+ <nuxt-link to="/me/chooseArea">
|
|
|
<li>
|
|
|
<h2>喷口内径测量规招标公告</h2>
|
|
|
<p class="p1">
|
|
@@ -20,7 +45,7 @@
|
|
|
</p>
|
|
|
</li>
|
|
|
</nuxt-link>
|
|
|
- <nuxt-link to="/project/details">
|
|
|
+ <nuxt-link to="/bidding">
|
|
|
<li>
|
|
|
<h2>喷口内径测量规招标公告</h2>
|
|
|
<p class="p1">
|
|
@@ -34,7 +59,7 @@
|
|
|
</p>
|
|
|
</li>
|
|
|
</nuxt-link>
|
|
|
- <nuxt-link to="/project/details">
|
|
|
+ <nuxt-link to="/bidding">
|
|
|
<li>
|
|
|
<h2>喷口内径测量规招标公告</h2>
|
|
|
<p class="p1">
|
|
@@ -48,7 +73,7 @@
|
|
|
</p>
|
|
|
</li>
|
|
|
</nuxt-link>
|
|
|
- <nuxt-link to="/project/details">
|
|
|
+ <nuxt-link to="/bidding">
|
|
|
<li>
|
|
|
<h2>喷口内径测量规招标公告</h2>
|
|
|
<p class="p1">
|
|
@@ -62,7 +87,7 @@
|
|
|
</p>
|
|
|
</li>
|
|
|
</nuxt-link>
|
|
|
- <nuxt-link to="/project/details">
|
|
|
+ <nuxt-link to="/bidding">
|
|
|
<li>
|
|
|
<h2>喷口内径测量规招标公告</h2>
|
|
|
<p class="p1">
|
|
@@ -81,25 +106,73 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import sel from '~/components/select2.vue'
|
|
|
+import '~/assets/select.scss'
|
|
|
+import areaone from '~/components/areaSelect.vue'
|
|
|
export default {
|
|
|
components: {
|
|
|
- sel
|
|
|
+ areaone
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
- author: '微信公众号 jinkey-love'
|
|
|
+ author: '微信公众号 jinkey-love',
|
|
|
+ region: [false, false, false],
|
|
|
+ img: ['open', 'hide'],
|
|
|
+ name: '选择区域',
|
|
|
+ regiont: []
|
|
|
}
|
|
|
},
|
|
|
+ fetch({ app }) {
|
|
|
+
|
|
|
+ },
|
|
|
+ asyncData({ app }) {
|
|
|
+ app.$axios.post('/project.html',{openid:45454545,p:1,pagenum:2}).then((response)=>{
|
|
|
+ console.log(response)
|
|
|
+ }).catch((response)=>{
|
|
|
+ //console.log(response.response);
|
|
|
+ })
|
|
|
+ },
|
|
|
+ created() {
|
|
|
+ this.$axios
|
|
|
+ .get('/province.html')
|
|
|
+ .then(response => {
|
|
|
+ this.regiont = this.regiont.concat(response.data)
|
|
|
+ })
|
|
|
+ .catch(response => {})
|
|
|
+ },
|
|
|
methods: {
|
|
|
- addTodo(e) {
|
|
|
- this.$store.commit('todos/add', e.target.value)
|
|
|
- e.target.value = ''
|
|
|
+ regions(e) {
|
|
|
+ const region = [false, false, false]
|
|
|
+ region[e] = true
|
|
|
+ const img = ['open', 'hide']
|
|
|
+ img[e] = 'hide'
|
|
|
+ this.img = img
|
|
|
+ this.region = [].concat(region)
|
|
|
+ },
|
|
|
+ province: function(somedata) {
|
|
|
+ const region =[false, false, false]
|
|
|
+ this.region = [].concat(region)
|
|
|
+ console.log(somedata)
|
|
|
+ },
|
|
|
+ Subscribe(e) {
|
|
|
+ this.$router.push({ path: '/bidding/subList' })
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
|
|
|
-<style scoped>
|
|
|
-
|
|
|
+<style>
|
|
|
+.bid {
|
|
|
+ height: 100%;
|
|
|
+}
|
|
|
+body div {
|
|
|
+ height: 100%;
|
|
|
+}
|
|
|
+.p1 {
|
|
|
+ display: -webkit-box;
|
|
|
+ /* -webkit-box-orient: vertical; */
|
|
|
+ /*! autoprefixer: ignore next */
|
|
|
+ -webkit-box-orient: vertical;
|
|
|
+ -webkit-line-clamp: 3;
|
|
|
+ overflow: hidden;
|
|
|
+}
|
|
|
</style>
|