Commit 46733e8f by liimin

Merge branch 'SAAS+V4.56.0-0908' of http://192.168.3.233:8090/saas/mini-program/…

…points-mall into SAAS+V4.56.0-0908
2 parents 28534a2a 0b062eeb
Showing 43 changed files with 283 additions and 66 deletions
......@@ -94,9 +94,10 @@ class Request {
})
}
if (query.length) currentRoute += `?${query.join('&')}`
return wx.p.router.redirectTo('/pages/loading/loading', {
url: `/${currentRoute}`
})
wx.p.storage.rm('sessionId')
wx.p.isLogin = false
wx.p.storage.rm('userInfo')
return wx.p.router.redirectTo('/pages/Login/Login')
} else {
if (code == '0') {
resolve(data.data)
......
......@@ -112,6 +112,19 @@
background: #EFF0F2;
}
}
.nothing {
height: 100%;
display: flex;
flex-flow: column;
align-items: center;
justify-content: center;
color: #7A8299;
.icon{
width: 320rpx;
height: 300rpx;
margin-bottom: 20rpx;
}
}
}
.footer {
......
......@@ -8,7 +8,7 @@
<glsx-image bind:tap="cancel" webp class="icon" src="/index/close.png"></glsx-image>
</view>
<view class="list-pannel">
<scroll-view class="scroll" scroll-y="{{true}}">
<scroll-view class="scroll" scroll-y="{{true}}" wx:if="{{address.length}}">
<block wx:for="{{address}}" wx:key="index">
<view bind:tap="toSelect" data-item="{{item}}" data-index="{{index}}" class="cell">
<view class="icon">
......@@ -24,6 +24,12 @@
</view>
</block>
</scroll-view>
<view wx:else class="nothing">
<view class="icon">
<glsx-image webp src="/cart/nothing-icon.png" />
</view>
暂无收货地址
</view>
</view>
<view class="footer flex_cc">
<view bind:tap="addNew" data-url="/packageMine/pages/address/detail/detail" class="btn flex_cc">新增地址</view>
......
......@@ -53,6 +53,13 @@ Component({
// 替换积分钱包名称
replaceNickName(data) {
let userInfo = wx.p.storage.get('userInfo')
let { phone, scoreSource } = data
if (!phone || !scoreSource) {
wx.p.sentry.reportParamError(
'替换积分钱包姓名异常:phone, scoreSource',
data
)
}
commonApi.replaceWalletName({
nickName: data?.name,
phone: data?.phone,
......
......@@ -39,6 +39,7 @@
.content-box {
position: absolute;
z-index: 2;
width: calc(100% - 80rpx);
margin: 220rpx 40rpx 0 40rpx;
.box-item {
display: flex;
......
......@@ -48,7 +48,7 @@ Component({
cartApi.getCartList(para).then(res => {
let cartNum = 0
res?.goodsList?.forEach(el => {
cartNum = NP.plus(cartNum, el.sellQty)
cartNum = NP.plus(cartNum, el.sellQty || 0)
})
this.setData({
cartNum
......
......@@ -79,7 +79,7 @@
width: 304rpx;
height: 84rpx;
color: #fff;
font-size: 28rpx;
font-size: 32rpx;
}
.btn-box .pay {
......
......@@ -87,7 +87,7 @@
.sku-title {
color: #2D2D2E;
font-weight: 500;
padding-top: var(--margin);
padding-top: 32rpx;
display: flex;
align-items: center;
justify-content: space-between;
......@@ -97,7 +97,8 @@
flex-wrap: wrap;
.item {
height: 52rpx;
line-height: 52rpx;
display: flex;
align-items: center;
background: #F7F8FA;
padding: 0 20rpx;
margin: 20rpx 20rpx 0 0;
......@@ -140,7 +141,7 @@
}
.count-box {
margin-top: 20rpx;
margin-top: 32rpx;
.title {
font-weight: 400;
......@@ -232,11 +233,11 @@
background: white;
.btn {
width: 100%;
height: 80rpx;
height: 84rpx;
background: #FB8A32;
border-radius: 20rpx;
font-weight: 500;
font-size: 30rpx;
font-size: 32rpx;
color: #FFFFFF;
}
......
......@@ -30,6 +30,7 @@
.stepper-box .num {
width: 59rpx;
border-radius: 8rpx;
}
.stepper-box .add {
......
......@@ -27,8 +27,7 @@
</view>
<view class="item-box-price">
<view class="points-price">
{{item.redeemPoints}}
<text>积分</text>
{{item.redeemPoints}}<text>积分</text>
</view>
</view>
<view class="item-box-btn">
......
......@@ -94,6 +94,7 @@
.item-box-price text{
font-weight: 400;
font-size: 22rpx;
margin-left: 4rpx;
}
.item-box-btn {
......
......@@ -67,3 +67,4 @@
</Dialog>
<!-- <dialog show="{{showModal}}" confirmText="{{success?'去兑换':'我知道了'}}" cancelText="我知道了" showCancelButton success="{{success}}" bindconfirm="dialogConfirm" bindcancel="dialogClose" text="{{dialogText}}"> -->
<!-- </dialog> -->
<glsx-privacy appletName="积分商城"></glsx-privacy>
\ No newline at end of file
......@@ -42,7 +42,7 @@
</view>
<view wx:if="{{item.specificationData}}" class="specificationData-text" bindtap="handleChangeSku" data-target="{{item}}" data-index="{{index}}">
<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 class="price-box">
......
/* packageMall/pages/pay/pay.wxss */
.layout {
background: #F7F8FA;
/* background: #F7F8FA; */
padding: 24rpx 32rpx;
}
.address-box {
......@@ -20,7 +20,7 @@
display: flex;
align-items: center;
justify-content: space-between;
padding: 24rpx 0 0;
padding: 24rpx 0 4rpx;
}
.address-box .left {
......@@ -170,6 +170,8 @@
.text .specificationData-text .change-icon {
margin-left: 8rpx;
margin-top: 2rpx;
filter: drop-shadow(1rpx 0 0 #6E6E7A);
transform: rotate(-90deg);
}
......
......@@ -92,6 +92,19 @@ Page({
merchantId: userInfo?.merchantId,
merchantName: userInfo?.merchantName,
} : {id: reviewId}
let { goodsId, customerMobile, merchantId } = params
if (e.type == 'add' && (!goodsId || !customerMobile || !merchantId)) {
wx.p.sentry.reportParamError(
'商品详情进入埋点异常:goodsId, customerMobile, merchantId',
params
)
}
if (e.type != 'add' && !reviewId) {
wx.p.sentry.reportParamError(
'商品详情离开埋点异常:id',
{id: reviewId}
)
}
commonApi[eventApi](params).then(res => {
this.setData({reviewId: res?.data})
})
......@@ -165,6 +178,12 @@ Page({
},
// 获取详情
getDetail(options) {
if (!options.id) {
wx.p.sentry.reportParamError(
'商品详情异常:id',
id
)
}
homeApi.getGoodsDetailInfo({id: options.id, businessType: 1}).then(res => {
if (res && res.specificationResponses?.length) {
this.toGetSpecString(res, res.startQty)
......@@ -216,6 +235,13 @@ Page({
merchantId: userInfo?.merchantId
}
if (!detailInfo.goodsStock) return wx.p.wxApi.showToast('暂无库存')
let { goodsId, sellQty, goodsSource, scoreSource, merchantId, specificationData } = PARAMS
if (!goodsId || !sellQty || !goodsSource || !scoreSource || !merchantId || (goodsSource == 2 && !specificationData)) {
wx.p.sentry.reportParamError(
'加入购物车异常:goodsId, sellQty, goodsSource, scoreSource, merchantId, specificationData',
PARAMS
)
}
cartApi.addToCart(PARAMS).then(res => {
wx.p.wxApi.showToast('加入购物车成功')
this.joinSuccess()
......
......@@ -72,7 +72,7 @@ page {
padding: 16rpx 0;
.container-item {
margin: 0 16rpx;
padding: 28rpx 24rpx;
padding: 0 24rpx;
background: #FFFFFF;
border-radius: 24rpx;
margin-bottom: 16rpx;
......@@ -91,6 +91,7 @@ page {
text {
font-size: 28rpx;
font-weight: 500;
margin-left: 4rpx;
}
}
.market-price {
......@@ -103,6 +104,9 @@ page {
.count {
color: #B1B1B3;
font-size: 24rpx;
.line{
margin: 0 16rpx;
}
}
.goods-title {
margin-top: 20rpx;
......
......@@ -39,13 +39,12 @@
<view class="price">
<view class="price-box">
<view class="sale-price">
{{detailInfo.redeemPoints}}
<text>积分</text>
{{detailInfo.redeemPoints}}<text>积分</text>
</view>
<view class="market-price">¥{{detailInfo.marketPrice}}</view>
</view>
<view class="count">
<text>剩余 {{goodsStock}}</text> | <text>销售 {{detailInfo.saleAmount}}</text>
<text>剩余 {{goodsStock}}</text><text class="line">|</text><text>销售 {{detailInfo.saleAmount}}</text>
</view>
</view>
<view class="goods-title"><text wx:if="{{detailInfo.goodsSource == 1}}">{{detailInfo.brandName}}</text>{{detailInfo.goodsSkuName}}</view>
......@@ -55,8 +54,8 @@
<view class="flex">
<view class="title">已选</view>
<view class="content flex_ccc">
<view wx:if="{{detailInfo.goodsSource == 1}}">{{skuInfo}}</view>
<view wx:else>{{activeSku}}</view>
<view class="text" wx:if="{{detailInfo.goodsSource == 1}}">{{skuInfo}}</view>
<view class="text" wx:else>{{activeSku}}</view>
</view>
</view>
<mp-icon icon="arrow" color="#B1B1B3" size="{{12}}"></mp-icon>
......
......@@ -168,6 +168,7 @@
font-weight: 600;
font-size: 40rpx;
color: #333333;
text-align: center;
}
.text {
......@@ -175,6 +176,7 @@
color: #888888;
line-height: 36rpx;
white-space: nowrap;
text-align: center;
}
}
......
......@@ -134,12 +134,14 @@
color: #333333;
font-size: 34rpx;
font-weight: 600;
text-align: center;
}
.text{
font-weight: 400;
font-size: 24rpx;
color: #888888;
margin-top:6rpx;
text-align: center;
}
}
}
......
......@@ -91,3 +91,11 @@
height: 0;
color: transparent;
}
.list_data_widget {
// 隐藏滚动条但保持滚动功能
&::-webkit-scrollbar {
display: none; // Webkit浏览器
}
scrollbar-width: none; // Firefox
-ms-overflow-style: none; // IE/Edge
}
\ No newline at end of file
......@@ -4,7 +4,7 @@
收益明细
</view>
<block wx:if="{{list.length}}">
<scroll-view class="list_data_widget" scroll-y="{{true}}" bindrefresherrefresh="bindrefresherrefresh" bindscrolltolower="scrollonReachBottom" refresher-threshold="104" refresher-triggered="{{triggered}}">
<scroll-view class="list_data_widget" scroll-y="{{true}}"enhanced="{{true}}" show-scrollbar="{{false}}" bindrefresherrefresh="bindrefresherrefresh" bindscrolltolower="scrollonReachBottom" refresher-threshold="104" refresher-triggered="{{triggered}}">
<block wx:for="{{list}}" wx:key="index">
<view class="element" bind:tap="handleDetail" data-id="{{item.id}}" data-infoName="{{item.infoName}}" data-channelSource="{{item.channelSource}}">
<view class="title">{{item.infoName}}
......
......@@ -30,6 +30,13 @@ Page({
* 生命周期函数--监听页面加载
*/
async onLoad(options) {
if (options.scene === 1047) { // 1047 表示从另一个小程序跳转过来的场景值
console.log('extraData:', options.referrerInfo.extraData);
if (options.referrerInfo.extraData && options.referrerInfo.extraData.external) {
this.loginOut()
}
}
let userInfo = wx.p.storage.get('userInfo');
this.setData({
userInfo
......@@ -39,7 +46,12 @@ Page({
this.searchScoreSummaryData()
this.getScoreProfitListData()
},
loginOut() {
wx.p.storage.rm('sessionId')
wx.p.isLogin = false
wx.p.storage.rm('userInfo')
wx.p.router.reLaunch('/pages/Login/Login')
},
getPointsWalletData() {
const {
phone,
......@@ -122,7 +134,7 @@ Page({
total,
pageSize,
scoreList,
userInfo:{
userInfo: {
phone,
channelSource,
merchantId
......@@ -232,8 +244,8 @@ Page({
/**
* 生命周期函数--监听页面显示
*/
onShow(){
if (this.refresh){
onShow() {
if (this.refresh) {
this.searchScoreSummaryData()
this.getScoreProfitListData()
}
......
......@@ -8,6 +8,7 @@ Page({
navStyle: "background-color: transparent;",
showBank: false,
agree: false,
btnDisabled: true,
isConfig: true,
showAuthDialog: false,
showConfirmDialog: false,
......@@ -200,6 +201,8 @@ Page({
} = this.data;
this.setData({
sumbitScore: score
},()=>{
this.checkBtn(score)
})
},
handleInput(e) {
......@@ -213,6 +216,13 @@ Page({
sumbitScore = this.priceVerify(value, score)
this.setData({
sumbitScore: sumbitScore || ''
}, () => {
this.checkBtn(sumbitScore)
})
},
checkBtn(score) {
this.setData({
btnDisabled: Number(score) ? false : true
})
},
// 价格输入校验规则(提现积分值:最小值需大于0)
......@@ -314,14 +324,16 @@ Page({
* 生命周期函数--监听页面显示
*/
onShow() {
if (this.refresh) {
this.getBankList()
}
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
this.refresh = true;
},
/**
......
......@@ -150,7 +150,7 @@
}
.submit {
.button {
font-weight: 500;
font-size: 32rpx;
color: #FFFFFF;
......@@ -163,7 +163,19 @@
position: fixed;
bottom: 266rpx;
left:48rpx;
&[disabled]:not([type]) {
background: #CCCED1 !important;
border-color: #CCCED1 !important;
color: #fff !important;
box-shadow: none;
&::after {
border-color: #CCCED1 !important;
}
}
}
}
}
......@@ -188,3 +200,4 @@
font-size: 28rpx;
color: #1B233D;
}
......@@ -40,7 +40,8 @@
<!-- 协议 -->
<auth-setting bind:choose="authChoose" agree="{{ agree }}" url="{{disclaimerAgreementUrl}}" />
</view>
<view class="submit" bind:tap="toSumbitData">提交</view>
<!-- <view class="submit" bind:tap="toSumbitData">提交</view> -->
<button class="button text-center" disabled="{{btnDisabled}}" hover-class="btn-hover" loading="{{submitLoading}}" bind:tap="toSumbitData">提交</button>
</view>
</view>
......
......@@ -12,7 +12,6 @@ Page({
const {
reason
} = e.currentTarget.dataset
// wx.$api.showToast(reason);
wx.showModal({
title: '',
content: String(reason),
......
......@@ -152,3 +152,8 @@ page {
text-align: center;
}
}
.error-icon{
width: 24rpx;
height: 56rpx;
margin-left:4rpx;
}
\ No newline at end of file
......@@ -18,15 +18,15 @@
</block>
<view class="countText flex">
-{{i.withdrawalScore}}
<!-- <block wx:if="{{item.status == 4&&item.failReason}}">
<block wx:if="{{i.status == 4&&i.failReason}}">
<view class="type flex">
<view class="failReason">{{item.failReason}} </view>
<glsx-image mode="widthFix" class="error-icon" bind:tap="toastError" data-reason="{{item.failReason}}" src="store-assistant/error-icon.png" />
<view class="failReason">{{i.failReason}} </view>
<glsx-image mode="widthFix" class="error-icon" bind:tap="toastError" data-reason="{{i.failReason}}" src="/bankAccount/error-icon.png" />
</view>
</block> -->
<block>
</block>
<block wx:else>
<view class="type">
银行卡兑换
银行卡提现积分
</view>
</block>
......
......@@ -30,6 +30,27 @@ Page({
this.getGoodsList()
})
},
simpleWanConvert(num) {
if (num === null || num === undefined || isNaN(num)) {
return '';
}
// 处理大于等于10000的数字
if (Math.abs(num) >= 10000) {
const wan = (num / 10000).toFixed(1);
// 去掉末尾的.0
return parseFloat(wan) == parseInt(wan) ? parseInt(wan) + '万' : wan + '万';
}
// 处理小于10000但大于等于1000的数字
else if (Math.abs(num) >= 1000) {
const qian = (num / 10000).toFixed(1);
return qian + '万';
}
// 小于1000的数字直接返回
else {
return num.toString();
}
},
// 获取商品数据
getGoodsList() {
......@@ -110,7 +131,10 @@ Page({
}).then(res => {
if (res.code == 0) {
this.setData({
taxRateObj: res.data
taxRateObj:{
...res.data,
baseIncome:this.simpleWanConvert(res.data.baseIncome)
}
})
}
}).catch(err => {
......
......@@ -99,7 +99,7 @@
background-size: 100%;
background-repeat: no-repeat;
background-image: url('https://img02.glsx.com.cn/weapp/resource/miniprogram/points-mall/integral/rule-bg.png');
position:relative;
.salary {
padding: 114rpx 32rpx 144rpx;
......@@ -112,8 +112,17 @@
.income {
color: #FFFFFF;
}
}
}
.hypothesis {
font-weight: 400;
font-size: 24rpx;
color: #F55800;
position:absolute;
right:32rpx;
top:2rpx;
}
.accumulative {
margin-bottom: 48rpx;
......@@ -204,9 +213,10 @@
font-size: 32rpx;
color: #FB8A32;
text-align: center;
line-height:80rpx;
line-height: 80rpx;
}
.withdraw{
.withdraw {
background: #FB8A32;
color: #FFFFFF;
}
......
......@@ -19,7 +19,9 @@
<view class="salary flex_scb">
<view class="proportion">{{taxRateObj.taxRateWithoutSalary}}%</view>
<view class="proportion income">{{taxRateObj.taxRateWithSalary}}%</view>
</view>
<view class="hypothesis">假设月工资{{taxRateObj.baseIncome}}</view>
<view class="accumulative flex_sc">
<view class="earning have-no">
<view class="money">{{taxRateObj.totalIncomeWithoutSalary}}元</view>
......@@ -27,7 +29,7 @@
</view>
<view class=" earning have">
<view class="money">{{taxRateObj.totalIncomeWithSalary}}元</view>
<view class="text">{{taxRateObj.withdrawalScore}}*{{taxRateObj.month}}个月+累计提现+本次提现</view>
<view class="text">{{taxRateObj.baseIncome}}*{{taxRateObj.month}}个月+累计提现+本次提现</view>
</view>
</view>
<view class="tips">以上仅为本平台评估展示,本次提现金额不会扣除,您的真实税务建议您去<text>个人所得税APP</text>查询</view>
......
/* packageMine/pages/address/detail/detail.wxss */
@import '../index/index.scss';
page {
background: #F7F8FA;
}
.layout {
padding: var(--margin);
}
......@@ -93,6 +95,7 @@
padding-top: 26rpx;
}
.user-info .textarea .value{
padding-top: 4rpx;
height: 120rpx;
}
.default {
......
......@@ -79,6 +79,19 @@
.address-item .bottom .choose icon {
margin-right: 20rpx;
}
.nothing {
display: flex;
flex-flow: column;
align-items: center;
justify-content: center;
color: #7A8299;
padding-top: 40rpx;
.icon {
width: 320rpx;
height: 300rpx;
margin-bottom: 20rpx;
}
}
.btn-box {
position: fixed;
bottom: 0;
......
<view class="layout">
<block wx:if="{{addressList.length}}">
<block wx:for="{{addressList}}" wx:key="index">
<view class="address-item" catchtap="chooseThis" data-item="{{item}}">
<view class="top">
......@@ -28,7 +29,15 @@
</view>
</view>
</block>
</block>
<block wx:else>
<view class="nothing">
<view class="icon">
<glsx-image webp src="/cart/nothing-icon.png" />
</view>
暂无收货地址
</view>
</block>
</view>
<view class="btn-box isFullSucreen">
<view class="btn text-center" bindtap="jump">新增收货地址</view>
......
......@@ -46,7 +46,7 @@ Page({
// })
},
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({
const {
name
} = 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() {
wx.p.wxApi.showLoading()
......@@ -143,6 +143,12 @@ Page({
if (!captcha) throw '请输入验证码'
if (!phoneRex.test(mobile)) throw '请输入正确的手机号'
wx.p.wxApi.showLoading()
if (!mobile || !captcha || !this.sessionId) {
wx.p.sentry.reportParamError(
'手机号验证码登录异常: mobile, captcha, sessionId',
{mobile, captcha, sessionId: this.sessionId}
)
}
const {
code,
data,
......@@ -177,6 +183,13 @@ Page({
iv: detail.iv,
sessionId: this.sessionId
}
let { encryptedData, iv, sessionId } = obj
if (!encryptedData || !iv || !sessionId) {
wx.p.sentry.reportParamError(
'授权手机号登录异常: encryptedData, iv, sessionId',
obj
)
}
const {
code,
data,
......@@ -202,6 +215,12 @@ Page({
getSource() {
let { loginData } = this.data
if (!loginData.phone) {
wx.p.sentry.reportParamError(
'获取积分渠道来源异常:staffPhone ',
loginData
)
}
commonApi.getPointsSourceList({
staffPhone: loginData?.phone
}).then(res => {
......@@ -227,6 +246,12 @@ Page({
this.getMerchantList(source, loginData)
},
getMerchantList(source, loginData) {
if (!loginData.phone || !source) {
wx.p.sentry.reportParamError(
'获取门店列表异常:staffPhone, channelSource',
{...loginData, channelSource: source}
)
}
commonApi.getMerchantData({staffPhone: loginData?.phone, channelSource: source}).then(res => {
let { code, data, message } = res
if (code == 0) {
......@@ -237,6 +262,12 @@ Page({
if (data?.length == 1) { // 仅有一个门店时跳过选择门店页面 直接登录成功
const { merchantId, merchantName } = data[0] || {}
wx.p.isLogin = true;
if (!source || !merchantId || !loginData.phone) {
wx.p.sentry.reportParamError(
'门店选择异常:staffPhone, channelSource',
{...loginData, channelSource: source, merchantId, merchantName}
)
}
wx.p.storage.set('userInfo', {
...loginData,
channelSource: source,
......
......@@ -25,15 +25,19 @@ Page({
this.login();
},
loginOut() {
console.log(1111)
wx.p.storage.rm('sessionId')
wx.p.isLogin = false
wx.p.storage.rm('userInfo')
wx.p.router.reLaunch('/pages/Login/Login')
},
async login(options = {}) {
console.log(777)
if (!wx.p.storage.get('sessionId')) return this.loginOut()
try {
console.log('try')
const { code, data, message } = await commonApi.getLoginInfo();
console.log(code,'code')
if (code == 0) {
let userInfo = wx.p.storage.get('userInfo')
if (userInfo && Object.keys(userInfo)?.length) {
......@@ -51,6 +55,7 @@ Page({
return this.jumpPage(options.url);
}
} catch (error) {
console.log(90900)
wx.p.isLogin = false; //请求失败默认未登录
console.log(error);
wx.p.wxApi.showToast(String(error));
......
......@@ -33,15 +33,12 @@ page {
.item-box {
margin-bottom: 24rpx;
background: #FFFFFF;
border-radius: 8rpx;
border-radius: 24rpx;
padding-left: 24rpx;
}
.item-box.disabled {
opacity: .7;
}
.item-box .list {
border-top: 2rpx solid #EFF0F2;
}
.box .item {
width: 100%;
height: 208rpx;
......
......@@ -8,7 +8,7 @@
display: flex;
flex-direction: column;
height: 100%;
padding: 24rpx;
padding: 16rpx 24rpx 0;
}
.fixed-tabs, .dynamic-tabs {
......@@ -40,10 +40,6 @@
border-radius: 6rpx;
}
.dynamic-tabs {
margin-top: 10rpx;
}
.dynamic-tabs .tab-item{
display: inline-block;
padding: 10rpx 24rpx;
......
......@@ -59,6 +59,8 @@
}
.arrow-icon {
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 @@
flex-shrink: 0;
width: 80rpx;
height: 44rpx;
background: #FFF0ED;
border-radius: 12rpx;
margin-left: 8rpx;
position: relative;
display: flex;
align-items: center;
box-sizing: border-box;
justify-content: space-between;
padding-left: 10rpx;
text {
position: absolute;
top: 6rpx;
left: 10rpx;
font-size: 20rpx;
color: #F75454;
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 {
padding: 0 20rpx;
background: #F8F9FC;
.item {
width: 100%;
height: 340rpx;
......@@ -157,6 +167,7 @@
}
.goods-content {
box-sizing: border-box;
background: #F8F9FC;
.goods-box-title {
position: sticky;
top: 0;
......@@ -173,6 +184,7 @@
width: 100%;
box-sizing: border-box;
overflow: hidden;
margin-top: 8rpx;
.nothing {
text-align: center;
color: #7A8299;
......@@ -193,5 +205,4 @@
.sticky {
background: #F8F9FC;
padding: 10rpx 0;
}
......@@ -18,7 +18,7 @@
<view class="points-num" bind:tap="toIntegral">{{walletObj.currentScore || '-'}}</view>
</view>
<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>
......@@ -29,8 +29,8 @@
<view class="text" animation="{{animationData}}">郑重提醒:根据国家税务总局2025第16号公告,提现收入也将纳入个人累计收入计算税额,以上政策将于 10 月 1 日正式实施。</view>
</view>
<view class="detail-btn" bindtap="policyDetail">
<glsx-image src="/index/notice-arrow-right.png"></glsx-image>
<text>详情</text>
<mp-icon icon="arrow" class="arrow-icon" color="#F4776D" size="8"></mp-icon>
</view>
</view>
<!-- 专场 -->
......
......@@ -7,8 +7,8 @@
export const authPages = [
'/packageMine/',
'/pages/mine/',
'/packageIndex/'
// '/packageIndex/pages/integral/index/index' //积分
'/packageIndex/',
'/packageIndex/pages/integral/index/index' //积分
];
// 不需要拦截的页面路径配置
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!