二维码生成页面中心icon没了的bug
一次大型分包更新生产了 合作企业路由 /packageQr/pages/partnership/partnership 员工管理路由 /packageStaff/pages/staff/List/List 油站二维码路由 /packageQr/pages/qrsite/QrCode_xy 加油订单路由改成 /packageOrders/pages/orderList/orderList
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
</view>
|
||||
<view class="bg-white radius margin-left margin-right to-top">
|
||||
<view class=" flex ">
|
||||
<view class="padding text-center flex-sub" @tap="routerTo('/pages/orderList/dailyOrder/dailyOrder')">
|
||||
<view class="padding text-center flex-sub" @tap="routerTo('/packageOrders/pages/orderList/dailyOrder/dailyOrder')">
|
||||
<text>今日收款笔数</text>
|
||||
<view class="padding-sm">
|
||||
<text class="oil-main-color">{{userAccount.totalCount}}</text>
|
||||
@@ -58,39 +58,6 @@
|
||||
</view>
|
||||
<text>{{ item.name }}</text>
|
||||
</view>
|
||||
|
||||
<!-- <view class="cu-item" @tap="routerTo('/pages/orderList/orderList')">
|
||||
<view :class="['cuIcon-' + cuIconList[1].cuIcon, 'text-' + cuIconList[1].color]" class="text-sl">
|
||||
<view class="cu-tag badge" v-if="cuIconList[1].badge != 0">
|
||||
<block v-if="cuIconList[1].badge != 1">{{ cuIconList[1].badge > 99 ? '99+' : cuIconList[1].badge }}</block>
|
||||
</view>
|
||||
</view>
|
||||
<text>{{ cuIconList[1].name }}</text>
|
||||
</view>
|
||||
<view class="cu-item">
|
||||
<view :class="['cuIcon-' + cuIconList[2].cuIcon, 'text-' + cuIconList[2].color]" class="text-sl">
|
||||
<view class="cu-tag badge" v-if="cuIconList[2].badge != 0">
|
||||
<block v-if="cuIconList[2].badge != 1">{{ cuIconList[2].badge > 99 ? '99+' : cuIconList[2].badge }}</block>
|
||||
</view>
|
||||
</view>
|
||||
<text>{{ cuIconList[2].name }}</text>
|
||||
</view>
|
||||
<view class="cu-item" @tap="scanQr">
|
||||
<view :class="['cuIcon-' + cuIconList[3].cuIcon, 'text-' + cuIconList[3].color]" class="text-sl">
|
||||
<view class="cu-tag badge" v-if="cuIconList[3].badge != 0">
|
||||
<block v-if="cuIconList[3].badge != 1">{{ cuIconList[3].badge > 99 ? '99+' : cuIconList[3].badge }}</block>
|
||||
</view>
|
||||
</view>
|
||||
<text>{{ cuIconList[3].name }}</text>
|
||||
</view>
|
||||
<view class="cu-item" @tap="routerTo('/pages/qrcode/QrCode_xy')">
|
||||
<view :class="['cuIcon-' + cuIconList[4].cuIcon, 'text-' + cuIconList[4].color]" class="text-sl">
|
||||
<view class="cu-tag badge" v-if="cuIconList[4].badge != 0">
|
||||
<block v-if="cuIconList[4].badge != 1">{{ cuIconList[4].badge > 99 ? '99+' : cuIconList[4].badge }}</block>
|
||||
</view>
|
||||
</view>
|
||||
<text>{{ cuIconList[4].name }}</text>
|
||||
</view>-->
|
||||
<view class="padding-bottom-xl">
|
||||
</view>
|
||||
</view>
|
||||
@@ -136,32 +103,6 @@
|
||||
badge: 0,
|
||||
name: '加油订单'
|
||||
},
|
||||
// {
|
||||
// cuIcon: 'new',
|
||||
// path: '暂无',
|
||||
// color: 'orange',
|
||||
// badge: 0,
|
||||
// name: '经营分析'
|
||||
// }, {
|
||||
// cuIcon: 'form',
|
||||
// color: 'yellow',
|
||||
// path: '/pages/orderList/orderList',
|
||||
// badge: 0,
|
||||
// name: '加油订单'
|
||||
// }, {
|
||||
// cuIcon: 'location',
|
||||
// path: '/pages/station-info/station-info',
|
||||
// color: 'red',
|
||||
// badge: 0,
|
||||
// name: '油站信息'
|
||||
// },
|
||||
// {
|
||||
// cuIcon: 'form',
|
||||
// color: 'yellow',
|
||||
// path: '/pages/orderList/orderList',
|
||||
// badge: 0,
|
||||
// name: '加油订单'
|
||||
// },
|
||||
{
|
||||
cuIcon: 'scan',
|
||||
path: '/pages/stationDetail/stationDetail',
|
||||
@@ -220,20 +161,6 @@
|
||||
console.log('chengg', res)
|
||||
},
|
||||
})
|
||||
// 方便测试
|
||||
// complete: () => {
|
||||
// uni.setStorageSync('qrCode', 'XM&1309328197641433088')
|
||||
// uni.navigateTo({
|
||||
// url: that.scanUrl,
|
||||
// fail: (err) => {
|
||||
// console.log(err)
|
||||
// },
|
||||
// success: (res) => {
|
||||
// console.log('chengg', res)
|
||||
// }
|
||||
// })
|
||||
// }
|
||||
|
||||
},
|
||||
// 方便开发
|
||||
// scanQr() {
|
||||
|
||||
Reference in New Issue
Block a user