Commit 9dc3a2c3 authored by youjie's avatar youjie

优化样式

parent 672d031a
......@@ -48,7 +48,7 @@
</style>
<template>
<view class="AggOrdBox column">
<view class="AggOrdHeader">
<view class="AggOrdHeader" :style="[titleStyle]">
<AggOrdHeader :title="pageTitle"
@change="getOrderType"
:params="msg"></AggOrdHeader>
......@@ -113,6 +113,7 @@
index: 0,
payindex: 0,
showAuth: false,
titleStyle:{},
}
},
onLoad(options){
......@@ -121,6 +122,14 @@
},
created() {
const that = this
uni.getSystemInfo({
success(res) {
that.titleStyle = {
paddingTop: `${res.statusBarHeight}px`
};
},
});
this.getOrderEnums()
this.research()
},
......
......@@ -78,11 +78,10 @@
</style>
<template>
<view class="AggOrdBox column">
<view class="AggOrdHeader">
<view class="AggOrdHeader" :style="[titleStyle]">
<AggOrdSearch
@change="change"
:params="msg"></AggOrdSearch>
</view>
<view class="col" style="height: 1px;flex: 1;overflow: hidden;padding-top: 40rpx;">
<view v-if="!msg.keyword">
......@@ -194,7 +193,8 @@
'https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638772247342163794.jpg',
'https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638772247230118434.jpg',
'https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638772247194112722.jpg',
]
],
titleStyle: {},
}
},
onLoad(options){
......@@ -203,6 +203,14 @@
}
},
created() {
const that = this
uni.getSystemInfo({
success(res) {
that.titleStyle = {
paddingTop: `${res.statusBarHeight}px`
};
},
});
// #ifdef MP-AG
this.getEnumList()
// #endif
......
......@@ -197,7 +197,7 @@ export default {
position: relative;
}
.carrHeader{
padding-top: 85rpx;
// padding-top: 85rpx;
}
.carrHeader-right{
padding-right: 200rpx;
......
......@@ -109,7 +109,7 @@ export default {
position: relative;
}
.carrHeader{
padding-top: 85rpx;
// padding-top: 85rpx;
}
.carrHeader-right{
width: 1px;
......
......@@ -171,6 +171,7 @@
text-align: center;
font-size: 16px;
color: #000;
margin-top: 15rpx;
}
.userHeadPic{
padding: 49rpx 20rpx 25rpx 62rpx;
......
......@@ -165,6 +165,7 @@
text-align: center;
font-size: 16px;
color: #FFF;
margin-top: 15rpx;
}
.userHeadPic{
padding: 37rpx 20rpx 78rpx 54rpx;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment