Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
confucius
Commits
1e384fd2
Commit
1e384fd2
authored
Jun 29, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
d250e19b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
14 deletions
+8
-14
common.js
src/api/common/common.js
+0
-1
advmanager-form.vue
src/components/activity/advmanager-form.vue
+2
-3
advmanager.vue
src/pages/activity/advmanager.vue
+1
-1
makeAd.vue
src/pages/activity/makeAd.vue
+4
-8
myadvert.vue
src/pages/activity/myadvert.vue
+1
-1
No files found.
src/api/common/common.js
View file @
1e384fd2
...
...
@@ -141,7 +141,6 @@ export function UploadBolbFileToSystem(uploadConfig, fileFullPath, fileObj, uplo
xhr
.
onload
=
function
()
{
uploadLoadding
.
hide
();
var
jsonObj
=
JSON
.
parse
(
xhr
.
responseText
);
console
.
log
(
206
,
jsonObj
,
successCall
)
if
((
jsonObj
.
StatusCode
===
1
||
jsonObj
.
StatusCode
===
0
)
&&
successCall
)
{
var
tempArray
=
[];
if
(
jsonObj
.
OtherFile
&&
jsonObj
.
OtherFile
.
length
>
0
)
{
...
...
src/components/activity/advmanager-form.vue
View file @
1e384fd2
...
...
@@ -61,14 +61,14 @@
<div
class=
"row wrap q-mt-lg"
>
<div
class=
"col-12"
>
<q-uploader
:style=
"
{ backgroundImage: 'url(' + addMsg.PictureUrl + ')' }" style="width:auto;height:500px;background-repeat:no-repeat;background-size:cover; border:1px solid #eee" flat
hide-upload-btn max-files="1" label="底图" accept=".jpg, image/*" :factory="uploadFile1" auto-upload>
hide-upload-btn max-files="1" label="底图" accept=".jpg, image/*" :factory="uploadFile1" auto-upload
no-thumbnails
>
</q-uploader>
</div>
</div>
<div
class=
"row wrap q-mt-lg"
>
<div
class=
"col-12"
>
<q-uploader
:style=
"
{ backgroundImage: 'url(' + addMsg.SamplePicturesUrl + ')' }" style="width:auto;height:500px;background-repeat:no-repeat;background-size:cover; border:1px solid #eee" flat
hide-upload-btn max-files="1" label="原图" accept=".jpg, image/*" :factory="uploadFile2" auto-upload>
hide-upload-btn max-files="1" label="原图" accept=".jpg, image/*" :factory="uploadFile2" auto-upload
no-thumbnails
>
</q-uploader>
</div>
</div>
...
...
@@ -180,7 +180,6 @@ import {
},
//保存信息
saveRule
()
{
console
.
log
(
this
.
addMsg
)
if
(
this
.
addMsg
.
PictureUrl
==
""
){
this
.
$q
.
notify
({
type
:
'negative'
,
...
...
src/pages/activity/advmanager.vue
View file @
1e384fd2
...
...
@@ -119,7 +119,7 @@ export default {
if
(
type
==
0
){
this
.
addatas
=
res
.
Data
.
PageData
}
else
{
this
.
addatas
=
this
.
addatas
.
concat
(
resDdata
.
PageData
)
this
.
addatas
=
this
.
addatas
.
concat
(
res
.
Ddata
.
PageData
)
}
this
.
total
=
res
.
Data
.
Count
}
...
...
src/pages/activity/makeAd.vue
View file @
1e384fd2
...
...
@@ -481,7 +481,6 @@
if
(
this
.
$route
.
query
.
id
){
this
.
dataId
=
this
.
$route
.
query
.
id
}
console
.
log
(
479
,
this
.
dataId
)
// this.user = JSON.parse(window.localStorage.userInfo)
if
(
this
.
dataId
!=
0
)
{
this
.
bg
=
' '
...
...
@@ -583,7 +582,6 @@
methods
:
{
loadObj
()
{
getMyAdDetail
({
ID
:
this
.
dataId
}).
then
(
res
=>
{
console
.
log
(
'tag'
,
res
)
this
.
isLoading
=
false
if
(
res
.
Code
===
1
){
let
data
=
res
.
Data
...
...
@@ -650,7 +648,7 @@
new
browserMD5File
(
blob
,
function
(
err
,
md5
)
{
msg
.
SecretKey
=
md5
;
saveMakeAd
(
msg
).
then
(
res
=>
{
console
.
log
(
res
)
console
.
log
(
651
,
res
)
})
...
...
@@ -752,7 +750,7 @@
if
(
type
==
0
){
this
.
addatas
=
res
.
Data
.
PageData
}
else
{
this
.
addatas
=
this
.
addatas
.
concat
(
resDdata
.
PageData
)
this
.
addatas
=
this
.
addatas
.
concat
(
res
.
Ddata
.
PageData
)
}
this
.
total
=
res
.
Data
.
Count
if
(
res
.
Data
.
PageData
.
length
==
0
)
{
...
...
@@ -803,11 +801,9 @@
getFileBase64
(
type
)
{
let
that
=
this
var
cntElem
=
this
.
$refs
.
board
;
var
shareContent
=
cntElem
var
width
=
shareContent
.
offsetWidth
var
height
=
shareContent
.
offsetHeight
console
.
log
(
'canvas'
,
width
,
height
)
var
canvas
=
document
.
createElement
(
"canvas"
)
// var scale = window.devicePixelRatio;//显示设备的物理像素分辨率与CSS像素分辨率之比
var
scale
=
1
...
...
@@ -1202,7 +1198,7 @@
nodeId
:
this
.
currentMaxId
,
type
:
0
,
//0文本,1图片
width
:
(
36
*
4
)
+
10
,
height
:
36
,
height
:
100
,
lineHeight
:
'1'
,
bg
:
null
,
color
:
'#000'
,
...
...
@@ -1241,7 +1237,7 @@
nodeId
:
this
.
currentMaxId
,
type
:
0
,
//0文本,1图片
width
:
(
16
*
4
)
+
10
,
height
:
16
,
height
:
50
,
lineHeight
:
'1'
,
bg
:
null
,
color
:
'#000'
,
...
...
src/pages/activity/myadvert.vue
View file @
1e384fd2
...
...
@@ -91,7 +91,7 @@ export default {
if
(
type
==
0
){
this
.
addatas
=
res
.
Data
.
PageData
}
else
{
this
.
addatas
=
this
.
addatas
.
concat
(
resDdata
.
PageData
)
this
.
addatas
=
this
.
addatas
.
concat
(
res
.
Ddata
.
PageData
)
}
this
.
total
=
res
.
Data
.
pageCount
}
...
...
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