Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
太
太保-年鉴活动-20250625
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
SparkProjects
太保-年鉴活动-20250625
Commits
bf7fae2b
Commit
bf7fae2b
authored
Jul 07, 2025
by
俞嘉婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 海报二维码放本地 要不然跨域
parent
aeb51d57
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
4 additions
and
7 deletions
+4
-7
index.html
index.html
+0
-4
code_img_test.png
public/assets/posterPop/code_img_test.png
+0
-0
4输出徽章紫色.svga
public/assets/svga/4输出徽章紫色.svga
+0
-0
6输出徽章绿色.svga
public/assets/svga/6输出徽章绿色.svga
+0
-0
posterPop.jsx
src/components/posterPop/posterPop.jsx
+2
-2
index.js
src/store/index.js
+1
-1
newSkin.js
src/store/newSkin.js
+1
-0
No files found.
index.html
View file @
bf7fae2b
...
@@ -84,14 +84,10 @@
...
@@ -84,14 +84,10 @@
// 生产
// 生产
CFG
.
sensorUrl
=
'https://xnjkfx.cpic.com.cn:8006/sa?project=SXGW'
;
CFG
.
sensorUrl
=
'https://xnjkfx.cpic.com.cn:8006/sa?project=SXGW'
;
// 海报二维码
CFG
.
qrCodeImg
=
'https://yun.duiba.com.cn/aurora/assets/86edddb7cb2ab51fc7234a3e62279b2c6bfbc2ff.png'
;
// TODO
if
(
location
.
href
.
indexOf
(
"duibatest"
)
>
-
1
)
{
if
(
location
.
href
.
indexOf
(
"duibatest"
)
>
-
1
)
{
var
vConsole
=
new
VConsole
();
var
vConsole
=
new
VConsole
();
CFG
.
sensorUrl
=
'https://xnjkfxsit.cpic.com.cn/sa?project=SXGW'
;
CFG
.
sensorUrl
=
'https://xnjkfxsit.cpic.com.cn/sa?project=SXGW'
;
// 海报二维码
CFG
.
qrCodeImg
=
'https://yun.duiba.com.cn/aurora/assets/86edddb7cb2ab51fc7234a3e62279b2c6bfbc2ff.png'
;
}
}
...
...
public/assets/posterPop/code_img_test.png
0 → 100644
View file @
bf7fae2b
5.74 KB
public/assets/svga/4输出徽章紫色.svga
deleted
100644 → 0
View file @
aeb51d57
File deleted
public/assets/svga/6输出徽章绿色.svga
deleted
100644 → 0
View file @
aeb51d57
File deleted
src/components/posterPop/posterPop.jsx
View file @
bf7fae2b
...
@@ -46,12 +46,12 @@ class LongImgPop extends Component {
...
@@ -46,12 +46,12 @@ class LongImgPop extends Component {
render
()
{
render
()
{
const
{
close
}
=
skinStore
.
common
;
const
{
close
}
=
skinStore
.
common
;
const
{
bg
}
=
skinStore
.
posterPop
;
const
{
bg
,
code_img_test
}
=
skinStore
.
posterPop
;
return
(
return
(
<
div
className=
"posterPop"
>
<
div
className=
"posterPop"
>
<
div
className=
"poster_box"
id=
"posetBox"
>
<
div
className=
"poster_box"
id=
"posetBox"
>
<
img
className=
"bg"
src=
{
bg
}
alt=
""
/>
<
img
className=
"bg"
src=
{
bg
}
alt=
""
/>
<
img
className=
"code_img"
src=
{
CFG
.
qrCodeImg
}
alt=
""
/>
<
img
className=
"code_img"
src=
{
code_img_test
}
alt=
""
/>
</
div
>
</
div
>
{
{
this
.
state
.
posterImg
&&
<
img
className=
"poster_img"
src=
{
this
.
state
.
posterImg
}
></
img
>
this
.
state
.
posterImg
&&
<
img
className=
"poster_img"
src=
{
this
.
state
.
posterImg
}
></
img
>
...
...
src/store/index.js
View file @
bf7fae2b
...
@@ -80,7 +80,7 @@ const store = makeAutoObservable({
...
@@ -80,7 +80,7 @@ const store = makeAutoObservable({
// 跳转至【官微大转盘】
// 跳转至【官微大转盘】
jumpDraw
()
{
jumpDraw
()
{
wx
.
miniProgram
.
navigateTo
({
wx
.
miniProgram
.
navigateTo
({
url
:
'
/packageTbzy/pages/lottery/lottery?activityCode=DRAWFARM&source_channel=nianjianhuodong'
url
:
'/packageTbzy/pages/lottery/lottery?activityCode=DRAWFARM&source_channel=nianjianhuodong'
})
})
},
},
...
...
src/store/newSkin.js
View file @
bf7fae2b
...
@@ -97,6 +97,7 @@ const _lightNewPop = {
...
@@ -97,6 +97,7 @@ const _lightNewPop = {
// 海报
// 海报
const
_posterPop
=
{
const
_posterPop
=
{
bg
:
'./assets/posterPop/bg.png'
,
bg
:
'./assets/posterPop/bg.png'
,
code_img_test
:
'./assets/posterPop/code_img_test.png'
,
}
}
// 处理图片防止缓存
// 处理图片防止缓存
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment