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 e0a1589a
authored
Oct 21, 2022
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'develop' of
http://192.168.3.233:8090/saas_plus/business-assistant
into develop
2 parents
20c374c4
5007d586
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
9 deletions
pages/checkProduct/checkProduct.js
pages/checkProduct/checkProduct.wxml
pages/tab/index/components/product/product.js
pages/tab/index/index.js
pages/tab/index/index.scss
utils/request/environment.js
pages/checkProduct/checkProduct.js
View file @
e0a1589
...
...
@@ -286,7 +286,7 @@ Page({
this.onLoad(null);
wx.nextTick(() => {
this.setData({
isShare: res.isShare,
//
isShare: res.isShare,
phone: res.phone,
});
});
...
...
pages/checkProduct/checkProduct.wxml
View file @
e0a1589
...
...
@@ -4,7 +4,7 @@
</view>
<product stickyTop="{{headerHeight}}" actNum="{{actNum}}"
senceData="{{senceData}}" isShare="{{isShare}}"
bindauthorized="authorizedFn" />
<product stickyTop="{{headerHeight}}" actNum="{{actNum}}"
wrapactiveNavIdx="{{activeNavIdx}}" senceData="{{senceData}}" isShare="{{isShare}}"
bindauthorized="authorizedFn" />
<!-- 分享弹框 -->
<!-- <shareModel actNum="{{actNum}}" isShow="{{isShow}}" bindmodelclose="modelcloseFn" /> -->
<view class="share-wrap" wx:if="{{isShow}}">
...
...
@@ -35,4 +35,4 @@
</view>
</view>
<!-- 授权昵称 -->
<view wx:if="{{!hasUserInfo}}" class="user-profile" bindtap="getUserProfile"></view>
<view wx:if="{{!hasUserInfo
&& !isShow
}}" class="user-profile" bindtap="getUserProfile"></view>
pages/tab/index/components/product/product.js
View file @
e0a1589
...
...
@@ -13,6 +13,7 @@ Component({
properties
:
{
stickyTop
:
Number
,
actNum
:
Number
,
wrapactiveNavIdx
:
Number
,
senceData
:
Object
,
//本地数据
apiData
:
Object
,
//后端接口数据
isShare
:
{
...
...
@@ -44,8 +45,12 @@ Component({
},
lifetimes
:
{
ready
:
function
()
{
if
(
this
.
data
.
wrapactiveNavIdx
){
this
.
setData
({
activeNavIdx
:
this
.
data
.
wrapactiveNavIdx
})
}
this
.
init
();
// console.log('stickyTop',this.data.stickyTop)
this
.
getImgHeight
();
//如果不是分享,初始化的时候调用函数
if
(
!
this
.
data
.
isShare
)
{
...
...
pages/tab/index/index.js
View file @
e0a1589
...
...
@@ -48,7 +48,7 @@ Page({
},
],
apiData
:
[],
actNum
:
0
,
//car 场景选择
actNum
:
3
,
//car 场景选择
tabIndx
:
1
,
navList
:
[
"看线索"
,
"看产品"
],
typeList
:
[
"联系电话"
,
"意向客户"
,
"线索来源"
,
"重置"
],
...
...
@@ -391,7 +391,7 @@ Page({
apiData
:
data
,
});
this
.
compositionData
(
senceData
,
this
.
data
.
apiData
);
this
.
getFirstSenceIndex
();
//
this.getFirstSenceIndex();
}
});
// 看线索
...
...
pages/tab/index/index.scss
View file @
e0a1589
...
...
@@ -237,9 +237,9 @@ page {
.scene
{
margin
:
0
10px
16px
;
display
:
flex
;
//
justify-content: space-between;
justify-content
:
space-between
;
.item-wrap
{
margin-right
:
4px
;
//
margin-right: 4px;
position
:
relative
;
width
:
86px
;
height
:
90px
;
...
...
utils/request/environment.js
View file @
e0a1589
...
...
@@ -6,7 +6,7 @@ const target = ['ip', 'dev', 'uat', 'prod']
2测试
3生产
*/
const
index
=
2
const
index
=
1
const
secretKey
=
{
ip
:
{},
...
...
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