Commit bf203755 authored by spc's avatar spc

merge

parents 0e56e9fa bfca9ac7
......@@ -16,9 +16,10 @@ const {
// request.js
// 通常可以吧 baseUrl 单独放在一个 js 文件了
// const baseUrl = "http://172.16.230.108:7777/pmall";
const baseUrl = "https://momclub-test.feihe.com/pmall";//测试环境
// const baseUrl = "https://momclub-test.feihe.com/pmall";//测试环境
// const baseUrl = "https://momclub-uat.feihe.com/pmall";//测试环境
// let baseUrl = "https://momclub.feihe.com/pmall";//生产环境
// const baseUrl = "https://momclub-test.feihe.com/pmall";
let baseUrl = "https://momclub.feihe.com/pmall";//生产环境
// const baseUrl = "https://docs.dui88.com/mock/1956/api";//mock
// const baseUrl = "https://feihe.m.duibatest.com.cn/pmall"
......
......@@ -174,14 +174,14 @@
border-radius: 4rpx;
text-align: center;
line-height: 36rpx;
font-size: 16rpx;
font-weight: bold;
font-size: 24rpx;
font-weight: 400;
}
.countdown_colon {
// 颜色通过内联样式动态设置
font-size: 16rpx;
font-weight: bold;
font-size: 24rpx;
font-weight: 400;
margin: 0 2rpx;
}
}
......@@ -496,6 +496,53 @@
justify-content: space-between;
padding: 40rpx 34rpx;
// 正在秒杀状态布局
.single_session_content_ongoing {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
}
// 未开始/已结束状态布局 - 时间在前,状态在后,无间距
.single_session_content_other {
display: flex;
align-items: center;
justify-content: flex-start;
width: 100%;
gap: 0;
.tab_time_info {
margin: 0;
padding: 0;
display: flex;
align-items: center;
.tab_time_text {
&.start_time_text {
font-size: 28rpx;
font-weight: 400;
// 颜色通过内联样式动态设置
}
}
}
.session_status_tag {
margin: 0;
padding: 0;
margin-left: 0;
.status_text {
&.upcoming_text,
&.ended_text {
// 颜色通过内联样式动态设置
font-weight: 400;
font-size: 28rpx;
}
}
}
}
.session_status_tag {
&.ongoing {
.status_text {
......@@ -572,8 +619,8 @@
.countdown_colon {
// 颜色通过内联样式动态设置
font-size: 20rpx;
font-weight: bold;
font-size: 24rpx;
font-weight: 400;
margin: 0 4rpx;
}
}
......
This diff is collapsed.
......@@ -66,7 +66,7 @@
margin-left: 0rpx;
align-items: center;
justify-content: center;
box-shadow: 0 2rpx 8rpx rgba(160, 123, 77, 0.3);
// box-shadow: 0 2rpx 8rpx rgba(160, 123, 77, 0.3);
transition: transform 0.2s ease;
.invite_button_text {
......
......@@ -22,7 +22,7 @@
<view class="star_character">
<image
class="star_img"
:src="$baseUrl + 'integral/1023/invate_star_character1023.png'"
:src="$baseUrl + (itemIndex != 4 ? 'integral/1023/invate_star_character1023.png' : 'integral/1023/invate_star_character102302.png')"
mode="aspectFit"
/>
</view>
......
......@@ -63,6 +63,23 @@ watch(() => props.visible, (newVal) => {
}
isAnimating.value = false;
}
// #ifdef MP-WEIXIN
if (newVal) {
// 弹窗展示时,禁止页面滚动
wx.setPageStyle({
style: {
overflow: 'hidden'
}
});
} else {
// 弹窗关闭时,恢复页面滚动
wx.setPageStyle({
style: {
overflow: 'auto'
}
});
}
});
// 关闭弹窗
......
......@@ -6,7 +6,7 @@ const init = (SENSORS_URL) => {
sensors.setPara({
name: "sensors",
server_url: SENSORS_URL,
show_log: false,
show_log: true,
autoTrack: {
appLaunch: true, // 默认为 true,false 则关闭 $MPLaunch 事件采集
appShow: true, // 默认为 true,false 则关闭 $MPShow 事件采集
......
......@@ -398,6 +398,74 @@
}
]
},
{
"root": "v3",
"pages": [
{
"path": "addressList/addressList",
"style": {
"navigationBarTitleText": "收货地址管理",
"navigationStyle": "default"
}
},
{
"path": "addressList/addressEdit",
"style": {
"navigationBarTitleText": "填写收货地址",
"navigationStyle": "default"
}
},
{
"path": "more/index",
"style": {
"navigationBarTitleText": "更多",
"navigationStyle": "default"
}
},
{
"path": "goodDetail/goodDetail",
"style": {
"navigationBarTitleText": "商品详情"
}
},
{
"path": "settlementCenter/settlementCenter",
"style": {
"navigationBarTitleText": "结算中心"
}
},
{
"path": "orderDetail/orderDetail",
"style": {
"navigationBarTitleText": "订单详情"
}
},
{
"path": "payResultPage/payResultPage",
"style": {
"navigationBarTitleText": "支付结果"
}
},
{
"path": "logoffConfirmPage/logoffConfirmPage",
"style": {
"navigationBarTitleText": "注销账号"
}
},
{
"path": "orderList/orderList",
"style": {
"navigationBarTitleText": "我的订单"
}
},
{
"path": "logisticsPage/logisticsPage",
"style": {
"navigationBarTitleText": ""
}
}
]
},
{
"root": "v3",
"pages": [
......
......@@ -353,9 +353,9 @@ const handleClaim = () => {
};
const gotoIntegral = () => {
jump({
url: '/pages/index/index?pageType=integral',
type: JumpType.INNER
uni.redirectTo({
url: '/pages/index/index?pageType=integral'
});
};
......
......@@ -253,7 +253,7 @@ export const useUserStore = defineStore("userInfo", {
uni.setStorageSync('memberId', data?.memberId)
}
uni.setStorageSync('loginStatus', data?.memberId == "not_login" ? 0 : 1)
this.userInfo = data;
// this.userInfo = data;
// this.memberInfo = data;
// if (data?.memberId !== "not_login") {
// this.babyInfo = data;
......
......@@ -38,8 +38,8 @@
xcxClick: '我的页面点击',
pageName: '我的页面',
buttonName: '宝宝信息切换',
}">
<text class="nickname" @click="handleEditProfile">{{
}" >
<text class="nickname" @click="handleEditProfile">{{
babyInfo?.babyStage === 0
? "备孕"
: babyInfo?.babyStage === 1
......@@ -52,7 +52,7 @@
</view>
</view>
<!-- 积分账户 -->
<view class="integral-account" @click="handleEditProfile">
<view class="integral-account" @click="handleEditProfile">
<text class="integral-account-text"> 账号: </text>
<text class="integral-account-value">
{{ userStore.memberInfo?.mobile || '' }}</text>
......@@ -420,7 +420,7 @@ const navigateTo = (url) => {
const navigateToWithLogin = (url) => {
console.warn('navigateToWithLogin', url);
console.warn('cfgStatus.value.isRegister', cfgStatus.value.isRegister);
// 添加点击埋点 - 根据 URL 判断是哪个菜单项
let componentContent = '';
if (url.includes('/v3/orderList/orderList')) {
......@@ -430,7 +430,7 @@ const navigateToWithLogin = (url) => {
} else if (url.includes('/v3/more/index')) {
componentContent = '更多';
}
if (componentContent) {
md.sensorComponentLogTake({
xcxComponentClick: "true",
......@@ -657,7 +657,7 @@ onShow(async () => {
await userStore.loadMemberInfo();
points.value = userStore.memberInfo?.points;
console.log('userStore.memberInfo=', userStore.memberInfo)
// 添加宝宝信息引导模块曝光埋点
if (cfgStatus.value.isRegister && (!babyInfo.value?.allBabyBaseInfo || babyInfo.value?.allBabyBaseInfo?.length === 0)) {
md.sensorComponentLogTake({
......
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