用户详情子组件使用scss定义样式

master
panqihua 2 years ago
parent 67f046c281
commit 3638dc3a15
  1. 2
      src/views/platform/buyDetail.vue
  2. 6
      src/views/platform/discount.vue
  3. 2
      src/views/platform/result/card.vue
  4. 2
      src/views/platform/result/collect.vue
  5. 2
      src/views/platform/result/history.vue
  6. 19
      src/views/platform/walletDetail.vue
  7. 6
      src/views/system/user/index.vue

@ -86,7 +86,7 @@ export default {
} }
</script> </script>
<style scoped> <style scoped lang="scss">
.query-form { .query-form {
margin-bottom: 20px; margin-bottom: 20px;
} }

@ -85,7 +85,7 @@ export default {
} }
</script> </script>
<style scoped> <style scoped lang="scss">
.query-form { .query-form {
margin-bottom: 20px; margin-bottom: 20px;
} }
@ -94,7 +94,9 @@ export default {
font-weight: bold; font-weight: bold;
} }
.count>div { .count {
div {
margin-bottom: 20px; margin-bottom: 20px;
} }
}
</style> </style>

@ -24,7 +24,7 @@ export default {
} }
} }
</script> </script>
<style scoped> <style scoped lang="scss">
.price { .price {
color: red; color: red;
font-weight: bold; font-weight: bold;

@ -52,7 +52,7 @@ export default {
} }
} }
</script> </script>
<style scoped> <style scoped lang="scss">
.total, .total,
.shop-card { .shop-card {
margin-bottom: 20px; margin-bottom: 20px;

@ -59,7 +59,7 @@ export default {
} }
} }
</script> </script>
<style scoped> <style scoped lang="scss">
.total, .total,
.shop-card { .shop-card {
margin-bottom: 20px; margin-bottom: 20px;

@ -102,13 +102,16 @@ export default {
} }
</script> </script>
<style scoped> <style scoped lang="scss">
$space: 20px;
.query-form { .query-form {
margin-top: var(--space); margin-top: $space;
margin-bottom: calc(var(--space) * 2); margin-bottom: #{$space * 2};
} }
.balance>div { .balance {
&>div {
background-color: rgba(22, 132, 252, 0.2); background-color: rgba(22, 132, 252, 0.2);
height: 80px; height: 80px;
color: rgba(16, 16, 16, 1); color: rgba(16, 16, 16, 1);
@ -121,13 +124,13 @@ export default {
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} &>div:first-child {
.balance>div>div:first-child {
margin-bottom: 5px; margin-bottom: 5px;
} }
}
.balance>div:not(:first-child) { &>div:not(:first-child) {
margin-left: 20px; margin-left: 20px;
} }
}
</style> </style>

@ -487,11 +487,7 @@ export default {
} }
}; };
</script> </script>
<style > <style scoped lang="scss">
:root {
--space: 20px;
}
.custom-divider.el-divider { .custom-divider.el-divider {
margin-top: 0 !important; margin-top: 0 !important;
margin-bottom: 20px !important; margin-bottom: 20px !important;

Loading…
Cancel
Save