Commit 76d8f833 authored by 罗超's avatar 罗超

1

parent 96deb3b4
...@@ -39,12 +39,19 @@ ...@@ -39,12 +39,19 @@
<u-row gutter="20"> <u-row gutter="20">
<u-col span="6" v-for="(cx, ci) in goodslist" :key="ci"> <u-col span="6" v-for="(cx, ci) in goodslist" :key="ci">
<view class="good" @click="clickHandler(cx)"> <view class="good" @click="clickHandler(cx)">
<view class="good-img"> <view class="good-img" style="position: relative">
<image <image
mode="aspectFill" mode="aspectFill"
:src="cx.BannerList[0]" :src="cx.BannerList[0]"
style="width: 100%; height: 100%" style="width: 100%; height: 100%"
/> />
<view class="img-show-prize" v-if="x.ListEnroll[0]">
<image
style="width: 100%; height: 100%"
mode="heightFix"
:src="x.ListEnroll[0].MedalImage"
/>
</view>
</view> </view>
<view class="good-name"> <view class="good-name">
<text>{{ cx.SourceName }}</text> <text>{{ cx.SourceName }}</text>
...@@ -72,7 +79,7 @@ ...@@ -72,7 +79,7 @@
<view v-for="(item, index) in goodslist" :key="index"> <view v-for="(item, index) in goodslist" :key="index">
<div <div
class="good_study_one" class="good_study_one"
@click="openGood(item.Id, item.ProjectType)" @click="openGood(item.SourceId, item.ProjectType)"
:style="{ :style="{
borderRadius: '15px', borderRadius: '15px',
}" }"
...@@ -283,22 +290,29 @@ export default { ...@@ -283,22 +290,29 @@ export default {
border-radius: 10px; border-radius: 10px;
overflow: hidden; overflow: hidden;
margin-bottom: 10px; margin-bottom: 10px;
position: relative;
} }
.favoriteStyle .u-good-list .good .good-img { .favoriteStyle .u-good-list .good .good-img {
width: calc(50vw - 15px); width: calc(50vw - 15px);
height: calc(50vw - 15px); height: calc(50vw - 15px);
display: block; display: block;
position: relative;
} }
.favoriteStyle .u-good-list .good .good-name { .favoriteStyle .u-good-list .good .good-name {
overflow: hidden; /* overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
-webkit-box-orient: vertical; -webkit-box-orient: vertical; */
white-space: nowrap;
margin-bottom: 3px; margin-bottom: 3px;
font-size: 13px; font-size: 13px;
margin: 7px 10px; margin: 7px 10px;
height: 36px; /* height: 36px; */
margin-bottom: 8px;
color: #111111;
font-size: 26rpx;
font-weight: bold;
} }
.favoriteStyle .u-good-list .good .good-info { .favoriteStyle .u-good-list .good .good-info {
display: flex; display: flex;
...@@ -325,10 +339,8 @@ export default { ...@@ -325,10 +339,8 @@ export default {
color: #999999; color: #999999;
font-size: 22rpx; font-size: 22rpx;
overflow: hidden; overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
} }
.good_study_one { .good_study_one {
margin: 12px; margin: 12px;
...@@ -403,6 +415,7 @@ export default { ...@@ -403,6 +415,7 @@ export default {
color: #999999; color: #999999;
font-size: 24rpx; font-size: 24rpx;
margin-left: 10px; margin-left: 10px;
margin-top: 10rpx;
} }
.good_study_one .good-info .good-price-info { .good_study_one .good-info .good-price-info {
display: flex; display: flex;
...@@ -418,4 +431,13 @@ export default { ...@@ -418,4 +431,13 @@ export default {
width: 24px; width: 24px;
text-align: right; text-align: right;
} }
.img-show-prize {
height: 36rpx;
background: #ffffff;
border-radius: 0rpx 0rpx 20rpx 0rpx;
background-color: #fff;
position: absolute;
top: 0;
left: 0;
}
</style> </style>
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
><view ><view
class="screenBoxItemName" class="screenBoxItemName"
:class="{ activeName: item.Id == msg.PrizeId }" :class="{ activeName: item.Id == msg.PrizeId }"
>首店</view >{{ item.Name }}</view
> >
</view> </view>
</view> </view>
...@@ -442,7 +442,7 @@ export default { ...@@ -442,7 +442,7 @@ export default {
margin-bottom: 35rpx; margin-bottom: 35rpx;
} }
.screenBoxItem { .screenBoxItem {
width: 130rpx; /* width: 130rpx; */
height: 46rpx; height: 46rpx;
background-color: #e2e2e2; background-color: #e2e2e2;
border-radius: 23rpx; border-radius: 23rpx;
...@@ -452,7 +452,7 @@ export default { ...@@ -452,7 +452,7 @@ export default {
overflow: hidden; overflow: hidden;
} }
.screenBoxItemYear { .screenBoxItemYear {
width: 50%; /* width: 50%; */
height: 46rpx; height: 46rpx;
background: #e2e2e2; background: #e2e2e2;
display: flex; display: flex;
...@@ -463,13 +463,15 @@ export default { ...@@ -463,13 +463,15 @@ export default {
font-weight: 500; font-weight: 500;
white-space: nowrap; white-space: nowrap;
border-radius: 23px 0px 0px 23px; border-radius: 23px 0px 0px 23px;
box-sizing: border-box;
padding: 0 10rpx;
} }
.activeYear { .activeYear {
background: #1f1f1f; background: #1f1f1f;
color: #ffffff; color: #ffffff;
} }
.screenBoxItemName { .screenBoxItemName {
width: 50%; /* width: 50%; */
height: 46rpx; height: 46rpx;
background: #eaeaea; background: #eaeaea;
display: flex; display: flex;
...@@ -478,7 +480,8 @@ export default { ...@@ -478,7 +480,8 @@ export default {
font-size: 22rpx; font-size: 22rpx;
font-family: PingFang SC; font-family: PingFang SC;
font-weight: 500; font-weight: 500;
box-sizing: border-box;
padding: 0 10rpx;
white-space: nowrap; white-space: nowrap;
border-radius: 0px 23px 23px 0px; border-radius: 0px 23px 23px 0px;
} }
...@@ -487,11 +490,10 @@ export default { ...@@ -487,11 +490,10 @@ export default {
color: #111111; color: #111111;
} }
.img-show-prize { .img-show-prize {
width: 126rpx;
height: 36rpx; height: 36rpx;
background: #ffffff; background: #ffffff;
border-radius: 0rpx 0rpx 20rpx 0rpx; border-radius: 0rpx 0rpx 20rpx 0rpx;
background-color: #000; background-color: #fff;
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
......
...@@ -210,6 +210,7 @@ ...@@ -210,6 +210,7 @@
v-for="(item, index) in detailData.FirstShopNumList" v-for="(item, index) in detailData.FirstShopNumList"
:key="index" :key="index"
class="FirstShopBoxItem" class="FirstShopBoxItem"
v-if="item.Num > 0"
> >
<view <view
style=" style="
...@@ -236,9 +237,16 @@ ...@@ -236,9 +237,16 @@
> >
<view style="flex: 1; font-size: 26rpx; color: #a4a4a4"> <view style="flex: 1; font-size: 26rpx; color: #a4a4a4">
<text style="width: 156rpx; text-align: right">去年业绩:</text> <text style="width: 156rpx; text-align: right">去年业绩:</text>
<text style="color: #f30329; font-weight: bold" <text
style="color: #f30329; font-weight: bold"
v-if="detailData.YeJi > 0"
>{{ detailData.YeJi }}w</text >{{ detailData.YeJi }}w</text
> >
<text
style="color: #f30329; font-weight: bold"
v-if="detailData.YeJi <= 0"
>/</text
>
</view> </view>
<view style="flex: 1; font-size: 26rpx; color: #a4a4a4"> <view style="flex: 1; font-size: 26rpx; color: #a4a4a4">
<text style="width: 156rpx; text-align: right">商业体量:</text> <text style="width: 156rpx; text-align: right">商业体量:</text>
...@@ -306,15 +314,19 @@ ...@@ -306,15 +314,19 @@
> >
<view style="flex: 1; font-size: 26rpx; color: #a4a4a4"> <view style="flex: 1; font-size: 26rpx; color: #a4a4a4">
<text style="width: 156rpx; text-align: right">可租面积:</text> <text style="width: 156rpx; text-align: right">可租面积:</text>
<text style="color: #f30329; font-weight: bold">{{ <text
detailData.AreaRequirement style="color: #f30329; font-weight: bold"
}}</text> v-if="detailData.AreaRequirement > 0"
>{{ detailData.AreaRequirement }}万平方米</text
>
</view> </view>
<view style="flex: 1; font-size: 26rpx; color: #a4a4a4"> <view style="flex: 1; font-size: 26rpx; color: #a4a4a4">
<text style="width: 156rpx; text-align: right">经营面积:</text> <text style="width: 156rpx; text-align: right">经营面积:</text>
<text style="color: #f30329; font-weight: bold">{{ <text
detailData.BuiltUpArea style="color: #f30329; font-weight: bold"
}}</text> v-if="detailData.BuiltUpArea > 0"
>{{ detailData.BuiltUpArea }}万平方米</text
>
</view> </view>
</view> </view>
<view <view
...@@ -1040,11 +1052,13 @@ export default { ...@@ -1040,11 +1052,13 @@ export default {
margin-bottom: 30rpx; margin-bottom: 30rpx;
} }
.MedalBoxItem { .MedalBoxItem {
width: 33.33%; width: 30%;
height: 135rpx; height: 135rpx;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
margin-right: 20rpx;
margin-bottom: 20rpx;
} }
.FirstShopBox { .FirstShopBox {
margin-bottom: 30rpx; margin-bottom: 30rpx;
......
...@@ -114,8 +114,8 @@ ...@@ -114,8 +114,8 @@
<view v-if="item.ListEnroll.length > 0"> <view v-if="item.ListEnroll.length > 0">
<image <image
style="height: 100%; border-radius: 10rpx 10rpx 0 0" style="height: 100%; border-radius: 10rpx 10rpx 0 0"
mode="hrightFix" mode="heightFix"
:src="item.ListEnroll[0]" :src="item.ListEnroll[0].MedalImage"
/> />
</view> </view>
</div> </div>
...@@ -293,6 +293,9 @@ export default { ...@@ -293,6 +293,9 @@ export default {
} }
let c = this.$uiConfig.is_bang ? 78 : 50; let c = this.$uiConfig.is_bang ? 78 : 50;
this.contentHeight = this.$utils.calcContentHeight(c) + 40; this.contentHeight = this.$utils.calcContentHeight(c) + 40;
if (options && options.FirstStoreTest) {
this.msg.FirstStoreTest = options.FirstStoreTest;
}
this.getTypeList(); this.getTypeList();
}, },
created() { created() {
...@@ -451,16 +454,17 @@ export default { ...@@ -451,16 +454,17 @@ export default {
align-items: center; align-items: center;
} }
.good_study_one .good-info .good-name .span-name { .good_study_one .good-info .good-name .span-name {
overflow: hidden; /* overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
-webkit-box-orient: vertical; -webkit-box-orient: vertical; */
font-size: 28rpx; font-size: 28rpx;
font-weight: bold; font-weight: bold;
color: #111; color: #111;
padding-bottom: 5px; padding-bottom: 5px;
flex: 1; flex: 1;
white-space: nowrap;
} }
.good_study_one .good-info .good-name .span-type { .good_study_one .good-info .good-name .span-type {
font-weight: 500; font-weight: 500;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment