| | |
| | | <template> |
| | | <img :src="url" alt="" /> |
| | | <img class="a111" :src="url" alt="" /> |
| | | </template> |
| | | |
| | | <script> |
| | |
| | | }, |
| | | computed: { |
| | | url() { |
| | | if (this.src.indexOf("http://apps.smartai.com/httpImage/") === -1) { |
| | | return "httpImage" + this.src; |
| | | if ( |
| | | this.src && |
| | | this.src.indexOf("http://apps.smartai.com/httpImage/") === -1 && |
| | | this.src.indexOf("/images") !== 0 |
| | | ) { |
| | | return "/httpImage/" + this.src; |
| | | } else { |
| | | return this.src; |
| | | } |
| | |
| | | console.log(item); |
| | | } |
| | | |
| | | item.logoUrl = "/httpImage/" + item.logoUrl; |
| | | if ( |
| | | item.logoUrl.indexOf("http://apps.smartai.com/httpImage/") === -1 |
| | | ) { |
| | | item.logoUrl = "/httpImage/" + item.logoUrl; |
| | | } |
| | | |
| | | if (item.priceBase === 0) { |
| | | this.freeAlg.push(item); |
| | | } else { |
| | |
| | | class="banner_content" |
| | | :style="{ |
| | | // backgroundImage: 'url(' + baseImg + ')', |
| | | backgroundImage: 'url(' + (item.pic ? item.pic : baseImg) + ')', |
| | | backgroundImage: 'url(' + getUrl(item.pic) + ')', |
| | | backgroundSize: '100% 100%', |
| | | backgroundRepeat: 'no-repeat', |
| | | }" |
| | |
| | | toggleBanner(i) { |
| | | this.$refs["banner"].setActiveItem(i); |
| | | }, |
| | | getUrl(url) { |
| | | if (!url) { |
| | | return this.baseImg; |
| | | } else if ( |
| | | url.indexOf("http://apps.smartai.com/httpImage/") === -1 && |
| | | url.indexOf("/images") !== 0 |
| | | ) { |
| | | return "/httpImage/" + url; |
| | | } |
| | | return url; |
| | | }, |
| | | }, |
| | | }; |
| | | </script> |
| | |
| | | <div class="rightColumn"> |
| | | <div class="columnItem" v-for="(item, index) in product" :key="index"> |
| | | <div class="title"> |
| | | <img :src="'/httpImage/' + item.logoUrl" alt="" /> |
| | | <ImageShow :src="item.logoUrl"></ImageShow> |
| | | {{ item.modelName }} |
| | | </div> |
| | | <div class="des limitRow2"> |
| | |
| | | <div class="rightRrid"> |
| | | <div class="gridItem" v-for="(item, index) in product" :key="index"> |
| | | <div class="title"> |
| | | <img :src="'/httpImage/' + item.logoUrl" alt="" /> |
| | | <ImageShow :src="item.logoUrl"></ImageShow> |
| | | {{ item.modelName }} |
| | | </div> |
| | | <div class="des limitRow2"> |
| | |
| | | <template> |
| | | <div class="productCard"> |
| | | <div class="image"> |
| | | <img |
| | | v-if="data.pics[0]" |
| | | :src="'/httpImage/' + data.pics[0].url" |
| | | class="cursor-pointer" |
| | | /> |
| | | <ImageShow v-if="data.pics[0]" :src="data.pics[0].url"></ImageShow> |
| | | </div> |
| | | |
| | | <div class="info"> |
| | | <img :src="'/httpImage/' + data.logoUrl" alt /> |
| | | <ImageShow v-if="data.pics[0]" :src="data.logoUrl"></ImageShow> |
| | | <div class="right"> |
| | | <div class="name">{{ data.productName }}</div> |
| | | <div class="tagList"> |
| | |
| | | <template> |
| | | <div class="PayCard"> |
| | | <div class="imageArea" v-if="data.pics.length"> |
| | | <img class="activeImg" :src="'/httpImage/' + activeImg.url" /> |
| | | <ImageShow class="activeImg" :src="activeImg.url" /> |
| | | <div class="imgList"> |
| | | <img |
| | | <ImageShow |
| | | v-for="(item, index) in data.pics" |
| | | class="preImg" |
| | | :src="'/httpImage/' + item.url" |
| | | :src="item.url" |
| | | :key="index" |
| | | alt="" |
| | | :class="{ active: activeImg.index == index }" |
| | | @click="selectImg(index, item.url)" |
| | | @click.native="selectImg(index, item.url)" |
| | | /> |
| | | </div> |
| | | </div> |
| | |
| | | <template> |
| | | <div class="SdkItem"> |
| | | <div class="icon"> |
| | | <img :src="'/httpImage/' + sdk.logoUrl" alt="" /> |
| | | <ImageShow :src="sdk.logoUrl" alt="" /> |
| | | </div> |
| | | <div class="title">{{ sdk.productName }}</div> |
| | | <div class="des limitRow2"> |