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
a58a5025
Commit
a58a5025
authored
Mar 20, 2020
by
Z
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Z: Wx: 分享优惠券两步缩减为一步,点击推送即可,无需再点击黄框。Next: 安卓分享兼容性问题
parent
f84eafcb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
18 deletions
+29
-18
index.vue
ybf_wx/src/views/sideNav/discount/index.vue
+29
-18
No files found.
ybf_wx/src/views/sideNav/discount/index.vue
View file @
a58a5025
...
...
@@ -58,22 +58,32 @@
</div>
</div>
<div
class=
"zListActive"
>
<div
class=
"lists"
>
<div
v-if=
"zlist.voucherUrl !== ''"
class=
"voucherUrl"
>
<!--
<div
@
click=
"zpick"
>
小程序Url:
{{
String
(
zlist
.
voucherUrl
).
slice
(
-
2
)
}}
</div>
-->
<div>
小程序Url:
{{
String
(
zlist
.
voucherUrl
).
slice
(
-
2
)
}}
</div>
<div
v-if=
"String(zlist.voucherUrl).slice(-2) === '97'"
@
click=
"zpick('h5', String(zlist.voucherUrl))"
>
{{
zlist
.
voucherUrl
}}
</div>
<div
v-if=
"String(zlist.voucherUrl).slice(-2) !== '97'"
@
click=
"zpick('h5', String(zlist.voucherUrl))"
>
{{
zlist
.
voucherUrl
}}
</div>
</div>
</div>
</div>
<!--
<div
class=
"zListActive"
>
-->
<!--
<div
class=
"lists"
>
-->
<!--
<div
v-if=
"zlist.voucherUrl !== ''"
class=
"voucherUrl"
@
click=
"zpick('h5', String(zlist.voucherUrl))"
>
-->
<!-- <!–
<div
@
click=
"zpick"
>
小程序Url:
{{
String
(
zlist
.
voucherUrl
).
slice
(
-
2
)
}}
</div>
–>
-->
<!--
<div>
小程序Url:
{{
String
(
zlist
.
voucherUrl
).
slice
(
-
2
)
}}
</div>
-->
<!--
<div>
{{
zlist
.
voucherUrl
}}
</div>
-->
<!--
</div>
-->
<!--
</div>
-->
<!--
</div>
-->
<!--
<div
class=
"zListActive"
>
-->
<!--
<div
class=
"lists"
>
-->
<!--
<div
v-if=
"zlist.voucherUrl !== ''"
class=
"voucherUrl"
>
-->
<!-- <!–
<div
@
click=
"zpick"
>
小程序Url:
{{
String
(
zlist
.
voucherUrl
).
slice
(
-
2
)
}}
</div>
–>
-->
<!--
<div>
小程序Url:
{{
String
(
zlist
.
voucherUrl
).
slice
(
-
2
)
}}
</div>
-->
<!--
<div-->
<!-- v-if="String(zlist.voucherUrl).slice(-2) === '97'"-->
<!-- @click="zpick('h5', String(zlist.voucherUrl))"-->
<!-- >
{{
zlist
.
voucherUrl
}}
</div>
-->
<!--
<div-->
<!-- v-if="String(zlist.voucherUrl).slice(-2) !== '97'"-->
<!-- @click="zpick('h5', String(zlist.voucherUrl))"-->
<!-- >
{{
zlist
.
voucherUrl
}}
</div>
-->
<!--
</div>
-->
<!--
</div>
-->
<!--
</div>
-->
</div>
<!--
<div
class=
"menus"
>
<div
class=
"menu"
@
click=
"buttonMainMarketingClick"
>
精准营销
</div>
...
...
@@ -104,7 +114,7 @@ export default {
userId
:
""
,
unionId
:
""
,
userInfo
:
""
,
defaultImgUrl
:
"/mainSale/
test-city
.png"
,
defaultImgUrl
:
"/mainSale/
2
.png"
,
now
:
{
activeId
:
""
,
voucherId
:
""
,
...
...
@@ -145,7 +155,7 @@ export default {
// zlog('%c--->userId =', this.zcache.userId)
this
.
zReadyGetUserFromId
();
// this.zReadySetVoucherList();
this
.
getAgentAuth
();
//
this.getAgentAuth();
},
mounted
()
{
// zlog("%c--->Mounted.", "color: orange");
...
...
@@ -332,6 +342,7 @@ export default {
},
zVoucherSet
(
inArray
)
{
this
.
zlist
.
voucher
=
inArray
;
this
.
zpick
(
'h5'
,
inArray
)
},
zVoucherDel
()
{
this
.
zlist
.
voucher
=
[];
...
...
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