提交 a65478bd authored 作者: pengxiaohui's avatar pengxiaohui

修改热点项目详情页图片宽度

上级 8e103eba
...@@ -56,7 +56,6 @@ export default { ...@@ -56,7 +56,6 @@ export default {
methods: { methods: {
formatDate(value) { formatDate(value) {
const date = new Date(value * 1000) const date = new Date(value * 1000)
console.log(date.getMonth())
return date.getFullYear() + '/' + (date.getMonth() + 1) + '/' + date.getDate() return date.getFullYear() + '/' + (date.getMonth() + 1) + '/' + date.getDate()
} }
}, },
...@@ -68,10 +67,11 @@ export default { ...@@ -68,10 +67,11 @@ export default {
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
::v-deep{ ::v-deep {
img{ img {
max-width: 100%; width: 100%;
height: auto !important; height: auto !important;
display: block;
} }
} }
.is-pc{ .is-pc{
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论