Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
dev
/
zhiliang-light-mp
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
8ee753b3
authored
2019-10-08 12:57:44 +0800
by
simon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
默认提交
1 parent
3e7fe8a2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
gulpfile.js
src/pages/auction-list/auction-list.wxml
gulpfile.js
View file @
8ee753b
...
...
@@ -155,7 +155,7 @@ function wxmlImgRewrite() {
var
res
=
config
.
assetsCDN
+
config
.
qcloud
.
prefix
+
'/'
;
// console.log(res);
return
gulp
.
src
(
paths
.
src
.
wxmlFiles
)
.
pipe
(
replace
(
'%ASSETS_IMG%/'
,
res
))
//
.pipe(replace('%ASSETS_IMG%/', res))
.
pipe
(
gulp
.
dest
(
paths
.
dist
.
baseDir
))
}
...
...
@@ -210,10 +210,10 @@ var watchHandler = function (type, file) {
del
([
file
.
replace
(
'src/'
,
'dist/'
)]);
}
}
else
{
//
imageMin();
imageMin
();
// assetsImgMin();
// qcloudCDN();
//
wxmlImgRewrite();
wxmlImgRewrite
();
}
}
...
...
@@ -224,7 +224,7 @@ var watchHandler = function (type, file) {
del
([
tmp
]);
}
else
{
copyWXML
();
//
wxmlImgRewrite();
wxmlImgRewrite
();
}
}
...
...
@@ -236,7 +236,7 @@ var watchHandler = function (type, file) {
}
else
{
copyBasicFiles
();
// copyWXML();
//
wxmlImgRewrite();
wxmlImgRewrite
();
}
}
};
...
...
@@ -272,10 +272,10 @@ gulp.task('default', gulp.series(
copyBasicFiles
,
gulp
.
parallel
(
sassCompile
,
//
imageMin,
imageMin
,
copyWXML
),
//
wxmlImgRewrite,
wxmlImgRewrite
,
// assetsImgMin,
// qcloudCDN,
watch
...
...
@@ -287,10 +287,10 @@ gulp.task('test', gulp.series(
copyBasicFiles
,
gulp
.
parallel
(
sassCompile
,
//
imageMin,
imageMin
,
copyWXML
),
//
wxmlImgRewrite,
wxmlImgRewrite
,
// assetsImgMin,
// qcloudCDN
));
...
...
src/pages/auction-list/auction-list.wxml
View file @
8ee753b
...
...
@@ -4,7 +4,7 @@
<!-- <view class="app__top-shadow"></view> -->
<view class="app__content main">
<view class="top-space"></view>
<view class="content">auction-list2
1
</view>
<view class="content">auction-list2
3
</view>
</view>
</view>
<van-popup show="{{ authorizeVisible }}">
...
...
Please
register
or
sign in
to post a comment