作者 xuqiang

提交

<template>
<view class="alertWrap">
<view class="alert">
<view class="closeBtn">
<image @click="$emit('close')" src="../static/image/ic_94@2x.png" mode=""></image>
</view>
<view class="alertTitle">
失败原因
</view>
<view class="alertContent">
<textarea maxlength="100" v-model="reason" placeholder="请输入失败原因" />
<view class="textLength">
{{reason.length}}/100
</view>
</view>
<view class="bottomBtnAlt">
<view class="bottomBtn">
发送
</view>
</view>
</view>
</view>
</template>
<script>
export default{
data(){
return{
reason:''
}
}
}
</script>
<style lang="scss" scoped>
.alertWrap{
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: $uni-bg-color-mask;
display: flex;
justify-content: center;
align-items: center;
z-index: 2;
.alert{
width: 638rpx;
background: #ffffff;
border-radius: 44rpx;
padding: 32rpx;
.closeBtn{
display: flex;
justify-content: flex-end;
image{width: $uni-img-size-40;height: $uni-img-size-40;}
}
.alertTitle{
font-size: $uni-font-size-40;
text-align: center;
height: 90rpx;
line-height: 90rpx;
font-weight: 600;
}
.alertContent{
padding: 20rpx;
border-radius: 20rpx;
font-size: $uni-font-size-26;
line-height: $uni-font-lh-40;
background: $uni-bg-color-hui;
color: $uni-text-color-hui;
textarea{
width: 100%;
}
.textLength{
text-align: right;
}
}
.bottomBtnAlt{
padding-top: 38rpx;
display: flex;
justify-content: center;
.bottomBtn{
flex: 1;
height: 84rpx;
background: #2e7ff9;
border-radius: 68rpx;
font-size: $uni-font-size-32;
color: $uni-text-color-bai;
line-height: 84rpx;
text-align: center;
}
}
}
}
</style>
... ...
... ... @@ -4,29 +4,39 @@
},
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/employ/chooseCompanyEmploy",
"path": "pages/index/employ/companyCheckDetail",
"style": {
"navigationBarTitleText": "信息发布"
"navigationBarTitleText": "企业审核",
"navigationBarBackgroundColor":"#2e7ff9",
"navigationBarTextStyle":"white"
}
},
{
"path": "pages/index/employ/infoPublish",
"path": "pages/index/employ/productCheck",
"style": {
"navigationBarTitleText": "信息发布"
"navigationBarTitleText": "物品审核",
"navigationBarBackgroundColor":"#2e7ff9",
"navigationBarTextStyle":"white"
}
},
{
"path": "pages/index/indexEmploy",
"path": "pages/index/employ/companyCheck",
"style": {
"navigationBarTitleText": "市场监管",
"navigationBarTitleText": "企业审核"
}
},
{
"path": "pages/index/employ/plantManage",
"style": {
"navigationBarTitleText": "厂房管理",
"navigationBarBackgroundColor":"#2e7ff9",
"navigationBarTextStyle":"white"
}
},
{
"path": "pages/index/article",
"path": "pages/my/plantManage",
"style": {
"navigationBarTitleText": "操作指南",
"navigationBarTitleText": "厂房管理",
"navigationBarBackgroundColor":"#2e7ff9",
"navigationBarTextStyle":"white"
}
... ... @@ -40,6 +50,34 @@
}
},
{
"path": "pages/index/employ/chooseCompanyEmploy",
"style": {
"navigationBarTitleText": "信息发布"
}
},
{
"path": "pages/index/employ/infoPublish",
"style": {
"navigationBarTitleText": "信息发布"
}
},
{
"path": "pages/index/indexEmploy",
"style": {
"navigationBarTitleText": "市场监管",
"navigationBarBackgroundColor":"#2e7ff9",
"navigationBarTextStyle":"white"
}
},
{
"path": "pages/index/article",
"style": {
"navigationBarTitleText": "操作指南",
"navigationBarBackgroundColor":"#2e7ff9",
"navigationBarTextStyle":"white"
}
},
{
"path": "pages/my/plantManage",
"style": {
"navigationBarTitleText": "厂房管理",
... ... @@ -238,8 +276,8 @@
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#fff",
"backgroundColor": "#F8F8F8"
},
"tabBar": {
}
/* "tabBar": {
"color": "#7A7E83",
"selectedColor": "#2e7ff9",
"borderStyle": "black",
... ... @@ -260,5 +298,5 @@
"selectedIconPath": "static/image/ic_10_select@2x.png",
"text": "我的"
}]
}
} */
}
... ...
... ... @@ -41,6 +41,16 @@
</view>
</view>
</form>
<u-tabbar
v-model="tabBarCurrent"
:show="show"
:bg-color="bgColor"
:border-top="borderTop"
:list="tabBarList"
:mid-button="midButton"
:inactive-color="inactiveColor"
:activeColor="activeColor"
></u-tabbar>
</view>
</template>
... ... @@ -48,6 +58,34 @@
export default {
data() {
return {
//底部导航栏区域 开始
tabBarCurrent: 0,
show: true,
bgColor: '#ffffff',
borderTop: true,
tabBarList: [{
iconPath: "/static/image/ic_8@2x.png",
selectedIconPath: "/static/image/ic_8_select@2x.png",
text: '首页',
customIcon: false,
},
{
iconPath: "/static/image/ic_9@2x.png",
selectedIconPath: "/static/image/ic_9_select@2x.png",
text: '需求',
customIcon: false,
},
{
iconPath: "/static/image/ic_10@2x.png",
selectedIconPath: "/static/image/ic_10_select@2x.png",
text: '我的',
customIcon: false,
},
],
midButton: false,
inactiveColor: '#909399',
activeColor: '#5098FF',
//底部导航栏区域 结束
index: -1,
picker: ['科室1', '科室2', '科室3'],
multiIndex: [0, 0, 0],
... ...
<template>
<view class="checkList">
<view class="checkItem">
<view class="companyItem">
<view class="itemLeft">
<text>企业类型:</text>金融服务
</view>
<view class="itemRight">
待办理
</view>
</view>
<view class="companyItem">
<view class="itemLeft">
<text>企业名称:</text>环球金融公司
</view>
</view>
<view class="companyItem">
<text>需求说明:</text>
</view>
<view class="demandDesc">
审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核审核容内容审核内容审核内容审核内容审核内容审核审核容
</view>
<view class="createTime">
2020.12.23
</view>
</view>
<view class="checkItem">
<view class="companyItem">
<view class="itemLeft">
<text>企业名称:</text>环球金融公司
</view>
<view class="itemRight active">
已办理
</view>
</view>
<view class="companyItem">
<view class="itemLeft">
<text>企业名称:</text>环球金融公司
</view>
</view>
<view class="companyItem">
<text>需求说明:</text>
</view>
<view class="demandDesc">
审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核审核容内容审核内容审核内容审核内容审核内容审核审核容
</view>
<view class="createTime">
2020.12.23
</view>
</view>
</view>
</template>
<script>
</script>
<style lang="scss">
page{
background-color: $uni-bg-color-hui;
}
.checkList{
padding: 1rpx 32rpx 32rpx 32rpx;
.checkItem{
border-radius: 20rpx;
margin-top: 32rpx;
padding: 10rpx 32rpx;
background: $uni-bg-bai-color;
.companyItem{
height: 70rpx;
font-size: $uni-font-size-30;
text{font-weight: 600;}
display: flex;
justify-content: space-between;
align-items: center;
.itemRight{
width: 100rpx;
height: 40rpx;
background: #fffbe8;
border-radius: 20rpx;
color: #fa700c;
font-size: $uni-font-size-24;
text-align: center;
line-height: $uni-font-lh-40;
}
.itemRight.active{
background: #f7f8fa;
color: #323233;
}
}
.demandDesc{
font-size: $uni-font-size-30;
padding-left: 60rpx;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp:3;
-webkit-box-orient:vertical;
}
.createTime{
text-align: right;
font-size: $uni-font-size-28;
color: $uni-text-color-hui;
line-height: 80rpx;
}
}
}
</style>
... ...
<template>
<view>
<!-- 操作区域 -->
<view class="handleWrap">
<view class="handleItem">
<view class="itemLeft">
企业类型
</view>
<view class="itemRight">
金融服务
</view>
</view>
<view class="handleItem">
<view class="itemLeft">
企业名称
</view>
<view class="itemRight">
环球金融公司
</view>
</view>
<view class="handleItem">
<view class="itemLeft">
法人姓名
</view>
<view class="itemRight">
王某人
</view>
</view>
<view class="handleItem">
<view class="itemLeft">
法人电话
</view>
<view class="itemRight">
13962568952
</view>
</view>
<view class="handleItem">
<view class="itemLeft">
联系人姓名
</view>
<view class="itemRight">
张某人
</view>
</view>
<view class="handleItem" style="border-bottom: none;">
<view class="itemLeft">
联系人电话
</view>
<view class="itemRight">
13962568562
</view>
</view>
</view>
<view class="demandDesc">
<view class="descTitle">
需求说明
</view>
<view class="descContent">
需求说明需求说明需求说明需求说明需求说明需求说明需求说明需求说明需求说明
</view>
</view>
<view class="imgWrap">
<view class="imgTop">
<view class="descTitle">
营业执照
</view>
<view>
<image src="../../../static/image/del/ic_90@2x.png" style="width: 300rpx;height: 400rpx;margin-top: 32rpx;" mode=""></image>
</view>
</view>
<view class="imgBottom" style="margin-top: 0;">
<view class="descTitle">
法人身份证
</view>
<view class="cardList">
<image src="../../../static/image/del/ic_90@2x.png" style="width: 320rpx;height: 150rpx;margin-top: 32rpx;" mode=""></image>
<image src="../../../static/image/del/ic_90@2x.png" style="width: 320rpx;height: 150rpx;margin-top: 32rpx;" mode=""></image>
</view>
</view>
</view>
<!-- 底部按钮区域 -->
<view style="height: 120rpx;"></view>
<view class="bottomBtnWrap">
<view class="btnItem">
审核失败
</view>
<view class="btnItem active">
审核通过
</view>
</view>
<view class="companyNature" v-if="showNature">
<view class="alert">
<view class="closeBtn">
<image @click="showNature = false" src="../../../static/image/ic_94@2x.png" mode=""></image>
</view>
<view class="alertTitle">
企业入驻性质
</view>
<view class="alertContent">
<view class="natureItem">
实有企业
</view>
<view class="natureItem">
实有企业
</view>
<view class="natureItem">
实有企业
</view>
<view class="natureItem">
实有企业
</view>
</view>
<view class="bottomBtnAlt">
<view class="bottomBtn">
确认
</view>
</view>
</view>
</view>
<simple-confirm :alertTxt="'是否确认发送'" v-if="showConfirmSend" @close="showConfirmSend = false"></simple-confirm>
<simple-confirm :alertTxt="'是否确认该企业入驻成功'" v-if="showCompanyReply" @close="showCompanyReply = false"></simple-confirm>
<textarea-alert v-if="showReason" @close="showReason = false"></textarea-alert>
</view>
</template>
<script>
import simpleConfirm from '@/components/simpleConfirm.vue'
import textareaAlert from '@/components/textareaAlert.vue'
export default{
data(){
return{
showConfirmSend: false,
showCompanyReply: false,
switchB: true,
showReason: false,
showNature: false
}
},
components:{
simpleConfirm,
textareaAlert
},
methods:{
SwitchB(e) {
this.switchB = e.detail.value
},
}
}
</script>
<style lang="scss">
page{
background-color: $uni-bg-color-hui;
}
/* 操作区域 */
.handleWrap{
padding: 0 32rpx;
background: $uni-bg-bai-color;
.handleItem{
height: 104rpx;
display: flex;
align-items: center;
justify-content: space-between;
border-bottom: 2rpx solid #ebedf0;
.itemLeft{
display: flex;
align-items: center;
font-size: $uni-font-size-28;
width: 202rpx;
font-weight: 600;
image{width: $uni-img-size-32;height: $uni-img-size-32;margin-right: 24rpx;}
}
.itemRight{
flex: 1;
display: flex;
align-items: center;
font-size: $uni-font-size-28;
image{width: $uni-img-size-32;height: $uni-img-size-32;margin-right: 10rpx;}
}
.infoNum{
width: 32rpx;
height: 32rpx;
background: #ff2f2f;
border-radius: 50%;
text-align: center;
line-height: 32rpx;
font-size: $uni-font-size-26;
color: $uni-text-color-bai;
}
image{width: $uni-img-size-32;height: $uni-img-size-32;}
}
}
.demandDesc{
background: $uni-bg-bai-color;
padding: 32rpx;
margin-top: 32rpx;
.descTitle{
font-size: $uni-font-size-28;
font-weight: 600;
}
.descContent{
margin-top: 32rpx;
border-radius: 20rpx;
background: $uni-bg-color-hui;
padding: 32rpx;
color: $uni-text-color-hui;
font-size: $uni-font-size-28;
line-height: $uni-font-lh-40;
}
}
.imgWrap{
background: $uni-bg-bai-color;
padding: 32rpx;
margin-top: 32rpx;
.imgTop{
border-bottom: 2rpx solid #f7f8fa;
padding-bottom: 32rpx;
.descTitle{
font-size: $uni-font-size-28;
font-weight: 600;
}
.descContent{
margin-top: 32rpx;
border-radius: 20rpx;
background: $uni-bg-color-hui;
padding: 32rpx;
color: $uni-text-color-hui;
font-size: $uni-font-size-28;
line-height: $uni-font-lh-40;
}
}
.imgBottom{
padding-top: 32rpx;
.descTitle{
font-size: $uni-font-size-28;
font-weight: 600;
}
.cardList{
display: flex;
justify-content: space-between;
}
}
}
/* 底部按钮区域 */
.bottomBtnWrap{
position: fixed;
bottom: 0;
width: 750rpx;
height: 120rpx;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 32rpx;
background: $uni-bg-color-hui;
.btnItem{
width: 332rpx;
height: 88rpx;
background: #72d0f9;
border-radius: 96rpx;
text-align: center;
color: $uni-text-color-bai;
line-height: 88rpx;
font-size: $uni-font-size-32;
}
.btnItem.active{
background: $uni-bg-main-color;
}
}
.companyNature{
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: $uni-bg-color-mask;
display: flex;
justify-content: center;
align-items: center;
z-index: 2;
.alert{
width: 638rpx;
background: #ffffff;
border-radius: 44rpx;
padding: 32rpx;
.closeBtn{
display: flex;
justify-content: flex-end;
image{width: $uni-img-size-40;height: $uni-img-size-40;}
}
.alertTitle{
font-size: $uni-font-size-40;
text-align: center;
height: 90rpx;
line-height: 90rpx;
font-weight: 600;
}
.alertContent{
font-size: $uni-font-size-26;
display: flex;
flex-wrap: wrap;
.natureItem{
margin-top: 32rpx;
padding: 6rpx 12rpx;
background: #f7f8fa;
margin-right: 15rpx;
border-radius: 20rpx;
}
}
.bottomBtnAlt{
padding-top: 38rpx;
display: flex;
justify-content: center;
.bottomBtn{
flex: 1;
height: 84rpx;
background: #2e7ff9;
border-radius: 68rpx;
font-size: $uni-font-size-32;
color: $uni-text-color-bai;
line-height: 84rpx;
text-align: center;
}
}
}
}
</style>
... ...
<template>
<view>
<!-- 搜索区域 -->
<view class="searchWrap">
<view class="searchBg">
<image src="../../../static/image/index/search@2x.png" mode=""></image>
搜索
</view>
</view>
<view class="u-m-p-50" style="background: #fff;">
<view class="u-demo-area u-flex u-row-left">
<u-dropdown :close-on-click-mask="mask" ref="uDropdown" :activeColor="activeColor" :borderBottom="borderBottom">
<u-dropdown-item @change="changeDrop" v-model="value1" title="企业类型" :options="options1"></u-dropdown-item>
<u-dropdown-item @change="changeDrop" v-model="value3" title="厂房状态" :options="options3"></u-dropdown-item>
<u-dropdown-item @change="changeDrop" v-model="value2" title="位置" :options="options2"></u-dropdown-item>
</u-dropdown>
</view>
</view>
<view class="productList">
<view class="productItem">
<view class="plantInfo">
<view class="productRight">
<image src="../../../static/image/del/ic_90@2x.png" mode=""></image>
</view>
<view class="productLeft">
<view class="productName">
华鑫产业园B座3层102号华鑫产业园B座3层102号
</view>
<view class="plantStatus active">
状态:已租
</view>
<view class="productDesc">
公司名称:朗鑫7智能科技有限公司朗鑫7智能科技有限公司
</view>
</view>
</view>
<view class="plantAddress">
区域位置:辽宁省辖市,别称滨城,是副省级城市、计划单是副省级城市、计划单
</view>
</view>
<view class="productItem">
<view class="plantInfo">
<view class="productRight">
<image src="../../../static/image/del/ic_90@2x.png" mode=""></image>
</view>
<view class="productLeft">
<view class="productName">
华鑫产业园B座3层102号华鑫产业园B座3层102号
</view>
<view class="plantStatus">
状态:未租
</view>
<view class="productDesc">
公司名称:朗鑫7智能科技有限公司朗鑫7智能科技有限公司
</view>
</view>
</view>
<view class="plantAddress">
区域位置:辽宁省辖市,别称滨城,是副省级城市、计划单是副省级城市、计划单
</view>
</view>
</view>
</view>
</template>
<script>
export default{
data(){
return{
// ================================================下拉选项 开始================================================
current: 0,
value1: '',
value2: '2',
value3: '',
mask: true,
options1: [{
label: '企业类型1',
value: 1,
},
{
label: '企业类型2',
value: 2,
},
{
label: '企业类型3',
value: 3,
}
],
options2: [{
label: '位置1',
value: 1,
},
{
label: '位置2',
value: 2,
},
{
label: '位置3',
value: 3,
}
],
options3: [{
label: '状态1',
value: 1,
},
{
label: '状态2',
value: 2,
},
{
label: '状态3',
value: 3,
}
],
borderBottom: false,
activeColor: '#2979ff',
// ================================================下拉选项 结束================================================
}
},
methods:{
changeDrop(index) {
this.$u.toast(`点击了第${index}项`);
},
}
}
</script>
<style lang="scss">
page{
background-color: $uni-bg-color-hui;
}
.searchWrap{
background: $uni-bg-bai-color;
height: 108rpx;
padding: 0 32rpx;
display: flex;
align-items: center;
border-bottom: 2rpx solid $uni-bg-color-hui;
.searchBg{
flex: 1;
height: 80rpx;
background: $uni-bg-color-hui;
display: flex;
align-items: center;
justify-content: center;
border-radius: 20rpx;
color: $uni-text-color-hui;
font-size: $uni-font-size-28;
image{width: $uni-img-size-32;height: $uni-img-size-32;margin-right: 10rpx;}
}
}
.productList{
margin-top:32rpx;
.productItem{
padding: 32rpx;
background: $uni-bg-bai-color;
border-bottom: 1rpx solid #ebedf0;
.plantInfo{
display: flex;
.productLeft{
flex: 1;
.productName{
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp:1;
-webkit-box-orient:vertical;
font-size: $uni-font-size-36;
}
.plantStatus{
color: #fa700c;
}
.plantStatus.active{
color: $uni-bg-main-color;
}
.productDesc{
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp:1;
-webkit-box-orient:vertical;
padding-top: 28rpx;
color: $uni-text-color-hui;
font-size: $uni-font-size-28;
}
}
.productRight{
width: 244rpx;
display: flex;
justify-content: flex-start;
image{width: 224rpx;height: 180rpx;border-radius: 20rpx;}
}
}
.plantAddress{
margin-top: 24rpx;
background: $uni-bg-color-hui;
padding: 0 14rpx;
line-height: 60rpx;
font-size: $uni-font-size-24;
color: $uni-text-color-hui;
border-radius: 8rpx;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp:1;
-webkit-box-orient:vertical;
}
}
}
</style>
... ...
<template>
<view>
<view class="productList">
<view class="productItem">
<view class="productRight">
<image src="../../../static/image/del/ic_90@2x.png" mode=""></image>
</view>
<view class="productLeft">
<view class="productName">
物品名称1
</view>
<view class="productDesc">
x1
</view>
</view>
</view>
</view>
<view class="checkList">
<view class="checkItem">
<view class="companyItem">
<view class="itemLeft">
科室
</view>
<view class="itemRight">
财务科
</view>
</view>
<view class="companyItem">
<view class="itemLeft">
职位
</view>
<view class="itemRight">
财务职员1
</view>
</view>
<view class="companyItem">
<view class="itemLeft">
申请人姓名
</view>
<view class="itemRight">
岳岳
</view>
</view>
<!-- 条件判断控制显示申请时间、开始时间结束时间 -->
<view class="companyItem">
<view class="itemLeft">
申请时间
</view>
<view class="itemRight">
2020-10-31
</view>
</view>
<!-- <view class="companyItem">
<view class="itemLeft">
开始时间
</view>
<view class="itemRight">
2020-10-31
</view>
</view>
<view class="companyItem">
<view class="itemLeft">
结束时间
</view>
<view class="itemRight">
2020-10-31
</view>
</view> -->
</view>
</view>
<view class="checkList">
<view class="checkItem">
<view class="companyItem" style="font-weight: 600;">
申请原因
</view>
<view class="demandDesc">
审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核审核容内容审核内容审核内容审核内容审核内容审核审核容
</view>
</view>
</view>
<!-- 底部按钮区域 -->
<view style="height: 120rpx;"></view>
<view class="bottomBtnWrap">
<view class="btnItem">
审核失败
</view>
<view class="btnItem active">
审核通过
</view>
</view>
<textarea-alert v-if="showReason" @close="showReason = false"></textarea-alert>
</view>
</template>
<script>
import textareaAlert from '@/components/textareaAlert.vue'
export default{
data(){
return{
showReason:true
}
},
components:{
textareaAlert
}
}
</script>
<style lang="scss">
page{
background-color: $uni-bg-color-hui;
}
.productList{
padding: 32rpx;
border-bottom: 2rpx solid #ebedf0;
background: $uni-bg-bai-color;
.productItem{
padding: 32rpx;
display: flex;
background: $uni-bg-color-hui;
border-radius: 8rpx;
.productLeft{
flex: 1;
.productName{
padding-top: 26rpx;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp:1;
-webkit-box-orient:vertical;
font-size: $uni-font-size-36;
}
.productDesc{
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp:2;
-webkit-box-orient:vertical;
padding-top: 26rpx;
text-align: right;
color: $uni-text-color-hui;
font-size: $uni-font-size-28;
}
}
.productRight{
width: 232rpx;
display: flex;
justify-content: flex-start;
image{width: 212rpx;height: 148rpx;border-radius: 20rpx;}
}
}
}
.checkList{
padding: 32rpx;
background: $uni-bg-bai-color;
border-bottom: 2rpx solid #ebedf0;
.checkItem{
border-radius: 20rpx;
background: $uni-bg-bai-color;
.companyItem{
height: 70rpx;
font-size: $uni-font-size-30;
text{font-weight: 600;}
display: flex;
justify-content: space-between;
align-items: center;
.itemRight{
flex: 1;
height: 40rpx;
border-radius: 20rpx;
color: $uni-text-color-hui;
line-height: $uni-font-lh-40;
}
.itemLeft{
font-weight: 600;
width: 200rpx;
}
}
.demandDesc{
font-size: $uni-font-size-30;
padding-left: 60rpx;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp:3;
-webkit-box-orient:vertical;
}
}
}
/* 底部按钮区域 */
.bottomBtnWrap{
position: fixed;
bottom: 0;
width: 750rpx;
height: 120rpx;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 32rpx;
background: $uni-bg-color-hui;
.btnItem{
width: 332rpx;
height: 88rpx;
background: #72d0f9;
border-radius: 96rpx;
text-align: center;
color: $uni-text-color-bai;
line-height: 88rpx;
font-size: $uni-font-size-32;
}
.btnItem.active{
background: $uni-bg-main-color;
}
}
</style>
... ...
... ... @@ -71,9 +71,16 @@
</view>
</view>
</view>
</view>
<u-tabbar
v-model="tabBarCurrent"
:show="show"
:bg-color="bgColor"
:border-top="borderTop"
:list="tabBarList"
:mid-button="midButton"
:inactive-color="inactiveColor"
:activeColor="activeColor"
></u-tabbar>
</view>
</template>
... ... @@ -82,6 +89,35 @@
export default {
data() {
return {
//底部导航栏区域 开始
tabBarCurrent: 0,
show: true,
bgColor: '#ffffff',
borderTop: true,
tabBarList: [{
iconPath: "/static/image/ic_8@2x.png",
selectedIconPath: "/static/image/ic_8_select@2x.png",
text: '首页',
customIcon: false,
},
{
iconPath: "/static/image/ic_9@2x.png",
selectedIconPath: "/static/image/ic_9_select@2x.png",
text: '需求',
customIcon: false,
},
{
iconPath: "/static/image/ic_10@2x.png",
selectedIconPath: "/static/image/ic_10_select@2x.png",
text: '我的',
customIcon: false,
},
],
midButton: false,
inactiveColor: '#909399',
activeColor: '#5098FF',
//底部导航栏区域 结束
list: [{
image: 'https://cdn.uviewui.com/uview/swiper/1.jpg',
title: '昨夜星辰昨夜风,画楼西畔桂堂东'
... ...
... ... @@ -241,7 +241,6 @@
text-align: center;
}
}
}
}
}
</style>
... ...
... ... @@ -68,10 +68,57 @@
退出登录
</view>
</view>
<u-tabbar
v-model="tabBarCurrent"
:show="show"
:bg-color="bgColor"
:border-top="borderTop"
:list="tabBarList"
:mid-button="midButton"
:inactive-color="inactiveColor"
:activeColor="activeColor"
></u-tabbar>
</view>
</template>
<script>
export default{
data(){
return{
//底部导航栏区域 开始
tabBarCurrent: 0,
show: true,
bgColor: '#ffffff',
borderTop: true,
tabBarList: [{
pagePath: "pages/index/index",
iconPath: "/static/image/ic_8@2x.png",
selectedIconPath: "/static/image/ic_8_select@2x.png",
text: '首页',
customIcon: false,
},
{
pagePath: "pages/demand/publish",
iconPath: "/static/image/ic_9@2x.png",
selectedIconPath: "/static/image/ic_9_select@2x.png",
text: '需求',
customIcon: false,
},
{
pagePath: "pages/my/my",
iconPath: "/static/image/ic_10@2x.png",
selectedIconPath: "/static/image/ic_10_select@2x.png",
text: '我的',
customIcon: false,
},
],
midButton: false,
inactiveColor: '#909399',
activeColor: '#5098FF',
//底部导航栏区域 结束
}
}
}
</script>
<style lang="scss" scoped>
... ...
... ... @@ -73,6 +73,10 @@
租赁时间:2018-12-10——2020-12-10
</view>
</view>
<!-- 条件判断是否暂无数据 -->
<!-- <view class="noData" v-if="current == 0">
暂无数据
</view> -->
<view class="plantGoods" v-if="current == 1">
<view class="goodsListTh">
<text>物品名称</text>
... ... @@ -263,6 +267,13 @@
// 厂房其他信息区域
.otherInfoWrap{
margin-top: 30rpx;
.noData{
height: 200rpx;
line-height: 200rpx;
color: $uni-text-color-hui;
font-size: $uni-font-size-30;
text-align: center;
}
.infoWrap{
background: $uni-bg-bai-color;
padding: 0 56rpx;
... ...
... ... @@ -18,7 +18,7 @@
</view>
</view>
</view>
<view class="checkAllBtn">
<view class="checkAllBtn" v-if="showCheckBtn">
<view class="btnTxt">
全选
</view>
... ... @@ -59,6 +59,10 @@
export default {
name: 'u-dropdown',
props: {
showCheckBtn: {
type:Boolean,
default:false
},
// 菜单标题和选项的激活态颜色
activeColor: {
type: String,
... ...