Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
Y
ybf
Project
Project
Details
Activity
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
xulili
ybf
Commits
53cd2d41
Commit
53cd2d41
authored
Apr 20, 2020
by
leiqingsong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
区分企业微信端还是微信端
parent
bfd85761
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
activeDetail.vue
wx_application/src/views/active/activeDetail.vue
+9
-0
index.vue
wx_application/src/views/mainSale/active/main/index.vue
+3
-2
No files found.
wx_application/src/views/active/activeDetail.vue
View file @
53cd2d41
...
...
@@ -373,6 +373,15 @@ export default {
}
}
);
let
env
=
window
.
navigator
.
userAgent
.
toLowerCase
();
if
(
env
.
match
(
/MicroMessenger/i
)
==
"micromessenger"
&&
env
.
match
(
/wxwork/i
)
==
"wxwork"
)
{
console
.
log
(
"企业微信客户端"
);
}
else
if
(
env
.
match
(
/micromessenger/i
)
==
"micromessenger"
)
{
console
.
log
(
"微信客户端"
);
}
}
},
destroyed
()
{
...
...
wx_application/src/views/mainSale/active/main/index.vue
View file @
53cd2d41
...
...
@@ -238,7 +238,7 @@ export default {
this
.
flag
=
sessionStorage
.
getItem
(
"role"
);
}
}
else
{
this
.
zReadyUserId
()
//
this.zReadyUserId()
this
.
zTestGetNowUrlInfo
()
}
this
.
GET_CurrentActive
()
...
...
@@ -256,7 +256,8 @@ export default {
},
handleMore
()
{
this
.
active_limit
+=
3
;
if
(
this
.
active_limit
==
this
.
currentActives
.
length
)
{
console
.
log
(
this
.
currentActives
.
length
);
if
(
this
.
active_limit
>=
this
.
currentActives
.
length
)
{
this
.
finished
=
true
;
}
},
...
...
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