🎈 perf(界面优化):

This commit is contained in:
czm 2022-11-24 19:11:08 +08:00
parent cb7a1df5b2
commit 7a6ca4cff1
5 changed files with 14 additions and 7 deletions

View File

@ -60,7 +60,9 @@ const config = {
postcss: {
pxtransform: {
enable: true,
config: {},
config: {
onePxTransform: false,
},
},
url: {
enable: true,

View File

@ -66,8 +66,10 @@
}
.con {
display: grid;
grid-template-columns: auto auto;
font-size: $font_size_medium;
grid-template-columns: 50% 50%;
grid-template-rows: auto auto auto;
grid-template-areas: 'a b' 'c d' 'e e';
font-size: 26px;
color: $color_font_three;
background-color: rgba(247, 247, 247, 0.6);
border-radius: 8px;
@ -77,6 +79,9 @@
.des_text {
display: flex;
margin-bottom: 24px;
&:nth-child(5) {
grid-area: e;
}
text {
flex: 1;
color: #333333;
@ -95,6 +100,7 @@
.title {
color: rgba(0, 0, 0, 0.8);
font-weight: 500;
font-size: 28px;
}
.list {
margin-top: 30px;

View File

@ -247,7 +247,7 @@ export default (props: Params) => {
<View className={styles.customer_service}>
<View className={classnames('iconfont icon-kefu', styles.miconfont)}></View>
<View className={styles.text}>
/
<Button
className={styles.wxBtn}
openType='contact'

View File

@ -33,6 +33,7 @@
border: 1px solid #3c78f4;
color: #3c78f4;
background: #ecf2ff;
box-sizing: border-box;
}
}
}
@ -71,7 +72,7 @@
.product_class_scroll {
box-sizing: border-box;
max-height: 500px;
padding: 20px 20px 0 20px;
padding: 15px 20px 0 10px;
.product_class_list {
display: flex;
flex-wrap: wrap;

View File

@ -15,9 +15,7 @@ type ParamProduct = Omit<Param, 'open'>
export default (option: Param) => {
const { open = false, onOpenClick, onSelect, list, defaultSelectId } = option
// const [defaultSelectIded, setDefaultSelectIded] = useState(-1)
const getSelect = (id) => {
// setDefaultSelectIded(id)
onSelect?.(id)
}
return (