|
|
|
|
@ -36,7 +36,8 @@
|
|
|
|
|
企业图库
|
|
|
|
|
</view>
|
|
|
|
|
<view class="scroll-content g_flex_row_start" style="padding-top: 10px;">
|
|
|
|
|
<view v-for="(item, index) in swiperArray" :key="index" class="scroll-item g_flex_c" :class="index == 0 ? 'g_ml_0 g_mr_0' : ''" @click="item.type == 'image' ? handleViewBig(item, index) : showVideo(item)">
|
|
|
|
|
<view v-for="(item, index) in swiperArray" :key="index" class="scroll-item g_flex_c"
|
|
|
|
|
@click="item.type == 'image' ? handleViewBig(item, index) : showVideo(item)">
|
|
|
|
|
<u-image :radius="4" v-if="item.type == 'image'" :showLoading="true" :src="item.image" width="56px" height="56px" style="border-radius: 4px"> </u-image>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
@ -126,10 +127,10 @@ export default {
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
&:nth-child(1), &:nth-child(2), &:nth-child(3), &:nth-child(4) {
|
|
|
|
|
&:nth-child(1), &:nth-child(2), &:nth-child(3), &:nth-child(4), &:nth-child(5) {
|
|
|
|
|
margin-top: 0;
|
|
|
|
|
}
|
|
|
|
|
&:nth-child(4n){
|
|
|
|
|
&:nth-child(5n){
|
|
|
|
|
margin-right: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|