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 a0ba21c7
authored
Oct 24, 2022
by
luyt
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix;分享产看产品
1 parent
2fd0ef8c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
pages/checkProduct/checkProduct.js
pages/tab/index/index.wxml
pages/checkProduct/checkProduct.js
View file @
a0ba21c
...
@@ -142,7 +142,7 @@ Page({
...
@@ -142,7 +142,7 @@ Page({
let
{
let
{
actNum
,
actNum
,
activeNavIdx
,
activeNavIdx
,
apiData
,
//
apiData,
outshowVideo
,
outshowVideo
,
// origin //跳转来源 home
// origin //跳转来源 home
}
=
options
;
}
=
options
;
...
@@ -155,20 +155,20 @@ Page({
...
@@ -155,20 +155,20 @@ Page({
this.setData({
this.setData({
actNum,
actNum,
activeNavIdx,
activeNavIdx,
apiData,
//
apiData,
outshowVideo,
outshowVideo,
// origin
// origin
// isShare
// isShare
});
});
let apiDataJson = JSON.stringify(apiData);
//
let apiDataJson = JSON.stringify(apiData);
let item =
api
Data[actNum]?.productList[activeNavIdx];
let item =
sence
Data[actNum]?.productList[activeNavIdx];
this.shareQuery = `
sceneCode
=
$
{
api
Data
[
actNum
].
sceneCode
}
&
productCode
=
$
{
this.shareQuery = `
sceneCode
=
$
{
sence
Data
[
actNum
].
sceneCode
}
&
productCode
=
$
{
item
?.
productCode
item
?.
productCode
}
&
isShare
=
$
{
true
}
&
productDesc
=
$
{
item
?.
productName
}
&
category
=
$
{
}
&
isShare
=
$
{
true
}
&
productDesc
=
$
{
item
?.
productName
}
&
category
=
$
{
item
?.
category
item
?.
category
}
&
actNum
=
$
{
actNum
}
&
activeNavIdx
=
$
{
activeNavIdx
}
&
apiData
=
$
{
apiDataJson
}
`;
}
&
actNum
=
$
{
actNum
}
&
activeNavIdx
=
$
{
activeNavIdx
}
`;
this.shareTrackData = {
this.shareTrackData = {
sceneCode:
api
Data[actNum]?.sceneCode,
sceneCode:
sence
Data[actNum]?.sceneCode,
productCode: item?.productCode,
productCode: item?.productCode,
productName: item?.productName,
productName: item?.productName,
category: item?.category,
category: item?.category,
...
...
pages/tab/index/index.wxml
View file @
a0ba21c
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
</view>
</view>
</view>
</view>
</view>
</view>
<product stickyTop="{{headerHeight}}" actNum="{{actNum}}" senceData="{{senceData}}" origin="home"
apiData="{{apiData}}"
bindsharehandle="sharehandle" />
<product stickyTop="{{headerHeight}}" actNum="{{actNum}}" senceData="{{senceData}}" origin="home" bindsharehandle="sharehandle" />
</view>
</view>
<!-- 看线索内容 -->
<!-- 看线索内容 -->
<view class="clue" wx:if="{{tabIndx == 0 }}" hover-class="none" hover-stop-propagation="false">
<view class="clue" wx:if="{{tabIndx == 0 }}" hover-class="none" hover-stop-propagation="false">
...
...
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