Commit 2f89b2df by 陈婉清

Merge branch 'dev_v4.27.1' into 'develop'

Dev v4.27.1上线后,代码合并

See merge request !38
2 parents fb9facad 83a02851
...@@ -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": "你的位置信息将用于小程序位置接口的效果展示"
......
...@@ -15,3 +15,4 @@ ...@@ -15,3 +15,4 @@
</view> </view>
</view> </view>
</view> </view>
<glsx-privacy appletName="生意助手" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
\ No newline at end of file \ No newline at end of file
...@@ -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>
...@@ -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)
......
...@@ -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>
...@@ -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
} }
......
...@@ -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
...@@ -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/ew==" "integrity": "sha512-3XTG9J99rgKVJpcC7aKS/+N7CaS+MNYdy5qmWH8siFaRFiSo1PeBRDaprfjCazaud/c31RvpoDFUof/fxNkxjw=="
}, },
"glsx-common-sdk": { "glsx-common-sdk": {
"version": "0.2.8", "version": "0.2.8",
......
...@@ -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"
}, },
......
...@@ -90,3 +90,4 @@ ...@@ -90,3 +90,4 @@
<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> </popup>
<glsx-privacy appletName="生意助手" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
\ No newline at end of file \ No newline at end of file
...@@ -65,3 +65,4 @@ ...@@ -65,3 +65,4 @@
</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> </view>
<glsx-privacy appletName="生意助手" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
\ No newline at end of file \ No newline at end of file
...@@ -60,3 +60,4 @@ ...@@ -60,3 +60,4 @@
<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> </popup>
<glsx-privacy appletName="生意助手" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
\ No newline at end of file \ No newline at end of file
...@@ -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: '25%', left: max > 100000 ? '25%' : '15%',
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
} }
}, },
......
...@@ -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"
......
...@@ -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>
......
...@@ -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/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">
......
...@@ -12,3 +12,4 @@ ...@@ -12,3 +12,4 @@
<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> </block>
<glsx-privacy appletName="生意助手" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
\ No newline at end of file \ No newline at end of file
...@@ -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>
...@@ -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>
...@@ -97,3 +97,4 @@ ...@@ -97,3 +97,4 @@
<!-- </scroll-view> --> <!-- </scroll-view> -->
</view> </view>
<glsx-privacy appletName="生意助手" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
\ No newline at end of file \ No newline at end of file
...@@ -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>
...@@ -97,3 +97,4 @@ ...@@ -97,3 +97,4 @@
<!-- </scroll-view> --> <!-- </scroll-view> -->
</view> </view>
<glsx-privacy appletName="生意助手" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
\ No newline at end of file \ No newline at end of file
...@@ -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">
......
...@@ -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',
......
...@@ -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 = []
......
...@@ -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>
......
...@@ -62,3 +62,4 @@ ...@@ -62,3 +62,4 @@
<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> <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
...@@ -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>
...@@ -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]]
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!