Bladeren bron

del rem

ctt_dev
chutingting 1 jaar geleden
bovenliggende
commit
46199d670d
4 gewijzigde bestanden met toevoegingen van 19 en 15 verwijderingen
  1. +6
    -3
      src/layout/index.vue
  2. +1
    -1
      src/main.ts
  3. +3
    -2
      src/views/myStore/index.vue
  4. +9
    -9
      vite.config.ts

+ 6
- 3
src/layout/index.vue Bestand weergeven

@@ -230,8 +230,9 @@ function toUserModel() {
<!-- 新样式 -->
<style lang="scss" scoped>
.app-wrapper {
width: 1920px;
width: 100%;
display: flex;
overflow: hidden;
}
.Sidebar {
width: 230px;
@@ -250,10 +251,12 @@ function toUserModel() {
.myRouter {
position: relative;
height: calc(100% - 80px);
padding: 130px 20px 0;
padding: 40px 20px 0;
color: #fff;
user-select: none;
// color: #868593;
overflow: auto;
overflow-x: hidden;

.bottomBtx {
position: absolute;
@@ -317,7 +320,7 @@ function toUserModel() {
}
}
.rightBox {
width: 1690px;
width: calc(100% - 230px);
// background-color: #000;
.nav {
display: flex;


+ 1
- 1
src/main.ts Bestand weergeven

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


+ 3
- 2
src/views/myStore/index.vue Bestand weergeven

@@ -94,7 +94,7 @@
<!-- 二维码弹出框 -->
<el-dialog
v-model="orderCodeDialogShow"
width="30%"
width="500px"
append-to-body
destroy-on-close
@closed="clearCode"
@@ -351,6 +351,7 @@ function clearCode() {
myPayVendor.value = null; // 2微信 4支付宝
payCodeUrl.value = null;
iframeBody.value = null;
showPayDialog.value = false;
}
// 刷新二维码
function RefreshQR() {
@@ -428,7 +429,7 @@ function findStatus() {

.item {
position: relative;
width: 480px;
width: 450px;
// height: 680px;
margin-left: 45px;
background-color: #fffefd;


+ 9
- 9
vite.config.ts Bestand weergeven

@@ -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: {
host: "0.0.0.0",


Laden…
Annuleren
Opslaan