luyanan 6 years ago
parent
commit
4f4259d140

+ 1 - 1
src/components/main-views/ViewFindResource.vue

@ -24,7 +24,7 @@
24 24
      </div>
25 25
    </div>
26 26
    <div class="wrapper-right">
27
      <div class="block-wrapper" v-if="plat.adinfo">
27
      <div class="block-wrapper" v-if="plat.adinfo.length">
28 28
        <a class="ad-wrapper" :href="plat.adinfo[0].adUrl" target="_blank">
29 29
          <img :src="plat.adinfo[0].imgUrl" width="280" height="200">
30 30
        </a>

+ 3 - 3
src/components/main-views/ViewFindServe.vue

@ -24,9 +24,9 @@
24 24
			</div>
25 25
		</div>
26 26
		<div class="wrapper-right">
27
			<div class="block-wrapper" v-if="plat.adinfo">
28
				<a class="ad-wrapper" :href="plat.adinfo[0].adUrl" target="_blank">
29
					<img :src="plat.adinfo[0].imgUrl" width="280" height="200">
27
			<div class="block-wrapper" v-if="plat.adinfo.length" v-for="item in plat.adinfo" :key="item.index">
28
				<a class="ad-wrapper" :href="item.adUrl" target="_blank">
29
					<img :src="item.imgUrl" width="280" height="200">
30 30
				</a>
31 31
			</div>
32 32
		</div>

+ 6 - 6
src/components/main-views/ViewPlatTrend.vue

@ -18,12 +18,12 @@
18 18
			</div>
19 19
		</div>
20 20
		<div class="wrapper-right">
21
			<div class="block-wrapper" v-if="plat.adinfo">
22
				<a class="ad-wrapper" :href="plat.adinfo[0].adUrl" target="_blank">
23
					<img :src="plat.adinfo[0].imgUrl" width="280" height="200">
24
				</a>
25
			</div>
26
		</div>
21
      <div class="block-wrapper" v-if="plat.adinfo.length" v-for="item in plat.adinfo" :key="item.index">
22
        <a class="ad-wrapper" :href="item.adUrl" target="_blank">
23
          <img :src="item.imgUrl" width="280" height="200">
24
        </a>
25
      </div>
26
    </div>
27 27
		<BackTop></BackTop>
28 28
  </div>
29 29
</template>

+ 4 - 4
static/plat-info.js

@ -16,10 +16,10 @@ PLAT.info = {
16 16
  "bannerurl": "/static/xtkfq/banner.jpg",
17 17
  "platimgurl": "/static/xtkfq/platimg.jpg",
18 18
  "adinfo":[
19
    {
20
      "adUrl": "javascript:void(0)",
21
      "imgUrl": "/static/xtkfq/ad/xtfh.jpg"
22
    }
19
    // {
20
    //   "adUrl": "javascript:void(0)",
21
    //   "imgUrl": "/static/xtkfq/ad/xtfh.jpg"
22
    // }
23 23
  ],
24 24
  "foot_cl": "2016-2018 邢台市科智创新服务中心",
25 25
  "foot_cn": "冀ICP备18020508号",