|
|
@@ -5,7 +5,7 @@
|
|
|
<view class="top-row">
|
|
|
<view class="info-item">
|
|
|
<image class="logo" :src="customInfo.smallAvatar"/>
|
|
|
- <text class="name">{{ customInfo.name || "" }}</text>
|
|
|
+ <text class="name">{{ customInfo.name || "" }}{{device}} </text>
|
|
|
</view>
|
|
|
<DateSelect class="bar" top="0" @selectDateFn="selectDateFn" defaultShowName='时间' />
|
|
|
</view>
|
|
|
@@ -18,7 +18,7 @@
|
|
|
<AppWrapperEmpty title="暂无数据" :is-empty="$util.isEmpty(detailsList)" />
|
|
|
</block>
|
|
|
</view>
|
|
|
- <view class="bar-view">
|
|
|
+ <view :class="device == 'ios' ? 'ios-bar-view':'android-bar-view'">
|
|
|
<template>
|
|
|
<view class="info-view">
|
|
|
<view class="details-select" @click="checkFn()" >
|
|
|
@@ -69,7 +69,8 @@ export default {
|
|
|
payWay:0,
|
|
|
searchTime:'',
|
|
|
startTime:'',
|
|
|
- endTime:''
|
|
|
+ endTime:'',
|
|
|
+ device:'android'
|
|
|
};
|
|
|
},
|
|
|
onPullDownRefresh() {
|
|
|
@@ -81,6 +82,9 @@ export default {
|
|
|
this.initData().then(res => {
|
|
|
uni.stopPullDownRefresh();
|
|
|
});
|
|
|
+
|
|
|
+ this.device = uni.getSystemInfoSync().platform
|
|
|
+
|
|
|
},
|
|
|
computed: {
|
|
|
selectList() {
|
|
|
@@ -284,7 +288,50 @@ export default {
|
|
|
flex: 1;
|
|
|
padding-bottom: 100upx;
|
|
|
}
|
|
|
- .bar-view {
|
|
|
+ .ios-bar-view {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+ padding: 0 30upx;
|
|
|
+ width: 100%;
|
|
|
+ height: 100upx;
|
|
|
+ background: #fff;
|
|
|
+ box-shadow: 0upx -1upx 6upx 0upx rgba(4, 0, 0, 0.06);
|
|
|
+ .info-view {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ color: #333;
|
|
|
+ font-size: 24upx;
|
|
|
+ .iconfont {
|
|
|
+ font-size: 32upx;
|
|
|
+ color: #dddddd;
|
|
|
+ }
|
|
|
+ .price {
|
|
|
+ margin: 0 3upx;
|
|
|
+ color: $redColor;
|
|
|
+ font-size: 30upx;
|
|
|
+ }
|
|
|
+ .unit {
|
|
|
+ margin: 0 3upx;
|
|
|
+ color: $redColor;
|
|
|
+ font-size: 30upx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .btn-view {
|
|
|
+ display: flex;
|
|
|
+ .admin-button-com {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ margin: 0 6upx;
|
|
|
+ width: 200upx;
|
|
|
+ height: 70upx;
|
|
|
+ font-size: 30upx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .android-bar-view {
|
|
|
+ position: fixed;
|
|
|
bottom: 0;
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|