Commit bae75711417d922112d38a64039e3804c2548f44

Authored by zhangyan
1 parent daa9f0b3

no message

<view class="typelist flex-lr">
<view class="typelist flex-lr fixed left top bg-white">
<block wx:for="{{selectlist}}">
<view class="font30r font-siny type-block {{item.isactive==true ? 'bg-orange white-font' : 'gray-deep-font'}} flex-cm">{{item.title}}</view>
<view class="font30r font-siny type-block {{item.isactive==true ? 'orange-font' : 'gray-deep-font'}} flex-cm">{{item.title}}</view>
</block>
</view>
<view style="height:70rpx;"></view>
<view class="banner">
<view class="banner-cover">
<image src="http://qn.colorcun.com/b.png" class="banner-image"></image>
<view class="white-font font32r font-siny font-more banner-title flex-lm">平常喂金毛吃鸡肝,有哪些危害?</view>
</view>
<view class="banner-info font-more font28r font-siny gray-deep-font">有些主人看到金毛喜欢吃鸡肝,就会肆无忌惮的喂金毛吃鸡肝,殊不知发反反复复</view>
</view>
<view class="cut bg-gray"></view>
<view class="question-list">
<block wx:for="{{selectlist}}">
<view class="question-block flex-vc">
<view class="flex-lm question-top" style="width:100%;padding:0 30rpx;box-sizing:border-box;">
<image src="/pages/image/topic3.jpg" class="question-image" mode="scaleToFill"></image>
<view class="flex-vc question-act">
<view class="flex-vc" style="margin-bottom:40rpx;">
<image src="/pages/image/look.svg" class="question-icon"></image>
<view class="orange-font font28r font-siny">3000</view>
</view>
<view class="flex-vc">
<image src="/pages/image/remark.svg" class="question-icon"></image>
<view class="orange-font font28r font-siny">300</view>
</view>
</view>
</view>
<view class="flex-vl" style="width:100%;padding:0 30rpx;box-sizing:border-box;">
<view class="black-font font30r font-bold">平常喂金毛吃鸡肝,有哪些危害?</view>
<view class="font-more gray-deep-font font24r" style="width:100%;display:block;margin-top:4rpx;">有些主人看到金毛喜欢吃鸡肝,就会肆无忌惮的喂金毛吃鸡肝,殊不知发反反复复</view>
<view class="question-block flex-lr">
<view class="flex-vl" style="width:490rpx;padding-right:30rpx;box-sizing:border-box;">
<view class="black-font font30r font-bold font-more" style="width:100%;display:block;">平常喂金毛吃鸡肝,有哪些危害?</view>
<view class="font-more gray-deep-font font24r" style="width:100%;display:block;margin-top:20rpx;">有些主人看到金毛喜欢吃鸡肝,就会肆无忌惮的喂金毛吃鸡肝,殊不知发反反复复殊不知发反反复复殊不知发反反复复殊不知发反反复复</view>
</view>
<image src="/pages/image/topic3.jpg" class="question-image" mode="aspectFill"></image>
</view>
</block>
</view>
... ...
... ... @@ -3,28 +3,54 @@
}
.typelist{
width:100%;
height:50rpx;
height:70rpx;
padding:0 40rpx;
border-bottom:1px solid #efeef3;
box-sizing:border-box;
z-index:10;
}
.type-block{
height:100%;
padding:0 15rpx;
padding:0 16rpx;
border-radius:4rpx;
box-sizing:border-box;
}
.border-bottom{
border-bottom:2px solid #fe9401;
}
.banner-cover{
width:100%;
height:400rpx;
position:relative;
}
.banner-image{
width:100%;
height:100%;
}
.banner-title{
width:100%;
height:70rpx;
padding:0 20rpx;
box-sizing:border-box;
background:rgba(0,0,0,.3);
position:absolute;
left:0;
bottom:0;
}
.banner-info{
width:100%;
padding:35rpx 20rpx;
box-sizing:border-box;
}
.question-list{
width:670rpx;
width:690rpx;
margin:0 auto;
margin-top:40rpx;
}
.question-block{
width:100%;
height:400rpx;
background:#f7f7f7;
bprder-radius:10rpx;
margin-bottom:30rpx;
/*box-shadow:1px 1px 5px rgba(0,0,0,.1);*/
border-radius:10rpx;
height:200rpx;
border-bottom:1px solid #efeef3;
}
.question-top{
width:100%;
... ... @@ -34,8 +60,8 @@
margin-bottom:30rpx;
}
.question-image{
width:400rpx;
height:250rpx;
width:200rpx;
height:130rpx;
}
.question-icon{
width:50rpx;
... ...