🐞 fix(色卡与剪样顶部导航固定):

This commit is contained in:
czm 2023-03-02 18:11:00 +08:00
parent 4a949c973f
commit e8d6ff30cb
5 changed files with 8 additions and 1 deletions

View File

@ -3,6 +3,10 @@
background-color: #fff;
height: auto;
flex-shrink: 0;
position: fixed;
width: 100%;
top: 0;
z-index: 9999;
}
.navBar {
display: flex;

View File

@ -2,6 +2,7 @@
min-height: 100vh;
background-color: #f7f7f7ff;
padding-bottom: 180px;
padding-top: 190px;
.backIcon {
transform: rotate(180deg);
}

View File

@ -163,6 +163,7 @@ export default () => {
</View>
} title="领取色卡"
></NavBar>
<View className={styles.remark}>
<Address onSelect={getAddress} defaultValue={addressInfo} />
</View>

View File

@ -2,6 +2,7 @@
min-height: 100vh;
background-color: #f7f7f7ff;
padding-bottom: 180px;
padding-top: 190px;
.backIcon {
transform: rotate(180deg);
}

View File

@ -229,7 +229,7 @@ export default () => {
<View className={styles.card_header}>{formatHashTag(item.code, item.name)}</View>
<View className={styles.card_list}>
{item.colors?.map((citem, cindex) =>
<ProductCard bottomStatus={(item.colors?.length - 1) !== cindex} key={citem.id} value={citem} onDelData={onDelData(item)} onChangeNum={onChangeNum} />,
<ProductCard bottomStatus={((item.colors?.length - 1) !== cindex) || ((list?.length - 1) === index)} key={citem.id} value={citem} onDelData={onDelData(item)} onChangeNum={onChangeNum} />,
)}
{(list?.length - 1 === index) && <View className={styles.express_btn}></View>}
</View>