Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit efcb4c76
authored
Jun 20, 2024
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v1.0.7' of
http://192.168.3.233:8090/glsx/gl_tape
into v1.0.7
2 parents
11f263bb
74e98f02
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
26 additions
and
27 deletions
components/Canvas/wn-canvas.vue
components/CarBrands.vue
pages/equity/detail/components/MediaComponent.vue
pages/equity/detail/components/Reception.vue
pages/equity/detail/detail.vue
pages/equity/index.vue
components/Canvas/wn-canvas.vue
View file @
efcb4c7
...
...
@@ -892,7 +892,7 @@ export default {
this
.
drawContext
.
setLineWidth
(
this
.
lineWidth
);
//设置画笔粗细
this
.
$nextTick
(()
=>
{
this
.
drawContext
.
setLineWidth
(
this
.
lineWidth
)
this
.
fillBackground
();
//
this.fillBackground();
})
}
catch
(
error
)
{
console
.
log
(
error
)
...
...
components/CarBrands.vue
View file @
efcb4c7
...
...
@@ -113,7 +113,7 @@ export default {
let
{
clickFlga
}
=
this
if
(
clickFlga
)
return
this
.
clickFlga
=
true
uni
.
showLoading
({
if
(
!
auto
)
uni
.
showLoading
({
mask
:
true
})
this
.
selectItem
=
{
...
...
pages/equity/detail/components/MediaComponent.vue
View file @
efcb4c7
...
...
@@ -31,16 +31,24 @@ export default {
}
},
watch
:
{
watch
Status
:
{
watch
CarModel
:
{
immediate
:
true
,
handler
(
newval
)
{
if
(
this
.
madiaId
==
3
)
{
let
index
=
{
'问界M5'
:
0
,
'问界M7'
:
1
,
'问界M9'
:
2
}[
newval
]
return
this
.
viewIndex
=
index
||
0
}
}
}
,
}
},
computed
:
{
watch
Status
()
{
return
this
.
$store
.
state
.
user
.
historyStatus
}
,
watch
CarModel
()
{
return
this
.
$store
.
state
.
user
.
customerInfo
.
carModel
}
},
mounted
()
{
},
...
...
pages/equity/detail/components/Reception.vue
View file @
efcb4c7
...
...
@@ -2,7 +2,7 @@
<view
class=
"layout"
>
<wnCanvas
saveImageType=
"3"
canvasId=
"c-1
-1
"
canvasId=
"c-1"
:drawStatus=
"penSwitch"
custom
>
...
...
@@ -134,7 +134,6 @@ export default {
}
},
show
(
n
)
{
console
.
log
(
this
.
views
)
if
(
n
&&
!
this
.
customerInfo
.
carModel
)
this
.
$refs
.
carBrandListVisible
.
autoSelect
()
}
},
...
...
pages/equity/detail/detail.vue
View file @
efcb4c7
...
...
@@ -34,10 +34,10 @@
:views=
"item.receptionSourceDetailList || []"
:penSwitch=
"penSwitch"
:show=
"id == item.id"
:ref=
"'media'
+
item.id"
:ref=
"'media'
+
item.id"
:title=
"item.detailTitle || ''"
:madiaId=
"item.id"
:carTypeList=
"item.carTypeList"
:carTypeList=
"item.carTypeList
|| []
"
/>
</view>
</
template
>
...
...
pages/equity/index.vue
View file @
efcb4c7
...
...
@@ -120,22 +120,14 @@ export default {
},
// 查询素材
async
getSoure
()
{
try
{
uni
.
showLoading
({
mask
:
true
})
let
{
moduleList
,
toolList
}
=
await
uni
.
$api
.
systemApi
.
getMockData
();
await
moduleList
.
map
(
async
e
=>
{
if
(
e
.
receptionSourceDetailList
)
e
.
receptionSourceDetailList
=
await
uni
.
$api
.
systemApi
.
imgToBase64
(
e
.
receptionSourceDetailList
,
'detailUrl'
)
if
(
e
.
carTypeList
)
e
.
carTypeList
=
await
uni
.
$api
.
systemApi
.
imgToBase64
(
e
.
carTypeList
)
})
uni
.
hideLoading
()
this
.
moduleList
=
moduleList
this
.
toolList
=
toolList
uni
.
$api
.
systemApi
.
updateMockData
(
moduleList
,
'moduleList'
)
}
catch
(
error
)
{
uni
.
hideLoading
()
}
let
{
moduleList
,
toolList
}
=
await
uni
.
$api
.
systemApi
.
getMockData
();
await
moduleList
.
map
(
async
e
=>
{
if
(
e
.
receptionSourceDetailList
)
e
.
receptionSourceDetailList
=
await
uni
.
$api
.
systemApi
.
imgToBase64
(
e
.
receptionSourceDetailList
,
'detailUrl'
)
if
(
e
.
carTypeList
)
e
.
carTypeList
=
await
uni
.
$api
.
systemApi
.
imgToBase64
(
e
.
carTypeList
)
})
this
.
moduleList
=
moduleList
this
.
toolList
=
toolList
uni
.
$api
.
systemApi
.
updateMockData
(
moduleList
,
'moduleList'
)
},
errorImg
(
index
)
{
this
.
moduleList
[
index
].
showAlt
=
true
...
...
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