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 dba69ae0
authored
Oct 20, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
联调
1 parent
6d0e81d6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
36 additions
and
5 deletions
packageOutput/pages/summary/components/outputCrowdfund/outputCrowdfund.js
packageOutput/pages/summary/components/outputCrowdfund/outputCrowdfund.wxml
packageOutput/pages/summary/components/outputTransform/outputTransform.js
packageOutput/pages/summary/components/outputTransform/outputTransform.wxml
pages/tab/output/components/client/client.js
pages/tab/output/output.js
packageOutput/pages/summary/components/outputCrowdfund/outputCrowdfund.js
View file @
dba69ae
// packageOutput/pages/summary/components/outputCrowdfund/outputCrowdfund.js
// packageOutput/pages/summary/components/outputCrowdfund/outputCrowdfund.js
import
wxqrcode
from
'~/utils/lib/wxqrcode'
Component
({
Component
({
/**
/**
* 组件的属性列表
* 组件的属性列表
...
@@ -94,6 +95,13 @@ Component({
...
@@ -94,6 +95,13 @@ Component({
this
.
setData
({
this
.
setData
({
orderObj
:
list
orderObj
:
list
})
})
},
handleCopy
(
e
)
{
var
{
idx
}
=
e
.
currentTarget
.
dataset
var
currentItem
=
this
.
data
.
orderObj
.
activityList
[
idx
]
console
.
log
(
currentItem
)
// console.log(wxqrcode)
wxqrcode
.
createQrCodeImg
(
currentItem
.
activityUrl
)
}
}
}
}
})
})
packageOutput/pages/summary/components/outputCrowdfund/outputCrowdfund.wxml
View file @
dba69ae
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
<view class="box merchant" wx:for="{{orderObj.activityList}}" wx:key="index">
<view class="box merchant" wx:for="{{orderObj.activityList}}" wx:key="index">
<view class="head">
<view class="head">
<view class="text-hide head-title">{{item.activityName}}</view>
<view class="text-hide head-title">{{item.activityName}}</view>
<view class="head-link" bindtap="handleCopy">复制活动链接</view>
<view class="head-link" bindtap="handleCopy"
data-idx="{{index}}"
>复制活动链接</view>
</view>
</view>
<view class="content">
<view class="content">
<view class="content-row" wx:for="{{merchantFormList}}" wx:for-item="subItem" wx:for-index="idx" wx:key="idx">
<view class="content-row" wx:for="{{merchantFormList}}" wx:for-item="subItem" wx:for-index="idx" wx:key="idx">
...
...
packageOutput/pages/summary/components/outputTransform/outputTransform.js
View file @
dba69ae
...
@@ -6,7 +6,7 @@ Component({
...
@@ -6,7 +6,7 @@ Component({
properties
:
{
properties
:
{
formData
:
{
formData
:
{
type
:
Object
,
type
:
Object
,
value
:
()
=>
{}
value
:
()
=>
{
}
}
}
},
},
...
@@ -45,6 +45,19 @@ Component({
...
@@ -45,6 +45,19 @@ Component({
* 组件的方法列表
* 组件的方法列表
*/
*/
methods
:
{
methods
:
{
// handleDetail() {
// wx.navigateToMiniProgram({
// appId: 'wx0ff4e01294eca299', //appid
// path: '/pages/web_view/web_view',//path
// extraData: { //参数
// foo: 'bar'
// },
// envVersion: 'develop', //开发版develop 开发版 trial 体验版 release 正式版
// success(res) {
// console.log('成功')
// // 打开成功
// }
// })
// }
}
}
})
})
packageOutput/pages/summary/components/outputTransform/outputTransform.wxml
View file @
dba69ae
...
@@ -9,3 +9,5 @@
...
@@ -9,3 +9,5 @@
<view class="label">{{item.label}}</view>
<view class="label">{{item.label}}</view>
</view>
</view>
</view>
</view>
<navigator target="miniProgram" open-type="navigate" app-id="wx570d9331f9ace0bd" version="release">查看订单详情
</navigator>
\ No newline at end of file
\ No newline at end of file
pages/tab/output/components/client/client.js
View file @
dba69ae
...
@@ -21,7 +21,7 @@ Component({
...
@@ -21,7 +21,7 @@ Component({
totalProfit
:
0
,
totalProfit
:
0
,
pageObj
:
{
pageObj
:
{
currentPage
:
1
,
currentPage
:
1
,
pageSize
:
3
pageSize
:
10
},
},
totalPages
:
-
1
,
totalPages
:
-
1
,
list
:
[]
list
:
[]
...
@@ -44,6 +44,14 @@ Component({
...
@@ -44,6 +44,14 @@ Component({
pMerchantId
:
userInfo
.
subLoginUser
.
merchantId
pMerchantId
:
userInfo
.
subLoginUser
.
merchantId
})
})
},
},
clientRefresh
()
{
this
.
getPMerchantInfo
()
this
.
setData
({
[
'pageObj.currentPage'
]:
1
,
list
:
[]
})
this
.
getClientApi
()
},
getClientApi
()
{
getClientApi
()
{
this
.
getProfit
()
this
.
getProfit
()
this
.
getList
()
this
.
getList
()
...
...
pages/tab/output/output.js
View file @
dba69ae
...
@@ -66,7 +66,7 @@ Page({
...
@@ -66,7 +66,7 @@ Page({
let
merchantModule
=
this
.
selectComponent
(
'#merchant'
)
let
merchantModule
=
this
.
selectComponent
(
'#merchant'
)
// console.log('clientModule', clientModule)
// console.log('clientModule', clientModule)
// console.log()
// console.log()
clientModule
.
getClientApi
&&
clientModule
.
getClientApi
()
clientModule
.
getClientApi
&&
clientModule
.
clientRefresh
()
merchantModule
.
init
&&
merchantModule
.
init
()
merchantModule
.
init
&&
merchantModule
.
init
()
}
}
let
{
isSuper
,
userInfo
}
=
this
.
data
let
{
isSuper
,
userInfo
}
=
this
.
data
...
...
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