wuhongyu 5 tahun lalu
induk
melakukan
d0c02fb7ee
1 mengubah file dengan 21 tambahan dan 5 penghapusan
  1. 21 5
      src/views/market/marketlists.vue

+ 21 - 5
src/views/market/marketlists.vue

@@ -18,7 +18,6 @@
               <p>{{ item.meta && item.meta.createdAt ? new Date(item.meta.createdAt).toLocaleDateString() : '' || '' }}</p>
               <p>
                 <span class="textOver" @click="clickshanpin(item.id)">{{ item.name }} </span>
-                <span><el-button type="text" @click="fabu()">我要发布</el-button></span>
                 <span>{{ item.introduction }}</span>
               </p>
             </el-col>
@@ -30,8 +29,6 @@
             <el-col class="infoRightList" :span="24" v-for="(item, index) in jishuList" :key="index">
               <p>
                 <span class="textOver" @click="clickjishu(item.id)">{{ item.name }}</span>
-
-                <span><el-button type="text" @click="fabu()">我要发布</el-button></span>
                 <span class="textOver">{{ item.meta && item.meta.createdAt ? new Date(item.meta.createdAt).toLocaleDateString() : '' || '' }}</span>
               </p>
             </el-col>
@@ -43,7 +40,6 @@
             <el-col class="infoRightList" :span="24" v-for="(item, index) in hangyeList" :key="index">
               <p>
                 <span class="textOver" @click="clickfuwu(item.id)">{{ item.name }}</span>
-                <span><el-button type="text" @click="fabu()">我要发布</el-button></span>
                 <span class="textOver">{{ item.meta && item.meta.createdAt ? new Date(item.meta.createdAt).toLocaleDateString() : '' || '' }}</span>
               </p>
             </el-col>
@@ -56,7 +52,6 @@
               <p>{{ item.meta && item.meta.createdAt ? new Date(item.meta.createdAt).toLocaleDateString() : '' || '' }}</p>
               <p>
                 <span class="textOver" @click="clickzhuanjia(item.id)">{{ item.name }}</span>
-                <span><el-button type="text" @click="fabu()">我要发布</el-button></span>
                 <span>{{ item.job_profile }}</span>
               </p>
             </el-col>
@@ -72,6 +67,7 @@
             >
             </el-pagination>
           </el-col>
+          <el-col :span="24" class="marketPublish" @click.native="fabu()"> <span @click="fabu()">我要发布</span></el-col>
         </el-col>
         <el-col :span="19" v-else-if="display == '2'" class="info">
           <context :detailInfo="detailInfo" @onSubmit="onSubmit"></context>
@@ -458,4 +454,24 @@ export default {
   text-align: center;
   font-size: 16px;
 }
+.marketPublish {
+  position: fixed;
+  background: #0279d5;
+  width: 100px;
+  height: 100px;
+  z-index: 999;
+  left: 30%;
+  top: 70%;
+  border-radius: 20px;
+  box-shadow: 2px 2px 2px #055c9f;
+  text-align: center;
+  line-height: 100px;
+  font-size: 20px;
+  color: #fff;
+  font-weight: bold;
+}
+.marketPublish:hover {
+  background: #f60;
+  cursor: pointer;
+}
 </style>