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 641aa212
authored
Nov 22, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
client海报分享,样式
1 parent
b109ef70
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
31 deletions
packagesList/packageOutput/components/outputCrowdfund/outputCrowdfund.scss
packagesList/packageOutput/components/outputCrowdfund/outputCrowdfund.wxml
pages/tab/output/components/client/client.js
packagesList/packageOutput/components/outputCrowdfund/outputCrowdfund.scss
View file @
641aa21
...
@@ -232,13 +232,15 @@
...
@@ -232,13 +232,15 @@
}
}
}
}
&
-name
{
.rank-row-name
{
max-width
:
200rpx
;
font-size
:
24rpx
;
font-size
:
24rpx
;
color
:
#3666FE
;
color
:
#3666FE
;
margin-right
:
12rpx
;
margin-right
:
12rpx
;
}
}
.name-disabled
{
.name-disabled
{
max-width
:
200rpx
;
font-size
:
24rpx
;
font-size
:
24rpx
;
color
:
#5A6066
;
color
:
#5A6066
;
margin-right
:
12rpx
;
margin-right
:
12rpx
;
...
...
packagesList/packageOutput/components/outputCrowdfund/outputCrowdfund.wxml
View file @
641aa21
...
@@ -54,8 +54,8 @@
...
@@ -54,8 +54,8 @@
</view>
</view>
<view class="rank-content">
<view class="rank-content">
<view class="rank-row">
<view class="rank-row">
<text wx:if="{{subItem.goodUrl}}" class="rank-row-name
" bindtap="handleXiReport" data-item="{{subItem}}">{{subItem.shareName}}{{
}}</text>
<text wx:if="{{subItem.goodUrl}}" class="rank-row-name
text-hide" bindtap="handleXiReport" data-item="{{subItem}}">{{subItem.shareName
}}</text>
<text wx:else class="name-disabled" bindtap="handleXiReport" data-item="{{subItem}}">{{subItem.shareName}}</text>
<text wx:else class="name-disabled
text-hide
" bindtap="handleXiReport" data-item="{{subItem}}">{{subItem.shareName}}</text>
<view class="down-tips" wx:if="{{orderObj.staffIdx == index && idx == 0}}">
<view class="down-tips" wx:if="{{orderObj.staffIdx == index && idx == 0}}">
点击员工姓名看喜报
点击员工姓名看喜报
</view>
</view>
...
...
pages/tab/output/components/client/client.js
View file @
641aa21
...
@@ -117,36 +117,21 @@ Component({
...
@@ -117,36 +117,21 @@ Component({
activityId
:
this
.
data
.
list
[
idx
].
activityLastUnSharedInfo
.
id
,
activityId
:
this
.
data
.
list
[
idx
].
activityLastUnSharedInfo
.
id
,
activityName
:
this
.
data
.
list
[
idx
].
activityLastUnSharedInfo
.
activityName
activityName
:
this
.
data
.
list
[
idx
].
activityLastUnSharedInfo
.
activityName
}
}
// const {
wx
.
$api
.
showLoading
(
'加载中...'
)
// item
outputApi
// } = e.currentTarget.dataset,
.
getPosterUrl
({
console
.
log
(
item
)
id
:
item
.
activityId
const
posterObj
=
this
.
selectComponent
(
'#poster'
)
const
{
options
}
=
wx
.
$router
.
getPageInstance
()
console
.
log
(
options
)
try
{
let
flag
=
await
posterObj
.
check
(
item
)
posterObj
.
setData
({
poster
:
flag
,
show
:
true
})
})
}
catch
(
error
)
{
.
then
(
res
=>
{
wx
.
$api
.
showLoading
(
'加载中...'
)
item
.
posterUrl
=
res
outputApi
this
.
setData
({
.
getPosterUrl
({
posterItem
:
item
,
i
d
:
item
.
activityId
i
sShowTip
:
false
})
})
.
then
(
res
=>
{
})
item
.
posterUrl
=
res
.
catch
(()
=>
{
this
.
setData
({
wx
.
$api
.
showToast
(
'下载海报失败'
)
posterItem
:
item
,
})
isShowTip
:
false
})
})
.
catch
(()
=>
{
wx
.
$api
.
showToast
(
'下载海报失败'
)
})
}
},
},
/**长按海报 */
/**长按海报 */
async
longtouch
(
e
)
{
async
longtouch
(
e
)
{
...
...
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