Commit 43aa0db3 by 张立顺

fix bug修复

1 parent 1168b36c
...@@ -59,7 +59,7 @@ class UsersApi { ...@@ -59,7 +59,7 @@ class UsersApi {
{ {
method: 'dj.api.sale.login.auth.phone', method: 'dj.api.sale.login.auth.phone',
...detail, ...detail,
platformEntrance: 'BUSINESS_ASSISTANT' // 平台标识:生意助手-BUSINESS_ASSISTANT,门店助手-STORE_ASSISTANT platformEntrance: 'SALES_ASSISTANT' // 平台标识:销售助手
}, },
true true
) )
......
...@@ -15,4 +15,4 @@ ...@@ -15,4 +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
<glsx-privacy appletName="销售助手" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
\ No newline at end of file \ No newline at end of file
...@@ -44,4 +44,4 @@ ...@@ -44,4 +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> <glsx-privacy appletName="销售助手" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
</view> </view>
<!-- 协议 --> <!-- 协议 -->
<!-- <auth-setting bind:choose="authChoose" agree="{{ agree }}" /> --> <!-- <auth-setting bind:choose="authChoose" agree="{{ agree }}" /> -->
<glsx-privacy appletName="生意助手" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy> <glsx-privacy appletName="销售助手" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
<!-- 未同意协议弹窗提示 --> <!-- 未同意协议弹窗提示 -->
<van-dialog use-slot title="隐私协议与用户协议" show="{{ showAuthDialog }}" class="auth-dialog-class" custom-class="auth-dialog-class" width="var(--fontSize552)" show-cancel-button confirmButtonText="同意" use-title-slot="{{ true }}" confirm-button-color="#5092FF" bind:confirm="agreeEvent" bind:close="onClose"> <van-dialog use-slot title="隐私协议与用户协议" show="{{ showAuthDialog }}" class="auth-dialog-class" custom-class="auth-dialog-class" width="var(--fontSize552)" show-cancel-button confirmButtonText="同意" use-title-slot="{{ true }}" confirm-button-color="#5092FF" bind:confirm="agreeEvent" bind:close="onClose">
<view slot="title"> <view slot="title">
......
...@@ -15,7 +15,7 @@ Page({ ...@@ -15,7 +15,7 @@ Page({
// // this.getWarningStores() // // this.getWarningStores()
// }, // },
onLoad: function (options) { onLoad: function (options) {
console.log(options, 'options') // console.log(options, 'options')
// 生命周期函数--监听页面加载 // 生命周期函数--监听页面加载
console.log(options, 'options') console.log(options, 'options')
let { query } = options let { query } = options
......
{ {
"navigationBarTitleText": "销售助手",
"component": true, "component": true,
"usingComponents": { "usingComponents": {
"regionalLeaders": "/pages/components/regionalLeaders/regionalLeaders" "regionalLeaders": "/pages/components/regionalLeaders/regionalLeaders"
} }
} }
\ No newline at end of file \ No newline at end of file
...@@ -44,7 +44,7 @@ class Router { ...@@ -44,7 +44,7 @@ class Router {
const router = `${thisPage.__route__}.html` const router = `${thisPage.__route__}.html`
if (__wxConfig && __wxConfig.page && __wxConfig.page[router]) { if (__wxConfig && __wxConfig.page && __wxConfig.page[router]) {
let { navigationBarTitleText, navigationStyle } = __wxConfig.page[router].window let { navigationBarTitleText, navigationStyle } = __wxConfig.page[router].window
if (!title) title = '生意助手' if (!title) title = '销售助手'
if (!navigationBarTitleText && !navigationStyle) if (!navigationBarTitleText && !navigationStyle)
wx.setNavigationBarTitle({ wx.setNavigationBarTitle({
title title
......
...@@ -218,7 +218,7 @@ class TRACK { ...@@ -218,7 +218,7 @@ class TRACK {
? navigationBarTitleText ? navigationBarTitleText
: window.navigationBarTitleText : window.navigationBarTitleText
} }
if (!title) title = '生意助手员工版' if (!title) title = '销售助手'
return title return title
} }
/**获取设备信息 */ /**获取设备信息 */
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!