Commit a37672ee authored by spc's avatar spc

uat

parent 643275dc
...@@ -368,7 +368,7 @@ const fetchAct915HomeData = async () => { ...@@ -368,7 +368,7 @@ const fetchAct915HomeData = async () => {
// 判断是否登录(根据notLogin字段或邀请码) // 判断是否登录(根据notLogin字段或邀请码)
isLogin.value = !data.notLogin isLogin.value = !data.notLogin
// 检查是否有未领取的奖品需要弹窗 // 检查是否有未领取的奖品需要弹窗
if (unclaimedPrizes.value.length > 0) { if (unclaimedPrizes.value.length > 0) {
showPrizeModal() showPrizeModal()
...@@ -400,7 +400,7 @@ const fetchAct915HomeData = async () => { ...@@ -400,7 +400,7 @@ const fetchAct915HomeData = async () => {
} }
} }
if(isLogin.value){ if (isLogin.value) {
showMask.value = false showMask.value = false
} }
} }
...@@ -737,6 +737,7 @@ const onGetPhoneNumber = async (e) => { ...@@ -737,6 +737,7 @@ const onGetPhoneNumber = async (e) => {
const incomingCode = options.invitationCode; const incomingCode = options.invitationCode;
if (incomingCode) { if (incomingCode) {
// 使用统一的助力处理函数 // 使用统一的助力处理函数
await handleInvitationAssist(incomingCode); await handleInvitationAssist(incomingCode);
} }
......
...@@ -223,7 +223,7 @@ const displayNotices = computed(() => { ...@@ -223,7 +223,7 @@ const displayNotices = computed(() => {
// 格式化公告内容,限制为20个字符 // 格式化公告内容,限制为20个字符
const formatNotice = (nickname, prize) => { const formatNotice = (nickname, prize) => {
const fullText = `${nickname} 获得了 ${prize}`; const fullText = `${nickname} 获得了 ${prize}`;
return fullText.length > 20 ? fullText.substring(0, 20) + '…' : fullText; return fullText;
}; };
// 返回按钮处理 // 返回按钮处理
......
...@@ -424,7 +424,7 @@ ...@@ -424,7 +424,7 @@
} }
.lotterypagenoticecontext { .lotterypagenoticecontext {
width: 482rpx; width: 502rpx;
height: 40rpx; height: 40rpx;
position: absolute; position: absolute;
top: 0; top: 0;
...@@ -435,6 +435,10 @@ ...@@ -435,6 +435,10 @@
display: block; display: block;
margin: 0; margin: 0;
padding: 0; padding: 0;
white-space: nowrap;
text-align: left;
overflow: hidden;
text-overflow: ellipsis;
} }
.lotterypagenoticeconsoundicon { .lotterypagenoticeconsoundicon {
......
...@@ -16,8 +16,8 @@ const { ...@@ -16,8 +16,8 @@ const {
// request.js // request.js
// 通常可以吧 baseUrl 单独放在一个 js 文件了 // 通常可以吧 baseUrl 单独放在一个 js 文件了
// const baseUrl = "http://172.16.230.108:7777/pmall"; // const baseUrl = "http://172.16.230.108:7777/pmall";
// const baseUrl = "https://momclub-uat.feihe.com/pmall";//测试环境 const baseUrl = "https://momclub-uat.feihe.com/pmall";//测试环境
let baseUrl = "https://momclub.feihe.com/pmall";//生产环境 // let baseUrl = "https://momclub.feihe.com/pmall";//生产环境
// const baseUrl = "https://docs.dui88.com/mock/1956/api";//mock // const baseUrl = "https://docs.dui88.com/mock/1956/api";//mock
// const baseUrl = "https://feihe.m.duibatest.com.cn/pmall" // const baseUrl = "https://feihe.m.duibatest.com.cn/pmall"
......
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