39 lines
697 B
Vue
39 lines
697 B
Vue
|
|
<template>
|
|
<div class="layout">
|
|
<u-image height="175rpx" width="175rpx" @click="modelnavigateTo(item)" class="image-mode" :src="item.img" v-for="(item,index) in res.list" :key="index" >
|
|
<u-loading slot="loading"></u-loading>
|
|
</u-image>
|
|
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
|
|
import {modelnavigateTo} from './tpl'
|
|
export default {
|
|
title: "四列单行图片模块",
|
|
props: ["res"],
|
|
data () {
|
|
return {
|
|
modelnavigateTo,
|
|
}
|
|
},
|
|
mounted() {
|
|
|
|
}
|
|
};
|
|
</script>
|
|
<style lang="scss" scoped>
|
|
@import "./tpl.scss";
|
|
.layout {
|
|
height: 84px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background-size: cover;
|
|
}
|
|
img{
|
|
width: 84px;
|
|
}
|
|
</style> |