Commit c0e0b0e7 by zhangxw

UI走查样式修改

1 parent 19b0ffbe
...@@ -39,6 +39,7 @@ ...@@ -39,6 +39,7 @@
.content-box { .content-box {
position: absolute; position: absolute;
z-index: 2; z-index: 2;
width: calc(100% - 80rpx);
margin: 220rpx 40rpx 0 40rpx; margin: 220rpx 40rpx 0 40rpx;
.box-item { .box-item {
display: flex; display: flex;
......
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
width: 304rpx; width: 304rpx;
height: 84rpx; height: 84rpx;
color: #fff; color: #fff;
font-size: 28rpx; font-size: 32rpx;
} }
.btn-box .pay { .btn-box .pay {
......
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
.sku-title { .sku-title {
color: #2D2D2E; color: #2D2D2E;
font-weight: 500; font-weight: 500;
padding-top: var(--margin); padding-top: 32rpx;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
...@@ -97,7 +97,8 @@ ...@@ -97,7 +97,8 @@
flex-wrap: wrap; flex-wrap: wrap;
.item { .item {
height: 52rpx; height: 52rpx;
line-height: 52rpx; display: flex;
align-items: center;
background: #F7F8FA; background: #F7F8FA;
padding: 0 20rpx; padding: 0 20rpx;
margin: 20rpx 20rpx 0 0; margin: 20rpx 20rpx 0 0;
...@@ -140,7 +141,7 @@ ...@@ -140,7 +141,7 @@
} }
.count-box { .count-box {
margin-top: 20rpx; margin-top: 32rpx;
.title { .title {
font-weight: 400; font-weight: 400;
...@@ -232,11 +233,11 @@ ...@@ -232,11 +233,11 @@
background: white; background: white;
.btn { .btn {
width: 100%; width: 100%;
height: 80rpx; height: 84rpx;
background: #FB8A32; background: #FB8A32;
border-radius: 20rpx; border-radius: 20rpx;
font-weight: 500; font-weight: 500;
font-size: 30rpx; font-size: 32rpx;
color: #FFFFFF; color: #FFFFFF;
} }
......
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
.stepper-box .num { .stepper-box .num {
width: 59rpx; width: 59rpx;
border-radius: 8rpx;
} }
.stepper-box .add { .stepper-box .add {
......
...@@ -27,8 +27,7 @@ ...@@ -27,8 +27,7 @@
</view> </view>
<view class="item-box-price"> <view class="item-box-price">
<view class="points-price"> <view class="points-price">
{{item.redeemPoints}} {{item.redeemPoints}}<text>积分</text>
<text>积分</text>
</view> </view>
</view> </view>
<view class="item-box-btn"> <view class="item-box-btn">
......
...@@ -94,6 +94,7 @@ ...@@ -94,6 +94,7 @@
.item-box-price text{ .item-box-price text{
font-weight: 400; font-weight: 400;
font-size: 22rpx; font-size: 22rpx;
margin-left: 4rpx;
} }
.item-box-btn { .item-box-btn {
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
</view> </view>
<view wx:if="{{item.specificationData}}" class="specificationData-text" bindtap="handleChangeSku" data-target="{{item}}" data-index="{{index}}"> <view wx:if="{{item.specificationData}}" class="specificationData-text" bindtap="handleChangeSku" data-target="{{item}}" data-index="{{index}}">
<view class="text-hide description">{{item.specificationData}}</view> <view class="text-hide description">{{item.specificationData}}</view>
<mp-icon icon="back" class="change-icon" color="#6E6E7A" size="{{8}}"></mp-icon> <mp-icon icon="back" class="change-icon" color="#6E6E7A" size="{{6}}"></mp-icon>
</view> </view>
</view> </view>
<view class="price-box"> <view class="price-box">
......
/* packageMall/pages/pay/pay.wxss */ /* packageMall/pages/pay/pay.wxss */
.layout { .layout {
background: #F7F8FA; /* background: #F7F8FA; */
padding: 24rpx 32rpx; padding: 24rpx 32rpx;
} }
.address-box { .address-box {
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
padding: 24rpx 0 0; padding: 24rpx 0 4rpx;
} }
.address-box .left { .address-box .left {
...@@ -170,6 +170,8 @@ ...@@ -170,6 +170,8 @@
.text .specificationData-text .change-icon { .text .specificationData-text .change-icon {
margin-left: 8rpx; margin-left: 8rpx;
margin-top: 2rpx;
filter: drop-shadow(1rpx 0 0 #6E6E7A);
transform: rotate(-90deg); transform: rotate(-90deg);
} }
......
...@@ -72,7 +72,7 @@ page { ...@@ -72,7 +72,7 @@ page {
padding: 16rpx 0; padding: 16rpx 0;
.container-item { .container-item {
margin: 0 16rpx; margin: 0 16rpx;
padding: 28rpx 24rpx; padding: 0 24rpx;
background: #FFFFFF; background: #FFFFFF;
border-radius: 24rpx; border-radius: 24rpx;
margin-bottom: 16rpx; margin-bottom: 16rpx;
...@@ -91,6 +91,7 @@ page { ...@@ -91,6 +91,7 @@ page {
text { text {
font-size: 28rpx; font-size: 28rpx;
font-weight: 500; font-weight: 500;
margin-left: 4rpx;
} }
} }
.market-price { .market-price {
...@@ -103,6 +104,9 @@ page { ...@@ -103,6 +104,9 @@ page {
.count { .count {
color: #B1B1B3; color: #B1B1B3;
font-size: 24rpx; font-size: 24rpx;
.line{
margin: 0 16rpx;
}
} }
.goods-title { .goods-title {
margin-top: 20rpx; margin-top: 20rpx;
......
...@@ -39,13 +39,12 @@ ...@@ -39,13 +39,12 @@
<view class="price"> <view class="price">
<view class="price-box"> <view class="price-box">
<view class="sale-price"> <view class="sale-price">
{{detailInfo.redeemPoints}} {{detailInfo.redeemPoints}}<text>积分</text>
<text>积分</text>
</view> </view>
<view class="market-price">¥{{detailInfo.marketPrice}}</view> <view class="market-price">¥{{detailInfo.marketPrice}}</view>
</view> </view>
<view class="count"> <view class="count">
<text>剩余 {{goodsStock}}</text> | <text>销售 {{detailInfo.saleAmount}}</text> <text>剩余 {{goodsStock}}</text><text class="line">|</text><text>销售 {{detailInfo.saleAmount}}</text>
</view> </view>
</view> </view>
<view class="goods-title"><text wx:if="{{detailInfo.goodsSource == 1}}">{{detailInfo.brandName}}</text>{{detailInfo.goodsSkuName}}</view> <view class="goods-title"><text wx:if="{{detailInfo.goodsSource == 1}}">{{detailInfo.brandName}}</text>{{detailInfo.goodsSkuName}}</view>
......
/* packageMine/pages/address/detail/detail.wxss */ /* packageMine/pages/address/detail/detail.wxss */
@import '../index/index.scss'; @import '../index/index.scss';
page {
background: #F7F8FA;
}
.layout { .layout {
padding: var(--margin); padding: var(--margin);
} }
...@@ -93,6 +95,7 @@ ...@@ -93,6 +95,7 @@
padding-top: 26rpx; padding-top: 26rpx;
} }
.user-info .textarea .value{ .user-info .textarea .value{
padding-top: 4rpx;
height: 120rpx; height: 120rpx;
} }
.default { .default {
......
...@@ -46,7 +46,7 @@ Page({ ...@@ -46,7 +46,7 @@ Page({
// }) // })
}, },
goAgreement() { goAgreement() {
wx.p.router.jumpH5('https://img01.glsx.com.cn/weapp/resource/saas/scrm/html/hmd/privacy.html', true) wx.p.router.jumpH5('https://img01.glsx.com.cn/weapp/resource/miniprogram/points-mall/html/privacy.html', true)
}, },
/** /**
* 生命周期函数--监听页面加载 * 生命周期函数--监听页面加载
......
...@@ -43,7 +43,7 @@ Page({ ...@@ -43,7 +43,7 @@ Page({
const { const {
name name
} = e.currentTarget.dataset } = e.currentTarget.dataset
wx.p.router.jumpH5(`https://img01.glsx.com.cn/weapp/resource/saas/scrm/html/hmd/${name}.html`, true) wx.p.router.jumpH5(`https://img01.glsx.com.cn/weapp/resource/miniprogram/points-mall/html/${name}.html`, true)
}, },
async onLoad() { async onLoad() {
wx.p.wxApi.showLoading() wx.p.wxApi.showLoading()
......
...@@ -33,15 +33,12 @@ page { ...@@ -33,15 +33,12 @@ page {
.item-box { .item-box {
margin-bottom: 24rpx; margin-bottom: 24rpx;
background: #FFFFFF; background: #FFFFFF;
border-radius: 8rpx; border-radius: 24rpx;
padding-left: 24rpx; padding-left: 24rpx;
} }
.item-box.disabled { .item-box.disabled {
opacity: .7; opacity: .7;
} }
.item-box .list {
border-top: 2rpx solid #EFF0F2;
}
.box .item { .box .item {
width: 100%; width: 100%;
height: 208rpx; height: 208rpx;
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
height: 100%; height: 100%;
padding: 24rpx; padding: 16rpx 24rpx 0;
} }
.fixed-tabs, .dynamic-tabs { .fixed-tabs, .dynamic-tabs {
...@@ -40,10 +40,6 @@ ...@@ -40,10 +40,6 @@
border-radius: 6rpx; border-radius: 6rpx;
} }
.dynamic-tabs {
margin-top: 10rpx;
}
.dynamic-tabs .tab-item{ .dynamic-tabs .tab-item{
display: inline-block; display: inline-block;
padding: 10rpx 24rpx; padding: 10rpx 24rpx;
......
...@@ -59,6 +59,8 @@ ...@@ -59,6 +59,8 @@
} }
.arrow-icon { .arrow-icon {
margin-left: 10rpx; margin-left: 10rpx;
margin-bottom: 6rpx;
filter: drop-shadow(0.5px 0 0 #F4776D) drop-shadow(0 0.5px 0 #F4776D);
} }
} }
...@@ -103,20 +105,28 @@ ...@@ -103,20 +105,28 @@
flex-shrink: 0; flex-shrink: 0;
width: 80rpx; width: 80rpx;
height: 44rpx; height: 44rpx;
background: #FFF0ED;
border-radius: 12rpx;
margin-left: 8rpx; margin-left: 8rpx;
position: relative; display: flex;
align-items: center;
box-sizing: border-box;
justify-content: space-between;
padding-left: 10rpx;
text { text {
position: absolute;
top: 6rpx;
left: 10rpx;
font-size: 20rpx; font-size: 20rpx;
color: #F75454; color: #F75454;
font-weight: 500; font-weight: 500;
} }
.arrow-icon {
margin: 0 6rpx 6rpx;
filter: drop-shadow(0.5px 0 0 #F4776D) drop-shadow(0 0.5px 0 #F4776D);
}
} }
} }
.special-sale-box { .special-sale-box {
padding: 0 20rpx; padding: 0 20rpx;
background: #F8F9FC;
.item { .item {
width: 100%; width: 100%;
height: 340rpx; height: 340rpx;
...@@ -157,6 +167,7 @@ ...@@ -157,6 +167,7 @@
} }
.goods-content { .goods-content {
box-sizing: border-box; box-sizing: border-box;
background: #F8F9FC;
.goods-box-title { .goods-box-title {
position: sticky; position: sticky;
top: 0; top: 0;
...@@ -173,6 +184,7 @@ ...@@ -173,6 +184,7 @@
width: 100%; width: 100%;
box-sizing: border-box; box-sizing: border-box;
overflow: hidden; overflow: hidden;
margin-top: 8rpx;
.nothing { .nothing {
text-align: center; text-align: center;
color: #7A8299; color: #7A8299;
...@@ -193,5 +205,4 @@ ...@@ -193,5 +205,4 @@
.sticky { .sticky {
background: #F8F9FC; background: #F8F9FC;
padding: 10rpx 0;
} }
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<view class="points-num" bind:tap="toIntegral">{{walletObj.currentScore || '-'}}</view> <view class="points-num" bind:tap="toIntegral">{{walletObj.currentScore || '-'}}</view>
</view> </view>
<view class="arrow-icon"> <view class="arrow-icon">
<mp-icon icon="arrow" color="#F4776D" size="7"></mp-icon> <mp-icon icon="arrow" color="#F4776D" size="8"></mp-icon>
</view> </view>
</view> </view>
</view> </view>
...@@ -29,8 +29,8 @@ ...@@ -29,8 +29,8 @@
<view class="text" animation="{{animationData}}">郑重提醒:根据国家税务总局2025第16号公告,提现收入也将纳入个人累计收入计算税额,以上政策将于 10 月 1 日正式实施。</view> <view class="text" animation="{{animationData}}">郑重提醒:根据国家税务总局2025第16号公告,提现收入也将纳入个人累计收入计算税额,以上政策将于 10 月 1 日正式实施。</view>
</view> </view>
<view class="detail-btn" bindtap="policyDetail"> <view class="detail-btn" bindtap="policyDetail">
<glsx-image src="/index/notice-arrow-right.png"></glsx-image>
<text>详情</text> <text>详情</text>
<mp-icon icon="arrow" class="arrow-icon" color="#F4776D" size="8"></mp-icon>
</view> </view>
</view> </view>
<!-- 专场 --> <!-- 专场 -->
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!