Commit ee9fdc4b authored by 黄奎's avatar 黄奎

商城修改

parent 47ce8df3
...@@ -11,7 +11,8 @@ ...@@ -11,7 +11,8 @@
padding: 10px; padding: 10px;
padding-bottom: 0px; padding-bottom: 0px;
"> ">
<u-row gutter="20"> <u-row gutter="12">
<view class="layout">
<u-col span="6" v-for="(cx, ci) in g" :key="ci"> <u-col span="6" v-for="(cx, ci) in g" :key="ci">
<view class="good" @click="clickHandler(cx)"> <view class="good" @click="clickHandler(cx)">
<view class="good-img" style="position: relative;"> <view class="good-img" style="position: relative;">
...@@ -43,12 +44,12 @@ ...@@ -43,12 +44,12 @@
{{ cx.name }} {{ cx.name }}
</view> </view>
<!-- 新增上课日期 --> <!-- 新增上课日期 -->
<view v-if="u.TenantId==27"> <view v-if="u.TenantId==27" class="rqi">
<view v-if="u.TenantId==27&&cx.edudata.ClassTime" class="have"> <view v-if="u.TenantId==27&&cx.edudata.ClassTime" class="have">
{{cx.edudata.ClassTime}}</view> {{cx.edudata.ClassTime}}</view>
<!-- 新增次数 --> <!-- 新增次数 -->
<div v-if="cx.edudata.ClassNum&&u.TenantId==27" class="have">{{cx.edudata.ClassNum}} <view v-if="cx.edudata.ClassNum&&u.TenantId==27" class="have">{{cx.edudata.ClassNum}}
</div> </view>
<!-- 新增老师相片资料 --> <!-- 新增老师相片资料 -->
<view class="price-box"> <view class="price-box">
<view class="portrait-box"> <view class="portrait-box">
...@@ -61,7 +62,6 @@ ...@@ -61,7 +62,6 @@
<view class="price" :style="{ color: mainColor }">{{cx.price_content}}</view> <view class="price" :style="{ color: mainColor }">{{cx.price_content}}</view>
</view> </view>
</view> </view>
</view> </view>
<!-- 新增上课日期结束 --> <!-- 新增上课日期结束 -->
<view class="good-info" v-if="u.TenantId!=27"> <view class="good-info" v-if="u.TenantId!=27">
...@@ -70,6 +70,8 @@ ...@@ -70,6 +70,8 @@
</view> </view>
</view> </view>
</u-col> </u-col>
</view>
</u-row> </u-row>
<u-divider v-if="isover" bg-color="#F5f5f5" :margin-top="20" :margin-bottom="20">没有更多商品了</u-divider> <u-divider v-if="isover" bg-color="#F5f5f5" :margin-top="20" :margin-bottom="20">没有更多商品了</u-divider>
&nbsp; &nbsp;
...@@ -222,6 +224,15 @@ ...@@ -222,6 +224,15 @@
</script> </script>
<style> <style>
.layout{
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.rqi{
/* background: red; */
/* width: 130px; */
}
.good-info2 { .good-info2 {
display: flex; display: flex;
margin: 0px 10px; margin: 0px 10px;
...@@ -233,6 +244,7 @@ ...@@ -233,6 +244,7 @@
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
height: 60rpx;
} }
.portrait-box { .portrait-box {
display: flex; display: flex;
...@@ -281,6 +293,7 @@ ...@@ -281,6 +293,7 @@
border-radius: 10px; border-radius: 10px;
overflow: hidden; overflow: hidden;
margin-bottom: 10px; margin-bottom: 10px;
width: 345rpx;
} }
.catstyle3 .good .good-img { .catstyle3 .good .good-img {
......
...@@ -713,5 +713,6 @@ ...@@ -713,5 +713,6 @@
align-items: center; align-items: center;
border-top: 1px solid #eee; border-top: 1px solid #eee;
padding: 5px 10px; padding: 5px 10px;
margin-top: 20rpx;
} }
</style> </style>
This diff is collapsed.
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