Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
ai-card
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 9d2e1e75
authored
Mar 01, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改海报图片
1 parent
5d6dbc5d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
37 additions
and
37 deletions
components/proDetail/proDetail.js
pages/tab/index/constant/data.js
pages/tab/index/index.js
utils/constantData.js
components/proDetail/proDetail.js
View file @
9d2e1e7
...
@@ -61,7 +61,7 @@ Component({
...
@@ -61,7 +61,7 @@ Component({
attached
()
{
attached
()
{
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
getImgHeight
()
this
.
getImgHeight
()
},
4
00
)
},
8
00
)
},
},
},
},
...
...
pages/tab/index/constant/data.js
View file @
9d2e1e7
...
@@ -46,22 +46,22 @@ const videoList0 = [
...
@@ -46,22 +46,22 @@ const videoList0 = [
}
}
]
]
const
posterList0
=
[
const
posterList0
=
[
{
{
src
:
`
${
IMG_URL
}
index/poster/poster3-0.webp`
,
src
:
`
${
IMG_URL
}
index/poster/poster3-0.webp`
,
name
:
'劲爆来袭'
name
:
'劲爆来袭'
},
},
{
{
src
:
`
${
IMG_URL
}
index/poster/poster3-1.webp`
,
src
:
`
${
IMG_URL
}
index/poster/poster3-1.webp`
,
name
:
'疯狂让利'
name
:
'疯狂让利'
},
},
{
{
src
:
`
${
IMG_URL
}
index/poster/poster3-2.webp`
,
src
:
`
${
IMG_URL
}
index/poster/poster3-2.webp`
,
name
:
'娱乐系统'
name
:
'娱乐系统'
},
},
{
{
src
:
`
${
IMG_URL
}
index/poster/poster3-3.webp`
,
src
:
`
${
IMG_URL
}
index/poster/poster3-3.webp`
,
name
:
'AR实景导航'
name
:
'AR实景导航'
}
}
]
]
// 精品升级
// 精品升级
const
sceneImgs1
=
[
const
sceneImgs1
=
[
...
@@ -87,20 +87,20 @@ const videoList1 = [
...
@@ -87,20 +87,20 @@ const videoList1 = [
]
]
const
posterList1
=
[
const
posterList1
=
[
{
{
src
:
`
${
IMG_URL
}
index/poster/poster
3
-0.webp`
,
src
:
`
${
IMG_URL
}
index/poster/poster
4
-0.webp`
,
name
:
'
劲爆来袭
'
name
:
'
一卷窗膜一车舒适
'
},
},
{
{
src
:
`
${
IMG_URL
}
index/poster/poster
3
-1.webp`
,
src
:
`
${
IMG_URL
}
index/poster/poster
4
-1.webp`
,
name
:
'
疯狂让利
'
name
:
'
汽车美容踏入镀晶时代
'
},
},
{
{
src
:
`
${
IMG_URL
}
index/poster/poster
3
-2.webp`
,
src
:
`
${
IMG_URL
}
index/poster/poster
4
-2.webp`
,
name
:
'
娱乐系统
'
name
:
'
5系窗膜随意选择
'
},
},
{
{
src
:
`
${
IMG_URL
}
index/poster/poster
3
-3.webp`
,
src
:
`
${
IMG_URL
}
index/poster/poster
4
-3.webp`
,
name
:
'
AR实景导航
'
name
:
'
四层加厚漆面保护
'
}
}
]
]
...
@@ -119,20 +119,20 @@ const productImgs2 = [
...
@@ -119,20 +119,20 @@ const productImgs2 = [
]
]
const
posterList2
=
[
const
posterList2
=
[
{
{
src
:
`
${
IMG_URL
}
index/poster/poster
3
-0.webp`
,
src
:
`
${
IMG_URL
}
index/poster/poster
4
-0.webp`
,
name
:
'
劲爆来袭
'
name
:
'
一卷窗膜一车舒适
'
},
},
{
{
src
:
`
${
IMG_URL
}
index/poster/poster
3
-1.webp`
,
src
:
`
${
IMG_URL
}
index/poster/poster
4
-1.webp`
,
name
:
'
疯狂让利
'
name
:
'
汽车美容踏入镀晶时代
'
},
},
{
{
src
:
`
${
IMG_URL
}
index/poster/poster
3
-2.webp`
,
src
:
`
${
IMG_URL
}
index/poster/poster
4
-2.webp`
,
name
:
'
娱乐系统
'
name
:
'
5系窗膜随意选择
'
},
},
{
{
src
:
`
${
IMG_URL
}
index/poster/poster
3
-3.webp`
,
src
:
`
${
IMG_URL
}
index/poster/poster
4
-3.webp`
,
name
:
'
AR实景导航
'
name
:
'
四层加厚漆面保护
'
}
}
]
]
const
videoList2
=
[]
const
videoList2
=
[]
...
...
pages/tab/index/index.js
View file @
9d2e1e7
...
@@ -112,7 +112,7 @@ Page({
...
@@ -112,7 +112,7 @@ Page({
if
(
this
.
data
.
cardInfo
.
staffPhone
===
phone
)
{
if
(
this
.
data
.
cardInfo
.
staffPhone
===
phone
)
{
// wx.$storage.set('isStaff', 'true')
// wx.$storage.set('isStaff', 'true')
this
.
setData
({
this
.
setData
({
isStaff
:
true
,
//
isStaff: true,
phoneNumber
:
phone
phoneNumber
:
phone
})
})
}
}
...
@@ -298,7 +298,7 @@ Page({
...
@@ -298,7 +298,7 @@ Page({
if
(
this
.
data
.
cardInfo
.
staffPhone
===
this
.
data
.
phoneNumber
)
{
if
(
this
.
data
.
cardInfo
.
staffPhone
===
this
.
data
.
phoneNumber
)
{
// wx.$storage.set('isStaff', 'true')
// wx.$storage.set('isStaff', 'true')
this
.
setData
({
this
.
setData
({
isStaff
:
true
//
isStaff: true
})
})
}
}
}
}
...
@@ -500,7 +500,7 @@ Page({
...
@@ -500,7 +500,7 @@ Page({
if
(
cardInfo
.
staffPhone
===
this
.
data
.
phoneNumber
)
{
if
(
cardInfo
.
staffPhone
===
this
.
data
.
phoneNumber
)
{
// wx.$storage.set('isStaff', 'true')
// wx.$storage.set('isStaff', 'true')
this
.
setData
({
this
.
setData
({
isStaff
:
true
//
isStaff: true
})
})
}
}
})
})
...
...
utils/constantData.js
View file @
9d2e1e7
...
@@ -23,5 +23,5 @@ export const STORAGE_OBJECTkEY = {
...
@@ -23,5 +23,5 @@ export const STORAGE_OBJECTkEY = {
export
const
IMG_VERSION
=
()
=>
{
export
const
IMG_VERSION
=
()
=>
{
const
accountInfo
=
wx
.
getAccountInfoSync
()
const
accountInfo
=
wx
.
getAccountInfoSync
()
return
accountInfo
.
miniProgram
.
version
||
'1.0.
0
'
return
accountInfo
.
miniProgram
.
version
||
'1.0.
1
'
}
}
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
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 post a comment