Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
duiba-h5-frame
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
江思志
duiba-h5-frame
Commits
b4266955
Commit
b4266955
authored
Apr 02, 2019
by
孙高杰
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of gitlab2.dui88.com:jiangsizhi/duiba-h5-frame into feature/20190401-modal
parents
ed24599c
6a670726
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
8 deletions
+24
-8
ossupload.js
build/ossupload.js
+2
-1
home.vue
src/pages/kejiji/webview/content/page/home.vue
+12
-2
today.less
src/pages/kejiji/webview/daily/page/today.less
+5
-2
today.vue
src/pages/kejiji/webview/daily/page/today.vue
+5
-3
No files found.
build/ossupload.js
View file @
b4266955
...
...
@@ -14,6 +14,7 @@ const chalk = require('chalk');
const
ProgressBar
=
require
(
'progress'
);
const
path
=
require
(
'path'
);
let
NODE_ENV
=
process
.
env
.
NODE_ENV
;
let
config
=
require
(
"../config/index"
);
function
replaceBackSlash
(
str
)
{
let
n
=
str
.
split
(
'
\
\'
).length - 1;
...
...
@@ -70,7 +71,7 @@ class OssUpload {
co(function*() {
let relativeDir = _this.getRelativePath(fileDir);
const originPath = `${_this.options.originDir}${relativeDir}`; // cdn 路径
console.log("上传文件
http://yun.dui88.com/"
+ originPath);
console.log("上传文件
" + config.build.assetsPublicPath
+ originPath);
try {
originFile = yield _this.client.head(originPath);
} catch (error) {
...
...
src/pages/kejiji/webview/content/page/home.vue
View file @
b4266955
...
...
@@ -119,7 +119,8 @@ export default {
subTitle2
:
""
,
activitLyist
:
[],
weixinQrcode
:
''
,
showInterceptModal
:
false
showInterceptModal
:
false
,
sellerId
:
""
};
},
props
:
{
...
...
@@ -136,7 +137,9 @@ export default {
this
.
showInterceptModal
=
false
;
},
goCardEditPage
()
{
wx
.
miniProgram
.
navigateTo
({
url
:
'/pages/sellercard/card_edit/main'
});
wx
.
miniProgram
.
navigateTo
({
url
:
'/pages/sellercard/card_edit/main?sellerId='
+
this
.
sellerId
});
},
async
showToday
()
{
// this.$router.push("/today");
...
...
@@ -171,9 +174,16 @@ export default {
}
},
async
getuserInfo
()
{
console
.
log
(
"getuserInfo"
);
let
res
=
await
get
(
API
.
userInfo
,
{});
if
(
res
.
success
)
{
this
.
weixinQrcode
=
res
.
data
.
sellerWxQrCode
;
this
.
sellerId
=
res
.
data
.
sellerId
;
}
else
{
if
(
res
.
code
==
"100010"
){
this
.
getH5Authorize
();
}
}
},
async
initData
(){
...
...
src/pages/kejiji/webview/daily/page/today.less
View file @
b4266955
...
...
@@ -3,7 +3,7 @@
font-size: 12px;
width: 100%;
overflow-x: hidden;
padding-bottom:
9
0px;
padding-bottom:
8
0px;
opacity: 0;
// animation: fades 0.7s 1;
// animation-delay: 0.4s;
...
...
@@ -30,6 +30,9 @@
animation-delay: 0.4s;
animation-fill-mode: forwards;
}
&.mini{
padding-bottom: 160px;
}
}
@keyframes fades{
...
...
@@ -393,7 +396,7 @@
}
.long-touch{
position: absolute;
right:
3
2px;
right:
7
2px;
bottom: -60px;
font-size: 26px;
color: #999999;
...
...
src/pages/kejiji/webview/daily/page/today.vue
View file @
b4266955
<
template
>
<div
class=
"page"
:class=
"
{active:loaded}">
<div
class=
"page"
:class=
"
{active:loaded
, mini:inMini
}">
<div
class=
"title"
>
{{
title
}}
</div>
<div
class=
"seller-tip"
><span
class=
"seller-name"
>
{{
sellerName
}}
</span>
的分享
</div>
<div
class=
"rili"
>
...
...
@@ -68,7 +68,7 @@
</div>
</div>
</div>
<div
class=
"long-touch"
><div
class=
"long-line"
></div>
长按扫描联系TA
</div>
<div
class=
"long-touch"
><div
class=
"long-line"
></div>
{{
wechatQrCode
?
"长按二维码联系TA"
:
"暂无二维码信息"
}}
</div>
</div>
...
...
@@ -118,7 +118,8 @@ export default {
avatar
:
""
,
wechatQrCode
:
""
,
loaded
:
false
,
sellerId
:
null
sellerId
:
null
,
inMini
:
false
};
},
components
:
{
ShareFooter
,
toastTip
},
...
...
@@ -241,6 +242,7 @@ export default {
}
},
created
()
{
this
.
inMini
=
inMiniprogram
;
this
.
initData
();
startTime
(
SCID
);
}
...
...
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