Commit 29d5b80b authored by zhangjianguo's avatar zhangjianguo

样式的一些小改动

parent ed135fc2
......@@ -47,6 +47,8 @@
<view class="cBox_item" v-for="(cx, ci) in item.goods" :key="ci" >
<view class="good-img" @click="clickHandler(cx.goods_id)">
<image :src="cx.goodsWarehouse.cover_pic" style="width: 100%; height: 100%;" />
<image src="../../../static/images/icon/plugins-out.png" v-if="item.goods_num==0"
style="width: 100%; height: 100%;position: absolute;left:0;top:0;background: #000;opacity: 0.6;" />
</view>
<view class="good-info">
<Text class='good-name' @click="clickHandler(cx.goods_id)">{{cx.goodsWarehouse.name}}</Text>
......@@ -421,6 +423,7 @@
}
.footStyle .good-img {
position: relative;
width: 100%;
height: 200rpx;
}
......
......@@ -77,7 +77,7 @@
:name="item.name" @click="goUrl(item.link_url)">
<image :src='item.icon_url' style="width: 66rpx;height: 60rpx;"></image>
<Text style='margin-top: 10rpx;'>{{item.name}}</Text>
<!-- <view class='badge'>{{item.}}</view> -->
<view v-if='item.num>0' class='badge' :style="{'background':mainColor}">{{item.num}}</view>
</view>
</view>
</view>
......@@ -88,7 +88,7 @@
<image :src='item.icon_url' style="width: 48rpx;height: 48rpx;"></image>
<Text :style="{'margin-top':meueData.user_center.menu_style == 1 ? '0rpx':'10rpx','margin-left':meueData.user_center.menu_style == 1 ? '10rpx':'0rpx'}">
{{item.name}}
</Text>
</Text>
</view>
</view>
<view class="copyright">
......@@ -142,10 +142,10 @@
};
this.showAuth = true;
}
this.cstyle = uni.getStorageSync("basedata")
? uni.getStorageSync("basedata").cat_style
: [];
if (this.cstyle.cat_style == "4") {
}
......@@ -333,6 +333,14 @@
position: absolute;
right: -10rpx;
top: -10rpx;
padding:0 7rpx;
display: flex;
align-items: center;
justify-content: center;
font-size: 20rpx;
color: #fff;
height: 30rpx;
border-radius: 15rpx;
}
.userStyle .menus{
width: 94%;
......
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