Browse Source

1.规格选择弹框页面调整修改 2.详情页面布局调整修改 3.地址管理页面调整修改

master
dy-hu 10 months ago
parent
commit
09f8d4290c
  1. 7
      components/CashierList/index.vue
  2. 10
      pages/tabbar/user/index.vue
  3. 49
      pages_category_page1/goodsModule/components/GoodSkuSelect.vue
  4. 24
      pages_category_page1/goodsModule/goodsDetails.vue
  5. 174
      pages_category_page1/orderModule/orderConfirm.vue
  6. 2
      pages_category_page2/userModule/addAddress.vue
  7. 40
      pages_category_page2/userModule/address.vue

7
components/CashierList/index.vue

@ -32,7 +32,7 @@
<view class="radio">
<u-radio
:disabled="payment.disabled"
activeColor="#c5aa7b"
activeColor="#252744"
:name="payment.paymentMode"
/>
</view>
@ -273,13 +273,14 @@ export default {
padding: 0rpx 15rpx;
box-sizing: border-box;
background: #fff;
border-radius: 30rpx;
.u-radio-group {
display: block !important;
}
.cashier {
border-bottom: 2rpx solid #d0d0d0;
border-bottom: 1px solid #BCBDC6;
&:last-child {
border-bottom: none
@ -297,6 +298,8 @@ export default {
display: flex;
align-items: center;
justify-content: center;
font-size: 28rpx;
color: #252744;;
image {
width: 50rpx;

10
pages/tabbar/user/index.vue

@ -335,11 +335,11 @@ page {
border-radius: 50%;
color: #FFFFFF;
text-align: center;
margin: 0rpx 0 0 30rpx;
margin: -10rpx 0 0 30rpx;
width: 30rpx;
height: 30rpx;
line-height: 30rpx;
font-size: 20rpx;
font-size: 14rpx;
}
}
@ -432,13 +432,13 @@ page {
.quan {
position: absolute;
right: 40upx;
top: 10upx;
right: 42rpx;
top: -10rpx;
border: 1px solid red;
color: #FFFFFF;
background-color: red;
border-radius: 50%;
font-size: 16rpx;
font-size: 14rpx;
width: 30upx;
height: 30upx;
line-height: 30upx;

49
pages_category_page1/goodsModule/components/GoodSkuSelect.vue

@ -10,7 +10,7 @@
<u-popup
v-model="goodsDetailShowFlag"
mode="bottom"
border-radius="14"
border-radius="60"
>
<view class="goosDetailshow-box">
<view class="detailImg-box flex-row-plus">
@ -110,51 +110,8 @@
<label class="sku-name">黑色2</label>
</view>
</view>
</scroll-view>
<!-- <view class="u-flex" style="margin-top: 30rpx">
<view class="sku-image-item">
<image class="sku-image" :src="imageUrl"/>
<label class="sku-name">浅绿色</label>
</view>
<view class="sku-image-item">
<image class="sku-image" :src="imageUrl"/>
<label class="sku-name">深灰色</label>
</view>
<view class="sku-image-item">
<image class="sku-image" :src="imageUrl"/>
<label class="sku-name">黄色</label>
</view>
<view class="sku-image-item">
<image class="sku-image" :src="imageUrl"/>
<label class="sku-name">蓝色</label>
</view>
<view class="sku-image-item">
<image class="sku-image" :src="imageUrl"/>
<label class="sku-name">军绿色</label>
</view>
<view class="sku-image-item">
<image class="sku-image" :src="imageUrl"/>
<label class="sku-name">黑色</label>
</view>
<view class="sku-image-item">
<image class="sku-image" :src="imageUrl"/>
<label class="sku-name">黑色2</label>
</view>
<view class="sku-image-item">
<image class="sku-image" :src="imageUrl"/>
<label class="sku-name">黑色3</label>
</view>
</view>-->
</view>
</view>
<view class="goodsNumCent">
@ -849,8 +806,8 @@ export default {
.selectBtn {
width: 342rpx;
height: 98rpx;
line-height: 95rpx;
height: 88rpx;
line-height: 88rpx;
color: #252744;
text-align: center;
border: 1px solid #252744;

24
pages_category_page1/goodsModule/goodsDetails.vue

@ -328,7 +328,7 @@
>
<image
class="returnTopImg"
src="https://ceres.zkthink.com/static/images/backTop.png"
src="https://wechat.hnthee.com/ceres-local-file/image/scroll_top.png"
></image>
</view>
</view>
@ -1287,8 +1287,8 @@ background-color: #F7F7F7;
}
.joinShopCartBut {
width: 230rpx;
height: 90rpx;
width: 235rpx;
height: 88rpx;
background-color: #FFFFFF;
color: #333333;
font-size: 32rpx;
@ -1301,8 +1301,8 @@ background-color: #F7F7F7;
}
.buyNowBut {
width: 230rpx;
height: 90rpx;
width: 235rpx;
height: 88rpx;
//background: #333333;
background: linear-gradient(-10deg, #252744, #484A66);
border-radius: 49rpx;
@ -1336,15 +1336,15 @@ background-color: #F7F7F7;
}
.returnTop-box {
width: 88rpx;
height: 88rpx;
border-radius: 50%;
background: #FFFFFF;
opacity: 0.8;
width: 98rpx;
height: 98rpx;
//border-radius: 50%;
//background: #FFFFFF;
//opacity: 0.8;
.returnTopImg {
width: 58rpx;
height: 58rpx;
width: 98rpx;
height: 98rpx;
}
}

174
pages_category_page1/orderModule/orderConfirm.vue

@ -10,7 +10,7 @@
@click="addAddressTap"
>
<image
src="https://ceres.zkthink.com/static/images/orderAddress.png"
src="https://wechat.hnthee.com/ceres-local-file/image/address_select.png"
class="address-img"
></image>
<!-- 有地址的 -->
@ -34,7 +34,7 @@
<text>你还没有收货地址哦点击这里添加</text>
</view>
<image
src="https://ceres.zkthink.com/static/images/greyArrow.png"
src="https://wechat.hnthee.com/ceres-local-file/image/address_foward.png"
class="arrow-right-img"
></image>
</view>
@ -47,7 +47,7 @@
<view class="order-list-top">
<view class="top-l">
<image
src="https://ceres.zkthink.com/static/images/orderStoreIcon.png"
src="https://wechat.hnthee.com/ceres-local-file/image/cart_shop.png"
class="shop-img"
>
</image>
@ -90,9 +90,9 @@
<view>
<view class="item">
<view class="flex-items">
<text>配送方式</text>
<text class="fs26 font-color-252744">配送方式</text>
</view>
<view class="flex-row-plus flex-items">
<view class="flex-row-plus flex-items fs26 font-color-252744">
<text v-if="item.distribution.distributionPrice > 0">{{$t('common.express')}} ¥
{{ item.distribution.distributionPrice }}
</text>
@ -130,7 +130,7 @@
</view>
<image
class="discount-img"
src="https://ceres.zkthink.com/static/images/arrowRight.png"
src="https://wechat.hnthee.com/ceres-local-file/image/address_foward.png"
></image>
</view>
<!-- <view class="discount-info-box flex-items" v-else>-->
@ -184,26 +184,26 @@
</view>
<image
class="discount-img"
src="https://ceres.zkthink.com/static/images/arrowRight.png"
src="https://wechat.hnthee.com/ceres-local-file/image/address_foward.png"
></image>
</view>
</view>
<!-- 积分支付-->
<!-- 积分支付-->
<view
class="integralPayBox"
v-if="integralShow"
>
<view class="integralBg">
<view class="integralTit fs26">可用{{ integralNum }}积分抵扣{{ integralPrice.toFixed(2) }}</view>
<view class="fs28 font-color-252744">可用{{ integralNum }}积分抵扣{{ integralPrice.toFixed(2) }}</view>
<view class="maxIntegral">
<checkbox-group
@change="changeIntegral"
style="width: 50rpx"
>
<checkbox
style="transform:scale(0.7);"
style="transform:scale(0.9);"
class="integralCheckbox"
color="#C5AA7B"
color="#252744"
value="1"
:checked="selectIntegral"
/>
@ -236,12 +236,12 @@
<text class="total">合计</text>
<text
v-if="totalPrice>0"
class="price"
class="bottom-total-price"
>¥{{ totalPrice.toFixed(2) }}
</text>
<text
v-else
class="price"
class="bottom-total-price"
>¥0.00
</text>
</view>
@ -1330,7 +1330,7 @@ export default {
<style lang="scss">
page {
background-color: #F7F7F7;
background-color: #FAFAFA;
}
.content {
@ -1340,8 +1340,8 @@ page {
.address-box {
margin-top: 20upx;
background: #fff;
border-radius: 10upx;
background-color: #FFFFFF;
border-radius: 30upx;
width: 100%;
padding: 30upx;
box-sizing: border-box;
@ -1352,8 +1352,8 @@ page {
}
.address-box .address-img {
width: 71upx;
height: 57upx;
width: 42rpx;
height: 45rpx;
margin-right: 20upx;
}
@ -1361,19 +1361,19 @@ page {
flex: 1;
display: flex;
flex-direction: column;
font-size: 28upx;
color: #333;
font-size: 28rpx;
color: #252744;
}
.arrow-right-img {
width: 62upx;
height: 62upx;
width: 16rpx;
height: 28rpx;
margin-left: 20upx;
}
.address-name-box {
font-size: 30upx;
color: #333;
font-size: 28rpx;
color: #252744;
}
.phone {
@ -1383,15 +1383,20 @@ page {
}
.address-info {
font-size: 28upx;
color: #333;
font-size: 28rpx;
color: #252744;
margin-top: 15upx;
}
.order-list-box .item {
background: #fff;
border-radius: 10upx;
.order-list-box{
border-radius: 30upx;
background-color: #FFFFFF;
}
/*
.order-list-box .item {
border-radius: 30upx;
background-color: #FFFFFF;
}*/
.order-list-top {
height: 96upx;
@ -1411,15 +1416,15 @@ page {
}
.shop-img {
width: 34upx;
height: 34upx;
width: 36rpx;
height: 32rpx;
margin-right: 10upx;
}
.shop-name {
font-size: 30upx;
color: #333;
font-weight: bold;
font-size: 28rpx;
color: #252744;
font-weight: 400;
}
.arrow-img {
@ -1440,10 +1445,10 @@ page {
}
.product-img {
width: 180upx;
height: 180upx;
border-radius: 10upx;
margin-right: 30upx;
width: 152rpx;
height: 152rpx;
border-radius: 30upx;
margin-right: 12upx;
}
.info-box {
@ -1451,10 +1456,8 @@ page {
}
.product-name {
font-size: 26upx;
color: #333;
height: 68upx;
line-height: 34upx;
font-size: 26rpx;
color: #252744;
display: -webkit-box;
overflow: hidden;
text-overflow: ellipsis;
@ -1471,28 +1474,30 @@ page {
}
.product-sku {
font-size: 24upx;
font-weight: 500;
color: #999;
font-size: 24rpx;
font-weight: 400;
color: #90919C;
margin-left: -20upx;
margin-top: 5rpx;
width: 100%;
display: flex;
flex-direction: row;
}
.product-price {
font-size: 32upx;
color: #C83732;
font-size: 28rpx;
margin-top: 26rpx;
color: #90919C;
font-weight: 400;
}
.product-price .fuhao {
font-size: 28upx;
font-size: 28rpx;
}
.product-num {
font-size: 28upx;
color: #999;
font-size: 24rpx;
color: #90919C;
font-weight: 400;
}
@ -1504,7 +1509,8 @@ page {
.delivery-way-box {
display: flex;
flex-direction: column;
border: 2rpx solid #E4E5E6;
border: 1px solid #BCBDC6;
border-radius: 20rpx;
padding: 20rpx;
margin-bottom: 20rpx;
box-sizing: content-box;
@ -1539,13 +1545,13 @@ page {
}
.total-num {
font-size: 26upx;
color: #333;
font-size: 28rpx;
color: #252744;
}
.total-price {
font-size: 46rpx;
color: #333333;
font-size: 36rpx;
color: #252744;
}
.ml10 {
@ -1555,11 +1561,12 @@ page {
.order-flow-box {
display: flex;
flex-direction: column;
margin-top: 40rpx;
}
.flow-word {
font-size: 24upx;
color: #999;
font-size: 28rpx;
color: #252744;
display: flex;
flex-direction: column;
}
@ -1579,42 +1586,49 @@ page {
left: 0;
width: 100%;
background: #fff;
border-radius: 40rpx;
padding: 30upx;
}
.num-box {
font-size: 30upx;
color: #999;
font-size: 32rpx;
color: #90919C;
}
.num-box .total {
color: #333;
.total {
font-size: 32rpx;
color: #252744;
font-weight: 400rpx;
}
.num-box .price {
color: #ff7911;
font-weight: bold;
.bottom-total-price {
font-size: 32rpx;
color: #252744;
font-weight: 400rpx;
}
.order-confirm-box .btn {
width: 100%;
height: 80rpx;
line-height: 80rpx;
height: 88rpx;
line-height: 88rpx;
background: #eee;
font-size: 28rpx;
color: #FFEBC4;
text-align: center;
margin-top: 20rpx;
border-radius: 50rpx;
}
.order-confirm-box .btn.active {
background: #333333;
color: #FFEBC4;
background: #252744;
color: #FFFFFF;
border-radius: 50rpx;
}
.order-confirm-box .btn.unActive {
background: #333333;
color: #FFEBC4;
background: #252744;
color: #FFFFFF;
border-radius: 50rpx;
opacity: 0.7;
}
@ -1641,6 +1655,7 @@ page {
justify-content: space-between;
padding: 0 20upx;
background: white;
border-radius: 30rpx;
}
.pay-type-item {
@ -1771,17 +1786,17 @@ page {
.discount-label,
.discount-info1 {
font-size: 26upx;
color: #333;
font-size: 28rpx;
color: #252744;
}
.discount-info2 {
color: #C5AA7B;
color: #252744;
}
.discount-img {
width: 30upx;
height: 30upx;
width: 16rpx;
height: 28rpx;
margin-left: 20upx;
}
@ -2005,7 +2020,7 @@ page {
height: 291rpx;
background: url("https://ceres.zkthink.com/static/images/couponsIcon.png") no-repeat center top;
margin-top: 20upx;
color: #C5AA7B;
color: #252744;
flex-shrink: 0;
text-align: center;
padding-top: 1rpx;
@ -2032,6 +2047,7 @@ page {
align-items: center;
background: #FFFFFF;
padding: 0 20rpx;
border-radius: 30rpx;
.maxDeduction {
margin-right: 15rpx;
@ -2041,8 +2057,8 @@ page {
</style>
<style>
.pay-type-item /deep/ .uni-radio-input-checked {
background-color: #C5AA7B !important;
border-color: #C5AA7B !important;
background-color: #252744 !important;
border-color: #252744 !important;
}
.maxIntegral /deep/ .uni-checkbox-input {
@ -2055,6 +2071,6 @@ page {
}
.maxIntegral /deep/ .uni-checkbox-input-checked {
border: 2rpx solid #C5AA7B !important;
border: 2rpx solid #252744 !important;
}
</style>

2
pages_category_page2/userModule/addAddress.vue

@ -39,7 +39,7 @@
</view>
<view class="defaultState-box flex-row-plus flex-sp-between flex-items">
<view class="fs28 defaultState">{{$t('common.addressdefault')}}</view>
<u-switch v-model="ifDefault" active-color="#C5AA7B" inactive-color="#eee"></u-switch>
<u-switch v-model="ifDefault" active-color="#252744" inactive-color="#bcbdc6"></u-switch>
</view>
</view>
<view class="deleteAddress-box" @click="delAddress" v-if="type == 2">

40
pages_category_page2/userModule/address.vue

@ -7,8 +7,8 @@
<!-- <view class="address-hesd">{{item.username1}}</view>-->
<view class="address-detail" @click="itemTap(item)">
<view class="userName">
<text>{{item.receiveName}}</text>
<text class="font-color-999 mar-left-30">{{item.receivePhone}}</text>
<text class="fs28 font-color-252744">{{item.receiveName}}</text>
<text class="fs28 font-color-90919C mar-left-30">{{item.receivePhone}}</text>
</view>
<view class="defaultAD-box">
<text class="def" v-if="item.ifDefault">{{$t('common.default')}}</text>
@ -217,9 +217,10 @@
.addAddress {
width: 690upx;
height: 100upx;
color: #FFEBC4;
color: #FFFFFF;
text-align: center;
background: #333333;
background: #252744;
border-radius: 50rpx;
}
}
@ -266,9 +267,10 @@
justify-content: space-between;
padding-bottom: 40rpx;
margin-bottom: 40rpx;
border-bottom: 2rpx solid #F3F4F5;
border-bottom: 1rpx solid #D3D4DE;
.address-detail {
flex-grow: 1;
.userName {
margin-bottom: 15rpx;
}
@ -276,25 +278,28 @@
.lable {
padding: 3rpx 10rpx;
background: rgba(153, 153, 153, 0.2);
border-radius: 4rpx;
background-color: #F2F2F6;
border-radius: 6rpx;
font-size: 24rpx;
font-weight: 500;
color: rgba(102, 102, 102, 1);
font-weight: 400;
//color: rgba(102, 102, 102, 1);
color: #595B6B;
text-align: center;
}
.def {
padding: 3rpx 10rpx;
font-size: 20rpx;
font-size: 24rpx;
font-weight: 400;
color: #C5AA7B !important;
background: rgba(197, 170, 123, 0.2) !important;
color: #F54639 !important;
background-color: #FCE4E2 !important;
border-radius: 6rpx;
}
.user-address {
font-size: 28rpx;
margin-left: 10rpx;
color: #90919C;
}
.address-hesd {
@ -308,7 +313,7 @@
}
.defaultAD-box {
width: 455upx;
width: 100%;
.default-textBox {
padding-right: 20upx;
@ -330,12 +335,11 @@
line-height: 36upx;
}
}
.editIcon {
width: 50rpx;
height: 50rpx;
width: 40rpx;
height: 41rpx;
display: block;
background: url("https://ceres.zkthink.com/static/images/addEdit.png") no-repeat center center;
background: url("https://wechat.hnthee.com/ceres-local-file/image/address_edit.png") no-repeat center center;
background-size: contain;
}
}

Loading…
Cancel
Save