|
@@ -7,42 +7,61 @@
|
|
|
</template>
|
|
</template>
|
|
|
</EnBlank>
|
|
</EnBlank>
|
|
|
</view>
|
|
</view>
|
|
|
- <view v-else class="item-box mb-16 bgc-f p-24 box-border-box display-flex" v-for="(item,index) in list"
|
|
|
|
|
- :key="index" @click="goToUrl(item)">
|
|
|
|
|
- <view class="item-left flex-shrink0">
|
|
|
|
|
- <image :src="item.shop_logo" mode="aspectFill" class="shop_logo mr-16"></image>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="item-right flex-1">
|
|
|
|
|
- <view class="w-240 fs-34 fc-3 fw-600 mb-8 text-overflow-ellipsis-one">
|
|
|
|
|
- {{item.shop_name}}
|
|
|
|
|
|
|
+ <view v-else class="item-box mb-16 bgc-f p-28-20-39 box-border-box" v-for="(item,index) in list" :key="index"
|
|
|
|
|
+ @click="goToUrl(item)">
|
|
|
|
|
+ <view class="display-flex">
|
|
|
|
|
+ <view class="flex-shrink0">
|
|
|
|
|
+ <image :src="item.shop_logo" mode="aspectFill" class="shop_logo mr-30"></image>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="align-items-center flex-justify-space mb-4">
|
|
|
|
|
- <view class="fs-24 fc-9 w-150 text-overflow-ellipsis">
|
|
|
|
|
- {{item.address}}
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="fs-24 fc-9 flex-shrink0">
|
|
|
|
|
- 销量{{item.shop_sales}}
|
|
|
|
|
|
|
+ <view class="item-right flex-1 flex-direction flex-justify-around">
|
|
|
|
|
+ <view class="">
|
|
|
|
|
+ <view class="w-240 fs-32 fc-0 fw-b mb-12 text-overflow-ellipsis-one">
|
|
|
|
|
+ {{item.shop_name}}
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="align-items-center">
|
|
|
|
|
+ <image class="dw mr-8" src="@/static/img/group/jl.png" mode=""></image>
|
|
|
|
|
+ <view class="fs-24 fc-a">
|
|
|
|
|
+ {{item.address}}
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
- </view>
|
|
|
|
|
- <view class="align-items-center flex-justify-end pb-10 b-b-F9F9F9 mb-12">
|
|
|
|
|
- <image class="dw mr-4" src="@/static/img/my/wz-two.png" mode=""></image>
|
|
|
|
|
- <view class="fs-24 fc-9">
|
|
|
|
|
- 距离{{item.distance}}Km
|
|
|
|
|
|
|
+ <view class="align-items-center flex-justify-space">
|
|
|
|
|
+ <view class="align-items-center">
|
|
|
|
|
+ <view class="fs-24 fc-a">
|
|
|
|
|
+ 距离{{item.distance}}Km
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="hr"></view>
|
|
|
|
|
+ <view class="fs-24 fc-a">
|
|
|
|
|
+ 销量{{item.shop_sales}}
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="ljqg-but fs-28 fw-b fc-F6531E text-align-center">
|
|
|
|
|
+ 立即抢购
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="align-items-center" v-for="(goodsItem,goodsIndex) in item.goods" :key="goodsIndex">
|
|
|
|
|
- <view class="fs-30 fw-600 fc-ff3939 mr-8 flex-shrink0">
|
|
|
|
|
- <span class="fs-24 fw-600 fc-ff3939">¥</span>
|
|
|
|
|
- {{goodsItem.price}}
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="mr-8 fs-20 fc-ff3939 discount-box flex-shrink0">
|
|
|
|
|
- 6.3折
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="mr-8 fc-9 fs-24 flex-shrink0 line-price">
|
|
|
|
|
- ¥{{goodsItem.line_price}}
|
|
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="pt-48" v-if="item.goods.length>0">
|
|
|
|
|
+ <view class="align-items-center flex-justify-space list-b" v-for="(goodsItem,goodsIndex) in item.goods" :key="goodsIndex">
|
|
|
|
|
+ <view class="align-items-center">
|
|
|
|
|
+ <view class="mr-8 discount-box flex-shrink0">
|
|
|
|
|
+ <image class="zkbg-img" src="@/static/img/group/zkbg.png" mode=""></image>
|
|
|
|
|
+ <view class="zkje fs-24 fc-f">
|
|
|
|
|
+ 6.3折
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="fs-24 fc-0 max-w-252 text-overflow-ellipsis-one">
|
|
|
|
|
+ {{goodsItem.title}}
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="fs-26 max-w-130 text-overflow-ellipsis-one">
|
|
|
|
|
- {{goodsItem.title}}
|
|
|
|
|
|
|
+ <view class="align-items-center">
|
|
|
|
|
+ <view class="fs-32 fw-b fc-F93435 mr-12 flex-shrink0">
|
|
|
|
|
+ <span class="fs-24 fw-b fc-F93435">¥</span>
|
|
|
|
|
+ {{goodsItem.price}}
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="fc-a fs-24 flex-shrink0 line-price">
|
|
|
|
|
+ ¥{{goodsItem.line_price}}
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
@@ -93,18 +112,35 @@
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
|
- .max-w-130{
|
|
|
|
|
- width: 200rpx;
|
|
|
|
|
|
|
+ .hr{
|
|
|
|
|
+ width: 1rpx;
|
|
|
|
|
+ height: 16rpx;
|
|
|
|
|
+ background: #DEDEDE;
|
|
|
|
|
+ margin: 0 11rpx 0 17rpx;
|
|
|
|
|
+ }
|
|
|
|
|
+ .ljqg-but{
|
|
|
|
|
+ width: 164rpx;
|
|
|
|
|
+ height: 54rpx;
|
|
|
|
|
+ line-height: 54rpx;
|
|
|
|
|
+ background: linear-gradient(-90deg, #FFE192, #FFD568);
|
|
|
|
|
+ box-shadow: 0rpx 2rpx 21rpx 0rpx rgba(232,183,55,0.48);
|
|
|
|
|
+ border-radius: 27rpx;
|
|
|
}
|
|
}
|
|
|
- .line-price{
|
|
|
|
|
|
|
+ .max-w-252 {
|
|
|
|
|
+ width: 252rpx;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .line-price {
|
|
|
text-decoration: line-through;
|
|
text-decoration: line-through;
|
|
|
}
|
|
}
|
|
|
- .dw{
|
|
|
|
|
- width: 20rpx;
|
|
|
|
|
- height: 20rpx;
|
|
|
|
|
|
|
+
|
|
|
|
|
+ .dw {
|
|
|
|
|
+ width: 16rpx;
|
|
|
|
|
+ height: 18rpx;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.w-240 {
|
|
.w-240 {
|
|
|
- width: 480rpx;
|
|
|
|
|
|
|
+ // width: 480rpx;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.min-h-85 {
|
|
.min-h-85 {
|
|
@@ -117,16 +153,33 @@
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.shop_logo {
|
|
.shop_logo {
|
|
|
- width: 160rpx;
|
|
|
|
|
- height: 160rpx;
|
|
|
|
|
- border-radius: 15rpx;
|
|
|
|
|
|
|
+ width: 180rpx;
|
|
|
|
|
+ height: 180rpx;
|
|
|
|
|
+ border-radius: 20rpx;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .w-150 {
|
|
|
|
|
+ // width: 300rpx;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .discount-box {
|
|
|
|
|
+ width: 82rpx;
|
|
|
|
|
+ height: 32rpx;
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+ }
|
|
|
|
|
+ .zkbg-img{
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ height: 100%;
|
|
|
|
|
+ }
|
|
|
|
|
+ .zkje{
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ left: 10rpx;
|
|
|
|
|
+ top: 0;
|
|
|
}
|
|
}
|
|
|
- .w-150{
|
|
|
|
|
- width: 300rpx;
|
|
|
|
|
|
|
+ .list-b{
|
|
|
|
|
+ margin-bottom: 34rpx;
|
|
|
}
|
|
}
|
|
|
- .discount-box{
|
|
|
|
|
- padding: 2rpx 6rpx;
|
|
|
|
|
- border: 1rpx solid #ff3939;
|
|
|
|
|
- border-radius: 6rpx;
|
|
|
|
|
|
|
+ .list-b:last-child {
|
|
|
|
|
+ margin: 0;
|
|
|
}
|
|
}
|
|
|
</style>
|
|
</style>
|