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 2f89b2df
authored
Sep 08, 2023
by
陈婉清
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev_v4.27.1' into 'develop'
Dev v4.27.1上线后,代码合并 See merge request
!38
2 parents
fb9facad
83a02851
Hide whitespace changes
Inline
Side-by-side
Showing
30 changed files
with
100 additions
and
47 deletions
app.json
components/Authorize/Authorize.wxml
components/PhoneNumber/PhoneNumber.wxml
login/index/components/Box/Box.js
login/index/components/Box/Box.wxml
login/index/index.js
login/index/index.wxml
package-lock.json
package.json
packageMine/pages/customerManagement/editCustomer/editCustomer.wxml
packageMine/pages/customerManagement/saleList/saleList.wxml
packageMine/pages/serviceManage/editService/editService.wxml
packagesList/packageOutput/components/echart/echart.js
packagesList/packageOutput/components/outputCrowdfund/outputCrowdfund.wxml
packagesList/packageOutput/components/outputEchart/outputEchart.wxml
packagesList/packageOutput/pages/newSummary/newSummary.js
packagesList/packageOutput/pages/newSummary/newSummary.wxml
packagesList/pages/videoDetal/videoDetal.wxml
pages/checkProduct/checkProduct.wxml
pages/tab/index/components/CrowdfundPoster/CrowdfundPoster.wxml
pages/tab/index/components/product/product.wxml
pages/tab/index2/components/CrowdfundPoster/CrowdfundPoster.wxml
pages/tab/index2/components/product/product.wxml
pages/tab/outputValue/components/merchantCom/MerchantScene/MerchantScene.wxml
pages/tab/outputValue/components/merchantCom/constant.js
pages/tab/outputValue/components/merchantCom/merchantAll/merchantAll.js
pages/tab/outputValue/components/merchantCom/merchantAll/merchantAll.wxml
pages/viewProd/index.wxml
pages/viewVideo/index.wxml
utils/request/environment.js
app.json
View file @
2f89b2d
...
@@ -127,12 +127,14 @@
...
@@ -127,12 +127,14 @@
"nothing-tips"
:
"/components/Nothing-tips/nothingTips"
,
"nothing-tips"
:
"/components/Nothing-tips/nothingTips"
,
"crowdfund-poster"
:
"/components/CrowdfundPoster/CrowdfundPoster"
,
"crowdfund-poster"
:
"/components/CrowdfundPoster/CrowdfundPoster"
,
"glsx-image"
:
"/components/image/index"
,
"glsx-image"
:
"/components/image/index"
,
"no-product"
:
"/components/NoProduct/index"
"no-product"
:
"/components/NoProduct/index"
,
"glsx-privacy"
:
"glsx-applet-component/GlsxPrivacy/index"
},
},
"resolveAlias"
:
{
"resolveAlias"
:
{
"~/*"
:
"/*"
"~/*"
:
"/*"
},
},
"sitemapLocation"
:
"sitemap.json"
,
"sitemapLocation"
:
"sitemap.json"
,
"__usePrivacyCheck__"
:
true
,
"permission"
:
{
"permission"
:
{
"scope.userLocation"
:
{
"scope.userLocation"
:
{
"desc"
:
"你的位置信息将用于小程序位置接口的效果展示"
"desc"
:
"你的位置信息将用于小程序位置接口的效果展示"
...
...
components/Authorize/Authorize.wxml
View file @
2f89b2d
...
@@ -14,4 +14,5 @@
...
@@ -14,4 +14,5 @@
</view>
</view>
</view>
</view>
</view>
</view>
</view>
\ No newline at end of file
\ No newline at end of file
</view>
<glsx-privacy appletName="生意助手" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
\ No newline at end of file
\ No newline at end of file
components/PhoneNumber/PhoneNumber.wxml
View file @
2f89b2d
...
@@ -44,3 +44,4 @@
...
@@ -44,3 +44,4 @@
<button wx:else class="phoneNumber" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">合作申请</button>
<button wx:else class="phoneNumber" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">合作申请</button>
</view>
</view>
</view>
</view>
<glsx-privacy appletName="生意助手" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
login/index/components/Box/Box.js
View file @
2f89b2d
...
@@ -202,10 +202,12 @@ Component({
...
@@ -202,10 +202,12 @@ Component({
},
},
/**微信登录 */
/**微信登录 */
wxLogin
({
detail
})
{
wxLogin
({
detail
})
{
if
(
!
detail
.
code
)
{
console
.
log
(
detail
,
'detail'
);
wx
.
$api
.
showToast
(
'当前微信版本过低,无法使用该功能,请升级到最新微信版本后重试。'
)
if
(
detail
.
errno
==
104
||!
detail
.
code
)
return
//用户手动拒绝
return
// if (!detail.code) {
}
// // wx.$api.showToast('当前微信版本过低,无法使用该功能,请升级到最新微信版本后重试。')
// return
// }
this
.
setBtnLoading
()
this
.
setBtnLoading
()
USERAPI
.
authUserPhone
(
detail
,
this
.
loginToken
)
USERAPI
.
authUserPhone
(
detail
,
this
.
loginToken
)
.
then
(({
code
,
data
,
message
})
=>
{
.
then
(({
code
,
data
,
message
})
=>
{
...
@@ -243,7 +245,8 @@ Component({
...
@@ -243,7 +245,8 @@ Component({
const
thisPage
=
wx
.
$router
.
getPageInstance
()
const
thisPage
=
wx
.
$router
.
getPageInstance
()
if
(
code
==
'0'
)
{
if
(
code
==
'0'
)
{
thisPage
.
setData
({
thisPage
.
setData
({
disabled
:
false
disabled
:
false
,
loginToken
:
data
})
})
this
.
loginToken
=
data
this
.
loginToken
=
data
}
else
this
.
reLogin
(
message
)
}
else
this
.
reLogin
(
message
)
...
...
login/index/components/Box/Box.wxml
View file @
2f89b2d
...
@@ -97,4 +97,5 @@
...
@@ -97,4 +97,5 @@
</button>
</button>
</block>
</block>
<auth-setting bind:choose="authChoose" />
<auth-setting bind:choose="authChoose" />
<glsx-privacy appletName="生意助手" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
login/index/index.js
View file @
2f89b2d
...
@@ -74,14 +74,15 @@ Page({
...
@@ -74,14 +74,15 @@ Page({
})
})
},
},
checkLoginBtn
(
disabled
=
false
)
{
checkLoginBtn
(
disabled
=
false
)
{
const
{
loginType
}
=
this
.
data
,
const
{
loginType
,
loginToken
}
=
this
.
data
,
{
{
data
:
{
formData
},
data
:
{
formData
},
// loginToken
// loginToken
}
=
this
.
selectComponent
(
'#box'
)
}
=
this
.
selectComponent
(
'#box'
)
if
(
loginType
==
0
)
{
if
(
loginType
==
0
)
{
console
.
log
(
this
.
loginToken
,
'this.loginToken'
);
// disabled = loginToken
// disabled = loginToken
disabled
=
this
.
loginToken
disabled
=
loginToken
||
true
}
else
{
}
else
{
disabled
=
loginType
==
1
?
formData
.
phone
&&
this
.
validate
.
methods
.
tel
(
formData
.
phone
)
&&
formData
.
code
&&
formData
.
code
.
length
==
4
:
formData
.
account
&&
formData
.
password
disabled
=
loginType
==
1
?
formData
.
phone
&&
this
.
validate
.
methods
.
tel
(
formData
.
phone
)
&&
formData
.
code
&&
formData
.
code
.
length
==
4
:
formData
.
account
&&
formData
.
password
}
}
...
...
login/index/index.wxml
View file @
2f89b2d
...
@@ -2,8 +2,6 @@
...
@@ -2,8 +2,6 @@
<mask show="{{loading}}"></mask>
<mask show="{{loading}}"></mask>
<navigation-bar navStyle="background-color: rgba(0,0,0,0)">生意助手</navigation-bar>
<navigation-bar navStyle="background-color: rgba(0,0,0,0)">生意助手</navigation-bar>
<box loginType="{{loginType}}" disabled="{{disabled}}" id="box" />
<box loginType="{{loginType}}" disabled="{{disabled}}" id="box" />
{{test4}}
<agree show="{{loginType == 2}}" text="7天内免登陆" value="{{autoLogin}}" bindchange="changeAgree" />
<agree show="{{loginType == 2}}" text="7天内免登陆" value="{{autoLogin}}" bindchange="changeAgree" />
{{test}}
<type-list loginType="{{loginType}}" />
<type-list loginType="{{loginType}}" />
</view>
</view>
\ No newline at end of file
\ No newline at end of file
package-lock.json
View file @
2f89b2d
...
@@ -10,9 +10,9 @@
...
@@ -10,9 +10,9 @@
"integrity"
:
"sha512-R2FyCk0mK2xvUX2dMgVZjVG512RKBj7ELMDxjRJjhQWtw4495WBgbl5Yb4v2A6d4vWJe6z9toKgDJTciN0Bo9A=="
"integrity"
:
"sha512-R2FyCk0mK2xvUX2dMgVZjVG512RKBj7ELMDxjRJjhQWtw4495WBgbl5Yb4v2A6d4vWJe6z9toKgDJTciN0Bo9A=="
},
},
"glsx-applet-component"
:
{
"glsx-applet-component"
:
{
"version"
:
"1.1.
18
"
,
"version"
:
"1.1.
24
"
,
"resolved"
:
"https://registry.npmjs.org/glsx-applet-component/-/glsx-applet-component-1.1.
18
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/glsx-applet-component/-/glsx-applet-component-1.1.
24
.tgz"
,
"integrity"
:
"sha512-
oNJMLkKh/BOFyiGUDlm5r+5dvqBlZx7T9U+UQ2BkqL8R9i713sCHs+1AOsFMA1GOjsgRM2ShgzoXaQef6RQ/e
w=="
"integrity"
:
"sha512-
3XTG9J99rgKVJpcC7aKS/+N7CaS+MNYdy5qmWH8siFaRFiSo1PeBRDaprfjCazaud/c31RvpoDFUof/fxNkxj
w=="
},
},
"glsx-common-sdk"
:
{
"glsx-common-sdk"
:
{
"version"
:
"0.2.8"
,
"version"
:
"0.2.8"
,
...
...
package.json
View file @
2f89b2d
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
"main"
:
"app.js"
,
"main"
:
"app.js"
,
"dependencies"
:
{
"dependencies"
:
{
"@vant/weapp"
:
"^1.10.7"
,
"@vant/weapp"
:
"^1.10.7"
,
"glsx-applet-component"
:
"^1.1.
18
"
,
"glsx-applet-component"
:
"^1.1.
24
"
,
"glsx-common-sdk"
:
"^0.2.8"
,
"glsx-common-sdk"
:
"^0.2.8"
,
"glsx-map-sdk"
:
"^0.1.5"
"glsx-map-sdk"
:
"^0.1.5"
},
},
...
...
packageMine/pages/customerManagement/editCustomer/editCustomer.wxml
View file @
2f89b2d
...
@@ -89,4 +89,5 @@
...
@@ -89,4 +89,5 @@
<!-- 车品牌 -->
<!-- 车品牌 -->
<popup show="{{popupShow}}" bind:hidePopup="hideBrandPopup" bindconfirm="brandConfirm" height="95%">
<popup show="{{popupShow}}" bind:hidePopup="hideBrandPopup" bindconfirm="brandConfirm" height="95%">
<car-brand id="car-brand" popupShow="{{popupShow}}" selectedList="{{selectedBrandList}}"></car-brand>
<car-brand id="car-brand" popupShow="{{popupShow}}" selectedList="{{selectedBrandList}}"></car-brand>
</popup>
\ No newline at end of file
\ No newline at end of file
</popup>
<glsx-privacy appletName="生意助手" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
\ No newline at end of file
\ No newline at end of file
packageMine/pages/customerManagement/saleList/saleList.wxml
View file @
2f89b2d
...
@@ -64,4 +64,5 @@
...
@@ -64,4 +64,5 @@
<view class="link-btn" bindtap="handleShow">确定</view>
<view class="link-btn" bindtap="handleShow">确定</view>
</view>
</view>
<image wx:if="{{popupVal == 'code'}}" src="{{IMG_URL}}index/close.png" class="close" bindtap="handleShow"></image>
<image wx:if="{{popupVal == 'code'}}" src="{{IMG_URL}}index/close.png" class="close" bindtap="handleShow"></image>
</view>
\ No newline at end of file
\ No newline at end of file
</view>
<glsx-privacy appletName="生意助手" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
\ No newline at end of file
\ No newline at end of file
packageMine/pages/serviceManage/editService/editService.wxml
View file @
2f89b2d
...
@@ -59,4 +59,5 @@
...
@@ -59,4 +59,5 @@
</view>
</view>
<popup show="{{popupShow}}" bind:hidePopup="hideBrandPopup" bindconfirm="brandConfirm" height="95%">
<popup show="{{popupShow}}" bind:hidePopup="hideBrandPopup" bindconfirm="brandConfirm" height="95%">
<car-brand id="car-brand" popupShow="{{popupShow}}" selectedList="{{selectedBrandList}}"></car-brand>
<car-brand id="car-brand" popupShow="{{popupShow}}" selectedList="{{selectedBrandList}}"></car-brand>
</popup>
\ No newline at end of file
\ No newline at end of file
</popup>
<glsx-privacy appletName="生意助手" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
\ No newline at end of file
\ No newline at end of file
packagesList/packageOutput/components/echart/echart.js
View file @
2f89b2d
...
@@ -75,26 +75,28 @@ Component({
...
@@ -75,26 +75,28 @@ Component({
upgradeAveragePriceList
.
push
(
tabIndex
==
0
?
element
.
upgradeAveragePrice
:
element
.
avgPrice
)
upgradeAveragePriceList
.
push
(
tabIndex
==
0
?
element
.
upgradeAveragePrice
:
element
.
avgPrice
)
upgradeRateList
.
push
(
element
.
upgradeRate
||
0
)
upgradeRateList
.
push
(
element
.
upgradeRate
||
0
)
})
})
// 使用 Math.max 方法找到数组中的最大值
const
max
=
Math
.
max
(...
orderMoneyTotalList
)
// console.log(orderMoneyTotalList, 'orderMoneyTotalList')
// console.log(orderMoneyTotalList, 'orderMoneyTotalList')
const
colors
=
[
'#3582EE'
,
'#35C376'
,
'#FF9D0A'
]
const
colors
=
[
'#3582EE'
,
'#35C376'
,
'#FF9D0A'
]
var
option
=
{
var
option
=
{
color
:
colors
,
color
:
colors
,
grid
:
{
grid
:
{
left
:
'2
5%'
,
left
:
max
>
100000
?
'25%'
:
'1
5%'
,
right
:
'15%'
right
:
'15%'
},
},
tooltip
:
{
tooltip
:
{
trigger
:
'axis'
,
trigger
:
'axis'
,
formatter
:
function
(
params
)
{
formatter
:
function
(
params
)
{
console
.
log
(
params
,
'formatter'
);
console
.
log
(
params
,
'formatter'
)
// debugger
// debugger
// + '\n'
// + '\n'
var
html
=
params
[
0
].
name
var
html
=
params
[
0
].
name
html
+=
'\n'
html
+=
'\n'
for
(
var
i
=
0
;
i
<
params
.
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
params
.
length
;
i
++
)
{
let
unit
=
i
+
1
==
params
.
length
?
''
:
'\n'
let
unit
=
i
+
1
==
params
.
length
?
''
:
'\n'
let
template
=
params
[
i
].
marker
+
params
[
i
].
seriesName
+
':'
+
' '
+
params
[
i
].
value
let
template
=
params
[
i
].
marker
+
params
[
i
].
seriesName
+
':'
+
' '
+
params
[
i
].
value
if
(
option
.
series
[
params
[
i
].
seriesIndex
].
valueType
==
'percent
'
)
{
if
(
option
.
series
[
params
[
i
].
seriesIndex
].
name
==
'转化率
'
)
{
template
=
template
+
'%'
+
unit
template
=
template
+
'%'
+
unit
}
else
{
}
else
{
template
=
template
+
unit
template
=
template
+
unit
...
@@ -102,7 +104,7 @@ Component({
...
@@ -102,7 +104,7 @@ Component({
html
+=
template
html
+=
template
}
}
// html += params[0].name
// html += params[0].name
console
.
log
(
html
,
'html'
);
console
.
log
(
html
,
'html'
)
return
html
return
html
}
}
},
},
...
...
packagesList/packageOutput/components/outputCrowdfund/outputCrowdfund.wxml
View file @
2f89b2d
...
@@ -91,6 +91,7 @@
...
@@ -91,6 +91,7 @@
</view>
</view>
</view>
</view>
<crowdfund-poster item="{{crowdPosterItem}}" id="crowdPoster" scrollImg="{{false}}" bindlongtouch="longtouch" />
<crowdfund-poster item="{{crowdPosterItem}}" id="crowdPoster" scrollImg="{{false}}" bindlongtouch="longtouch" />
<glsx-privacy appletName="生意助手" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
<!-- <poster
<!-- <poster
posterItem="{{posterItem}}"
posterItem="{{posterItem}}"
id="poster"
id="poster"
...
...
packagesList/packageOutput/components/outputEchart/outputEchart.wxml
View file @
2f89b2d
...
@@ -29,11 +29,11 @@
...
@@ -29,11 +29,11 @@
<view class="td">
<view class="td">
<view class="label">较去年</view>
<view class="label">较去年</view>
<view class="flex">
<view class="flex">
<view
:
class="{{ revenueData[item.name].revenueToClassYear }}">{{revenueData[item.name].comparedWithLastYear }}</view>
<view class="{{ revenueData[item.name].revenueToClassYear }}">{{revenueData[item.name].comparedWithLastYear }}</view>
<image
<image
wx:if="{{ revenueData[item.name].revenueToClassYear }}"
wx:if="{{ revenueData[item.name].revenueToClassYear }}"
class="icon-up-down"
class="icon-up-down"
src="../../images/icon-
'
{{ revenueData[item.name].revenueToClassYear }}.png"
src="../../images/icon-{{ revenueData[item.name].revenueToClassYear }}.png"
/>
/>
</view>
</view>
</view>
</view>
...
...
packagesList/packageOutput/pages/newSummary/newSummary.js
View file @
2f89b2d
...
@@ -15,6 +15,7 @@ Page({
...
@@ -15,6 +15,7 @@ Page({
*/
*/
data
:
{
data
:
{
IMGURL
:
IMG_URL
,
IMGURL
:
IMG_URL
,
isPc
:
true
,
merchantInfo
:
{},
merchantInfo
:
{},
tabList
:
[{
tabList
:
[{
label
:
'精品升级-太阳膜'
,
label
:
'精品升级-太阳膜'
,
...
@@ -525,9 +526,13 @@ Page({
...
@@ -525,9 +526,13 @@ Page({
wx
.
$api
.
showToast
(
'下载海报失败'
)
wx
.
$api
.
showToast
(
'下载海报失败'
)
})
})
},
},
back
()
{
// back() {
wx
.
$router
.
back
()
// wx.$router.back()
// },
onload
()
{
},
},
// 众筹-end
// 众筹-end
onRoute
()
{
onRoute
()
{
console
.
log
(
'onRoute'
)
console
.
log
(
'onRoute'
)
...
@@ -540,6 +545,19 @@ Page({
...
@@ -540,6 +545,19 @@ Page({
})
})
this
.
initData
()
this
.
initData
()
})
})
let
that
=
this
wx
.
getSystemInfo
({
success
:
(
res
)
=>
{
// windows | mac为pc端
// android | ios为手机端
console
.
log
(
'getSystemInfo,'
,
res
);
if
([
'windows'
,
'mac'
].
includes
(
res
.
platform
)
)
{
that
.
setData
({
isPc
:
false
})
}
}
});
// this.getListSelectAccount(sessionId)
// this.getListSelectAccount(sessionId)
}
}
})
})
\ No newline at end of file
\ No newline at end of file
packagesList/packageOutput/pages/newSummary/newSummary.wxml
View file @
2f89b2d
<!--packagesList/packageOutput/pages/openNewBusiness/openNewBusiness.wxml-->
<!--packagesList/packageOutput/pages/openNewBusiness/openNewBusiness.wxml-->
<!-- <text>packagesList/packageOutput/pages/openNewBusiness/openNewBusiness.wxml</text> -->
<!-- <text>packagesList/packageOutput/pages/openNewBusiness/openNewBusiness.wxml</text> -->
<wxs src="../../index.wxs" module="filter" />
<wxs src="../../index.wxs" module="filter" />
<navigation-bar showBack navStyle="background-color: transparent;" bindnavbarReady="navbarReady">
<navigation-bar
wx:if="{{isPc}}"
showBack navStyle="background-color: transparent;" bindnavbarReady="navbarReady">
{{merchantInfo.merchantName}}
{{merchantInfo.merchantName}}
</navigation-bar>
</navigation-bar>
<!-- - {{tabBarStyle}}px -->
<view class="layout" style="padding-top:{{tabBarStyle}}px; height:100vh">
<view class="layout" style="padding-top:{{tabBarStyle}}px; height:calc(100vh )">
<!-- <view class="titleBox">
<!-- <view class="titleBox">
<view class="imgBox" bind:tap="back">
<view class="imgBox" bind:tap="back">
...
...
packagesList/pages/videoDetal/videoDetal.wxml
View file @
2f89b2d
...
@@ -11,4 +11,5 @@
...
@@ -11,4 +11,5 @@
<block wx:if="{{showAuth}}">
<block wx:if="{{showAuth}}">
<authorize title="下载前需要获取您的‘添加到相册’权限,是否打开授权设置?" scopeType="writePhotosAlbum" buttonType="openSetting" bindfail="authFail" bindsuccess="authSuccess" show="{{showAuth}}"></authorize>
<authorize title="下载前需要获取您的‘添加到相册’权限,是否打开授权设置?" scopeType="writePhotosAlbum" buttonType="openSetting" bindfail="authFail" bindsuccess="authSuccess" show="{{showAuth}}"></authorize>
</block>
</block>
</block>
\ No newline at end of file
\ No newline at end of file
</block>
<glsx-privacy appletName="生意助手" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
\ No newline at end of file
\ No newline at end of file
pages/checkProduct/checkProduct.wxml
View file @
2f89b2d
...
@@ -62,3 +62,4 @@
...
@@ -62,3 +62,4 @@
<block wx:if="{{showAuth}}">
<block wx:if="{{showAuth}}">
<authorize title="下载前需要获取您的‘添加到相册’权限,是否打开授权设置?" scopeType="writePhotosAlbum" buttonType="openSetting" bindfail="authFail" bindsuccess="authSuccess" show="{{showAuth}}"></authorize>
<authorize title="下载前需要获取您的‘添加到相册’权限,是否打开授权设置?" scopeType="writePhotosAlbum" buttonType="openSetting" bindfail="authFail" bindsuccess="authSuccess" show="{{showAuth}}"></authorize>
</block>
</block>
<glsx-privacy appletName="生意助手" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
pages/tab/index/components/CrowdfundPoster/CrowdfundPoster.wxml
View file @
2f89b2d
...
@@ -24,4 +24,5 @@
...
@@ -24,4 +24,5 @@
show="{{showAuth}}"
show="{{showAuth}}"
isShowCheck="{{false}}"
isShowCheck="{{false}}"
id="auth" />
id="auth" />
<glsx-privacy appletName="生意助手" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
pages/tab/index/components/product/product.wxml
View file @
2f89b2d
...
@@ -96,4 +96,5 @@
...
@@ -96,4 +96,5 @@
</view>
</view>
<!-- </scroll-view> -->
<!-- </scroll-view> -->
</view>
\ No newline at end of file
\ No newline at end of file
</view>
<glsx-privacy appletName="生意助手" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
\ No newline at end of file
\ No newline at end of file
pages/tab/index2/components/CrowdfundPoster/CrowdfundPoster.wxml
View file @
2f89b2d
...
@@ -24,4 +24,5 @@
...
@@ -24,4 +24,5 @@
show="{{showAuth}}"
show="{{showAuth}}"
isShowCheck="{{false}}"
isShowCheck="{{false}}"
id="auth" />
id="auth" />
<glsx-privacy appletName="生意助手" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
pages/tab/index2/components/product/product.wxml
View file @
2f89b2d
...
@@ -96,4 +96,5 @@
...
@@ -96,4 +96,5 @@
</view>
</view>
<!-- </scroll-view> -->
<!-- </scroll-view> -->
</view>
\ No newline at end of file
\ No newline at end of file
</view>
<glsx-privacy appletName="生意助手" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
\ No newline at end of file
\ No newline at end of file
pages/tab/outputValue/components/merchantCom/MerchantScene/MerchantScene.wxml
View file @
2f89b2d
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<view class="merchant-scene">
<view class="merchant-scene">
<view class="top">
<view class="top">
<view class="scene-label">{{sceneObj.label}}</view>
<view class="scene-label">{{sceneObj.label}}</view>
<view wx:if="{{sceneObj.name == 'membranes'
&& searchForm.startTime && searchForm.endTime
}}" class="business-total label">业务产值
<view wx:if="{{sceneObj.name == 'membranes'}}" class="business-total label">业务产值
<text class="num-red">¥{{filter.money_three_for_two_thousands(curInfo.curMonthTotalData.bizTotal || 0)}}</text>
<text class="num-red">¥{{filter.money_three_for_two_thousands(curInfo.curMonthTotalData.bizTotal || 0)}}</text>
</view>
</view>
<view>
<view>
...
@@ -15,10 +15,10 @@
...
@@ -15,10 +15,10 @@
<view class="total-txt num-grey" wx:if="{{curInfo.curMonthTotalData.total == 0}}">暂无业务收入</view>
<view class="total-txt num-grey" wx:if="{{curInfo.curMonthTotalData.total == 0}}">暂无业务收入</view>
</view>
</view>
<view>
<view>
<view wx:if="{{sceneObj.name != 'membranes'
&& searchForm.startTime && searchForm.endTime
}}" class="label m-b-12 business-total-other">业务产值
<view wx:if="{{sceneObj.name != 'membranes'}}" class="label m-b-12 business-total-other">业务产值
<text class="num-red">¥{{filter.money_three_for_two_thousands(curInfo.curMonthTotalData.bizTotal || 0)}}</text>
<text class="num-red">¥{{filter.money_three_for_two_thousands(curInfo.curMonthTotalData.bizTotal || 0)}}</text>
</view>
</view>
<view
wx:if="{{searchForm.startTime && searchForm.endTime}}"
>
<view>
<view wx:for="{{sceneTopList}}" wx:key="index" class="top-right-box">
<view wx:for="{{sceneTopList}}" wx:key="index" class="top-right-box">
<view class="label">{{item.label}}</view>
<view class="label">{{item.label}}</view>
<view class="num-grey">
<view class="num-grey">
...
...
pages/tab/outputValue/components/merchantCom/constant.js
View file @
2f89b2d
...
@@ -26,7 +26,7 @@ const sceneToInfo = [{
...
@@ -26,7 +26,7 @@ const sceneToInfo = [{
// 太阳膜
// 太阳膜
const
membranesTopList
=
[{
const
membranesTopList
=
[{
label
:
'订单量'
,
label
:
'订单量'
,
name
:
'
orderTotal
'
,
name
:
'
upgradeCount
'
,
suffix
:
'单'
suffix
:
'单'
},
{
},
{
label
:
'转化率'
,
label
:
'转化率'
,
...
@@ -65,7 +65,7 @@ const memberTopList = [{
...
@@ -65,7 +65,7 @@ const memberTopList = [{
prefix
:
'¥'
prefix
:
'¥'
},
{
},
{
label
:
'成交客户量'
,
label
:
'成交客户量'
,
name
:
'
totalCustomer
'
,
name
:
'
orderTotal
'
,
suffix
:
'单'
suffix
:
'单'
}]
}]
...
@@ -75,7 +75,7 @@ const memberFormList = [{
...
@@ -75,7 +75,7 @@ const memberFormList = [{
prefix
:
'¥'
prefix
:
'¥'
},
{
},
{
label
:
'成交客户量'
,
label
:
'成交客户量'
,
name
:
'
totalCustomer
'
name
:
'
orderTotal
'
},
{
},
{
label
:
'权益客单价'
,
label
:
'权益客单价'
,
name
:
'custUnitPrice'
,
name
:
'custUnitPrice'
,
...
...
pages/tab/outputValue/components/merchantCom/merchantAll/merchantAll.js
View file @
2f89b2d
...
@@ -9,7 +9,7 @@ Component({
...
@@ -9,7 +9,7 @@ Component({
type
:
Object
,
type
:
Object
,
value
:
()
=>
{
},
value
:
()
=>
{
},
observer
(
n
)
{
observer
(
n
)
{
if
(
n
)
{
if
(
n
)
{
this
.
dealYearMonth
()
this
.
dealYearMonth
()
this
.
dealCompare
()
this
.
dealCompare
()
}
}
...
@@ -26,6 +26,9 @@ Component({
...
@@ -26,6 +26,9 @@ Component({
startTime
:
''
,
startTime
:
''
,
endTime
:
''
,
endTime
:
''
,
}
}
},
observer
(
n
)
{
n
&&
this
.
judgeIsShow
()
}
}
}
}
},
},
...
@@ -40,7 +43,8 @@ Component({
...
@@ -40,7 +43,8 @@ Component({
date
:
{
date
:
{
year
:
''
,
year
:
''
,
month
:
''
month
:
''
}
},
totalShow
:
false
},
},
/**
/**
...
@@ -54,6 +58,17 @@ Component({
...
@@ -54,6 +58,17 @@ Component({
[
'date.month'
]:
new
Date
(
yearMonth
||
''
).
getMonth
()
+
1
,
[
'date.month'
]:
new
Date
(
yearMonth
||
''
).
getMonth
()
+
1
,
})
})
},
},
judgeIsShow
()
{
let
{
searchForm
}
=
this
.
data
let
{
userInfo
}
=
wx
.
$storage
.
get
()
let
isSuper
=
true
if
(
userInfo
.
isSuper
)
{
isSuper
=
searchForm
.
partnerMerchantIds
[
0
]
==
userInfo
.
merchantId
}
this
.
setData
({
totalShow
:
(
searchForm
.
startTime
&&
searchForm
.
endTime
)
||
searchForm
.
shopMerchantIds
.
length
||
!
isSuper
})
},
dealCompare
()
{
dealCompare
()
{
let
{
merchantDataList
}
=
this
.
data
.
curInfo
let
{
merchantDataList
}
=
this
.
data
.
curInfo
let
list
=
[]
let
list
=
[]
...
...
pages/tab/outputValue/components/merchantCom/merchantAll/merchantAll.wxml
View file @
2f89b2d
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
<view class="num-blue ft-40"><text class="f-28">¥</text>{{filter.money_three_for_two_thousands(curInfo.curMonthTotalData.total || 0)}}</view>
<view class="num-blue ft-40"><text class="f-28">¥</text>{{filter.money_three_for_two_thousands(curInfo.curMonthTotalData.total || 0)}}</view>
<view class="total-txt">本月业绩产生至{{curInfo.merchantDataList.length}}家门店</view>
<view class="total-txt">本月业绩产生至{{curInfo.merchantDataList.length}}家门店</view>
</view>
</view>
<view wx:if="{{
searchForm.startTime && searchForm.endTime
}}">
<view wx:if="{{
totalShow
}}">
<view wx:for="{{sceneFormList}}" wx:key="index" class="top-right-box">
<view wx:for="{{sceneFormList}}" wx:key="index" class="top-right-box">
<view class="label">{{item.label}}</view>
<view class="label">{{item.label}}</view>
<view class="num-grey">¥{{filter.money_three_for_two_thousands(curInfo.curMonthTotalData[item.name] || 0)}}</view>
<view class="num-grey">¥{{filter.money_three_for_two_thousands(curInfo.curMonthTotalData[item.name] || 0)}}</view>
...
...
pages/viewProd/index.wxml
View file @
2f89b2d
...
@@ -61,4 +61,5 @@
...
@@ -61,4 +61,5 @@
<!-- 申请按钮 不是分享出去的显示按钮 -->
<!-- 申请按钮 不是分享出去的显示按钮 -->
<apply-button wx:if="{{!isShare}}" downShow="{{false}}"></apply-button>
<apply-button wx:if="{{!isShare}}" downShow="{{false}}"></apply-button>
<!-- 授权昵称 -->
<!-- 授权昵称 -->
<view wx:if="{{authNcknameShow}}" class="user-profile" bindtap="getUserProfile"></view>
\ No newline at end of file
\ No newline at end of file
<view wx:if="{{authNcknameShow}}" class="user-profile" bindtap="getUserProfile"></view>
<glsx-privacy appletName="生意助手" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
\ No newline at end of file
\ No newline at end of file
pages/viewVideo/index.wxml
View file @
2f89b2d
...
@@ -31,3 +31,4 @@
...
@@ -31,3 +31,4 @@
<!-- 申请按钮 -->
<!-- 申请按钮 -->
<apply-button wx:if="{{!isShare}}" bindvideodown="downVideo"></apply-button>
<apply-button wx:if="{{!isShare}}" bindvideodown="downVideo"></apply-button>
<glsx-privacy appletName="生意助手" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
utils/request/environment.js
View file @
2f89b2d
...
@@ -29,7 +29,7 @@ const systemInfo = wx.getSystemInfoSync()
...
@@ -29,7 +29,7 @@ const systemInfo = wx.getSystemInfoSync()
const
manual
=
false
const
manual
=
false
const
release
=
false
const
release
=
false
let
index
=
2
let
index
=
3
// 判断小程序环境
// 判断小程序环境
// develop:开发版(正常开发工具,测试时)
// develop:开发版(正常开发工具,测试时)
...
@@ -107,8 +107,8 @@ const djSecretKey = {
...
@@ -107,8 +107,8 @@ const djSecretKey = {
secret
:
'4bc07f8868374c49a4661d603377e3106fc9a45bccaaa353'
secret
:
'4bc07f8868374c49a4661d603377e3106fc9a45bccaaa353'
},
},
preRelease
:
{
preRelease
:
{
appKey
:
'
d7ffc3346fc9a45bccaaa35300d59022
'
,
appKey
:
'
48e5e13229b82c1b4e6e8c96151f0637
'
,
secret
:
'
4bc07f8868374c49a4661d603377e3106fc9a45bccaaa353
'
secret
:
'
c24619ed7fef02a0ae16328146bca5f97cc6493957a2137b
'
}
}
}[
target
[
index
]]
}[
target
[
index
]]
...
...
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