Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
group-buy-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
group-buy-ui
Commits
b567f289
Commit
b567f289
authored
Oct 06, 2021
by
Xuguangxing
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feat/group-buy' of git.quantgroup.cn:ui/group-buy-ui into feat/group-buy
parents
b87dd063
014e66f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
sharePic.vue
src/components/sharePic.vue
+3
-3
weapp.vue
src/components/weapp.vue
+4
-3
No files found.
src/components/sharePic.vue
View file @
b567f289
...
...
@@ -262,9 +262,9 @@ body {
top: -9999px;
left: -9999px;
color: #333;
//
ios15字体有bug,需要在根元素覆盖下
font-family: Helvetica, Tahoma, Arial, 'PingFang SC', 'Hiragino Sans GB', 'Heiti SC', STXihei
,
'
Microsoft YaHei', SimHei
;
//
默认的字体包含了-apple-system,html2canvas解析导致bug,需要在根元素覆盖
@font-family: BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Segoe UI, Arial, Roboto
,
'
PingFang SC', 'Hiragino Sans GB', 'Microsoft Yahei', sans-serif
;
}
.groupInfo {
background: #fff;
...
...
src/components/weapp.vue
View file @
b567f289
...
...
@@ -5,7 +5,7 @@
<div>
请在微信小程序中参与此活动哦~
</div>
</div>
<div
class=
"wchat-popup-footer"
>
<div
plain
type=
"primary"
class=
"wchat-popup-confirm"
>
<div
class=
"wchat-popup-confirm"
>
打开微信小程序
<!-- 狼大呜原始ID:gh_e1d790d67513
羊小咩原始ID:gh_a976018bfb9e -->
...
...
@@ -17,7 +17,7 @@
@
error=
"launchError"
>
<script
type=
"text/wxtag-template"
>
<style>
.btn
{height:
100%
;width: 100%;}
</style>
<style>
.btn
{height:
48px
;width: 100%;}
</style>
<div
class=
"btn"
>
打开小程序
</div>
</script>
</wx-open-launch-weapp>
...
...
@@ -30,6 +30,7 @@
import
wx
from
'
weixin-js-sdk
'
;
import
groupBuy
from
'
@/api/groupBuy
'
;
import
config
from
'
@/config
'
;
import
{
paramsParentheses
}
from
'
@/service/utils.service
'
;
export
default
{
name
:
'
Weapp
'
,
props
:
{
...
...
@@ -50,7 +51,7 @@ export default {
computed
:
{
newJumpUrl
()
{
const
jumpUrl
=
this
.
jumpUrl
;
const
linkPath
=
window
.
location
.
href
;
const
linkPath
=
paramsParentheses
(
this
)
+
encodeURIComponent
(
'
&vccToken={token}
'
)
;
return
`
${
jumpUrl
}
?url=
${
encodeURIComponent
(
JSON
.
stringify
(
linkPath
))}
`
;
}
},
...
...
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