Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
html
/
h5wandahuijia
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a7e1cc4c
authored
Feb 13, 2019
by
mamingqun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去掉了一些console
parent
7e131677
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
1 additions
and
46 deletions
+1
-46
src/components/Cardcommon.vue
+0
-1
src/components/Detail.vue
+0
-8
src/components/Fuceng.vue
+0
-1
src/pages/index/ImgUp.vue
+1
-22
src/pages/index/Shouye.vue
+0
-3
src/pages/index/ruwei.vue
+0
-4
src/pages/user/Address.vue
+0
-1
src/pages/user/User.vue
+0
-4
tools.js
+0
-2
No files found.
src/components/Cardcommon.vue
View file @
a7e1cc4c
...
...
@@ -88,7 +88,6 @@ export default {
axios
.
post
(
'/contest/user/image/del'
,
{
id
:
this
.
dataV
.
id
}).
then
((
res
)
=>
{
console
.
log
(
res
.
data
.
code
===
0
);
if
(
res
.
data
.
code
===
0
)
{
Toast
({
message
:
'删除成功'
});
$eventbus
.
$emit
(
'detelItem'
)
...
...
src/components/Detail.vue
View file @
a7e1cc4c
...
...
@@ -144,8 +144,6 @@ export default {
}
})
.
then
(
res
=>
{
// console.log('请求的回调');
// console.log(res);
var
res
=
res
.
data
.
data
;
var
listArr
=
[
...
...
@@ -158,9 +156,6 @@ export default {
'onMenuShareQZone'
];
// console.log('res.data.data');
// console.log(res);
wx
.
config
({
debug
:
false
,
// 开启调试模式,
appId
:
res
.
appId
,
// 必填,企业号的唯一标识,此处填写企业号corpid
...
...
@@ -402,9 +397,6 @@ export default {
point
:
this
.
dianzanParam
})
.
then
(
res
=>
{
// console.log('成功返回');
console
.
log
(
'返回值'
);
console
.
log
(
res
);
if
(
res
.
data
.
code
===
0
)
{
this
.
pictureInfo
=
res
.
data
.
data
;
...
...
src/components/Fuceng.vue
View file @
a7e1cc4c
...
...
@@ -27,7 +27,6 @@ export default {
},
methods
:
{
closeFuceng
()
{
// console.log(123123);
$eventbus
.
$emit
(
'closeFuceng'
)
}
}
...
...
src/pages/index/ImgUp.vue
View file @
a7e1cc4c
...
...
@@ -197,12 +197,9 @@ export default {
computed
:
{
pictureTime
()
{
if
(
this
.
image_time
)
{
// console.log(this.image_time);
var
myDate
=
new
Date
(
this
.
image_time
);
// console.log(myDate);
var
year
=
myDate
.
getFullYear
()
+
'年'
;
var
month
=
myDate
.
getMonth
()
+
1
+
'月'
;
var
date
=
myDate
.
getDate
()
+
'日'
;
...
...
@@ -260,8 +257,6 @@ export default {
sizeType
:
[
'compressed'
],
// 可以指定是原图还是压缩图,默认二者都有
sourceType
:
[
'album'
,
'camera'
],
// 可以指定来源是相册还是相机,默认二者都有
success
:
function
(
res
)
{
// alert('进入chooseImage的success回调');
// console.log('进入chooseImage的success回调');
vm
.
imgUrls
=
res
.
localIds
;
wx
.
getLocalImgData
({
...
...
@@ -369,9 +364,6 @@ export default {
content
:
this
.
base64
[
0
]
})
.
then
(
res
=>
{
console
.
log
(
'上传res'
);
console
.
log
(
res
.
data
);
if
(
res
.
data
.
code
===
0
)
{
this
.
small_image
=
res
.
data
.
data
.
small_image
;
this
.
big_image
=
res
.
data
.
data
.
big_image
;
...
...
@@ -384,16 +376,9 @@ export default {
});
},
fabu
()
{
// if (!this.big_image && !this.base64.length) {
console
.
log
(
'this.big_image'
);
console
.
log
(
this
.
big_image
);
// console.log('image_time');
// var time = this.image_time;
// console.log(typeof time);
// console.log(time);
// console.log(time['Date']);
if
(
this
.
fabuLock
)
{
this
.
fabuLock
=
false
;
setTimeout
(()
=>
{
...
...
@@ -446,8 +431,6 @@ export default {
image_time
:
this
.
pictureTime
})
.
then
(
res
=>
{
console
.
log
(
'发布的res'
);
console
.
log
(
res
);
if
(
res
.
data
.
code
===
0
)
{
Toast
({
...
...
@@ -490,9 +473,6 @@ export default {
.
then
(
res
=>
{
var
res
=
res
.
data
.
data
;
console
.
log
(
'上传的res.data.data'
);
console
.
log
(
res
);
wx
.
config
({
debug
:
false
,
// 开启调试模式,
appId
:
res
.
appId
,
// 必填,企业号的唯一标识,此处填写企业号corpid
...
...
@@ -541,8 +521,7 @@ export default {
axios
.
post
(
'/contest/base/upload'
,
{
content
:
this
.
base64
[
0
]
}).
then
(
res
=>
{
console
.
log
(
'发给服务serverid'
);
console
.
log
(
res
);
if
(
res
.
data
.
code
===
0
)
{
vm
.
small_image
=
res
.
data
.
data
.
small_image
;
...
...
src/pages/index/Shouye.vue
View file @
a7e1cc4c
...
...
@@ -447,8 +447,6 @@ export default {
}
})
.
then
(
res
=>
{
console
.
log
(
'入围res'
);
console
.
log
(
res
);
var
arr
=
res
.
data
.
data
.
data
;
var
newArr
=
this
.
addSrc
(
arr
);
...
...
@@ -676,7 +674,6 @@ export default {
});
},
wangqizuopin
()
{
console
.
log
(
'123123'
);
this
.
wangqiList
=
true
;
},
wangqizuopinClose
(
num
)
{
...
...
src/pages/index/ruwei.vue
View file @
a7e1cc4c
...
...
@@ -77,8 +77,6 @@ export default {
while
(
data
.
length
)
{
data
=
await
this
.
getRuweiList
();
console
.
log
(
'data'
);
console
.
log
(
data
);
this
.
ruweiList
.
push
(
data
);
}
...
...
@@ -95,8 +93,6 @@ export default {
}
})
.
then
(
res
=>
{
// console.log('入围res');
// console.log(res);
var
arr
=
res
.
data
.
data
.
data
;
var
newArr
=
this
.
addSrc
(
arr
);
...
...
src/pages/user/Address.vue
View file @
a7e1cc4c
...
...
@@ -74,7 +74,6 @@ export default {
id
:
this
.
userId
})
.
then
(
res
=>
{
console
.
log
(
res
);
if
(
res
.
data
.
code
===
0
)
{
Toast
({
message
:
'保存成功'
});
setTimeout
(()
=>
{
...
...
src/pages/user/User.vue
View file @
a7e1cc4c
...
...
@@ -124,7 +124,6 @@ export default {
}
})
.
then
(
res
=>
{
// console.log(res);
var
arr
=
res
.
data
.
data
.
data
;
var
newArr
=
this
.
addSrc
(
arr
);
...
...
@@ -134,9 +133,6 @@ export default {
if
(
arr
.
length
<
res
.
data
.
data
.
size
)
{
this
.
userAllLoaded
=
true
;
this
.
userdot
=
{
backgroundColor
:
'transparent'
};
// console.log('this.$refs.waterfall',this.$refs.waterfall);
// this.$refs.waterfall.waterfallOver()
}
if
(
this
.
userList
)
{
...
...
tools.js
View file @
a7e1cc4c
...
...
@@ -12,7 +12,6 @@ var userHtml = path.resolve(__dirname, './dist/user.html');
fs
.
stat
(
path
.
resolve
(
__dirname
,
'./dist/index.blade.php'
),
function
(
err
)
{
if
(
err
)
{
// console.log(err);
rename
(
indexPhp
,
indexHtml
);
rename
(
userPhp
,
userHtml
);
...
...
@@ -38,7 +37,6 @@ function rename(php,html) {
console
.
log
(
err
);
}
else
{
if
(
php
.
includes
(
'user'
)){
// console.log(php);
changeUserFile
()
}
}
...
...
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