银花优选微信小程序修改后的最新版本代码
This commit is contained in:
235
pages/business/index.wxss
Normal file
235
pages/business/index.wxss
Normal file
@@ -0,0 +1,235 @@
|
||||
page{
|
||||
background: #ccc;
|
||||
}
|
||||
.container {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
font-size: 14px;
|
||||
color: #000;
|
||||
padding: 0;
|
||||
background: #ccc;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.container-header{ background-color: #00B050;}
|
||||
.header{margin:0;width:100%; padding:0; padding-top: 0em; box-sizing: border-box;}
|
||||
.searchbox2{ display: flex; z-index: 100; flex-direction: row; margin:0; margin-top:0.3em; width:70%; height:2.8em; padding:0; box-sizing: border-box;}
|
||||
.searchbox2 .logobox{margin-left:0.7em;margin-right:0.35em;margin-top:0; width: 6em;height:1.6em; box-sizing:border-box;}
|
||||
.searchbox2 .logobox image{width: 100%; height:100%;}
|
||||
.searchbox2 .inpubox{flex-grow: 1;padding-left: 0.8em; height:2.2em; box-sizing:border-box;border-radius:0.5em;}
|
||||
.searchbox2 .inpubox input{ margin:0; padding-left: 0.2em; width: 100%; font-size:1em; height:2.2em; outline: none; text-indent:0;box-sizing:border-box;color:#000; border:1px solid #f1f1f1;border-radius:0.5em; background-color:#f5f5f5;}
|
||||
.searchbox2 .icobox{margin-left:-0.3em; width:2.2em;height:2.2em; font-size:1em; box-sizing:border-box;}
|
||||
.searchbox2 .icobox image{width: 1.5em; height:1.5em; margin-top: 0.4em; margin-left: 0.6em;}
|
||||
.searchbox2 .icobox0{width:2.2em;height:2.2em; font-size:1em; box-sizing:border-box;margin-left: 0.6em;}
|
||||
.searchbox2 .icobox0 image{width: 1.8em; height:1.8em; margin-top: 0.2em; margin-left: 0.4em;}
|
||||
.searchbox{ display: flex; z-index: 100; flex-direction: row; margin:0;width:100%; padding:0.8em; padding-top: 0; box-sizing: border-box; }
|
||||
|
||||
.searchbox .inpubox{flex-grow: 1;margin:0; height:2.2em; box-sizing:border-box;}
|
||||
.searchbox .inpubox input{ margin:0; padding-left:2.3em; width: 100%; font-size:1em; height:2.2em; outline: none; text-indent:0;box-sizing:border-box;color:#fff;border:1px solid #1A6D3F;border-radius:0.5em 0 0 0.5em; background-color:#1D7946;}
|
||||
.searchbox .icobox{margin-right:-2.3em; width:2.2em;height:2.2em;box-sizing:border-box;z-index: 101;}
|
||||
|
||||
.searchbox .icobox image{width: 1.5em; height:1.5em; margin-top: 0.4em; margin-left: 0.6em;}
|
||||
.searchbox .icobox0{margin:0; margin-left:0.5em; margin-top:0.2em; width:1.8em;height:1.8em; box-sizing:border-box;z-index: 101;border-radius:50%;}
|
||||
.searchbox .icobox0 image{width: 1.5em; height:1.5em; margin-top: 0.1em; margin-left: 0.1em;}
|
||||
.searchbox .searchicobox{margin:0; margin-left:0em; width:3em;height:2.2em; line-height: 2.2em; box-sizing:border-box;z-index: 102;background:linear-gradient(to right,#1D7946,#1D7946); border:1px solid #1A6D3F; border-left:0; color:#fff; text-align: center; border-radius:0 0.5em 0.5em 0;}
|
||||
|
||||
.swiper{
|
||||
width:100%;
|
||||
background-color: #fff;
|
||||
border-radius:0.5em;
|
||||
padding: 0.8em;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.swiper_box {
|
||||
width: 100%;
|
||||
min-height: 14em;
|
||||
}
|
||||
|
||||
swiper-item image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: inline-block;
|
||||
}
|
||||
.menudata_box{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
padding:0.8em;
|
||||
box-sizing: border-box;
|
||||
z-index: 10;
|
||||
}
|
||||
.menudata_box view{
|
||||
display:block;
|
||||
float:left;
|
||||
width: 100%;
|
||||
padding: 0.4em 0;
|
||||
padding-bottom: 0.4em;
|
||||
border-radius:0.5em;
|
||||
background-color:#fff;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.menudata_box view .swiper_box0 {
|
||||
display:block;
|
||||
float:left;
|
||||
width: 100%;
|
||||
height:11em;
|
||||
}
|
||||
.menudata_box .swiper_box0 .wx-swiper-dots{bottom: 0em;}
|
||||
.menudata_box view view{
|
||||
float: left;
|
||||
display: flex;
|
||||
width: 25%;
|
||||
height: 6em;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
box-sizing: border-box;
|
||||
font-size:0.8em;
|
||||
}
|
||||
|
||||
.menudata_box view view image{
|
||||
width: 3em;
|
||||
height: 3em;
|
||||
padding:0;
|
||||
background-color: #f5f5f5;
|
||||
border-radius:0.4em;
|
||||
overflow: hidden;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.menudata_box view view text{
|
||||
margin-top: 0.4em;
|
||||
|
||||
}
|
||||
.business_box {
|
||||
width: 100%;
|
||||
padding: 0 0.8em;
|
||||
margin-bottom: 6em;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.business_item {
|
||||
width: 100%;
|
||||
background-color: #fff;
|
||||
border-radius: 0.7em;
|
||||
margin-bottom: 0.8em;
|
||||
padding: 0.6em;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.business_item .business_item_top {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.business_item .business_item_top .item_image {
|
||||
width: 5em;
|
||||
height: 5em;
|
||||
margin-right: 0.6em;
|
||||
border: 1px solid #f1f1f1;
|
||||
}
|
||||
|
||||
.business_item .business_item_top .item_image image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
}
|
||||
.business_item .business_item_top .item_info {
|
||||
width: 12em;
|
||||
}
|
||||
.business_item .business_item_top .item_info .item_title {
|
||||
font-size: 1em;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.business_item .business_item_top .item_info .item_distance {
|
||||
margin-top: 0.5em;
|
||||
font-size: 1em;
|
||||
color: #939393;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.item_distance_box {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.item_distance_box .addressico {
|
||||
margin-left: 0.5em;
|
||||
width: 1.2em;
|
||||
height: 1.2em;
|
||||
}
|
||||
|
||||
.item_distance_box .addressico image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.business_item .business_item_top .item_info{
|
||||
flex-grow: 1;
|
||||
}
|
||||
.business_item .business_item_top .item_info view.item_address {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
margin-top: 0.5em;
|
||||
font-size: 1em;
|
||||
color: #939393;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.business_item .business_item_top .item_info view.item_address .ico {
|
||||
width: 1.4em;
|
||||
height: 1.4em;
|
||||
}
|
||||
|
||||
.business_item .business_item_top .item_info view.item_address .ico .ico_box {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.business_item .business_item_top .item_info view.item_address .ico image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.business_item .business_item_bottom {
|
||||
margin-top: 0.6em;
|
||||
padding-top: 0.6em;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
border-top: 1px solid #f1f1f1;
|
||||
}
|
||||
|
||||
.business_item .item_product .product_image {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.business_item .item_product .product_image image {
|
||||
width: 5em;
|
||||
height: 5em;
|
||||
}
|
||||
|
||||
.business_item .item_product .products_title {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.business_item .item_product .products_price {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.business_item .item_product .products_price text {
|
||||
color: #ff4d00;
|
||||
}
|
||||
|
||||
.business_item .item_product .products_price del {
|
||||
color: #939393;
|
||||
}
|
||||
|
||||
.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