Commit 102409c5 by zhangxw

ui走查 更新日志修改

1 parent e0618db4
...@@ -45,8 +45,8 @@ App({ ...@@ -45,8 +45,8 @@ App({
if (versionData) return versionData if (versionData) return versionData
else { else {
const res = await wx.$versionConfig.get({ const res = await wx.$versionConfig.get({
// moduleUrl: 'dj-car-boutique-work-wechat', moduleUrl: 'dj-car-boutique-work-wechat',
moduleUrl: 'business-assistant', // moduleUrl: 'business-assistant',
env: 'update' env: 'update'
}) })
this.globalData.versionData = res this.globalData.versionData = res
......
...@@ -11,10 +11,10 @@ ...@@ -11,10 +11,10 @@
</view> </view>
</view> </view>
<view class="content_box"> <view class="content_box">
<view class="tips-text text-hide"> <!-- <view class="tips-text text-hide">
你好, 你好,
<text>{{loginRoleLabel[loginRole]|| ''}}{{userInfo.name || ''}}</text> <text>{{loginRoleLabel[loginRole]|| ''}}{{userInfo.name || ''}}</text>
</view> </view> -->
<view class="static_box"> <view class="static_box">
<view class="static_item" wx:for="{{itemDataList}}" wx:key="index" wx:for-index="index"> <view class="static_item" wx:for="{{itemDataList}}" wx:key="index" wx:for-index="index">
<view class="label"> <view class="label">
......
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
} }
.static_box{ .static_box{
margin: 32rpx 0 14rpx 0; margin-bottom: 32rpx;
display: grid; display: grid;
grid-template-columns: repeat(auto-fill, 216rpx); grid-template-columns: repeat(auto-fill, 216rpx);
justify-content: space-between; justify-content: space-between;
......
...@@ -144,7 +144,7 @@ ...@@ -144,7 +144,7 @@
} }
.static_box { .static_box {
margin: 32rpx 0 14rpx 0; margin-bottom: 32rpx;
display: grid; display: grid;
grid-template-columns: repeat(auto-fill, 216rpx); grid-template-columns: repeat(auto-fill, 216rpx);
justify-content: space-between; justify-content: space-between;
......
<view class="layout"> <view class="layout">
<navigation-bar showBack bindback="navBack" navStyle="background-color: transparent;box-shadow:none"> <navigation-bar showBack bindback="navBack" navStyle="background-color: transparent;box-shadow:none">
生意助手更新记录 生意助手员工版更新记录
</navigation-bar> </navigation-bar>
<view class="bg"> <view class="bg">
<gl-image custom-class='bgimg' webp src="/miniProgram/log-bg.png"></gl-image> <gl-image custom-class='bgimg' webp src="/miniProgram/log-bg.png"></gl-image>
......
...@@ -10,10 +10,10 @@ Component({ ...@@ -10,10 +10,10 @@ Component({
productionValueList: [ productionValueList: [
{title: '当日访客', num: '2', imgName: 'icon_5',valueName:'todayFansCount'}, {title: '当日访客', num: '2', imgName: 'icon_5',valueName:'todayFansCount'},
{title: '当日订单', num: '3', imgName: 'icon_4',valueName:'todayOrderCount'}, {title: '当日订单', num: '3', imgName: 'icon_4',valueName:'todayOrderCount'},
{title: '当日产值', num: '4', imgName: 'icon_3',valueName:'todayOutputValue'}, {title: '当日产值', num: '4', imgName: 'icon_3',valueName:'todayAmount'},
{title: '累计访客', num: '5', imgName: 'icon_10',valueName:'totalFansCount'}, {title: '累计访客', num: '5', imgName: 'icon_10',valueName:'totalfansCount'},
{title: '累计订单', num: '6', imgName: 'icon_9',valueName:'totalOrderCount'}, {title: '累计订单', num: '6', imgName: 'icon_9',valueName:'totalOrderCount'},
{title: '累计产值', num: '1', imgName: 'icon_8',valueName:'totalOutputValue'} {title: '累计产值', num: '1', imgName: 'icon_8',valueName:'totalAmount'}
], ],
businessDevelopmentList: [ businessDevelopmentList: [
{title: '调查问卷', imgName: 'questionnaire', isOpen: false}, {title: '调查问卷', imgName: 'questionnaire', isOpen: false},
...@@ -30,17 +30,17 @@ Component({ ...@@ -30,17 +30,17 @@ Component({
], ],
staticDataList: [{ staticDataList: [{
label: '今日营业额', label: '今日营业额',
value: 'todayOutputValue', value: 'todayAmount',
tipsLabel: '今日成交量', tipsLabel: '今日成交量',
tipsValue: 'todayOrderCount' tipsValue: 'todayOrderCount'
}, { }, {
label: '本月营业额', label: '本月营业额',
value: 'monthOutputValue', value: 'monthAmount',
tipsLabel: '本月成交量', tipsLabel: '本月成交量',
tipsValue: 'monthOrderCount' tipsValue: 'monthOrderCount'
}, { }, {
label: '累计营业额', label: '累计营业额',
value: 'totalOutputValue', value: 'totalAmount',
tipsLabel: '累计成交量', tipsLabel: '累计成交量',
tipsValue: 'totalOrderCount' tipsValue: 'totalOrderCount'
}], }],
...@@ -76,14 +76,14 @@ Component({ ...@@ -76,14 +76,14 @@ Component({
if (!params.merchantId) return if (!params.merchantId) return
api.getHomeStaticData(params).then(res => { api.getHomeStaticData(params).then(res => {
if (res.code == 0) { if (res.code == 0) {
if (res.data?.totalOutputValue) { if (res.data?.totalAmount) {
res.data.totalOutputValue = NP.divide(res.data.totalOutputValue,100) res.data.totalAmount = NP.divide(res.data.totalAmount,100)
} }
if (res.data?.todayOutputValue) { if (res.data?.monthAmount) {
res.data.todayOutputValue = NP.divide(res.data.todayOutputValue,100) res.data.monthAmount = NP.divide(res.data.monthAmount,100)
} }
if (res.data?.monthOutputValue) { if (res.data?.todayAmount) {
res.data.monthOutputValue = NP.divide(res.data.monthOutputValue,100) res.data.todayAmount = NP.divide(res.data.todayAmount,100)
} }
this.setData({ this.setData({
conversionList: res.data conversionList: res.data
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!