Commit 102409c5 by zhangxw

ui走查 更新日志修改

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