Browse Source

修改调整

carey0001 4 years ago
parent
commit
b3b22cc24c

+ 3 - 3
assets/new.scss

@@ -133,11 +133,11 @@ $f0f0f0:#f0f0f0;
             right: 0;
         }
         img{
-            width: 2.2rem;
-            height: 2.2rem;
+            width: 1.6rem;
+            height: 1.6rem;
             position: absolute;
             top: 50%;
-            margin-top: -1.1rem;
+            margin-top: -0.8rem;
         }
         a{
             position: absolute;

+ 1 - 0
components/meSearch.vue

@@ -4,6 +4,7 @@
   </div>
 </template>
 <script>
+import '~/assets/a.scss' // 引入
 export default{
  
 }

+ 79 - 0
components/subItem.vue

@@ -0,0 +1,79 @@
+<template>
+  <div class="sub_item">
+    <i class="sub_time">
+      <span>5月8日</span> 更新
+    </i>
+    <div class="sub_show">
+      <h3>刚刚,华北地区发不了20条电力招标公告</h3>
+      <p>中标公告为:</p>
+      <ul>
+        <li>保定恒源祥电气设备公司招标******</li>
+        <li>中偶同逊色韩第一工程招投标******</li>
+        <li>...</li>
+      </ul>
+      <nuxt-link to>查看详情</nuxt-link>
+    </div>
+  </div>
+</template>
+
+<script>
+import '~/static/css/style.css' // 引入
+import '~/assets/new.scss' // 引入
+
+export default {
+  data() {
+    return {
+      current: "0",
+    }
+  }
+}
+</script>
+  
+<style>
+.sub_item {
+  margin-bottom: 24px;
+  background-color: rgba(0, 0, 0, 0);
+  
+  text-align: center;
+}
+.sub_item h3 {
+  padding: 10px 0;
+}
+.sub_item .sub_time {
+  border-radius: 4px;
+  padding: 4px 8px;
+  font-size: 12px;
+  color: #fff;
+  background-color: rgba(0, 0, 0, 0.12);
+  margin-bottom: 10px;
+  font-style: normal;
+  display: inline-block;
+}
+.sub_item .sub_show {
+  text-align: left;
+  padding: 0 1.5rem;
+  background-color: #fff;
+  border-radius: 8px;
+  padding-top: 1rem;
+}
+.sub_item .sub_show {
+  text-align: left;
+}
+.sub_item .sub_show p{
+  margin-top: 10px;
+}
+.sub_item .sub_show ul{
+  margin-bottom: 10px;
+}
+.sub_item .sub_show ul li {
+  color: #afafaf;
+  line-height: 30px;
+}
+.sub_item .sub_show a {
+  padding: 15px 0;
+  color: #202020;
+  text-decoration: none;
+  border-top: 1px solid #f0f0f0;
+  display: block;
+}
+</style>

+ 119 - 0
components/toPay.vue

@@ -0,0 +1,119 @@
+<template>
+  <div class="to_pay clear-both">
+    <ul class="pay_box">
+      <li class="pay_title">招投标信息  3月</li>
+      <li class="pay_price">
+        <span>支付金额</span>
+        <p>¥837.00</p>
+      </li>
+      <li class="pay_way">
+        <span>支付方式</span>
+        <p>微信支付</p>
+      </li>
+      <li class="pay_confirm">
+        <button>确认支付</button> 
+        <p>
+        会员更划算哦!点击
+        <span>成为会员</span></p>
+      </li>
+      <!-- <li class="pay_title"></li> -->
+    </ul>
+  </div>
+</template>
+<script>
+
+import '~/assets/new.scss' // 引入
+import '~/assets/a.scss' // 引入
+import '~/static/css/style.css' // 引入
+export default{
+  data(){
+    return {
+      msg:''
+    }
+  }
+}
+</script>
+  
+<style scoped>
+body div{
+  height: 100%;
+}
+.to_pay{
+  width: 100%;
+  height: 100%;
+  background-color: rgba(0, 0, 0, 0.3);
+}
+.pay_box{
+  width: 100%;
+  position: fixed;
+  left: 0;
+  right: 0;
+  bottom: 0;
+  max-height: 360px;
+      background-color: #fff;
+  /* padding-bottom: 20px; */
+}
+.pay_box li{
+  padding: 20px 1.5rem;
+  position: relative;
+}
+.pay_box li::after{
+  content: '';
+  display: block;
+  position: absolute;
+  width: 100%;
+  height: 1px;
+  left: 0;
+  bottom: 0;
+  right: 0;
+  background-color: #f0f0f0;
+}
+.pay_box li:last-child::after{
+  height: 0;
+}
+.pay_box .pay_title{
+    font-size: 16px;
+    font-family: PingFang-SC-Bold;
+    font-weight: bold;
+    color: #202020;
+}
+.pay_box li p{
+  float: right;
+  /* color: #ff5c5c; */
+  
+}
+.pay_box li span{
+  color: #afafaf;
+}
+.pay_box .pay_confirm{
+  
+}
+.pay_box .pay_confirm button{
+  width: 90%;
+    height: 50px;
+    background: #ff5c5c;
+    border-radius: 8px;
+    border: none;
+    margin: auto;
+    display: block;
+    color: #fff;
+    font-size: 16px;
+    font-family: PingFang-SC-Medium;
+    font-weight: 500;
+}
+.pay_box .pay_confirm p{
+  font-size: 14.5px;
+    font-family: PingFang-SC-Medium;
+    font-weight: 500;
+    color: #afafaf;
+    text-align: center;
+    margin-top: 10px;
+    float: none;
+}
+.pay_box .pay_confirm p span{
+  color: red;
+  font-weight: bold;
+  margin-top: 10px;
+}
+
+</style>

+ 30 - 0
components/toast.vue

@@ -0,0 +1,30 @@
+<template>
+  <div class="my_toast">
+    <!-- 提示 -->
+    <p>
+      {{ ntoast }}
+    </p>
+  </div>
+</template>
+<script>
+export default{
+  data(){
+    props:{
+      ntoast:String
+    }
+  }
+}
+</script>
+  
+<style>
+.my_toast{
+  text-align: center;
+}
+.my_toast p{
+  padding: 4px 8px;
+  border-radius: 4px;
+  background-color: rgba(0, 0, 0, .6);
+  font-size: 12px;
+  color: #fff;
+}
+</style>

+ 35 - 0
pages/bidding/subArea.vue

@@ -0,0 +1,35 @@
+<template>
+  <div class="chooseArea">
+    <tit :tname="name"/>
+    <areaone/>
+  </div>
+  <!-- 最外的盒子 -->
+</template>
+
+
+<script>
+import '~/assets/new.scss' // 引入
+import '~/static/css/style.css' // 引入
+import areaone from '~/components/areaSelect.vue'
+import tit from '~/components/titles.vue'
+export default {
+  
+  data(){
+    return{
+      name:'选择地区'
+    }
+  },
+ components:{
+   areaone,tit
+ }
+}
+</script>
+
+<style>
+body {
+  background-color: #fff!important;
+}
+.page_detail_list{
+  padding: 0 1.5rem;
+}
+</style>

+ 121 - 0
pages/bidding/subKeywords.vue

@@ -0,0 +1,121 @@
+<template>
+  <div class="sub_key">
+    <tit :tname="name"/>
+    <!-- 关键词列表 -->
+    <ul class="stage_box">
+      <li v-for="(item,index) in stages" :key="index">
+        {{ item.text }}
+        <img src="../../static/img/icon_delete.png">
+      </li>
+    </ul>
+    <div class="add_box">
+      <input type="text" placeholder="输入关键词">
+      <button>+&nbsp;添加</button>
+    </div>
+    <p>提示:最多添加10个关键词?</p>
+  </div>
+</template>
+<script>
+import tit from '~/components/titles.vue'
+export default {
+  data() {
+    return {
+      name: '自定义关键词',
+      stages: [
+        { text: '电源' },
+        { text: '工程筹备' },
+        { text: '主体施工' },
+        { text: '设备安装' },
+        { text: '电源' },
+        { text: '工程筹备' },
+        { text: '主体施工' },
+        { text: '设备安装' }
+      ]
+    }
+  },
+  methods: {
+    chooseOne: function(index) {
+      this.current = index
+    }
+  },
+  components: {
+    tit
+  }
+}
+</script>
+  
+<style>
+.sub_key {
+}
+.sub_key p{
+  color: #ccc;
+  font-size: 12px;
+  padding-left: 2rem;
+  margin-top: 10px;
+}
+.sub_key .stage_box {
+  width: 100%;
+  padding: 0 1.5rem;
+}
+.sub_key .stage_box li {
+  background-color: #f2f2fa;
+  border-radius: 4px;
+  padding: 6px 12px;
+  display: inline-block;
+  margin-right: 10px;
+  text-align: center;
+  margin-top: 20px;
+}
+.sub_key .stage_box li img {
+  width: 10px;
+  vertical-align: middle;
+  margin-left: 6px;
+}
+.sub_key .stage_box li::after {
+  position: absolute;
+  content: '';
+  display: block;
+  height: 1px;
+  left: 0;
+  bottom: 0;
+  right: 0;
+  background-color: #f0f0f0;
+  margin-right: -1.5rem;
+  margin-left: -1.5rem;
+}
+.sub_key .stage_box li.active {
+  background-image: url('../../static/img/icon_selected.png');
+  color: #ff5c5c;
+}
+.add_box {
+  width: 100%;
+  border-radius: 8px;
+  position: relative;
+  margin-top: 20px;
+  padding: 0 1.5rem;
+}
+.add_box input {
+  height: 40px;
+  line-height: 40px;
+  border: 1px solid #f0f0f0;
+   width: 100%;
+   padding-left: 1rem;
+   padding-right: 8rem;
+   border-radius: 8px;
+   outline: none;
+}
+.add_box button {
+  height: 40px;
+  line-height: 40px;
+  position: absolute;
+  top: 0;
+  right: 1.5rem;
+  background-color: #ff5c5c;
+  text-align: center;
+  border: none;
+  outline: none;
+  color: #fff;
+  padding: 0 20px;
+  border-radius: 8px;
+}
+</style>

+ 97 - 0
pages/bidding/subList.vue

@@ -0,0 +1,97 @@
+<template>
+  <div class="sub_list">
+    <tit :tname="name"/>
+    <ul class="sub_nav clear-both">
+      <li class="active">招投标订阅</li>
+      <li>工程项目订阅</li>
+    </ul>
+    <!-- 订阅列表 -->
+    <ul class="sub_list_show">
+      <li @click="tojump">
+        <subs/>
+      </li>
+      <li @click="tojump">
+        <subs/>
+      </li>
+      <li @click="tojump">
+        <subs/>
+      </li>
+    </ul>
+    <!-- end:订阅列表 -->
+    <button @click="jump">添加订阅</button>
+  </div>
+</template>
+
+<script>
+import subs from '~/components/subItem.vue'
+import tit from '~/components/titles.vue'
+
+export default {
+  data() {
+    return {
+      name: '订阅列表'
+    }
+  },
+  components: {
+    subs,
+    tit
+  },
+  methods: {
+    // selected: function(index){
+    //   this.current=index;
+    // }
+    jump() {
+      this.$router.push({
+        path: 'sub'
+      })
+    },
+    tojump: function() {
+      this.$router.push({
+        path: 'subMine'
+      })
+    }
+  }
+}
+</script>
+  
+<style scoped>
+.sub_list {
+  width: 100%;
+  background-color: #f8f9fa !important;
+  padding-bottom: 50px;
+  height: auto;
+}
+.sub_list button {
+  width: 100%;
+  height: 50px;
+  line-height: 50px;
+  position: fixed;
+  background-color: #ff5c5c;
+  text-align: center;
+  bottom: 0;
+  max-width: 500px;
+  color: #fff;
+  font-size: 18px;
+  border: 0;
+  outline: none;
+}
+.sub_list .sub_list_show {
+  width: 100%;
+  padding: 0 1.5rem;
+}
+.sub_nav {
+  width: 100%;
+  background-color: #fff;
+  margin-bottom: 20px;
+}
+.sub_nav li {
+  width: 50%;
+  float: left;
+  text-align: center;
+  height: 40px;
+  line-height: 40px;
+}
+.sub_nav li.active {
+  color: #ff5c5c;
+}
+</style>

+ 116 - 0
pages/bidding/subMine.vue

@@ -0,0 +1,116 @@
+<template>
+  <section class="bid">
+    <tit :tname='name'/>
+    <ul class="bidlist">
+      <nuxt-link to="/bidding">
+        <li>
+          <h2>喷口内径测量规招标公告</h2>
+          <p class="p1">
+            喷口内径测量规招标公告。信息来源:中国招标投标公共服务
+            平台。招标信息概览占位占位占位占位,占位占位。招标信息
+            概览占位占位占位占位,占位占位。
+          </p>
+          <p class="p2">
+            <span class="label">2000万</span>
+            <span class="time">2019-05-20</span>
+          </p>
+        </li>
+      </nuxt-link>
+      <nuxt-link to="/bidding">
+        <li>
+          <h2>喷口内径测量规招标公告</h2>
+          <p class="p1">
+            喷口内径测量规招标公告。信息来源:中国招标投标公共服务
+            平台。招标信息概览占位占位占位占位,占位占位。招标信息
+            概览占位占位占位占位,占位占位。
+          </p>
+          <p class="p2">
+            <span class="label">2000万</span>
+            <span class="time">2019-05-20</span>
+          </p>
+        </li>
+      </nuxt-link>
+      <nuxt-link to="/bidding">
+        <li>
+          <h2>喷口内径测量规招标公告</h2>
+          <p class="p1">
+            喷口内径测量规招标公告。信息来源:中国招标投标公共服务
+            平台。招标信息概览占位占位占位占位,占位占位。招标信息
+            概览占位占位占位占位,占位占位。
+          </p>
+          <p class="p2">
+            <span class="label">2000万</span>
+            <span class="time">2019-05-20</span>
+          </p>
+        </li>
+      </nuxt-link>
+      <nuxt-link to="/bidding">
+        <li>
+          <h2>喷口内径测量规招标公告</h2>
+          <p class="p1">
+            喷口内径测量规招标公告。信息来源:中国招标投标公共服务
+            平台。招标信息概览占位占位占位占位,占位占位。招标信息
+            概览占位占位占位占位,占位占位。
+          </p>
+          <p class="p2">
+            <span class="label">2000万</span>
+            <span class="time">2019-05-20</span>
+          </p>
+        </li>
+      </nuxt-link>
+      <nuxt-link to="/bidding">
+        <li>
+          <h2>喷口内径测量规招标公告</h2>
+          <p class="p1">
+            喷口内径测量规招标公告。信息来源:中国招标投标公共服务
+            平台。招标信息概览占位占位占位占位,占位占位。招标信息
+            概览占位占位占位占位,占位占位。
+          </p>
+          <p class="p2">
+            <span class="label">2000万</span>
+            <span class="time">2019-05-20</span>
+          </p>
+        </li>
+      </nuxt-link>
+    </ul>
+  </section>
+</template>
+
+<script>
+import sel from '~/components/select.vue'
+import tit from '~/components/titles.vue'
+
+export default {
+  components: {
+    sel,tit
+  },
+  data() {
+    return {
+      name:'我的订阅信息列表',
+      author: '微信公众号 jinkey-love'
+    }
+  },
+  methods: {
+    Subscribe(e) {
+      this.$router.push({ path: '/bidding/subList' })
+    }
+  }
+}
+</script>
+
+<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>

+ 18 - 0
pages/firstPage.vue

@@ -0,0 +1,18 @@
+<template>
+  <section class="container">
+    <div>
+      dddsdsd 
+      
+    </div>
+  </section>
+</template>
+
+<script>
+export default {
+ 
+}
+</script>
+
+<style>
+
+</style>

+ 8 - 1
pages/me/chooseArea.vue

@@ -1,5 +1,6 @@
 <template>
   <div class="chooseArea">
+    <tit :tname="name"/>
     <areaone/>
   </div>
   <!-- 最外的盒子 -->
@@ -10,10 +11,16 @@
 import '~/assets/new.scss' // 引入
 import '~/static/css/style.css' // 引入
 import areaone from '~/components/areaSelect.vue'
+import tit from '~/components/titles.vue'
 
 export default {
+  data(){
+    return{
+      name:'选择区域'
+    }
+  },
  components:{
-   areaone
+   areaone,tit
  }
 }
 </script>

+ 8 - 1
pages/me/chooseIndustry.vue

@@ -1,5 +1,6 @@
 <template>
   <div class="choose_industry">
+    <tit :tname="name"/>
     <industry/>
   </div>
   <!-- 最外的盒子 -->
@@ -10,10 +11,16 @@
 import '~/assets/new.scss' // 引入
 import '~/static/css/style.css' // 引入
 import industry from '~/components/industrySelect.vue'
+import tit from '~/components/titles.vue'
 
 export default {
+  data(){
+    return{
+      name:'行业选择'
+    }
+  },
  components:{
-   industry
+   industry,tit
  }
 }
 </script>

+ 81 - 0
pages/me/myIdentity00.vue

@@ -0,0 +1,81 @@
+<template>
+  <div class="page_identity">
+    <tit :tname="name" />
+    <!-- 填写表单 -->
+    <form action="" class="" >
+      <!-- 基本资料 -->
+      <div class="info_basic ">
+        <div class="item_form clear_both">
+          <label for="" class="">姓名</label>
+          <div class="form_input">
+            <input type="text" placeholder="请输入姓名">
+          </div>
+        </div>
+
+        <div class="item_form clear_both">
+          <label for="" class="">手机号</label>
+          <div class="form_input">
+            <input type="tel" placeholder="请输入手机号">
+          </div>
+        </div>
+
+        <div class="item_form clear_both">
+          <label for="" class="">公司</label>
+          <div class="form_input">
+            <input type="text" placeholder="请输入公司名">
+          </div>
+        </div>
+
+        <div class="item_form clear_both">
+          <label for="" class="">职位</label>
+          <div class="form_input">
+            <input type="text" placeholder="请输入职位">
+          </div>
+        </div>
+      </div>
+      <!-- end:基本资料 -->
+
+      <!-- 上传名片 -->
+      <div class="img_upload">
+         <input type="file" accept="image/*" id="camera" capture="camera">
+         <p class="notice">身份认证后能获得发布资源权限,以及优质合作。</p>
+      </div>
+      <!-- end:上传名片 -->
+    </form>
+    <!-- end:填写表单 -->
+    
+    
+  </div>
+
+</template>
+
+
+<script>
+import '~/assets/new.scss' // 引入
+import '~/static/css/style.css' // 引入
+import tit from '~/components/titles.vue'
+export default {
+  data(){
+    return{
+      name:'实名认证///折页不需要',
+    }
+  }
+}
+</script>
+
+<style>
+input::-webkit-input-placeholder{
+    color:#a9a9a9;
+}
+input::-moz-placeholder{   
+  /* Mozilla Firefox 19+ */
+    color:#a9a9a9;
+}
+input:-moz-placeholder{   
+   /* Mozilla Firefox 4 to 18 */
+    color:#a9a9a9;
+}
+input:-ms-input-placeholder{  
+  /* Internet Explorer 10-11 */ 
+  color:#a9a9a9;}
+</style>

+ 21 - 0
pages/me/myTopay.vue

@@ -0,0 +1,21 @@
+<template>
+  <div class="page_topay">
+    <topay/>
+  </div>
+
+</template>
+
+
+<script>
+import '~/assets/details.scss'
+import topay from '~/components/topay.vue'
+export default {
+ 
+  components:{
+    topay
+  }
+}
+</script>
+
+<style>
+</style>

+ 2 - 2
pages/me/myVip.vue

@@ -98,7 +98,7 @@
                     <p class="buy_month">全国年费直通车</p>
                     <p class="buy_price"><span>¥</span>1915/年</p>
                     <del>¥4699</del>
-                    <a href="">购买</a>
+                    <nuxt-link to="">购买</nuxt-link>
                     <!-- <del>666</del> -->
                   </div>
               </div>
@@ -155,7 +155,7 @@
             <div>
               <p><i>·&nbsp;到期时间</i><span>2019-05-20 13:14</span></p>
             </div>
-            <a href="#" class="pay_more">续费</a>
+            <nuxt-link to="" class="pay_more">购买</nuxt-link>
           </div>
 
           <!-- 添加地区 -->

BIN
static/img/icon_myAccount.png


BIN
static/img/icon_myCollection.png


BIN
static/img/icon_myMember.png


BIN
static/img/icon_myPurchase.png


BIN
static/img/icon_myQuit.png


BIN
static/img/icon_myReco.png