Commit 719bf102 by 施宇

1111

parent 851961de
......@@ -16,29 +16,11 @@ App({
token: wx.getStorageSync('access_token'),
isIPX: false, //是否为iphone X
customerNum: "001",//客服
customerName: "IC助手客服",//客服名称
customerName: "芯掌柜客服",//客服名称
isRelogin: true, //登入环信失败后是否重新登入,只允许重新登入一次
bus: bus,
imBoolean: false,
},
setNav: function () {//设置导航
let menuButtonObject = wx.getMenuButtonBoundingClientRect();
wx.getSystemInfo({
success: res => {
//导航高度
let statusBarHeight = res.statusBarHeight,
navTop = menuButtonObject.top,
navHeight = statusBarHeight + menuButtonObject.height + (menuButtonObject.top - statusBarHeight) * 2;
this.globalData.navHeight = navHeight;
this.globalData.navTop = navTop;
this.globalData.windowHeight = res.windowHeight;
},
fail(err) {
console.log(err);
}
})
},
getImUser: chat.getImUser,
conn: chat.conn,
addChatMember: function (id, userId) { //id为环信id userId为账户id
......@@ -65,7 +47,6 @@ App({
onLaunch() {
wx.removeStorageSync('im');
this.versionUpdate();
this.setNav();
//验证是否授权
if (this.globalData.auth) {
//是否登录
......
{
"debug":true,
"pages": [
"pages/tab/home/home",
"pages/person/auth/index",
......
......@@ -19,7 +19,7 @@ Page({
console.log(username)
if (getApp().globalData.customerNum == username.your){
wx.setNavigationBarTitle({
title: 'IC助手客服'
title: '芯掌柜客服'
});
}else{
wx.setNavigationBarTitle({
......
{
"usingComponents": {},
"navigationBarTitleText": "IC业务助手用户协议"
"navigationBarTitleText": "芯掌柜用户协议"
}
\ No newline at end of file
......@@ -4,7 +4,7 @@
<view class='logo'>
<image src="/res/images/imgs/iclogo.png" class="img"></image>
</view>
<text class="t1">IC业务助手</text>
<text class="t1">芯掌柜</text>
<text class='t2'>让询报价更轻松、便捷</text>
</view>
......
......@@ -4,7 +4,7 @@
<view class='logo'>
<image src="/res/images/imgs/iclogo.png" class="img"></image>
</view>
<text class="t1">IC业务助手</text>
<text class="t1">芯掌柜</text>
<text class='t2'>让询报价更轻松、便捷</text>
</view>
......
......@@ -54,6 +54,6 @@
<text class="tit">邀请提示:</text>
<text class="t1">·分享至3个以上微信群/QQ群,邀请成功的几率提升150%</text>
<text class="t1">·可告诉您的朋友,注册可领最高10元红包,并可立即提现。</text>
<text class="t1">·好友必须为IC业务助手新注册用户,才能邀请成功。</text>
<text class="t1">·好友必须为芯掌柜新注册用户,才能邀请成功。</text>
</view>
</view>
\ No newline at end of file
......@@ -3,7 +3,7 @@
<view class="column tit">
<text class="t1">Hi,上午好</text>
<text class="t1">欢迎使用IC业务助手!</text>
<text class="t1">欢迎使用芯掌柜!</text>
</view>
<form bindsubmit="formSubmit">
......
......@@ -64,7 +64,7 @@
<view class="agreement">
<text class="t1">点击注册即默认同意</text>
<navigator url="/pages/person/agreement/index" class="t2">《IC业务助手用户协议》</navigator>
<navigator url="/pages/person/agreement/index" class="t2">《芯掌柜用户协议》</navigator>
</view>
</view>
\ No newline at end of file
......@@ -3,7 +3,7 @@
<view class="column tit">
<text class="t1">Hi,上午好</text>
<text class="t1">欢迎使用IC业务助手!</text>
<text class="t1">欢迎使用芯掌柜!</text>
</view>
<form bindsubmit="formSubmit">
<view class="inp-wrap row verCenter {{mobileFlag ? 'inp-error':''}}">
......
{
"usingComponents": {"priceItem": "/components/priceItem/priceItem"},
"navigationBarTitleText":"IC业务助手",
"navigationBarTitleText":"芯掌柜",
"navigationBarBackgroundColor":"#0D84D1",
"navigationBarTextStyle":"white",
"backgroundColor":"#0d84d1"
......
......@@ -35,7 +35,7 @@
<view class="message-l row ellipsis">
<image src="/res/images/imgs/timg.jpg" class="message-avar"></image>
<view class="message-l-view ellipsis">
<view class="message-c bold ellipsis">IC助手客服</view>
<view class="message-c bold ellipsis">芯掌柜客服</view>
<view class="message-t ellipsis" wx:if="{{ customer.msg.data[0].data }}">{{ customer.msg.data[0].data }}</view>
<view class="message-t ellipsis" wx:if="{{customer.msg.type == 'img' }}">[图片]</view>
<view class="message-t ellipsis" wx:if="{{customer.msg.type == 'cmd' }}">{{customer.ext.type}} {{customer.ext.price}}</view>
......
......@@ -15,7 +15,7 @@
}
.form-item-title {
flex: 0 0 71rpx;
flex: 0 0 80rpx;
text-align: right;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment