Browse Source

auto commit

gcz 4 years ago
parent
commit
eafba02ceb
1 changed files with 2 additions and 1 deletions
  1. 2 1
      pages/product/product.vue

+ 2 - 1
pages/product/product.vue

@@ -8,7 +8,7 @@
 			:autoplay="swiper.autoplay"
 			:interval="swiper.interval" :duration="swiper.duration">
 				<swiper-item v-for="(item, index) in bannerList" :key="index">
-					<view class="adv-item" @click="swiperClick"><image :src="'http://cqth.hw.hongweisoft.com/ht/' +item" class="pic" mode="scaleToFill"></image></view>
+					<view class="adv-item" @click="swiperClick"><image :src="$onlineImg +item" class="pic" mode="scaleToFill"></image></view>
 				</swiper-item>
 			</swiper>
 		</view>
@@ -84,6 +84,7 @@
 		data() {
 			return {
 				$getimg:this.$getimg,
+				$onlineImg:this.$onlineImg,
 				token:'',
 				thetoken:'',
 				modal: {