🎈 perf(界面优化):
This commit is contained in:
parent
cb7a1df5b2
commit
7a6ca4cff1
@ -60,7 +60,9 @@ const config = {
|
|||||||
postcss: {
|
postcss: {
|
||||||
pxtransform: {
|
pxtransform: {
|
||||||
enable: true,
|
enable: true,
|
||||||
config: {},
|
config: {
|
||||||
|
onePxTransform: false,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
url: {
|
url: {
|
||||||
enable: true,
|
enable: true,
|
||||||
|
|||||||
@ -66,8 +66,10 @@
|
|||||||
}
|
}
|
||||||
.con {
|
.con {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: auto auto;
|
grid-template-columns: 50% 50%;
|
||||||
font-size: $font_size_medium;
|
grid-template-rows: auto auto auto;
|
||||||
|
grid-template-areas: 'a b' 'c d' 'e e';
|
||||||
|
font-size: 26px;
|
||||||
color: $color_font_three;
|
color: $color_font_three;
|
||||||
background-color: rgba(247, 247, 247, 0.6);
|
background-color: rgba(247, 247, 247, 0.6);
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
@ -77,6 +79,9 @@
|
|||||||
.des_text {
|
.des_text {
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-bottom: 24px;
|
margin-bottom: 24px;
|
||||||
|
&:nth-child(5) {
|
||||||
|
grid-area: e;
|
||||||
|
}
|
||||||
text {
|
text {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
color: #333333;
|
color: #333333;
|
||||||
@ -95,6 +100,7 @@
|
|||||||
.title {
|
.title {
|
||||||
color: rgba(0, 0, 0, 0.8);
|
color: rgba(0, 0, 0, 0.8);
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
|
font-size: 28px;
|
||||||
}
|
}
|
||||||
.list {
|
.list {
|
||||||
margin-top: 30px;
|
margin-top: 30px;
|
||||||
|
|||||||
@ -247,7 +247,7 @@ export default (props: Params) => {
|
|||||||
<View className={styles.customer_service}>
|
<View className={styles.customer_service}>
|
||||||
<View className={classnames('iconfont icon-kefu', styles.miconfont)}></View>
|
<View className={classnames('iconfont icon-kefu', styles.miconfont)}></View>
|
||||||
<View className={styles.text}>
|
<View className={styles.text}>
|
||||||
客服
|
询货/咨询
|
||||||
<Button
|
<Button
|
||||||
className={styles.wxBtn}
|
className={styles.wxBtn}
|
||||||
openType='contact'
|
openType='contact'
|
||||||
|
|||||||
@ -33,6 +33,7 @@
|
|||||||
border: 1px solid #3c78f4;
|
border: 1px solid #3c78f4;
|
||||||
color: #3c78f4;
|
color: #3c78f4;
|
||||||
background: #ecf2ff;
|
background: #ecf2ff;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -71,7 +72,7 @@
|
|||||||
.product_class_scroll {
|
.product_class_scroll {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
max-height: 500px;
|
max-height: 500px;
|
||||||
padding: 20px 20px 0 20px;
|
padding: 15px 20px 0 10px;
|
||||||
.product_class_list {
|
.product_class_list {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
|||||||
@ -15,9 +15,7 @@ type ParamProduct = Omit<Param, 'open'>
|
|||||||
|
|
||||||
export default (option: Param) => {
|
export default (option: Param) => {
|
||||||
const { open = false, onOpenClick, onSelect, list, defaultSelectId } = option
|
const { open = false, onOpenClick, onSelect, list, defaultSelectId } = option
|
||||||
// const [defaultSelectIded, setDefaultSelectIded] = useState(-1)
|
|
||||||
const getSelect = (id) => {
|
const getSelect = (id) => {
|
||||||
// setDefaultSelectIded(id)
|
|
||||||
onSelect?.(id)
|
onSelect?.(id)
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user