银花优选微信小程序修改后的最新版本代码
This commit is contained in:
34
pages/myfavorite/index.wxss
Normal file
34
pages/myfavorite/index.wxss
Normal file
@@ -0,0 +1,34 @@
|
||||
page{
|
||||
background: #ccc;
|
||||
}
|
||||
.container {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
font-size: 14px;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.myfavorite-box{display: flex;flex-direction: column;align-items: center;justify-content: center;width:100%;padding:0.8em; box-sizing: border-box;}
|
||||
.myfavorite-item{position: relative; float:left; width:100%; margin-bottom:0.8em; padding:0.8em; box-sizing: border-box;border:1px solid #f1f1f1; background-color:#fff;border-radius:0.5em;}
|
||||
.myfavorite-item image{float:left;width:25%;height:5em; overflow: hidden;}
|
||||
|
||||
.myfavorite-item .myfavorite-box{float:left;width:75%;height:5em; padding:0 0.5em; overflow: hidden; box-sizing: border-box;}
|
||||
.myfavorite-item .myfavorite-box .ourprice{
|
||||
color: #ff4d00;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.myfavorite-item .myfavorite-box .marketprice{
|
||||
text-decoration: line-through;
|
||||
color: #939393;
|
||||
}
|
||||
.myfavorite-item .icon{position:absolute; right:0.8em; top:0.5em;width:1.5em; height:1.5em; padding:0.15em; background-color:#fff;border:1px solid #f1f1f1;border-radius:50%;box-sizing:border-box; overflow: hidden;}
|
||||
.myfavorite-item .icon image{width:100%;height:100%;}
|
||||
.nodata{padding-top:1em; text-align: center; line-height: 1.5em; color:#939393;}
|
||||
.nodata image {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user