Commit aed35d1c by 宋冰琦

修改部分样式问题

parent f83e0934
......@@ -21,7 +21,7 @@ export default {
wx.getSystemInfo({
success: res => {
const BottomSafeHeight = res.screenHeight - res.safeArea.bottom
uni.setStorage({ key: 'BottomSafeHeight', data: BottomSafeHeight });
uni.setStorage({ key: 'BottomSafeHeight', data: BottomSafeHeight?BottomSafeHeight+10:0 });
}
})
......
......@@ -32,7 +32,7 @@
</view>
<view class="addbox">
<image v-if="getSku(item).state==1" @click.stop="getallNum(item, category)" class="add" :src="'../../static/imgs/jiahao.png'" />
<!-- <u-icon class="add" name="plus-circle-fill" color="#003AE9" @click.stop="getallNum(item, category)" size="22"></u-icon> -->
<!-- <u-icon class="add" name="plus-circle-fill" color="#0050F6" @click.stop="getallNum(item, category)" size="22"></u-icon> -->
<div v-if="getSku(item).state!=1" style="color: #858585;font-size: 20rpx;">已售罄</div>
</view>
</view>
......@@ -606,9 +606,9 @@ export default {
right: 0rpx;
box-sizing:border-box;
top: 0;
background: #003AE9;
background: #0050F6;
z-index: 1;
border: 2rpx solid #003AE9;
border: 2rpx solid #0050F6;
}
::-webkit-scrollbar {
......
......@@ -95,7 +95,7 @@ export default {
width: 90%;
min-height: 264rpx;
background: #FFFFFF;
border: 1px solid #003AE9;
border: 1px solid #0050F6;
padding: 25rpx 32rpx;
box-sizing: border-box;
margin: 30rpx auto;
......@@ -153,7 +153,7 @@ export default {
.goshop {
width: 167rpx;
height: 64rpx;
background: #003AE9;
background: #0050F6;
border-radius: 2rpx;
font-size: 24rpx;
font-family: PingFangSC-Regular, PingFang SC;
......
......@@ -24,7 +24,7 @@
<view class="good-spec-name">{{ specItem.specName }}</view>
<view class="good-spec-rule">
<div v-for="specItemRule in specItem.rules" class="div_item" :key="specItemRule.ruleId">
<div v-if="specItemRule.isRecommend=='1'" class="default">推荐</div>
<div v-if="specItemRule.isRecommend=='1'" :class="[UseIt(specItemRule.ruleId)?'disabledStyle':'']" class="default"></div>
<button class="good-spec-rule-item" :disabled="UseIt(specItemRule.ruleId)"
@click="selectRoles(specItemRule, specItem)"
:class="{ active: isActvie(specItemRule) }">
......@@ -419,7 +419,7 @@ export default {
}
.good-spec-name {
margin-top: 51rpx;
margin-top: 28.98rpx;
font-family: PingFangSC-Regular, PingFang SC;
color: #999999;
font-weight: 400;
......@@ -445,17 +445,14 @@ export default {
.default {
width: 42rpx;
height: 25rpx;
background-color: #ed79c5;
width: 45rpx;
height: 38rpx;
background: url('@/static/imgs/tuijian.png') center center no-repeat;
background-size: 100%;
position: absolute;
right: -17rpx;
top: -15rpx;
z-index: 9;
font-size: 13rpx;
line-height: 25rpx;
text-align: center;
color: white;
}
}
......@@ -483,7 +480,7 @@ export default {
&.active {
font-weight: 400;
padding: 0rpx 20rpx;
background: #003AE9;
background: #0050F6;
color: #fff;
border-radius: 0rpx;
border: 0rpx;
......@@ -496,9 +493,10 @@ export default {
border: 0rpx;
}
// button[disabled]:not([type]) {
// background: red;
// }
button[disabled]:not([type]) {
background: url('@/static/imgs/shouqingsku.png') center center no-repeat;
background-size: 100%;
}
.spec-detail {
width: 100%;
......@@ -511,16 +509,20 @@ export default {
font-size: 28rpx;
font-family: PingFangSC-Medium, PingFang SC;
color: #333333;
line-height: 40px;
padding-top:42rpx !important;
padding-bottom:22rpx !important
}
.spec-detail-img {
margin-top: 55rpx;
margin-left: 30rpx;
margin-right: 30rpx;
height: 500rpx;
}
.spec-detail-img:last-child{
margin-bottom: 115rpx;
}
.spec-detail-img-item {
width: 100%;
height: 100%;
......@@ -579,11 +581,11 @@ export default {
.good-select-btn1 {
width: 328rpx;
height: 104rpx;
border: 2rpx solid #003AE9;
border: 2rpx solid #0050F6;
font-size: 28rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #003AE9;
color: #0050F6;
border-radius: 2px;
line-height: 104rpx;
text-align: center;
......@@ -596,7 +598,7 @@ export default {
border-radius: 2px;
font-size: 28rpx;
font-family: PingFangSC-Regular, PingFang SC;
background: #003AE9;
background: #0050F6;
line-height: 104rpx;
text-align: center;
color: #fff;
......
......@@ -89,7 +89,7 @@ export default {
border-radius: 2rpx;
font-size: 24rpx;
font-family: PingFangSC-Regular, PingFang SC;
background: #003AE9;
background: #0050F6;
font-weight: 400;
color: #FFFFFF;
line-height: 64rpx;
......
......@@ -370,7 +370,7 @@ export default {
font-size: 32rpx;
font-family: Futura Medium, Arial, sans-serif;
font-weight: normal;
color: #003AE9;
color: #0050F6;
margin: 0 16rpx;
}
}
......@@ -395,7 +395,7 @@ export default {
width: 167rpx;
height: 64rpx;
background: #003AE9;
background: #0050F6;
border-radius: 2rpx;
}
.btn_cancel {
......@@ -403,12 +403,12 @@ export default {
font-size: 24rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #003AE9;
color: #0050F6;
width: 167rpx;
height: 64rpx;
border-radius: 2rpx;
border: 2rpx solid #003AE9;
border: 2rpx solid #0050F6;
}
}
......
......@@ -7,13 +7,14 @@
<div v-if="shopData.distance && shopData.distance!=-1" class="address_2">距您{{ shopData.distance }},请确定门店后下单</div>
<div v-else class="address_2">请确定门店后下单</div>
</div>
<div class="take_order">
<div class="title">取单时间</div>
<div class="take_order"></div>
<div>
<div class="title">取单时间</div>
<div class="time">现在下单,预计 <span class="min">{{ duration }}</span> 分钟后取餐</div>
</div>
</div>
</div>
<div class="goods_info">
<h3>商品详</h3>
<h3>商品详</h3>
<div class="goods" v-for="item in goods" :key="item.goodsId">
<div class="goods_item">
<image mode="aspectFit" v-if="item.pics.thumbnailApplet" class="goods_img"
......@@ -266,7 +267,6 @@ export default {
.shop_info {
width: 686rpx;
height: 306rpx;
background: #FFFFFF;
margin: 0 auto;
margin-top: 32rpx;
......@@ -304,11 +304,11 @@ export default {
.take_order {
margin-top: 25rpx;
padding-top: 25rpx;
border-top: 1rpx solid #ECECEC;
padding-top: 23.83rpx;
border-top: 2rpx solid #ECECEC;
height: 2rpx;
.title {
}
.title {
font-size: 28rpx;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
......@@ -322,14 +322,13 @@ export default {
color: #999999;
.min {
color: #003AE9;
color: #0050F6;
font-size: 28rpx;
font-weight: 700;
margin: 0 5rpx;
margin: 0 8rpx;
display: inline-block;
}
}
}
}
.goods_info {
......@@ -451,7 +450,7 @@ export default {
align-items: center;
display: flex;
justify-content: space-between;
margin-top: 25rpx;
margin-top: 24rpx;
.size {
font-size: 28rpx;
......@@ -460,9 +459,28 @@ export default {
color: #666666;
}
.priceBox{
.the_sum{
display: flex;
align-items: flex-end;
.paid_in {
font-size: 28rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #333333;
}
.money {
font-weight: 500;
font-size: 36rpx;
font-family: Futura-Medium, Futura;
color: #333333;
// vertical-align: middle;
line-height: 40rpx;
}
}
.priceBox{
display: flex;
align-items: center;
align-items: flex-end;
.paid_in {
font-size: 28rpx;
font-family: PingFangSC-Regular, PingFang SC;
......@@ -473,8 +491,10 @@ export default {
.money {
font-weight: 500;
font-size: 36rpx;
font-family: Futura-Medium, Futura;
color: #333333;
vertical-align: middle;
// vertical-align: middle;
line-height: 40rpx;
}
}
......@@ -525,7 +545,7 @@ export default {
.the_sum {
display: flex;
align-items: center;
align-items: flex-end;
.name {
font-size: 28rpx;
font-family: PingFangSC-Regular, PingFang SC;
......@@ -539,6 +559,7 @@ export default {
font-family: Futura-Medium, Futura;
font-weight: 500;
color: #333333;
line-height: 40rpx;
}
}
......
......@@ -97,7 +97,7 @@
"tabBar": {
"custom": true,
"color": "#999999",
"selectedColor": "#003AE9",
"selectedColor": "#0050F6",
"iconWidth": "30rpx",
"borderStyle":"white",
"list": [
......
......@@ -488,7 +488,7 @@ export default {
font-size: 32rpx;
font-family: Futura Medium, Arial, sans-serif;
font-weight: normal;
color: #003AE9;
color: #0050F6;
margin: 0 16rpx;
}
}
......
......@@ -266,7 +266,7 @@ export default {
border-radius: 2rpx;
font-size: 24rpx;
font-family: PingFangSC-Regular, PingFang SC;
background: #003AE9;
background: #0050F6;
font-weight: 400;
color: #FFFFFF;
line-height: 64rpx;
......@@ -305,7 +305,7 @@ export default {
border-radius: 2rpx;
font-size: 24rpx;
font-family: PingFangSC-Regular, PingFang SC;
background: #003AE9;
background: #0050F6;
font-weight: 400;
color: #FFFFFF;
line-height: 64rpx;
......@@ -458,7 +458,7 @@ export default {
height: 64rpx;
line-height: 64rpx;
font-family: PingFangSC-Regular, PingFang SC;
background: #003AE9;
background: #0050F6;
font-size: 24rpx;
margin: 0;
color: #fff;
......
static/imgs/duigouxuanzhong.png

2.14 KB | W: | H:

static/imgs/duigouxuanzhong.png

2.86 KB | W: | H:

static/imgs/duigouxuanzhong.png
static/imgs/duigouxuanzhong.png
static/imgs/duigouxuanzhong.png
static/imgs/duigouxuanzhong.png
  • 2-up
  • Swipe
  • Onion skin
static/imgs/jiahao.png

7.91 KB | W: | H:

static/imgs/jiahao.png

2.34 KB | W: | H:

static/imgs/jiahao.png
static/imgs/jiahao.png
static/imgs/jiahao.png
static/imgs/jiahao.png
  • 2-up
  • Swipe
  • Onion skin
static/imgs/jianhao.png

2.47 KB | W: | H:

static/imgs/jianhao.png

2.92 KB | W: | H:

static/imgs/jianhao.png
static/imgs/jianhao.png
static/imgs/jianhao.png
static/imgs/jianhao.png
  • 2-up
  • Swipe
  • Onion skin
static/imgs/weixuanzhong.png

2.3 KB | W: | H:

static/imgs/weixuanzhong.png

2.87 KB | W: | H:

static/imgs/weixuanzhong.png
static/imgs/weixuanzhong.png
static/imgs/weixuanzhong.png
static/imgs/weixuanzhong.png
  • 2-up
  • Swipe
  • Onion skin
static/touxiang.png

2.31 KB | W: | H:

static/touxiang.png

15.9 KB | W: | H:

static/touxiang.png
static/touxiang.png
static/touxiang.png
static/touxiang.png
  • 2-up
  • Swipe
  • Onion skin
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment