提交 90651230 编写于 作者: zhangzhiwei's avatar zhangzhiwei

.

上级 25661cf5
......@@ -49,7 +49,7 @@
}
}
console.log(window.location.port,'window.location.port');
uni.setStorageSync('subdomain',window.location.port === '3000'?'alisa1':'0571gs008')
uni.setStorageSync('subdomain',window.location.port === '3000'?'0571gs008':'0571gs008')
});
onShow(() => {
console.log("App Show");
......
......@@ -9,7 +9,7 @@
{{ item.title }}
</text>
</view>
<view style="display: flex;background: #ffffff;padding: 15rpx" class="text01">
<view style="display: flex;background: #ffffff;padding: 15rpx;align-items: center" class="text01">
<view class="text-orange text-ss">
<text class="text-bold text-l">{{ item.salePrice }}</text>
</view>
......
......@@ -109,15 +109,6 @@ view
<view class="justify-middle" style="position:relative" @tap="onGood(gItem)">
<van-image class="pd-l-px-10" height="110px" width="110px" fit="cover" :src="gItem.mainImg"
loading-icon="https://img.edsmall.com/ROOT/ETao/fenxiao/h5/default1.png" icon-size="110px" />
<!--购物车活动角标-->
<div class="sign" v-if="gItem.subScriptImgUrl">
<img :src="gItem.subScriptImgUrl" alt="" />
<div class="discount" style="color: rgba(247, 103, 67, 1)">{{gItem.discount}}</div>
</div>
<span v-for="(item,index) in gItem.leftDownIcons" :key="index" :style="{left:index*35+'px'}" style="position:absolute;bottom:0;">
<van-image width="32px" height="16px"
:src="item" />
</span>
</view>
<view class="pd-l-px-10" @tap="onGood(gItem)">
<view class="text-m ellipsis line_over2" style="width: calc(100vw - 180px)">{{
......
......@@ -22,15 +22,7 @@
loading-icon="https://img.edsmall.com/ROOT/ETao/fenxiao/h5/default1.png"
icon-size="100vw"
:src="skuData.mainImg" />
<!--详情页活动角标-->
<div class="sign" v-if="skuData.subScriptImgUrl">
<img :src="skuData.subScriptImgUrl" alt="" />
<div class="discount" style="color: rgba(247, 103, 67, 1)">{{skuData.discount}}</div>
</div>
<van-image v-if="zoneIcon[0]" class="zone_icon" style="left: 10rpx" width="60rpx" :src="zoneIcon[0]" />
<van-image v-if="zoneIcon[1]" class="zone_icon" style="left: 80rpx" width="60rpx"
:src="zoneIcon[1]" />
<!--<span v-if="skuData.coTip==1" class="zone_icon host_tip" style="left: 90rpx;">热销</span>-->
</van-swipe-item>
<template v-if="video" #indicator="{ active, total }">
<view class="justify-center">
......
......@@ -21,7 +21,7 @@
loading-icon="https://img.edsmall.com/ROOT/ETao/fenxiao/h5/default1.png" />
</view>
</van-col>
<van-col span="15">
<van-col span="16">
<view style="padding: 15rpx;background: #ffffff">
<text class="text-s ellipsis line_over2" style="text-align: left;background: #ffffff;line-height: 36rpx">
......@@ -39,7 +39,7 @@
</view>
<view @click="check(item)">
<img src="../../static/img/car_search.png"
style="width: 1.8rem" alt="">
style="width: 1.8rem;margin-right: 6rpx" alt="">
</view>
</view>
</van-col>
......
......@@ -200,6 +200,7 @@ function onAddressChange(item: any) {
function goBack() {
if (state.switch.isComponent) {
emit("cancel");
PageUtils.goBack()
} else {
PageUtils.goBack()
}
......
......@@ -32,15 +32,6 @@
<view class="justify-middle" style="position:relative" @tap="onProduct(gItem)">
<van-image height="88px" width="88px" fit="cover" :src="gItem.imgPath"
loading-icon="https://img.edsmall.com/ROOT/ETao/fenxiao/h5/default1.png" icon-size="88px" />
<!--商品收藏活动角标-->
<div class="sign" v-if="gItem.subScriptImgUrl">
<img :src="gItem.subScriptImgUrl" alt="" />
<div class="discount" style="color: rgba(247, 103, 67, 1)">{{gItem.discount}}</div>
</div>
<span v-for="(item,index) in gItem.leftDownIcons" :key="index" :style="{left:index*35+'px'}" style="position:absolute;bottom:0;">
<van-image width="32px" height="16px"
:src="item" />
</span>
</view>
<view class="pd-l-20" @tap="onProduct(gItem)">
<view class="text-m ellipsis line_over2 pd-b-25" style="width: calc(100vw - 340rpx);min-height: 36px">
......
......@@ -40,21 +40,10 @@
<van-col span="8" style="position: relative">
<van-image class="self_center" width="100%" height="100%" lazy-load
:src="good.goodsImg" />
<!--订单详情活动角标-->
<div class="sign" v-if="good.subScriptImgUrl">
<img :src="good.subScriptImgUrl" alt="" />
<div class="discount" style="color: rgba(247, 103, 67, 1)">{{good.discount}}</div>
</div>
<view style="position: absolute;left: 0;bottom: 0;" v-if="good.conner.dailyIcons[0]">
<span style="margin-right: 5px" v-for="item in good.dailyIcons">
<van-image width="60rpx" height="32rpx" :src="item" />
</span>
</view>
<!--<van-image v-if="good.conner.dailyIcons[0]" :src="good.conner.dailyIcons[0]" style="position: absolute;left: 0;bottom: 0" width="60rpx" />-->
</van-col>
<van-col span="15" offset="1">
<p class="ellipsis line_over2 pd-t-10" style="height: 36px;margin-bottom:6px;font-size: 15px">
<p class="ellipsis line_over2 pd-t-10" style="margin-bottom:6px;font-size: 15px">
{{ good.goodsInfo }}
</p>
<div style="line-height: 1.2rem;font-size: 13px">
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册