Commit f21174c1 authored by Mac's avatar Mac

1

parent dd86fe67
...@@ -90,7 +90,8 @@ ...@@ -90,7 +90,8 @@
GoodsType: 0, GoodsType: 0,
CategoryIds: '', CategoryIds: '',
OrderBy: 1, OrderBy: 1,
GoodsPageType:0 GoodsPageType:0,
StoreId:0,
}, },
newsortType: 1, newsortType: 1,
}; };
...@@ -170,6 +171,7 @@ ...@@ -170,6 +171,7 @@
this.loading = true; this.loading = true;
this.showLoading = this.msg.pageIndex != 1; this.showLoading = this.msg.pageIndex != 1;
this.msg.GoodsPageType = uni.getStorageSync("mall_UserInfo")?uni.getStorageSync("mall_UserInfo").UserPageType:0; this.msg.GoodsPageType = uni.getStorageSync("mall_UserInfo")?uni.getStorageSync("mall_UserInfo").UserPageType:0;
this.msg.StoreId = uni.getStorageSync("storeId")?uni.getStorageSync("storeId").storeId:0;
this.request2({ this.request2({
url: '/api/AppletGoods/GetAppletGoodsPageListForZY', url: '/api/AppletGoods/GetAppletGoodsPageListForZY',
data: this.msg data: this.msg
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
line-height: 29px; line-height: 29px;
margin-right: 5px; margin-right: 5px;
white-space: nowrap; white-space: nowrap;
position: relative;
} }
.subscribe .classify-t{ .subscribe .classify-t{
width: 100%; width: 100%;
...@@ -185,6 +186,19 @@ ...@@ -185,6 +186,19 @@
align-items: flex-end; align-items: flex-end;
font-size: 13px; font-size: 13px;
} }
.corner{
width: 0px; /* 宽高设置为0,很重要,否则达不到效果 */
height: 0px;
border: 5px solid #FF4048;
border-bottom-color: transparent; /* 设置透明背景色 */
border-left-color: transparent;
border-right-color: transparent;
position: absolute;
left: 50%;
bottom: -10px;
margin-left: -5px;
}
</style> </style>
<template> <template>
<view class="subscribe"> <view class="subscribe">
...@@ -202,6 +216,8 @@ ...@@ -202,6 +216,8 @@
'font-weight':cl.Id== categoryIds?'Bold':'100', 'font-weight':cl.Id== categoryIds?'Bold':'100',
}"> }">
{{cl.Name}} {{cl.Name}}
<div class="corner" v-if='cl.Id== categoryIds'></div>
</view> </view>
</view> </view>
</view> </view>
...@@ -212,7 +228,8 @@ ...@@ -212,7 +228,8 @@
:style="{ :style="{
'margin-left':'15px', 'margin-left':'15px',
'margin-right': i+1==OfflineGoods.length?'15px':'0px', 'margin-right': i+1==OfflineGoods.length?'15px':'0px',
'transform':c.id== GoodsId?'scale(1.12)':'none' 'transform':c.id== GoodsId?'scale(1.12)':'none',
}"> }">
<image mode="aspectFill" class="goodsimg" :src="c.cover_pic" ></image> <image mode="aspectFill" class="goodsimg" :src="c.cover_pic" ></image>
<text class="persionName-t" >{{c.name}}</text> <text class="persionName-t" >{{c.name}}</text>
...@@ -253,7 +270,7 @@ ...@@ -253,7 +270,7 @@
<view style="width: 100%;height: 15px;background: #FAF8F9;" v-if="designerList.length>0"></view> <view style="width: 100%;height: 15px;background: #FAF8F9;" v-if="designerList.length>0"></view>
<view class="title" v-if="designerList.length>0">设计师</view> <view class="title" v-if="designerList.length>0">设计师</view>
<view class="classify-t" v-if="designerList.length>0"> <view class="classify-t" v-if="designerList.length>0">
<view class="c-t-box"> <view class="c-t-box" style="height: 140px;">
<view v-for="(c, i) in designerList" :key="i"> <view v-for="(c, i) in designerList" :key="i">
<view class="c-t-item" @click="getdesigner(c)" <view class="c-t-item" @click="getdesigner(c)"
:style="{ :style="{
......
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