Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
business-assistant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f1107e6b
authored
Nov 08, 2022
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改生成海报样式
1 parent
f35a99a0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
24 deletions
components/CrowdfundPoster/CrowdfundPoster.scss
components/CrowdfundPoster/CrowdfundPoster.wxml
components/CrowdfundPoster/CrowdfundPoster.scss
View file @
f1107e6
...
@@ -24,23 +24,20 @@
...
@@ -24,23 +24,20 @@
// height: 60%;
// height: 60%;
height
:
1108rpx
;
height
:
1108rpx
;
overflow
:
scroll
;
overflow
:
scroll
;
border-radius
:
8rpx
;
border-radius
:
8rpx
8rpx
0
0
;
}
}
.btn
{
.btn
{
width
:
320rpx
;
display
:
flex
;
height
:
88rpx
;
align-items
:
center
;
line-height
:
88rpx
;
justify-content
:
center
;
background
:
#3666FE
;
width
:
558rpx
;
// background-image: linear-gradient(-60deg, #556AF5 0%, #7197FF 100%);
height
:
90rpx
;
border-radius
:
16rpx
;
background
:
#F7F8FA
;
border-radius
:
0
0
12rpx
12rpx
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
32rpx
;
font-size
:
32rpx
;
color
:
#FFFFFF
;
color
:
#3666FE
;
text-align
:
center
;
margin-top
:
32rpx
;
}
}
.tips
{
.tips
{
margin
:
16rpx
80rpx
0
;
margin
:
16rpx
80rpx
0
;
font-size
:
24rpx
;
font-size
:
24rpx
;
...
...
components/CrowdfundPoster/CrowdfundPoster.wxml
View file @
f1107e6
<block wx:if="{{show}}">
<block wx:if="{{show}}">
<!-- catchtouchmove="noScroll" -->
<!-- catchtouchmove="noScroll" -->
<view class="layout"
>
<view class="layout"
>
<view class="bg" bindtap="hide
" />
<view class="bg" bindtap="hide" catchtouchmove="noScroll
" />
<view class="poster">
<view class="poster">
<!-- <scroll-view scroll-x="false" scroll-y="true" style="height: 100%"> -->
<!-- <scroll-view scroll-x="false" scroll-y="true" style="height: 100%"> -->
<image src="{{poster}}" mode="widthFix"
/>
<image src="{{poster}}" mode="widthFix" show-menu-by-longpress
/>
<!-- </scroll-view> -->
<!-- </scroll-view> -->
</view>
</view>
<view class="btn" bindtap="download">保存至相册</view>
<view class="btn">
<view class="tips">提示:这是您的专属活动海报,请下载转发给门店员工注册并参与活动分享。请不要将此海报转发给非相关活动参与者,避免活动数据泄漏。</view>
长按图片转发
</view>
<view class="tips">提示:这是您的专属活动海报,请长按转发给门店员工注册并参与活动分享。请不要将此海报转发给非相关活动参与者,避免活动数据泄漏。</view>
</view>
</view>
</block>
</block>
<authorize
<!-- <authorize scopeType="writePhotosAlbum" bindfail="authFail" show="{{showAuth}}" isShowCheck="{{false}}" id="auth" /> -->
scopeType="writePhotosAlbum"
bindfail="authFail"
show="{{showAuth}}"
isShowCheck="{{false}}"
id="auth" />
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
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 post a comment