Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mongo-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
mongo-ui
Commits
83c9691c
Commit
83c9691c
authored
Aug 31, 2020
by
郭志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 二维码问题修复
parent
2b6d457a
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
21 additions
and
74 deletions
+21
-74
shareInfo.js
src/api/shareInfo.js
+1
-1
qrcode-demo.png
src/assets/images/consultant/qrcode-demo.png
+0
-0
qrcode.jpg
src/assets/images/home/qrcode.jpg
+0
-0
weixinJsSdk.mixin.js
src/mixins/weixinJsSdk.mixin.js
+0
-67
wxSdk.js
src/service/wxSdk.js
+0
-0
index.less
src/views/Consultant/Exclusive/index.less
+3
-0
index.vue
src/views/Goods/Detail/index.vue
+0
-5
GoInsureDialog.vue
src/views/Goods/Detail/modules/GoInsureDialog.vue
+9
-1
index.less
src/views/Home/Activity/index.less
+4
-0
Modal.vue
src/views/Home/modules/Modal.vue
+4
-0
No files found.
src/api/shareInfo.js
View file @
83c9691c
...
@@ -60,7 +60,7 @@ const shareList = {
...
@@ -60,7 +60,7 @@ const shareList = {
imgUrl
:
currentOrigin
+
"
/shareImg/goods-03.png
"
imgUrl
:
currentOrigin
+
"
/shareImg/goods-03.png
"
},
},
lidetail
:
{
lidetail
:
{
title
:
"
芒果保险】华贵大麦2020定期寿险
"
,
title
:
"
【
芒果保险】华贵大麦2020定期寿险
"
,
desc
:
desc
:
"
「定期寿险」家庭主要收入贡献者的必备保险,最高可赔350万。免体检,责任免除仅3条,1~6类职业均可保,健康告知仅3条。
"
,
"
「定期寿险」家庭主要收入贡献者的必备保险,最高可赔350万。免体检,责任免除仅3条,1~6类职业均可保,健康告知仅3条。
"
,
imgUrl
:
currentOrigin
+
"
/shareImg/goods-04.png
"
imgUrl
:
currentOrigin
+
"
/shareImg/goods-04.png
"
...
...
src/assets/images/consultant/qrcode-demo.png
View replaced file @
2b6d457a
View file @
83c9691c
20.5 KB
|
W:
|
H:
78.8 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/assets/images/home/qrcode.jpg
View replaced file @
2b6d457a
View file @
83c9691c
7.66 KB
|
W:
|
H:
51.9 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/mixins/weixinJsSdk.mixin.js
deleted
100644 → 0
View file @
2b6d457a
/*
* @Description: weixin-js-sdk mixins
* @LastEditors: gzw
* @Date: 20120-08-30 18:40:11
* @LastEditTime: 2020-08-30 19:28:02
*/
import
cfg
from
"
@/config/index
"
;
import
{
getwxAuth
}
from
"
@/api/user
"
;
import
wx
from
"
weixin-js-sdk
"
;
export
default
{
data
()
{
return
{
wxAuthInfo
:
{}
};
},
methods
:
{
async
getWxShareInfo
(
title
=
"
wwww
"
,
desc
=
"
aaaa
"
,
link
=
window
.
location
.
href
,
imgUrl
=
"
https://mangguo-mg.liangkebang.net/sharetest.png
"
)
{
const
res
=
await
getwxAuth
({
appId
:
cfg
.
wxAppId
,
url
:
window
.
location
.
href
});
const
{
appId
,
timestamp
,
nonceStr
,
signature
}
=
res
;
wx
.
config
({
debug
:
false
,
// 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
appId
,
// 必填,公众号的唯一标识,填自己的!
timestamp
,
// 必填,生成签名的时间戳,刚才接口拿到的数据
nonceStr
,
// 必填,生成签名的随机串
signature
,
// 必填,签名,见附录1
jsApiList
:
[
"
onMenuShareTimeline
"
,
"
onMenuShareAppMessage
"
]
});
wx
.
ready
(
function
()
{
//分享到朋友圈
wx
.
onMenuShareTimeline
({
title
,
// 分享时的标题
link
,
// 分享时的链接
imgUrl
,
// 分享时的图标
success
:
function
()
{
console
.
log
(
"
分享成功
"
);
},
cancel
:
function
()
{
console
.
log
(
"
取消分享
"
);
}
});
//分享给朋友
wx
.
onMenuShareAppMessage
({
title
,
desc
,
link
,
imgUrl
,
type
:
"
link
"
,
dataUrl
:
""
,
success
:
function
()
{
console
.
log
(
"
分享成功
"
);
},
cancel
:
function
()
{
console
.
log
(
"
取消分享
"
);
}
});
});
}
}
};
src/service/wxSdk.js
deleted
100644 → 0
View file @
2b6d457a
src/views/Consultant/Exclusive/index.less
View file @
83c9691c
...
@@ -57,6 +57,9 @@
...
@@ -57,6 +57,9 @@
border-radius: @border-radius-md;
border-radius: @border-radius-md;
box-shadow: 0px 10px 25px 0px rgba(0, 0, 0, 0.09);
box-shadow: 0px 10px 25px 0px rgba(0, 0, 0, 0.09);
padding: 4px 6px 9px;
padding: 4px 6px 9px;
@{deep} img {
transform: scale(1.8);
}
p {
p {
text-align: center;
text-align: center;
font-size: @font-size-11;
font-size: @font-size-11;
...
...
src/views/Goods/Detail/index.vue
View file @
83c9691c
...
@@ -17,7 +17,6 @@ import AdvisorRecDialog from "./modules/AdvisorRecDialog";
...
@@ -17,7 +17,6 @@ import AdvisorRecDialog from "./modules/AdvisorRecDialog";
import
{
getCulOrder
}
from
"
@/api/consultant
"
;
import
{
getCulOrder
}
from
"
@/api/consultant
"
;
import
localStorage
from
"
@/service/localStorage
"
;
import
localStorage
from
"
@/service/localStorage
"
;
import
{
isXyqb
}
from
"
@/service/validation
"
;
import
{
isXyqb
}
from
"
@/service/validation
"
;
import
weixinJsSdk
from
"
@/mixins/weixinJsSdk.mixin
"
;
import
{
mapActions
,
mapState
}
from
"
vuex
"
;
import
{
mapActions
,
mapState
}
from
"
vuex
"
;
export
default
{
export
default
{
...
@@ -29,7 +28,6 @@ export default {
...
@@ -29,7 +28,6 @@ export default {
liDetail
,
liDetail
,
AdvisorRecDialog
AdvisorRecDialog
},
},
mixins
:
[
weixinJsSdk
],
data
()
{
data
()
{
return
{
return
{
detailType
:
""
,
detailType
:
""
,
...
@@ -52,9 +50,6 @@ export default {
...
@@ -52,9 +50,6 @@ export default {
next
();
next
();
}
}
},
},
created
()
{
this
.
getWxShareInfo
();
},
mounted
()
{
mounted
()
{
this
.
getOrderInfo
();
this
.
getOrderInfo
();
this
.
detailType
=
this
.
$route
.
query
.
type
;
this
.
detailType
=
this
.
$route
.
query
.
type
;
...
...
src/views/Goods/Detail/modules/GoInsureDialog.vue
View file @
83c9691c
<
template
>
<
template
>
<modal
v-model=
"show"
:closeable=
"true"
cancel-btn=
""
confirm-btn=
"同意并继续"
@
confirm=
"go"
>
<modal
v-model=
"show"
:closeable=
"true"
cancel-btn=
""
confirm-btn=
"同意并继续"
@
confirm=
"go"
>
<h4
slot=
"title"
class=
"pay-title"
>
立即拥有
<br
/>
{{
title
}}
</h4>
<h4
slot=
"title"
class=
"pay-title"
>
立即拥有
<br
/>
{{
title
}}
</h4>
<compactCellGroup
class=
"pay-det"
:cell-data=
"pay
Data
"
:text-bold=
"true"
/>
<compactCellGroup
class=
"pay-det"
:cell-data=
"pay
Info
"
:text-bold=
"true"
/>
<slot>
<slot>
<div
class=
"pay-tip"
>
*不满意可随时退保
</div>
<div
class=
"pay-tip"
>
*不满意可随时退保
</div>
<div
class=
"pay-protocol"
>
<div
class=
"pay-protocol"
>
...
@@ -70,6 +70,14 @@ export default {
...
@@ -70,6 +70,14 @@ export default {
this
.
$emit
(
DIALOG_CHANGE_EVENT
,
val
);
this
.
$emit
(
DIALOG_CHANGE_EVENT
,
val
);
}
}
},
},
computed
:
{
payInfo
()
{
if
(
this
.
payData
[
1
]
&&
this
.
payData
[
1
].
value
)
{
return
this
.
payData
;
}
return
[
this
.
payData
[
0
]];
}
},
methods
:
{
methods
:
{
openIframePupop
(
index
)
{
openIframePupop
(
index
)
{
this
.
$emit
(
READ_PROTOCOL_EVENT
,
index
);
this
.
$emit
(
READ_PROTOCOL_EVENT
,
index
);
...
...
src/views/Home/Activity/index.less
View file @
83c9691c
...
@@ -117,6 +117,10 @@
...
@@ -117,6 +117,10 @@
padding: 18px 0 16px;
padding: 18px 0 16px;
width: 140px;
width: 140px;
height: 140px;
height: 140px;
overflow: hidden;
@{deep} img {
transform: scale(2.2);
}
}
}
.Aa-container-focus {
.Aa-container-focus {
...
...
src/views/Home/modules/Modal.vue
View file @
83c9691c
...
@@ -290,6 +290,10 @@ export default {
...
@@ -290,6 +290,10 @@ export default {
margin
:
8
px
0
0
4
px
;
margin
:
8
px
0
0
4
px
;
width
:
70
px
;
width
:
70
px
;
height
:
70
px
;
height
:
70
px
;
overflow
:
hidden
;
@{
deep
}
img
{
transform
:
scale
(
2.2
);
}
}
}
.
Aw
-
panel
-
account
{
.
Aw
-
panel
-
account
{
...
...
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