Browse Source

ui页面边距

pull/46/head
zq 3 weeks ago
parent
commit
907f617e40
  1. 3
      src/style/theme/common.scss
  2. 6
      src/views/ConfigureServicePrices.vue
  3. 4
      src/views/elementGroups.vue

3
src/style/theme/common.scss

@ -34,6 +34,9 @@ body {
font-weight: normal; font-weight: normal;
letter-spacing: 0.08em; letter-spacing: 0.08em;
} }
.main-content12{
padding: 12px;
}
// 变小手 // 变小手
.point{ .point{
cursor: pointer; cursor: pointer;

6
src/views/ConfigureServicePrices.vue

@ -44,7 +44,7 @@
<div class="left-pay-item "> <div class="left-pay-item ">
<div class="flex-between"> <div class="flex-between">
<span>微信收款</span> <span>微信收款</span>
<GuipSwitch v-model="form.weixinFlag" activeText="开启" inactiveText="关闭" <GuipSwitch :modelValue="form.weixinFlag" activeText="开启" inactiveText="关闭"
@change="onSwitchChange"> @change="onSwitchChange">
</GuipSwitch> </GuipSwitch>
</div> </div>
@ -53,7 +53,7 @@
<div class="left-pay-item "> <div class="left-pay-item ">
<div class="flex-between"> <div class="flex-between">
<span>支付宝收款</span> <span>支付宝收款</span>
<GuipSwitch v-model="form.zhifubaoFlag" activeText="开启" <GuipSwitch :modelValue="form.zhifubaoFlag" activeText="开启"
inactiveText="关闭" @change="onSwitchChange"> inactiveText="关闭" @change="onSwitchChange">
</GuipSwitch> </GuipSwitch>
</div> </div>
@ -91,7 +91,7 @@
<div class="left-pay-item "> <div class="left-pay-item ">
<div class="flex-between"> <div class="flex-between">
<span>淘宝收款</span> <span>淘宝收款</span>
<GuipSwitch v-model="form.weixinFlag" activeText="开启" inactiveText="关闭" <GuipSwitch :modelValue="form.weixinFlag" activeText="开启" inactiveText="关闭"
@change="onSwitchChange"> @change="onSwitchChange">
</GuipSwitch> </GuipSwitch>
</div> </div>

4
src/views/elementGroups.vue

@ -1,4 +1,5 @@
<template> <template>
<div class="main-content12">
<div class="elementWrap"> <div class="elementWrap">
<!-- ele-item 为类名的这种div label h3 仅在此页面进行布局使用复制时无需复制此元素 --> <!-- ele-item 为类名的这种div label h3 仅在此页面进行布局使用复制时无需复制此元素 -->
<el-form :model="form" :rules="rules" class="el-row demo-ruleForm" ref="formRef"> <el-form :model="form" :rules="rules" class="el-row demo-ruleForm" ref="formRef">
@ -289,7 +290,7 @@
<div class="ele-item"> <div class="ele-item">
<label for="">开关L</label> <label for="">开关L</label>
<GuipSwitch v-model="switchValue" activeText="开启" inactiveText="关闭" @change="onSwitchChange"> <GuipSwitch :modelValue="switchValue" activeText="开启" inactiveText="关闭" @change="onSwitchChange">
</GuipSwitch> </GuipSwitch>
</div> </div>
<el-table <el-table
@ -384,6 +385,7 @@
</div> </div>
</GuipDialog> </GuipDialog>
</div> </div>
</div>
</template> </template>
<script> <script>

Loading…
Cancel
Save