chutingting пре 1 година
родитељ
комит
4d35512fa0
3 измењених фајлова са 17 додато и 17 уклоњено
  1. +1
    -1
      src/main.ts
  2. +7
    -7
      src/views/myStore/index.vue
  3. +9
    -9
      vite.config.ts

+ 1
- 1
src/main.ts Прегледај датотеку

@@ -17,7 +17,7 @@ import "element-plus/theme-chalk/dark/css-vars.css";
import "@/styles/index.scss"; import "@/styles/index.scss";
import "uno.css"; import "uno.css";
import "@/styles/my.scss"; // 引入自己定义的样式 import "@/styles/my.scss"; // 引入自己定义的样式
// import 'amfe-flexible';
import 'amfe-flexible';
import ElementPlus from "element-plus"; import ElementPlus from "element-plus";
// 引入组件 // 引入组件
import myLoading from "@/components/myLoading.vue"; import myLoading from "@/components/myLoading.vue";


+ 7
- 7
src/views/myStore/index.vue Прегледај датотеку

@@ -111,8 +111,8 @@
<iframe <iframe
v-show="iframeBody" v-show="iframeBody"
id="myIframe" id="myIframe"
width="220px"
height="220px"
width="220PX"
height="220PX"
frameborder="0" frameborder="0"
></iframe> ></iframe>
</div> </div>
@@ -406,7 +406,7 @@ function findStatus() {
<style lang="scss" scoped> <style lang="scss" scoped>


.page { .page {
// min-width: calc(100vw - 220px);
// min-width: calc(100vw - 210px);
height: calc(100vh - 80px); height: calc(100vh - 80px);
width: 1690px; width: 1690px;
padding: 0px 20px 0 20px; padding: 0px 20px 0 20px;
@@ -429,7 +429,7 @@ function findStatus() {


.item { .item {
position: relative; position: relative;
width: 25%;
width: 450px;
// height: 680px; // height: 680px;
margin-left: 45px; margin-left: 45px;
background-color: #fffefd; background-color: #fffefd;
@@ -612,10 +612,10 @@ function findStatus() {
margin: auto; margin: auto;
justify-content: space-evenly; justify-content: space-evenly;
align-items: center; align-items: center;
width: 220px;
height: 220px;
width: 220PX;
height: 220PX;
border: 1px solid #ccc; border: 1px solid #ccc;
// border-radius: 15px;
border-radius: 15px;
overflow: hidden; overflow: hidden;
padding: 10px; padding: 10px;
img { img {


+ 9
- 9
vite.config.ts Прегледај датотеку

@@ -35,15 +35,15 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
`, `,
}, },
}, },
// postcss: {
// plugins: [
// postCssPxToRem({
// rootValue: 192, // 1rem 的大小
// propList: ['*'], // 需要转换的属性,*(全部转换)
// unitPrecision: 6 // 转换精度,保留的小数位数
// })
// ]
// }
postcss: {
plugins: [
postCssPxToRem({
rootValue: 192, // 1rem 的大小
propList: ['*'], // 需要转换的属性,*(全部转换)
unitPrecision: 6 // 转换精度,保留的小数位数
})
]
}
}, },
server: { server: {
host: "0.0.0.0", host: "0.0.0.0",


Loading…
Откажи
Сачувај