@@ -2,7 +2,7 @@
<view class="container">
<!-- 供销社列表 -->
<view class="rnwdList" v-for="(item, index) in list" :key="index">
- <view @tap="goDetails(item.id)" class="cooperativeImgBox">
+ <view @tap="goDetails(item.id)" class="cooperativeImgBox" style="width: 30%;">
<!--<image :src="loadImgSrc('/snbj.png')" class="cooperativeImg"></image>-->
<image :src="loadImgSrcLocalhost(item.imgUrl)" class="cooperativeImg"></image>
</view>
@@ -1,5 +1,5 @@
.container{
- padding: 0;
+ padding: 0 20rpx;
}
.cooperativeImgBox{
@@ -8,7 +8,7 @@
top: 0;
z-index: 0;
width: 100%;
- height: 480rpx;
+ height: 400rpx;
.cooperativeImg{
position: static;
@@ -24,13 +24,15 @@
font-size: 50rpx;
.itemBox:nth-child(2n-1){
- background: #ccc;
+ background: #e4e4e4;
.itemBox:nth-child(2n){
- background: #ddd;
+ background: #eee;
.item{
+ font-size: 30rpx;
+ padding: 20rpx;
/*width: 100%;*/
/*background-color: #57f5a1;*/
@@ -51,9 +51,10 @@
height: 100%;
.list {
- border-bottom: solid 2rpx #f6f6f6;
- padding: 10rpx 0;
- width: 100%;
+ border-bottom: solid 2rpx #f6f6f6;
+ padding: 20rpx 0;
+ width: 100%;
+
.lb {
background: #0d9970;
@@ -133,4 +134,8 @@
.ck {
color: #c4c4c4;
margin-left:240px;
+}
+.f-r {
+ position: absolute;
+ right: 30rpx;
@@ -23,7 +23,7 @@
<view class="jlSj">
- <view class="ck">
+ <view class="ck f-r">
<span>
<em class="iconfont icon-chakan"></em>
{{ item.likeNum }}
@@ -1,4 +1,5 @@
/* pages/wenbaxiangqing.wxss */
.title {
font-size: 44rpx;
text-align: center;
@@ -105,7 +105,9 @@
</script>
<style lang="scss">
@import './inquiryDetails.css';
-
+ .container{
+ padding:50rpx;
+ }
.collect {
.icon-shoucang:before {
color: red;