首页样式update
This commit is contained in:
parent
18b9c514a3
commit
23ea3db2ad
@ -9,12 +9,17 @@
|
||||
level-bg-color="#000000"></u-avatar>
|
||||
</view>
|
||||
<view class="center">
|
||||
<view style="display: flex;align-items: center;">
|
||||
<text v-if="item.userInfo.type == 1" class="official">官方</text>
|
||||
<text class="username">{{ item.userInfo.username.substring(0, 10) }}</text>
|
||||
<text v-if="item.postTop>0" class="officials">置顶</text>
|
||||
<text v-if="item.status==1" class="officials">审核中</text>
|
||||
<text v-if="item.status==2" class="officials">已下架</text>
|
||||
<view style="display: flex;align-items: center;justify-content: space-between;">
|
||||
<view style="display: flex;align-items: center;">
|
||||
<text v-if="item.userInfo.type == 1" class="official">官方</text>
|
||||
<text class="username">{{ item.userInfo.username.substring(0, 10) }}</text>
|
||||
</view>
|
||||
<view class="">
|
||||
<text v-if="item.postTop>0" class="officials">置顶</text>
|
||||
<text v-if="item.status==1" class="officials">审核中</text>
|
||||
<text v-if="item.status==2" class="officials">已下架</text>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view>
|
||||
<text class="time">{{ item.createTime}}</text>
|
||||
@ -264,11 +269,16 @@
|
||||
|
||||
.official {
|
||||
display: inline-block;
|
||||
width: 65rpx;
|
||||
height: 35rpx;
|
||||
font-size: 20rpx;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
line-height: 35rpx;
|
||||
color: #ffffff;
|
||||
background-color: #333333;
|
||||
padding: 5rpx 10rpx;
|
||||
border-radius: 10rpx;
|
||||
background-color: #000000;
|
||||
|
||||
border-radius: 30rpx;
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
|
||||
@ -276,8 +286,8 @@
|
||||
display: inline-block;
|
||||
font-size: 25rpx;
|
||||
color: #ffffff;
|
||||
background-color: #ff0000;
|
||||
padding: 5rpx 10rpx;
|
||||
background-color: #c0392b;
|
||||
padding: 2rpx 8rpx;
|
||||
border-radius: 10rpx;
|
||||
margin-left: 30rpx;
|
||||
}
|
||||
|
@ -123,7 +123,7 @@
|
||||
uni.navigateTo({
|
||||
url: '/pages/post/add'
|
||||
})
|
||||
}
|
||||
},
|
||||
pageTabChange(index) {
|
||||
this.pageCurrent = index
|
||||
},
|
||||
|
@ -3,12 +3,12 @@ const shareH5Url = "https://www.linfeng.tech/#/"; //H5分享路径
|
||||
|
||||
|
||||
//本地环境配置
|
||||
const baseUrl = "localhost:8080";
|
||||
const domain = 'http://' + baseUrl + "/app/";
|
||||
// const baseUrl = "localhost:8080";
|
||||
// const domain = 'http://' + baseUrl + "/app/";
|
||||
|
||||
//线上环境配置
|
||||
// const baseUrl = "";
|
||||
// const domain = 'https://' + baseUrl + "/app/";
|
||||
const baseUrl = "wxapi.linfeng.tech";
|
||||
const domain = 'https://' + baseUrl + "/app/";
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user