|
|
@@ -5,6 +5,7 @@
|
|
|
</view>
|
|
|
|
|
|
<scroll-view class="shop-show_box" enable-flex="true" scroll-y="true" lower-threshold="20" @scrolltolower="reachBottom">
|
|
|
+ <view class="goods-item-area">
|
|
|
<view v-for="item in list.data" :key="item.id" class="show-shop_box">
|
|
|
<view class="item-detail" @click="popAddModelFn(item)">
|
|
|
<image class="img" :src="item.cover" mode="scaleToFill" ></image>
|
|
|
@@ -16,6 +17,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ </view>
|
|
|
</scroll-view>
|
|
|
|
|
|
<slot name="footer"></slot>
|
|
|
@@ -110,42 +112,46 @@ export default {
|
|
|
flex-direction: column;
|
|
|
box-sizing: border-box;
|
|
|
& .shop-show_box{
|
|
|
- flex: 1;
|
|
|
padding: 2upx;
|
|
|
- display: flex;
|
|
|
- flex-wrap: wrap;
|
|
|
overflow-y: scroll;
|
|
|
overflow-x: hidden;
|
|
|
- height:80vh;
|
|
|
- & .show-shop_box{
|
|
|
- & .item-detail{
|
|
|
- position: relative;
|
|
|
- margin-right: 9upx;
|
|
|
- margin-bottom: 6upx;
|
|
|
- width: 82upx;
|
|
|
- height: 82upx;
|
|
|
- & .img {
|
|
|
+ & .goods-item-area{
|
|
|
+ flex: 1;
|
|
|
+ display: flex;
|
|
|
+ flex-wrap: wrap;
|
|
|
+ overflow-y: scroll;
|
|
|
+ overflow-x: hidden;
|
|
|
+ height:90vh;
|
|
|
+ & .show-shop_box{
|
|
|
+ & .item-detail{
|
|
|
+ position: relative;
|
|
|
+ margin-right: 9upx;
|
|
|
+ margin-bottom: 6upx;
|
|
|
width: 82upx;
|
|
|
height: 82upx;
|
|
|
- }
|
|
|
- .shop-info_price {
|
|
|
- position: absolute;
|
|
|
- background-color: rgba(0, 0, 0, 0.5);
|
|
|
- bottom: 0;
|
|
|
- width: 100%;
|
|
|
- font-size: 12upx;
|
|
|
- color: #ffffff;
|
|
|
- height:25upx;
|
|
|
- & > view {
|
|
|
- font-size: 10upx;
|
|
|
- & > view:nth-child(1) {
|
|
|
- overflow: hidden;
|
|
|
- text-overflow:ellipsis;
|
|
|
- white-space: nowrap;
|
|
|
- width:90%;
|
|
|
- }
|
|
|
- & > view:nth-child(2) {
|
|
|
- font-size:8upx;
|
|
|
+ & .img {
|
|
|
+ width: 82upx;
|
|
|
+ height: 82upx;
|
|
|
+ }
|
|
|
+ .shop-info_price {
|
|
|
+ position: absolute;
|
|
|
+ background-color: rgba(0, 0, 0, 0.5);
|
|
|
+ bottom: 0;
|
|
|
+ width: 100%;
|
|
|
+ font-size: 12upx;
|
|
|
+ color: #ffffff;
|
|
|
+ height:25upx;
|
|
|
+ & > view {
|
|
|
+ font-size: 10upx;
|
|
|
+ & > view:nth-child(1) {
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow:ellipsis;
|
|
|
+ white-space: nowrap;
|
|
|
+ width:90%;
|
|
|
+ }
|
|
|
+ & > view:nth-child(2) {
|
|
|
+ font-size:8upx;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|