Commit dc553a3d by 张立顺

Merge branch 'SAAS+V4.43-0807' of http://192.168.3.233:8090/saas_plus/dj-car-bou…

…tique-work-wechat into SAAS+V4.43-0807
2 parents d758759a 78a55b3b
...@@ -348,8 +348,8 @@ page { ...@@ -348,8 +348,8 @@ page {
.logout-box { .logout-box {
/* position: sticky; */ /* position: sticky; */
/* position: -webkit-sticky; */
position: absolute; position: absolute;
position: -webkit-sticky;
top: calc(100% - var(--fontSize150)); top: calc(100% - var(--fontSize150));
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
......
...@@ -23,7 +23,7 @@ const accountInfo = wx.getAccountInfoSync(); ...@@ -23,7 +23,7 @@ const accountInfo = wx.getAccountInfoSync();
const systemInfo = wx.getSystemInfoSync(); const systemInfo = wx.getSystemInfoSync();
const envName = accountInfo.miniProgram.envVersion; const envName = accountInfo.miniProgram.envVersion;
//手动控制体验版环境的请求 true就依据下面index false就默认2 //手动控制体验版环境的请求 true就依据下面index false就默认2
const manual = false; const manual = true;
const release = false; const release = false;
// 判断小程序环境 // 判断小程序环境
......
...@@ -159,8 +159,9 @@ Page({ ...@@ -159,8 +159,9 @@ Page({
.then((res) => { .then((res) => {
let { let {
code, code,
data: { loginControlList = [] }, data
} = res; } = res
let loginControlList = data?.loginControlList || []
if (code == "0") { if (code == "0") {
// const loginControlList = [] // const loginControlList = []
// const loginControlList = [0, 1] // const loginControlList = [0, 1]
...@@ -176,7 +177,7 @@ Page({ ...@@ -176,7 +177,7 @@ Page({
5, 5,
(res) => { (res) => {
if (res.confirm) { if (res.confirm) {
wx.$router.go("pages.accountItems"); wx.$router.reLaunch("pages.accountItems");
} }
} }
); );
......
...@@ -330,6 +330,7 @@ Page({ ...@@ -330,6 +330,7 @@ Page({
}; };
}); });
const openId = wx.$util.getOpenId(); const openId = wx.$util.getOpenId();
console.log(openId,'openId')
carLifeApi carLifeApi
.sparringCommit({ .sparringCommit({
openId, openId,
......
...@@ -268,6 +268,7 @@ page { ...@@ -268,6 +268,7 @@ page {
left: 0; left: 0;
right: 0; right: 0;
bottom: 0; bottom: 0;
z-index: 100;
background: rgba(0, 0, 0, 0.5); background: rgba(0, 0, 0, 0.5);
} }
......
...@@ -53,11 +53,6 @@ Page({ ...@@ -53,11 +53,6 @@ Page({
* 生命周期函数--监听页面加载 * 生命周期函数--监听页面加载
*/ */
onLoad(options) { onLoad(options) {
wx.getUserProfile({
desc: '获取用户信息',
}).then(res=>{
console.log(res)
})
// wx.getRecorderManager().start({ // wx.getRecorderManager().start({
// duration: 600000, // duration: 600000,
// numberOfChannels: 1, // numberOfChannels: 1,
......
<!--pages/tabWorkOrder/components/OrderScreen/OrderScreen.wxml--> <!--pages/tabWorkOrder/components/OrderScreen/OrderScreen.wxml-->
<scroll-view scroll-y class="confirm-box" style="height:calc(100vh - {{navBarHeight}}px);margin-top:{{navBarHeight}}px;" hidden="{{!show}}"> <scroll-view scroll-y class="confirm-box" style="height:calc(100vh - {{navBarHeight }}px + 1px);margin-top:calc({{navBarHeight }}px - 1px);" hidden="{{!show}}">
<view class="main" style="padding-bottom:{{btnHeight}}px"> <view class="main" style="padding-bottom:{{btnHeight}}px">
<!-- 非超管转化人员 --> <!-- 非超管转化人员 -->
<view class="box" wx:if="{{!(userInfo.isSuper || userInfo.loginRole == 3)}}"> <view class="box" wx:if="{{!(userInfo.isSuper || userInfo.loginRole == 3)}}">
......
...@@ -160,6 +160,7 @@ Component({ ...@@ -160,6 +160,7 @@ Component({
userInfo: wx.$util.getUserInfo() || {}, userInfo: wx.$util.getUserInfo() || {},
}); });
// console.log(this.data.userInfo) // console.log(this.data.userInfo)
this.onLoad(true); this.onLoad(true);
// this.getMerchant4SMode() // this.getMerchant4SMode()
}, },
...@@ -201,17 +202,18 @@ Component({ ...@@ -201,17 +202,18 @@ Component({
// 获取数据 // 获取数据
onLoad(noGetList) { onLoad(noGetList) {
let userInfo = wx.$util.getUserInfo() || {}; let userInfo = wx.$util.getUserInfo() || {};
this.setData({ this.setData({
nothing: false, nothing: false,
currentPage: 1, currentPage: 1,
storeInfo: wx.$util.getUserInfo()?.default4SStoreInfo || {}, storeInfo: wx.$util.getUserInfo()?.default4SStoreInfo || {},
isOrder: !(userInfo?.isSuper || userInfo?.loginRole == 3) isOrder: !(userInfo?.isSuper || userInfo?.loginRole == 3),
list: []
}); });
// this.getTotal() // this.getTotal()
if (!noGetList) this.getList(true); if (!noGetList) this.getList(true);
this.getOrderStatistics(); this.getOrderStatistics();
this.getMerchantCarBrandList(); if (!userInfo?.isSuper && userInfo?.loginRole != 3) this.getMerchantCarBrandList();
}, },
handleClickOrderBtn(e) { handleClickOrderBtn(e) {
// console.log(e) // console.log(e)
...@@ -379,6 +381,7 @@ Component({ ...@@ -379,6 +381,7 @@ Component({
flag: false, flag: false,
}); });
this.getList(true); this.getList(true);
this.getOrderStatistics();
}, },
handleReset() { handleReset() {
this.setData({ this.setData({
...@@ -557,16 +560,20 @@ Component({ ...@@ -557,16 +560,20 @@ Component({
} }
if (staffUuid) { if (staffUuid) {
obj.transferIds = [staffUuid]; obj.transferIds = [staffUuid];
} else { } else if (storeInfo?.merchantId) {
obj.merchantIds = [storeInfo?.merchantId]; obj.merchantIds = [storeInfo?.merchantId];
} }
// console.log({
// ...obj,
// ...searchTemp
// }, '2222');
orderStatistics({ orderStatistics({
...obj, ...obj,
...searchTemp ...searchTemp
}) })
.then((result) => { .then((result) => {
let { data, code } = result; let { data, code } = result;
// debugger
if (code == 0) { if (code == 0) {
let labelList = [ let labelList = [
"total", "total",
...@@ -619,8 +626,8 @@ Component({ ...@@ -619,8 +626,8 @@ Component({
}, },
//滑动事件处理 //滑动事件处理
touchmove: function (e) { touchmove: function (e) {
if(!this.data.isOrder){ if (!this.data.isOrder) {
return return
} }
// console.log(e) // console.log(e)
// if (condition) { // if (condition) {
......
...@@ -189,6 +189,7 @@ Component({ ...@@ -189,6 +189,7 @@ Component({
this.setData({ this.setData({
'form.selectedMerchantList': [] 'form.selectedMerchantList': []
}) })
this.getStaffList(true)
}, },
staffChoose() { staffChoose() {
this.setData({ this.setData({
......
...@@ -1107,7 +1107,7 @@ Component({ ...@@ -1107,7 +1107,7 @@ Component({
// }); // });
// const { aiPhone } = await setConfigInfo({}); // const { aiPhone } = await setConfigInfo({});
let index_d = menuList.findIndex((e) => e.menuText == "AI趣练"); let index_d = menuList.findIndex((e) => e.menuText == "AI趣练");
if (index_d == -1 && (userInfo.isSuper || userInfo.loginRole === 3)) if (index_d == -1)
menuList.push({ menuList.push({
menuText: "AI趣练", menuText: "AI趣练",
icon: "ai_chat", icon: "ai_chat",
......
...@@ -206,7 +206,7 @@ Component({ ...@@ -206,7 +206,7 @@ Component({
if (i.firstClassify == '结束') i.firstClassify = '促成交' if (i.firstClassify == '结束') i.firstClassify = '促成交'
}) })
} else { } else {
if (!userInfo.isSuper) { if (!userInfo.isSuper && userInfo.loginRole != 3) {
e.appealText = e.conversationDetailAppealId ? '已申诉' : '申诉' e.appealText = e.conversationDetailAppealId ? '已申诉' : '申诉'
e.appealClass = e.conversationDetailAppealId ? 'appeal-disabled' : '' e.appealClass = e.conversationDetailAppealId ? 'appeal-disabled' : ''
} }
......
...@@ -35,7 +35,8 @@ Page({ ...@@ -35,7 +35,8 @@ Page({
async getSceneArr(yqMerchantId, loginUserObj) { async getSceneArr(yqMerchantId, loginUserObj) {
if (!loginUserObj?.isSuper && loginUserObj?.loginRole != 3) { if (!loginUserObj?.isSuper && loginUserObj?.loginRole != 3) {
let checkAgree = await this.checkAgree(loginUserObj) let checkAgree = await this.checkAgree(loginUserObj)
if (!checkAgree) return wx.$router.go('pages.accountItems') // if (!checkAgree) return wx.$router.go('pages.accountItems')
if (!checkAgree) return false
} }
// let checkAgree = await this.checkAgree() // let checkAgree = await this.checkAgree()
// if (!checkAgree) return false // if (!checkAgree) return false
...@@ -247,8 +248,9 @@ Page({ ...@@ -247,8 +248,9 @@ Page({
api.getYqStoreConfig({ yqMerchantId }).then(res => { api.getYqStoreConfig({ yqMerchantId }).then(res => {
let { let {
code, code,
data: { loginControlList = [] } data
} = res } = res
let loginControlList = data?.loginControlList || []
if (code == '0') { if (code == '0') {
// const loginControlList = [] // const loginControlList = []
// const loginControlList = [0, 1] // const loginControlList = [0, 1]
......
...@@ -16,7 +16,7 @@ Component({ ...@@ -16,7 +16,7 @@ Component({
this.setViewData() this.setViewData()
let { userInfo } = this.data let { userInfo } = this.data
// 非超管 获取转化人员 销售顾问 // 非超管 获取转化人员 销售顾问
if (!userInfo?.isSuper) { if (!(userInfo?.isSuper|| userInfo.loginRole == 3)) {
if (wx.$orderListDateListScreenRefresh) { // 切换门店将数据清空 if (wx.$orderListDateListScreenRefresh) { // 切换门店将数据清空
this.setData({ this.setData({
'form.userIdList': [], 'form.userIdList': [],
......
<!--pages/tabDateIndex/components/DateScreen/DateScreen.wxml--> <!--pages/tabDateIndex/components/DateScreen/DateScreen.wxml-->
<scroll-view scroll-y class="confirm-box" style="height:calc(100vh - {{navBarHeight}}px);margin-top:{{navBarHeight}}px;" <scroll-view scroll-y class="confirm-box" style="height:calc(100vh - {{navBarHeight}}px);margin-top:{{navBarHeight}}px;" hidden="{{!show}}">
hidden="{{!show}}">
<view class="main" style="min-height:calc(100% - {{btnHeight}}px)"> <view class="main" style="min-height:calc(100% - {{btnHeight}}px)">
<!-- 非超管转化人员 --> <!-- 非超管转化人员 -->
<view class="box" wx:if="{{!userInfo.isSuper}}"> <view class="box" wx:if="{{!(userInfo.isSuper|| userInfo.loginRole == 3)}}">
<view class="title"> <view class="title">
<view class="title-left"> <view class="title-left">
转化人员 转化人员
<view class="title-tips" wx:if="{{!userInfo.isSuper}}">{{userInfo.merchantName}}</view> <view class="title-tips" wx:if="{{!(userInfo.isSuper|| userInfo.loginRole == 3)}}">{{userInfo.merchantName}}</view>
</view>
<view wx:if="{{form.userIdList.length > 12}}" bindtap="showMore" data-type="1" class="collapse-btn {{!employShowMore ? 'rotate-180' : ''}}">
<image src="{{IMG_URL}}collapse_icon.png" mode="" />
</view> </view>
<view wx:if="{{form.userIdList.length > 12}}" bindtap="showMore" data-type="1" class="collapse-btn {{!employShowMore ? 'rotate-180' : ''}}"><image src="{{IMG_URL}}collapse_icon.png" mode=""/></view>
</view> </view>
<view class="list-box"> <view class="list-box">
<block wx:for="{{form.userIdList}}" wx:key="index"> <block wx:for="{{form.userIdList}}" wx:key="index">
<view class="item text-center {{item.active?'active':''}}" bindtap="choose" <view class="item text-center {{item.active?'active':''}}" bindtap="choose" data-list-name="userIdList" data-index="{{index}}" hidden="{{index >= 12 && !employShowMore}}">
data-list-name="userIdList" data-index="{{index}}" hidden="{{index >= 12 && !employShowMore}}">
<view class="text-item">{{item.staffName}}</view> <view class="text-item">{{item.staffName}}</view>
</view> </view>
</block> </block>
</view> </view>
</view> </view>
<!-- 超管转化人员 选择园区店 --> <!-- 超管转化人员 选择园区店 -->
<view class="box" wx:if="{{userInfo.isSuper}}"> <view class="box" wx:if="{{(userInfo.isSuper|| userInfo.loginRole == 3)}}">
<view class="title"> <view class="title">
<view class="title-left"> <view class="title-left">
转化人员 转化人员
</view> </view>
<view wx:if="{{form.selectedYqMerchantList.length > 3}}" bindtap="showMore" data-type="1" class="collapse-btn {{!employShowMore ? 'rotate-180' : ''}}"><image src="{{IMG_URL}}collapse_icon.png" mode=""/></view> <view wx:if="{{form.selectedYqMerchantList.length > 3}}" bindtap="showMore" data-type="1" class="collapse-btn {{!employShowMore ? 'rotate-180' : ''}}">
<image src="{{IMG_URL}}collapse_icon.png" mode="" />
</view>
</view> </view>
<view class="list-box"> <view class="list-box">
<view class="item text-center {{!form.selectedYqMerchantList.length?'active':''}}" bindtap="yqMerchantChoose">全部</view> <view class="item text-center {{!form.selectedYqMerchantList.length?'active':''}}" bindtap="yqMerchantChoose">全部</view>
<view class="item text-center" bindtap="showStoreSelectPopup" data-type="1">自定义</view> <view class="item text-center" bindtap="showStoreSelectPopup" data-type="1">自定义</view>
<block wx:for="{{form.selectedYqMerchantList}}" wx:key="index"> <block wx:for="{{form.selectedYqMerchantList}}" wx:key="index">
<view class="item active flex-1" bindtap="choose" <view class="item active flex-1" bindtap="choose" data-list-name="selectedYqMerchantList" data-index="{{index}}" hidden="{{index >= 3 && !employShowMore}}">
data-list-name="selectedYqMerchantList" data-index="{{index}}" hidden="{{index >= 3 && !employShowMore}}">
<view class="inline-block merchant-name">{{item.merchantName}}</view> <view class="inline-block merchant-name">{{item.merchantName}}</view>
<view class="inline-block">{{item.merchantId}}</view> <view class="inline-block">{{item.merchantId}}</view>
</view> </view>
...@@ -41,38 +42,40 @@ ...@@ -41,38 +42,40 @@
</view> </view>
</view> </view>
<!-- 非超管销售顾问 --> <!-- 非超管销售顾问 -->
<view class="box" wx:if="{{!userInfo.isSuper}}"> <view class="box" wx:if="{{!(userInfo.isSuper|| userInfo.loginRole == 3)}}">
<view class="title"> <view class="title">
<view class="title-left"> <view class="title-left">
销售顾问 销售顾问
<view class="title-tips" wx:if="{{!userInfo.isSuper}}">{{userInfo.shopMerchantName}}</view> <view class="title-tips" wx:if="{{!(userInfo.isSuper|| userInfo.loginRole == 3)}}">{{userInfo.shopMerchantName}}</view>
</view>
<view wx:if="{{form.issuerUserIdList.length > 12}}" bindtap="showMore" data-type="2" class="collapse-btn {{!salesmanShowMore ? 'rotate-180' : ''}}">
<image src="{{IMG_URL}}collapse_icon.png" mode="" />
</view> </view>
<view wx:if="{{form.issuerUserIdList.length > 12}}" bindtap="showMore" data-type="2" class="collapse-btn {{!salesmanShowMore ? 'rotate-180' : ''}}"><image src="{{IMG_URL}}collapse_icon.png" mode=""/></view>
</view> </view>
<view class="list-box"> <view class="list-box">
<block wx:for="{{form.issuerUserIdList}}" wx:key="index"> <block wx:for="{{form.issuerUserIdList}}" wx:key="index">
<view class="item text-center {{item.active?'active':''}}" bindtap="choose" data-list-name="issuerUserIdList" <view class="item text-center {{item.active?'active':''}}" bindtap="choose" data-list-name="issuerUserIdList" data-index="{{index}}" hidden="{{index >= 12 && !salesmanShowMore}}">
data-index="{{index}}" hidden="{{index >= 12 && !salesmanShowMore}}">
<view class="text-item">{{item.staffName}}</view> <view class="text-item">{{item.staffName}}</view>
</view> </view>
</block> </block>
</view> </view>
</view> </view>
<!-- 超管销售顾问 选择4s店 --> <!-- 超管销售顾问 选择4s店 -->
<view class="box" wx:if="{{userInfo.isSuper}}"> <view class="box" wx:if="{{(userInfo.isSuper|| userInfo.loginRole == 3)}}">
<view class="title"> <view class="title">
<view class="title-left"> <view class="title-left">
销售顾问 销售顾问
<view class="title-tips" wx:if="{{!userInfo.isSuper}}">{{userInfo.shopMerchantName}}</view> <view class="title-tips" wx:if="{{!(userInfo.isSuper|| userInfo.loginRole == 3)}}">{{userInfo.shopMerchantName}}</view>
</view>
<view wx:if="{{form.selectedMerchantList.length > 3}}" bindtap="showMore" data-type="2" class="collapse-btn {{!salesmanShowMore ? 'rotate-180' : ''}}">
<image src="{{IMG_URL}}collapse_icon.png" mode="" />
</view> </view>
<view wx:if="{{form.selectedMerchantList.length > 3}}" bindtap="showMore" data-type="2" class="collapse-btn {{!salesmanShowMore ? 'rotate-180' : ''}}"><image src="{{IMG_URL}}collapse_icon.png" mode=""/></view>
</view> </view>
<view class="list-box"> <view class="list-box">
<view class="item text-center {{!form.selectedMerchantList.length?'active':''}}" bindtap="merchantChoose">全部</view> <view class="item text-center {{!form.selectedMerchantList.length?'active':''}}" bindtap="merchantChoose">全部</view>
<view class="item text-center" bindtap="showStoreSelectPopup" data-type="2">自定义</view> <view class="item text-center" bindtap="showStoreSelectPopup" data-type="2">自定义</view>
<block wx:for="{{form.selectedMerchantList}}" wx:key="index"> <block wx:for="{{form.selectedMerchantList}}" wx:key="index">
<view class="item active flex-1" bindtap="choose" <view class="item active flex-1" bindtap="choose" data-list-name="selectedMerchantList" data-index="{{index}}" hidden="{{index >= 3 && !salesmanShowMore}}">
data-list-name="selectedMerchantList" data-index="{{index}}" hidden="{{index >= 3 && !salesmanShowMore}}">
<view class="inline-block merchant-name">{{item.merchantName}}</view> <view class="inline-block merchant-name">{{item.merchantName}}</view>
<view class="inline-block">{{item.merchantId}}</view> <view class="inline-block">{{item.merchantId}}</view>
</view> </view>
...@@ -86,8 +89,7 @@ ...@@ -86,8 +89,7 @@
<view class="list-box"> <view class="list-box">
<block wx:for="{{form.dateTimeList}}" wx:key="index"> <block wx:for="{{form.dateTimeList}}" wx:key="index">
<block wx:if="{{item.type}}"> <block wx:if="{{item.type}}">
<calendar allowSameDay shortcut bindselect='rangeSelect' id="calendar" data-index="{{index}}" data-name="dateTimeList" dateType='range' calenderColor='#347BFF' <calendar allowSameDay shortcut bindselect='rangeSelect' id="calendar" data-index="{{index}}" data-name="dateTimeList" dateType='range' calenderColor='#347BFF' vertical minDate="2020-10-01" isComponents>
vertical minDate="2020-10-01" isComponents>
</calendar> </calendar>
<view style="display: flex;align-items: center;width: 100%;"> <view style="display: flex;align-items: center;width: 100%;">
<view bindtap="showCalendar" data-type="show" class="item custom-time text-center {{!item.startDate ? 'grey' : ''}} {{item.active?'active':''}}">{{item.startDate || '开始时间'}}</view>- <view bindtap="showCalendar" data-type="show" class="item custom-time text-center {{!item.startDate ? 'grey' : ''}} {{item.active?'active':''}}">{{item.startDate || '开始时间'}}</view>-
...@@ -95,8 +97,7 @@ ...@@ -95,8 +97,7 @@
</view> </view>
</block> </block>
<block wx:else> <block wx:else>
<view class="item text-center {{item.active?'active':''}}" bindtap="choose" data-list-name="dateTimeList" <view class="item text-center {{item.active?'active':''}}" bindtap="choose" data-list-name="dateTimeList" data-index="{{index}}">{{item.name}}</view>
data-index="{{index}}">{{item.name}}</view>
</block> </block>
</block> </block>
</view> </view>
...@@ -107,8 +108,7 @@ ...@@ -107,8 +108,7 @@
</view> </view>
<view class="list-box"> <view class="list-box">
<block wx:for="{{form.inviteStatusList}}" wx:key="index"> <block wx:for="{{form.inviteStatusList}}" wx:key="index">
<view class="item text-center {{item.active?'active':''}} {{item.disabled ?'disabled':''}}" bindtap="choose" <view class="item text-center {{item.active?'active':''}} {{item.disabled ?'disabled':''}}" bindtap="choose" data-list-name="inviteStatusList" data-index="{{index}}">{{item.name}}</view>
data-list-name="inviteStatusList" data-index="{{index}}">{{item.name}}</view>
</block> </block>
</view> </view>
</view> </view>
...@@ -118,4 +118,4 @@ ...@@ -118,4 +118,4 @@
<view class="btn done text-center" bindtap="confirm">确定</view> <view class="btn done text-center" bindtap="confirm">确定</view>
</view> </view>
</scroll-view> </scroll-view>
<store-select-popup show="{{showStoreSelectPopup}}" type="{{storeType}}" bindconfirm="storeConfirm" bindcancel="hideStorePopup" selectedData="{{storeType == 1 ? form.selectedYqMerchantList || [] : form.selectedMerchantList || []}}"></store-select-popup> <store-select-popup show="{{showStoreSelectPopup}}" type="{{storeType}}" bindconfirm="storeConfirm" bindcancel="hideStorePopup" selectedData="{{storeType == 1 ? form.selectedYqMerchantList || [] : form.selectedMerchantList || []}}"></store-select-popup>
\ No newline at end of file \ No newline at end of file
...@@ -361,8 +361,8 @@ Page({ ...@@ -361,8 +361,8 @@ Page({
op[key] = val op[key] = val
}) })
this.setData({ this.setData({
...op ...op
}, },
() => { () => {
this.noLoginFn() this.noLoginFn()
} }
...@@ -371,7 +371,7 @@ Page({ ...@@ -371,7 +371,7 @@ Page({
} }
// } // }
}) })
.catch(err => {}) .catch(err => { })
}, },
noLoginFn() { noLoginFn() {
let that = this let that = this
...@@ -423,14 +423,13 @@ Page({ ...@@ -423,14 +423,13 @@ Page({
}).then(res => { }).then(res => {
let { let {
code, code,
data: { data
loginControlList = []
}
} = res } = res
let loginControlList = data?.loginControlList || []
if (code == '0') { if (code == '0') {
// const loginControlList = [] // const loginControlList = []
// const loginControlList = [0, 1] // const loginControlList = [0, 1]
if (loginControlList.includes(envName) || loginControlList.length == 0) { if (loginControlList && (loginControlList.includes(envName) || loginControlList.length == 0)) {
resolve(true) resolve(true)
} else { } else {
wx.hideLoading() wx.hideLoading()
...@@ -675,7 +674,7 @@ Page({ ...@@ -675,7 +674,7 @@ Page({
/** /**
* 生命周期函数--监听页面初次渲染完成 * 生命周期函数--监听页面初次渲染完成
*/ */
onReady: function () {}, onReady: function () { },
/** /**
* 生命周期函数--监听页面显示 * 生命周期函数--监听页面显示
...@@ -737,20 +736,20 @@ Page({ ...@@ -737,20 +736,20 @@ Page({
/** /**
* 生命周期函数--监听页面隐藏 * 生命周期函数--监听页面隐藏
*/ */
onHide: function () {}, onHide: function () { },
/** /**
* 生命周期函数--监听页面卸载 * 生命周期函数--监听页面卸载
*/ */
onUnload: function () {}, onUnload: function () { },
/** /**
* 页面相关事件处理函数--监听用户下拉动作 * 页面相关事件处理函数--监听用户下拉动作
*/ */
onPullDownRefresh: function () {}, onPullDownRefresh: function () { },
/** /**
* 页面上拉触底事件的处理函数 * 页面上拉触底事件的处理函数
*/ */
onReachBottom: function () {} onReachBottom: function () { }
}) })
\ No newline at end of file \ No newline at end of file
...@@ -849,17 +849,18 @@ page ::-webkit-scrollbar { ...@@ -849,17 +849,18 @@ page ::-webkit-scrollbar {
} }
.table .table-body .th .name .labelName { .table .table-body .th .name .labelName {
height: var(--fontSize54); height: var(--fontSize58);
box-sizing: border-box; box-sizing: border-box;
word-break: break-all; word-break: break-all;
display: -webkit-box; display: -webkit-box;
text-overflow: ellipsis; text-overflow: ellipsis;
overflow: hidden;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
} }
.table .table-body .th .labelName.oneLine { .table .table-body .th .labelName.oneLine {
line-height: var(--fontSize54); line-height: var(--fontSize58);
} }
.table .table-body .th .values .td { .table .table-body .th .values .td {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!