fix(styles): 适配移动端

This commit is contained in:
ronger 2024-02-03 15:07:02 +08:00
parent c1fd19cc98
commit 6f71522eea
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
<template> <template>
<div class="wrapper"> <div class="wrapper">
<el-row class="row-cards row-deck" :gutter="20"> <el-row class="row-cards row-deck" :gutter="20">
<el-col :span="10" v-for="product in products.list" :key="product.idProduct" style="margin-right: 20px;margin-bottom: 10px;"> <el-col :xs="24" :sm="24" :md="10" :lg="10" :xl="10" v-for="product in products.list" :key="product.idProduct" style="margin-bottom: 10px;">
<el-card :body-style="{ padding: '20px' }"> <el-card :body-style="{ padding: '20px' }">
<el-col :span="24"> <el-col :span="24">
<el-image :src="product.productImgUrl" <el-image :src="product.productImgUrl"

View File

@ -1,4 +1,4 @@
import {NODE_ENV} from '@/environment' import {NODE_ENV} from '../environment'
const apisMap = { const apisMap = {
development: { development: {