0531品牌动态

master
liuyongli 3 years ago
parent 480427105e
commit 7dfd1fd522

@ -34,7 +34,7 @@
<view class="brand_voa_type" wx:if="{{item.type === 3}}">文章</view>
<!-- <view class="brand_voa"></view> -->
<!-- <image class="brand_voa" src="./shortimage/img_xingtue@2x.png"></image> -->
<image class="brand_voa" src="{{cdn+(item.cover)}}"></image>
<image class="brand_voa" src="{{cdn+(item.cover)}}"></image>
<view class="brand_voa_num">
<image wx:if="{{item.type === 1}}" style="width: 16rpx;height: 18rpx;margin-right: 5rpx;" src="/images/img_bofang@2x.png"></image>
<!-- {{item.type === 1 ? item.num+'次播放' : item.num+'次阅读'}} -->

@ -104,12 +104,13 @@
.brand_card{
height: 246rpx;
/* width: 320rpx; */
}
.brand_voa {
/* background-color: royalblue; */
height: 202rpx;
width: 304rpx;
width: 304rpx;
border-radius: 8rpx;
}

@ -217,7 +217,8 @@ to(e) {
if (res.confirm) {
console.log('用户点击确定')
wx.getImageInfo({
src: '/pages/index/shortimage/img_xingtue@2x.png',
// src: '/pages/index/shortimage/img_xingtue@2x.png',
src:'',
success: function (res) {
console.log(res);
var path = res.path;

@ -5,7 +5,7 @@
</video>
</view>
<view class="video" wx:if="{{infoObject.type===2}}">
<image src="{{cdn+(infoObject.cover)}}" style="width: 100%;height: 100%;">
<image mode="widthFix" src="{{cdn+(infoObject.cover)}}" style="width: 100%;">
<l-icon name="left" color="black" size="48" class="back" bindtap="back" />
</image>
</view>

@ -8,7 +8,8 @@
.video {
width: 100%;
height: 440rpx;
/* height: 440rpx; */
height: 100%;
}

Loading…
Cancel
Save