作者 xuqiang

提交

<template>
<view class="simpleConfirmWrap">
<view class="simpleAlert">
<view class="alertInfo">
{{alertTxt}}
</view>
<view class="btn" @click="$emit('close')">
<view class="btnItem">
取消
</view>
<view class="btnItem active" @click="$emit('close')">
确认
</view>
</view>
</view>
</view>
</template>
<script>
export default{
data(){
return{
}
},
props:{
alertTxt:{
type:String
}
}
}
</script>
<style lang="scss" scoped>
.simpleConfirmWrap{
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 20;
background: $uni-bg-color-mask;
display: flex;
justify-content: center;
align-items: center;
.simpleAlert{
width: 622rpx;
background: $uni-bg-bai-color;
border-radius: 32rpx;
font-size: $uni-font-size-32;
.alertInfo{
padding: 48rpx;
text-align: center;
border-bottom: 1rpx solid #ebedf0;
}
.btn{
height: 96rpx;
display: flex;
.btnItem{
flex: 1;
font-size: $uni-font-size-32;
text-align: center;
line-height: 96rpx;
}
.btnItem.active{
color: $uni-bg-main-color;
border-left: 1rpx solid #ebedf0;
}
}
}
}
</style>
... ...
... ... @@ -4,6 +4,56 @@
},
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"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/plantDetail",
"style": {
"navigationBarTitleText": "厂房详情",
"navigationBarBackgroundColor":"#2e7ff9",
"navigationBarTextStyle":"white"
}
},
{
"path": "pages/my/plantManage",
"style": {
"navigationBarTitleText": "厂房管理",
"navigationBarBackgroundColor":"#2e7ff9",
"navigationBarTextStyle":"white"
}
},
{
"path": "pages/my/msgDetail",
"style": {
"navigationBarTitleText": "消息详情"
}
},
{
"path": "pages/my/electContract",
"style": {
"navigationBarTitleText": "电子合同",
... ...
<template>
<view class="u-content">
<u-parse :html="detail.content"></u-parse>
</view>
</template>
<script>
export default {
data() {
return {
detail: {
content: `
<div class="content_area" id="content_area" style="display: block;">
创建云服务器 在InServer管理控制台,在右边区域点击“创建主机”,这时会出现创建主机向导: *选择镜像、机型、机型相关资源配置,以及付费方式和购买数量,点击“下一步”; *选择云服务器的网络配置,基础网络或者私有网络,是否需要外网IP和带宽以及防火墙策略(这一部分也可以稍后再行配置),点击“下一步”; *确认云服务器的业务组,设置主机名称和管理员密码,此时,可以对付费方式和购买数量进行再次确认,点击“确认”; *此后会出现支付确认页,对您的购买资源和帐号余额进行最后确认,点击“确认支付”; *回到云服务器的资源列表页,您可以看到该台云服务器在“初始化”中,通常在分钟级别内,您的云服务器就能创建完成。 云服务器管理 对于您的每一台云服务器,都可以进行常规的开机、关机、重启、删除等基本操作。这些操作都支持批量处理。 信息修改 云服务器主机名和备注信息都可以进行编辑修改。 业务组 您可以对云服务器进行分组,使得某些操作以业务组为单位进行,省去了批量操作的繁琐,便于集中管理。 在云服务器信息列表的业务组名称这一栏,您可以对云服务器设置分组,组名相同的云服务器即被分在一个组。如查看监控数据时,就可以以组为单位进行筛选;建立规则或者修改规则时,规则的对象也可以是组。 制作镜像 选中要制作镜像的云服务器,然后点击制作镜像按钮。填写镜像名称和描述,点击确定即可创建镜像。 输入镜像名称和描述之后,点击确定按钮,即可生成该云服务器的镜像,此时页面即跳转到镜像管理页面。 重装系统 选中要重装系统的云服务器,确定该云服务器为“关机”状态,然后点击重装系统按钮。 填写要更改的系统镜像名称和管理员密码描述,点击确定即可创建重装系统。 输入系统镜像名称和管理员密码之后,点击确定按钮,即可生成新的云服务器系统,此时页面即跳转到云服务器管理页面。 重置云服务器密码 如果你遗失了云服务器管理密码,可以通过进行重置,点击云服务器后,在右侧的详细面板中,选择“重置密码”按钮。 防火墙管理 浪潮云服务为云服务器提供防火墙功能,类似与IPsec/IPtables的功能,为云服务器提供访问控制功能。 详细信息请查看网络部分: 防火墙管理 登录(WEB VNC方式) InServer支持使用Web VNC终端来登录云服务器画面,适合临时性操作。 首先,当您打开InServer管理界面后,选中您需要登录的云服务器,然后点击<登录>按钮,这时若您的浏览器没有开启”允许弹出窗口”,则会接收到浏览器的提醒。 ../_images/click_login.png 这时,您需要设置您的浏览器,允许弹出窗后。之后就会在新的窗口打开一个仿真的终端界面,如图所示。 ../_images/common_1_3.jpg 此时,您只需要输入用户名密码就可以登录您的InServer。若您在打开终端界面时屏幕无任何显示,则是由于console端口的界面进入休眠的原因。您只需要按任意键,即可唤醒您的终端。 此外,网页终端方式由于协议限制,不接受直接来自于您键盘的组合快捷键。您可以在终端窗口左上角的位置选择快捷键按钮进行操作。若您的业务有更多对于快捷键的需求,请将您的需求发给浪潮云服务的技术支持,我们将会以最快的速度满足您的要求。 ../_images/common_1_4.jpg 为了使用户获得更优质的体验,浪潮云服务控制台不再支持IE9及以下版本的浏览器,若您想要获得更优质的体验,请使用其他版本的浏览器。 注意:使用WEB VNC终端登录完成操作后,请注意在操作系统内退出登录。一般操作系统内都有默认退出登录时间,超过时间后也会退出登录。
</div>
`
}
}
},
onLoad() {
},
methods: {
}
}
</script>
<style lang="scss" scoped>
.u-content {
padding: 24rpx;
font-size: 32rpx;
color: $u-content-color;
line-height: 1.6;
}
</style>
... ...
<template>
<view>
<view class="wrap">
<view class="u-tabs-box">
<u-tabs-swiper activeColor="#2e7ff9" ref="tabs" :barWidth="100" :list="list" :current="current" @change="change" :is-scroll="false" swiperWidth="750"></u-tabs-swiper>
</view>
<view class="u-m-p-50" style="background: #fff;position: relative;" v-if="current == 0">
<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="value2" title="位置" :options="options2"></u-dropdown-item>
</u-dropdown>
</view>
</view>
<swiper class="swiper-box" :current="swiperCurrent" @transition="transition" @animationfinish="animationfinish">
<swiper-item class="swiper-item">
<scroll-view scroll-y style="height: 100%;width: 100%;" @scrolltolower="reachBottom">
<view class="page-box">
<view class="order" v-for="(res, index) in orderList[0]" :key="res.id">
<view class="companyList">
<view class="itemLeft">
<!-- 条件判断显示选择图标 -->
<!-- <image style="width: 24rpx;height: 24rpx;margin-right: 20rpx;" src="../../../static/image/index/ic_62@2x.png" mode=""></image> -->
<image style="width: 24rpx;height: 24rpx;margin-right: 20rpx;" src="../../../static/image/index/ic_61@2x.png" mode=""></image>
<image style="width: 70rpx;height: 70rpx;border-radius: 50%;margin-right: 20rpx;" src="../../../static/image/del/ic_90@2x.png" mode=""></image>
<text>企业名称企业名称</text>
</view>
</view>
</view>
<u-loadmore :status="loadStatus[0]" bgColor="#f2f2f2"></u-loadmore>
</view>
</scroll-view>
</swiper-item>
<swiper-item class="swiper-item">
<scroll-view scroll-y style="height: 100%;width: 100%;" @scrolltolower="reachBottom">
<view class="page-box">
<view class="order" v-for="(res, index) in orderList[0]" :key="res.id">
<view class="companyItem">
<view class="companyList">
<view class="itemLeft">
<!-- 条件判断显示选择图标 -->
<!-- <image style="width: 24rpx;height: 24rpx;margin-right: 20rpx;" src="../../../static/image/index/ic_62@2x.png" mode=""></image> -->
<image style="width: 24rpx;height: 24rpx;margin-right: 20rpx;" src="../../../static/image/index/ic_61@2x.png" mode=""></image>
<image style="width: 70rpx;height: 70rpx;border-radius: 50%;margin-right: 20rpx;" src="../../../static/image/del/ic_90@2x.png" mode=""></image>
<text>企业名称企业名称</text>
</view>
<image src="../../../static/image/down.png" mode=""></image>
</view>
<view class="employList">
<view class="itemLeft">
<!-- 条件判断显示选择图标 -->
<!-- <image style="width: 24rpx;height: 24rpx;margin-right: 20rpx;" src="../../../static/image/index/ic_62@2x.png" mode=""></image> -->
<image style="width: 24rpx;height: 24rpx;margin-right: 20rpx;" src="../../../static/image/index/ic_61@2x.png" mode=""></image>
<image style="width: 70rpx;height: 70rpx;border-radius: 50%;margin-right: 20rpx;" src="../../../static/image/del/ic_90@2x.png" mode=""></image>
<text style="margin-right: 20rpx;">人员名称</text>
<text>职位:销售总经理</text>
</view>
<view class="itemLeft">
<!-- 条件判断显示选择图标 -->
<!-- <image style="width: 24rpx;height: 24rpx;margin-right: 20rpx;" src="../../../static/image/index/ic_62@2x.png" mode=""></image> -->
<image style="width: 24rpx;height: 24rpx;margin-right: 20rpx;" src="../../../static/image/index/ic_61@2x.png" mode=""></image>
<image style="width: 70rpx;height: 70rpx;border-radius: 50%;margin-right: 20rpx;" src="../../../static/image/del/ic_90@2x.png" mode=""></image>
<text style="margin-right: 20rpx;">人员名称</text>
<text>职位:销售总经理</text>
</view>
</view>
</view>
</view>
<u-loadmore :status="loadStatus[1]" bgColor="#f2f2f2"></u-loadmore>
</view>
</scroll-view>
</swiper-item>
</swiper>
</view>
<simple-confirm :alertTxt="'是否确认发送'" v-if="showConfirmAlert" @close="showConfirmAlert = false"></simple-confirm>
<view style="height: 120rpx;"></view>
<!-- 底部按钮区域 -->
<view class="loginBtnWrap">
<view class="loginBtn">
发送
</view>
</view>
</view>
</template>
<script>
import simpleConfirm from '@/components/simpleConfirm.vue'
export default {
data() {
return {
showConfirmAlert:true,
itemList: [{
head: "赏识在于角度的转换",
body: "只要我们正确择取一个合适的参照物乃至稍降一格去看待他人,值得赏识的东西便会扑面而来:闪光的道德、妙异的智慧、优美的人情…… 赏识不是单向的施舍,是智慧与智慧的主动碰撞",
show: false,
}, {
head: "生活中不是缺少美,而是缺少发现美的眼睛",
body: "学会欣赏,实际是一种积极生活的态度,是生活的调味品,会在欣赏中发现生活的美",
show: false,
}, {
head: "周围一些不起眼的人、事、物,或许都隐藏着不同凡响的智慧",
body: "但是据说雕刻大卫像所用的这块大理石,曾被多位雕刻家批评得一无是处,有些人认为这块大理石采凿得不好,有些人嫌它的纹路不够美,用它绝对雕不出好的艺术品,总之它被批评为一块不受人赏识的普通石头",
show: false,
}, {
head: "点燃心中的火焰,找回了自信和人生的价值",
body: "他随手翻了几页,竟被一篇题名为《童年》的小说所吸引,作者是一个初出茅庐的无名小辈,但屠格涅夫却十分欣赏,钟爱有加",
show: false,
}, {
head: "因为赏识,那块被人不耻的石头变成了雕塑",
body: "这个材料反应的就是赏识的问题,赏识是一种理解和信任,包含了肯定与欣赏,也是一种激励和引导,可以使人悔过自新,扬长避短,更健康地成长和进步",
show: false,
}],
accordion: true,
arrow: true,
hoverClass: 'hover2',
itemStyle: {},
key: true,
// ================================================下拉选项 开始================================================
value1: '',
value2: '2',
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,
}
],
borderBottom: false,
activeColor: '#2979ff',
// ================================================下拉选项 结束================================================
orderList: [[], [], [], []],
dataList: [
{
id: 1,
store: '夏日流星限定贩卖',
deal: '交易成功',
goodsList: [
{
goodsUrl: '//img13.360buyimg.com/n7/jfs/t1/103005/7/17719/314825/5e8c19faEb7eed50d/5b81ae4b2f7f3bb7.jpg',
title: '【冬日限定】现货 原创jk制服女2020冬装新款小清新宽松软糯毛衣外套女开衫短款百搭日系甜美风',
type: '灰色;M',
deliveryTime: '付款后30天内发货',
price: '348.58',
number: 2
},
{
goodsUrl: '//img12.360buyimg.com/n7/jfs/t1/102191/19/9072/330688/5e0af7cfE17698872/c91c00d713bf729a.jpg',
title: '【葡萄藤】现货 小清新学院风制服格裙百褶裙女短款百搭日系甜美风原创jk制服女2020新款',
type: '45cm;S',
deliveryTime: '付款后30天内发货',
price: '135.00',
number: 1
}
]
},
{
id: 2,
store: '江南皮革厂',
deal: '交易失败',
goodsList: [
{
goodsUrl: '//img14.360buyimg.com/n7/jfs/t1/60319/15/6105/406802/5d43f68aE9f00db8c/0affb7ac46c345e2.jpg',
title: '【冬日限定】现货 原创jk制服女2020冬装新款小清新宽松软糯毛衣外套女开衫短款百搭日系甜美风',
type: '粉色;M',
deliveryTime: '付款后7天内发货',
price: '128.05',
number: 1
}
]
},
{
id: 3,
store: '三星旗舰店',
deal: '交易失败',
goodsList: [
{
goodsUrl: '//img11.360buyimg.com/n7/jfs/t1/94448/29/2734/524808/5dd4cc16E990dfb6b/59c256f85a8c3757.jpg',
title: '三星(SAMSUNG)京品家电 UA65RUF70AJXXZ 65英寸4K超高清 HDR 京东微联 智能语音 教育资源液晶电视机',
type: '4K,广色域',
deliveryTime: '保质5年',
price: '1998',
number: 3
},
{
goodsUrl: '//img14.360buyimg.com/n7/jfs/t6007/205/4099529191/294869/ae4e6d4f/595dcf19Ndce3227d.jpg!q90.jpg',
title: '美的(Midea)639升 对开门冰箱 19分钟急速净味 一级能效冷藏双开门杀菌智能家用双变频节能 BCD-639WKPZM(E)',
type: '容量大,速冻',
deliveryTime: '保质5年',
price: '2354',
number: 1
}
]
},
{
id: 4,
store: '三星旗舰店',
deal: '交易失败',
goodsList: [
{
goodsUrl: '//img10.360buyimg.com/n7/jfs/t22300/31/1505958241/171936/9e201a89/5b2b12ffNe6dbb594.jpg!q90.jpg',
title: '法国进口红酒 拉菲(LAFITE)传奇波尔多干红葡萄酒750ml*6整箱装',
type: '4K,广色域',
deliveryTime: '珍藏10年好酒',
price: '1543',
number: 3
},
{
goodsUrl: '//img10.360buyimg.com/n7/jfs/t1/107598/17/3766/525060/5e143aacE9a94d43c/03573ae60b8bf0ee.jpg',
title: '蓝妹(BLUE GIRL)酷爽啤酒 清啤 原装进口啤酒 罐装 500ml*9听 整箱装',
type: '一打',
deliveryTime: '口感好',
price: '120',
number: 1
}
]
},
{
id: 5,
store: '三星旗舰店',
deal: '交易成功',
goodsList: [
{
goodsUrl: '//img12.360buyimg.com/n7/jfs/t1/52408/35/3554/78293/5d12e9cfEfd118ba1/ba5995e62cbd747f.jpg!q90.jpg',
title: '企业微信 中控人脸指纹识别考勤机刷脸机 无线签到异地多店打卡机WX108',
type: '识别效率高',
deliveryTime: '使用方便',
price: '451',
number: 9
}
]
}
],
list: [
{
name: '企业'
},
{
name: '员工'
}
],
current: 0,
swiperCurrent: 0,
tabsHeight: 0,
dx: 0,
loadStatus: ['loadmore','loadmore','loadmore','loadmore'],
};
},
components:{
simpleConfirm
},
onLoad() {
this.getOrderList(0);
this.getOrderList(1);
this.getOrderList(3);
},
computed: {
// 价格小数
priceDecimal() {
return val => {
if (val !== parseInt(val)) return val.slice(-2);
else return '00';
};
},
// 价格整数
priceInt() {
return val => {
if (val !== parseInt(val)) return val.split('.')[0];
else return val;
};
}
},
methods: {
changeCollapse(index) {
let str = '';
if(Array.isArray(index)) {
let arr = index.map(val => {
return Number(val) + 1;
})
index = arr.join(',');
} else {
index = Number(index) + 1;
}
this.$refs.uToast.show({
title: `点击了第${index}个`,
type: 'warning'
})
},
changeDrop(index) {
this.$u.toast(`点击了第${index}项`);
},
reachBottom() {
// 此tab为空数据
if(this.current != 2) {
this.loadStatus.splice(this.current,1,"loading")
setTimeout(() => {
this.getOrderList(this.current);
}, 1200);
}
},
// 页面数据
getOrderList(idx) {
for(let i = 0; i < 5; i++) {
let index = this.$u.random(0, this.dataList.length - 1);
let data = JSON.parse(JSON.stringify(this.dataList[index]));
data.id = this.$u.guid();
this.orderList[idx].push(data);
}
this.loadStatus.splice(this.current,1,"loadmore")
},
// 总价
totalPrice(item) {
let price = 0;
item.map(val => {
price += parseFloat(val.price);
});
return price.toFixed(2);
},
// 总件数
totalNum(item) {
let num = 0;
item.map(val => {
num += val.number;
});
return num;
},
// tab栏切换
change(index) {
this.swiperCurrent = index;
this.getOrderList(index);
},
transition({ detail: { dx } }) {
this.$refs.tabs.setDx(dx);
},
animationfinish({ detail: { current } }) {
this.$refs.tabs.setFinishCurrent(current);
this.swiperCurrent = current;
this.current = current;
}
}
};
</script>
<style>
/* #ifndef H5 */
page {
height: 100%;
background-color: #f2f2f2;
}
/* #endif */
</style>
<style lang="scss" scoped>
.order {
width: 710rpx;
background-color: #ffffff;
margin: 20rpx auto;
border-radius: 20rpx;
box-sizing: border-box;
padding: 20rpx;
font-size: 28rpx;
.companyItem{
background: #ffffff;
border-radius: 20rpx;
.companyList{
display: flex;
align-items: center;
justify-content: space-between;
height: 136rpx;
.itemLeft{
display: flex;
align-items: center;
}
image{width: 32rpx;height: 32rpx;}
}
}
.companyList{
display: flex;
align-items: center;
justify-content: space-between;
height: 136rpx;
.itemLeft{
display: flex;
align-items: center;
}
image{width: 32rpx;height: 32rpx;}
}
.employList{
padding-left: 60rpx;
.itemLeft{
display: flex;
align-items: center;
height: 80rpx;
}
image{width: 32rpx;height: 32rpx;}
}
}
.centre {
text-align: center;
margin: 200rpx auto;
font-size: 32rpx;
image {
width: 164rpx;
height: 164rpx;
border-radius: 50%;
margin-bottom: 20rpx;
}
.tips {
font-size: 24rpx;
color: #999999;
margin-top: 20rpx;
}
.btn {
margin: 80rpx auto;
width: 200rpx;
border-radius: 32rpx;
line-height: 64rpx;
color: #ffffff;
font-size: 26rpx;
background: linear-gradient(270deg, rgba(249, 116, 90, 1) 0%, rgba(255, 158, 1, 1) 100%);
}
}
.wrap {
display: flex;
flex-direction: column;
height: calc(100vh - var(--window-top) - 120rpx);
width: 100%;
}
.swiper-box {
flex: 1;
}
.swiper-item {
height: 100%;
}
/* 底部按钮区域 */
.loginBtnWrap{
position: fixed;
bottom: 0;
width: 750rpx;
height: 120rpx;
display: flex;
align-items: center;
background: $uni-bg-color-hui;
justify-content: center;
.loginBtn{
width: 686rpx;
height: 88rpx;
background: $uni-bg-main-color;
border-radius: 96rpx;
text-align: center;
color: $uni-text-color-bai;
line-height: 88rpx;
font-size: $uni-font-size-32;
}
}
</style>
... ...
<template>
<view>
<form>
<view style="padding: 0 32rpx 32rpx 32rpx;background: #fff;">
<view class="cu-form-group">
<view class="title">信息标题</view>
<input placeholder="请输入信息标题" name="input"></input>
</view>
<!-- !!!!! placeholder 在ios表现有偏移 建议使用 第一种样式 -->
<view class="cu-form-group">
<view class="title">内容</view>
</view>
<view class="cu-form-group" style="border-top: none;background: #f7f8fa;border-radius: 20rpx;padding: 0 32rpx;">
<textarea maxlength="1000" v-model="textareaAValue" @input="textareaAInput" placeholder="请输入内容..."></textarea>
</view>
<view class="cu-form-group" style="border-top: none;">
<view class="title">上传格式</view>
</view>
<view class="uploadTypeList">
<view class="uploadTypeItem" style="padding: 0 24rpx 0 32rpx;">
<text>填报信息</text>
<image style="width: 36rpx;height: 36rpx;" src="../../../static/image/index/ic_58@2x.png" mode=""></image>
</view>
<view class="uploadTypeItem" style="padding: 0 32rpx;">
<text>第一季度税务报表</text>
<image style="width: 24rpx;height: 24rpx;" src="../../../static/image/index/ic_59@2x.png" mode=""></image>
</view>
<view class="uploadTypeItem" style="padding: 0 32rpx;">
<text>第一季度总用水量报表</text>
<image style="width: 24rpx;height: 24rpx;" src="../../../static/image/index/ic_59@2x.png" mode=""></image>
</view>
</view>
</view>
<view class="cu-bar margin-top" style="display: flex;justify-content: center;">
<view style="background: #2e7ff9;border-radius: 80rpx;height: 80rpx;width: 686rpx;color: #fff;text-align: center;line-height: 80rpx;">
推送
</view>
</view>
</form>
</view>
</template>
<script>
export default {
data() {
return {
index: -1,
multiIndex: [0, 0, 0],
modalName: null,
textareaAValue: '',
textareaBValue: ''
};
},
methods: {
textareaAInput(e) {
this.textareaAValue = e.detail.value
},
textareaBInput(e) {
this.textareaBValue = e.detail.value
}
}
}
</script>
<style lang="scss">
page{
background-color: $uni-bg-color-hui;
}
.cu-form-group .title {
min-width: calc(4em + 30px);
}
.uploadTypeList{
border: 1rpx solid #ebedf0;
border-radius: 21rpx;
padding: 32rpx;
background: $uni-bg-bai-color;
.uploadTypeItem{
display: flex;
justify-content: space-between;
align-items: center;
height: 84rpx;
background: #f7f8fa;
border-radius: 12rpx;
margin-top: 32rpx;
}
.uploadTypeItem:nth-of-type(1){margin-top: 0;}
}
</style>
... ...
<template>
<view>
<!-- 轮播图区域 -->
<view class="swiperBgWrap">
<u-swiper @change="change" :height="326" :list="list" :title="title" :effect3d="effect3d"
:indicator-pos="indicatorPos" :mode="mode" :interval="3000" @click="click"></u-swiper>
</view>
<view class="handleWrap">
<view class="handle">
<view class="handleItem">
<view class="handleImg">
<image src="../../static/image/index/ic_47@2x.png" mode=""></image>
</view>
<view class="handleTxt">厂房管理</view>
</view>
<view class="handleItem">
<view class="handleImg">
<image src="../../static/image/index/ic_48@2x.png" mode=""></image>
</view>
<view class="handleTxt">厂房管理</view>
</view>
<view class="handleItem">
<view class="handleImg">
<image src="../../static/image/index/ic_49@2x.png" mode=""></image>
</view>
<view class="handleTxt">厂房管理</view>
</view>
</view>
</view>
<!-- 主要产品区域 -->
<view class="unitCaseWrap">
<view class="imgTxtTitle">
<view class="titleLeft">
<image src="../../static/image/index/ic_50@2x.png" style="width:32rpx;height:32rpx;" mode=""></image>
企业审核
</view>
<view class="titleRight">
更多
<image src="../../static/image/ic_7@2x.png" mode=""></image>
</view>
</view>
<view class="checkList">
<view class="checkItem">
<view class="companyItem">
<text>企业类型:</text>金融服务
</view>
<view class="companyItem">
<text>企业名称:</text>环球金融公司
</view>
<view class="companyItem">
<text>需求说明:</text>
</view>
<view class="demandDesc">
审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核审核容内容审核内容审核内容审核内容审核内容审核审核容
</view>
<view class="createTime">
2020.12.23
</view>
</view>
<view class="checkItem" style="border-bottom: none;">
<view class="companyItem">
<text>企业类型:</text>金融服务
</view>
<view class="companyItem">
<text>企业名称:</text>环球金融公司
</view>
<view class="companyItem">
<text>需求说明:</text>
</view>
<view class="demandDesc">
审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核审核容内容审核内容审核内容审核内容审核内容审核审核容
</view>
<view class="createTime">
2020.12.23
</view>
</view>
</view>
</view>
<!-- 单位简介区域 -->
<view class="unitDescWrap">
<img-txt-title :imgSize="32" :imgUrl="'../../static/image/index/ic_52@2x.png'" :txtInfo="'库存管理'"></img-txt-title>
<view class="inventoryManage">
<view class="wrap">
<view class="u-tabs-box">
<u-tabs-swiper activeColor="#2e7ff9" ref="tabs" :barWidth="50" :list="tabList" :current="current" @change="changeTab" :is-scroll="false" swiperWidth="750"></u-tabs-swiper>
</view>
<view class="plantGoods">
<view class="typeList" :class="{bootomLine:!showMoreType}">
<text>种类名称</text>
<text>种类名称</text>
<text>种类名称</text>
<text>种类名称</text>
<image @click="showMoreType = !showMoreType" src="../../static/image/index/ic_53@2x.png" mode=""></image>
<view class="moreType" v-if="showMoreType">
<view class="typeItem">
种类名称
</view>
<view class="typeItem">
种类名称
</view>
<view class="typeItem">
种类名称
</view>
<view class="typeItem">
种类名称
</view>
<view class="typeItem">
种类名称
</view>
</view>
</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">
数量:10
</view>
</view>
<view class="applyBtn">
申请
</view>
</view>
<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">
数量:10
</view>
</view>
<view class="applyBtn">
申请
</view>
</view>
<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">
数量:10
</view>
</view>
<view class="applyBtn">
申请
</view>
</view>
</view>
</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 class="typeListBg" v-if="showMoreType"></view>
</view>
</template>
<script>
import imgTxtTitle from '@/components/imgTxtTitle.vue'
export default {
data() {
return {
showMoreType:false,
// =============================底部导航栏区域===========================
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_56@2x.png",
selectedIconPath: "/static/image/ic_56@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',
// =============================底部导航栏区域===========================
tabList: [
{
name: '易耗资品'
},
{
name: '固定资产'
}
],
current: 0,
swiperCurrent: 0,
tabsHeight: 0,
dx: 0,
list: [{
image: 'https://cdn.uviewui.com/uview/swiper/1.jpg',
title: '昨夜星辰昨夜风,画楼西畔桂堂东'
},
{
image: 'https://cdn.uviewui.com/uview/swiper/2.jpg',
title: '身无彩凤双飞翼,心有灵犀一点通'
},
{
image: 'https://cdn.uviewui.com/uview/swiper/3.jpg',
title: '谁念西风独自凉,萧萧黄叶闭疏窗,沉思往事立残阳'
}
],
title: false,
mode: 'round',
indicatorPos: 'bottomCenter',
effect3d: false,
}
},
components:{
imgTxtTitle
},
onLoad() {
},
methods: {
change(index) {
// console.log(index);
},
// tab栏切换
changeTab(index) {
this.current = index;
},
transition({ detail: { dx } }) {
this.$refs.tabs.setDx(dx);
},
animationfinish({ detail: { current } }) {
this.$refs.tabs.setFinishCurrent(current);
this.swiperCurrent = current;
this.current = current;
}
}
}
</script>
<style lang="scss" scoped>
// 轮播图背景区域
.swiperBgWrap{
height: 352rpx;
background: linear-gradient(180deg,$uni-bg-main-color, $uni-bg-bai-color, $uni-bg-bai-color);
padding: 20rpx 32rpx 0 32rpx;
}
.handleWrap{
padding: 0 32rpx;
.handle{
display: flex;
justify-content: space-between;
padding: 40rpx 0;
background: #ffffff;
border-radius: 20rpx;
box-shadow: 0rpx 4rpx 24rpx 0rpx rgba(100,100,100,0.05);
.handleItem{
flex: 1;
.handleImg{
display: flex;
justify-content: center;
image{width: 88rpx;height: 88rpx;}
}
.handleTxt{
margin-top: 8rpx;
text-align: center;
}
}
}
}
// 单位简介区域
.unitDescWrap{
margin: 20rpx 32rpx 0 32rpx;
background: #ffffff;
border-radius: 20rpx;
box-shadow: 0rpx 2rpx 16rpx 0rpx rgba(97,97,97,0.05);
.inventoryManage{
margin-top: 30rpx;
// 厂房物品
.plantGoods{
background: $uni-bg-bai-color;
.typeList{
padding: 0 32rpx;
height: 104rpx;
display: flex;
align-items: center;
justify-content: space-between;
image{width: 32rpx;height: 24rpx;}
color: #646566;
position: relative;
background: #fff;
z-index: 3;
border-radius: 20rpx 20rpx 0 0;
.moreType{
position: absolute;
width: 100%;
left: 0;
top: 104rpx;
z-index: 3;
display: flex;
flex-wrap: wrap;
padding: 0 32rpx;
background: $uni-bg-bai-color;
border-radius: 0 0 20rpx 20rpx;
.typeItem{
width: 140rpx;
height: 56rpx;
background: #f7f8fa;
border-radius: 12rpx;
background: #f7f8fa;
font-size: $uni-font-size-28;
line-height: 56rpx;
text-align: center;
margin-right: 20rpx;
margin-bottom: 28rpx;
}
}
}
.typeList.bootomLine{
border-bottom: 2rpx solid #ebedf0;
}
.productList{
padding-bottom: 32rpx;
.productItem{
padding: 32rpx;
display: flex;
align-items: center;
background: $uni-bg-bai-color;
border-bottom: 2rpx solid #ebedf0;
.productLeft{
flex: 1;
.productName{
padding-top: 18rpx;
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;
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;}
}
.applyBtn{
width: 116rpx;
height: 44rpx;
background: #d5e5fe;
border-radius: 12rpx;
font-size: $uni-font-size-26;
text-align: center;
line-height: 44rpx;
color: $uni-bg-main-color;
}
}
}
}
}
}
// 主要产品区域
.unitCaseWrap{
padding: 20rpx 30rpx 32rpx 30rpx;
.imgTxtTitle{
height: 108rpx;
display: flex;
align-items: center;
justify-content: space-between;
.titleLeft{
display: flex;
align-items: center;
justify-content: space-between;
image{margin-right: 16rpx;}
font-size: $uni-font-size-40;
}
.titleRight{
display: flex;
align-items: center;
justify-content: space-between;
color: #d2d2d5;
image{width: 28rpx;height: 28rpx;}
}
}
.checkList{
background: #ffffff;
border-radius: 20rpx;
box-shadow: 0rpx 4rpx 24rpx 0rpx rgba(100,100,100,0.05);
.checkItem{
padding: 0 32rpx;
border-bottom: 1rpx solid #ebedf0;
.companyItem{
height: 70rpx;
font-size: $uni-font-size-30;
text{font-weight: 600;}
display: flex;
align-items: center;
}
.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;
}
}
}
}
.typeListBg{
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: rgba(235,237,240,0.60);
z-index: 2;
}
</style>
... ...
<template>
<view style="padding: 30rpx;">
<view class="msgDetail">
<view class="msgTitle">
第一季度税收报表
</view>
<view class="msgContent">
请以上各企业报一下税务主管部门,感谢配合。 有我微信的私信给我,或者发在群里。 还有哪些企业没有报的抓紧报谢谢配合
</view>
<view class="msgTime">
2020-8-10
</view>
<!-- 条件判断是否显示信息填写模块 -->
<view class="infoTitle">
信息填写
</view>
<view class="infoForm">
<view class="infoItem">
<view class="infoLeft">
报表字段名称
</view>
<view class="infoRight">
填报
</view>
</view>
<view class="infoItem">
<view class="infoLeft">
第一季度税务报表
</view>
<view class="infoRight">
300000(元)
</view>
</view>
<view class="infoItem">
<view class="infoLeft">
第一季度总水量报表
</view>
<view class="infoRight">
300000(元)
</view>
</view>
</view>
<view class="infoTitle">
文件上传
</view>
<view class="cu-form-group" style="padding-top: 32rpx;">
<view class="grid col-4 grid-square flex-sub">
<view class="bg-img" v-for="(item,index) in imgList" :key="index" @tap="ViewImage" :data-url="imgList[index]">
<image :src="imgList[index]" mode="aspectFill"></image>
<view class="cu-tag bg-red" @tap.stop="DelImg" :data-index="index">
<text class='cuIcon-close'></text>
</view>
</view>
<view class="solids" style="width: 182rpx;height: 182rpx;" @tap="ChooseImage" v-if="imgList.length<9">
<image src="../../static/image/no_upload@2x.png" style="width: 182rpx;height: 182rpx;" mode=""></image>
</view>
</view>
</view>
<!-- 底部按钮区域 -->
<view class="loginBtnWrap">
<view class="loginBtn">
提交
</view>
</view>
</view>
<simple-confirm :alertTxt="'是否确认提交您的填报信息'" v-if="showConfirmAlert" @close="showConfirmAlert = false"></simple-confirm>
</view>
</template>
<script>
import simpleConfirm from '@/components/simpleConfirm.vue'
export default {
data() {
return {
showConfirmAlert:true,
index: -1,
picker: ['科室1', '科室2', '科室3'],
multiIndex: [0, 0, 0],
imgList: [],
modalName: null,
textareaAValue: '',
textareaBValue: ''
};
},
components:{
simpleConfirm
},
methods: {
PickerChange(e) {
this.index = e.detail.value
},
ChooseImage() {
uni.chooseImage({
count: 4, //默认9
sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
sourceType: ['album'], //从相册选择
success: (res) => {
if (this.imgList.length != 0) {
this.imgList = this.imgList.concat(res.tempFilePaths)
} else {
this.imgList = res.tempFilePaths
}
}
});
},
ViewImage(e) {
uni.previewImage({
urls: this.imgList,
current: e.currentTarget.dataset.url
});
},
DelImg(e) {
uni.showModal({
title: '提示',
content: '确定要删除此照片吗?',
cancelText: '再看看',
confirmText: '确认',
success: res => {
if (res.confirm) {
this.imgList.splice(e.currentTarget.dataset.index, 1)
}
}
})
},
textareaAInput(e) {
this.textareaAValue = e.detail.value
},
textareaBInput(e) {
this.textareaBValue = e.detail.value
}
}
}
</script>
<style lang="scss">
page{
background-color: $uni-bg-color-hui;
.msgDetail{
background: $uni-bg-bai-color;
padding: 32rpx;
border-radius: 20rpx;
.msgTitle{
font-size: $uni-font-size-32;
font-weight: 600;
}
.msgContent{
padding-top: 32rpx;
font-size: $uni-font-size-28;
color: $uni-text-color-hui;
line-height: $uni-font-lh-40;
}
.msgTime{
padding-top: 32rpx;
font-size: $uni-font-size-28;
color: $uni-text-color-hui;
line-height: $uni-font-lh-40;
text-align: right;
}
.infoTitle{
padding-top: 40rpx;
font-size: $uni-font-size-28;
font-weight: 600;
}
.infoForm{
background: $uni-bg-color-hui;
padding: 20rpx;
margin-top: 32rpx;
border-radius: 20rpx;
.infoItem{
margin-top: 20rpx;
display: flex;
justify-content: space-between;
height: 84rpx;
.infoLeft{
width: 375rpx;
background: $uni-bg-bai-color;
line-height: 84rpx;
text-align: center;
border-radius: 20rpx;
font-size: $uni-font-size-28;
}
.infoRight{
width: 189rpx;
background: $uni-bg-bai-color;
line-height: 84rpx;
text-align: center;
border-radius: 20rpx;
font-size: $uni-font-size-28;
}
}
.infoItem:nth-of-type(1){margin-top: 0;}
}
/* 底部按钮区域 */
.loginBtnWrap{
padding-top: 32rpx;
display: flex;
justify-content: center;
.loginBtn{
width: 686rpx;
height: 88rpx;
background: $uni-bg-main-color;
border-radius: 96rpx;
text-align: center;
color: $uni-bg-bai-color;
line-height: 88rpx;
font-size: $uni-font-size-32;
}
}
}
}
</style>
... ...
<template>
<view>
<!-- 轮播图区域 -->
<view class="swiperBgWrap">
<view class="topBg">
<u-swiper @change="change" :height="326" :list="list" :title="title" :effect3d="effect3d"
:indicator-pos="indicatorPos" :mode="mode" :interval="3000" @click="click"></u-swiper>
</view>
</view>
<!-- 厂房信息区域 -->
<view class="plantInfoWrap">
<view class="title">
<view class="line"></view>
<text class="main">华鑫产业园B座3层102号</text>
</view>
<view class="title">
<view class="dot"></view>
<text class="sub active">库房状态:已租</text>
</view>
<view class="title">
<view class="dot"></view>
<text class="sub">库房位置</text>
</view>
<view class="content">
辽宁省辖市,别称滨城,是副省级城市、计划单列市,国务院确定的中国北方沿海重要的中心城市。
</view>
<view class="title">
<view class="dot"></view>
<text class="sub">详情信息</text>
</view>
<view class="content">
1.房源亮点户型好,光线充足,临菜市场,购物方便。 2.户型介绍此房为南北向一室一厅一卫,35.91平米,精装,南北通透,家具家电齐全拎包入住。阳台视野开阔。 3.交通出行距离地铁咸阳路站直线距离557米,交通便利,紧邻公交。周边多条公交线路,驾车,坐公交都方便。 4.周边配套周边配套:周边长虹公园、熙悦汇、人民医院。 5.小区信息小区美:小区环境幽静,绿化率达60%周边超市,饭庄,一应俱全。
</view>
</view>
<!-- 厂房其他信息区域 -->
<view class="otherInfoWrap">
<view class="wrap">
<view class="u-tabs-box">
<u-tabs-swiper activeColor="#2e7ff9" ref="tabs" :barWidth="50" :list="tabList" :current="current" @change="changeTab" :is-scroll="false" swiperWidth="750"></u-tabs-swiper>
</view>
<view class="infoWrap" v-if="current == 0">
<view class="infoItem">
<view class="infoLeft">
企业名称
</view>
<view class="infoRight">
某某金融服务有限公司
</view>
</view>
<view class="infoItem">
<view class="infoLeft">
联系人姓名
</view>
<view class="infoRight">
岳岳
</view>
</view>
<view class="infoItem">
<view class="infoLeft">
联系电话
</view>
<view class="infoRight">
1365632985
</view>
</view>
<view class="infoTitle">
租赁合同
</view>
<view class="contract">
<image src="../../static/image/del/ic_90@2x.png" mode=""></image>
</view>
<view class="leaseTime">
租赁时间:2018-12-10——2020-12-10
</view>
</view>
<view class="plantGoods" v-if="current == 1">
<view class="goodsListTh">
<text>物品名称</text>
<text>数量</text>
</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 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 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>
</view>
</view>
</view>
</view>
</template>
<script>
import imgTxtTitle from '@/components/imgTxtTitle.vue'
export default {
data() {
return {
tabList: [
{
name: '租户信息'
},
{
name: '厂房内物品'
}
],
current: 0,
swiperCurrent: 0,
tabsHeight: 0,
dx: 0,
loadStatus: ['loadmore','loadmore','loadmore','loadmore'],
list: [{
image: 'https://cdn.uviewui.com/uview/swiper/1.jpg',
title: '昨夜星辰昨夜风,画楼西畔桂堂东'
},
{
image: 'https://cdn.uviewui.com/uview/swiper/2.jpg',
title: '身无彩凤双飞翼,心有灵犀一点通'
},
{
image: 'https://cdn.uviewui.com/uview/swiper/3.jpg',
title: '谁念西风独自凉,萧萧黄叶闭疏窗,沉思往事立残阳'
}
],
title: false,
mode: 'round',
indicatorPos: 'bottomCenter',
effect3d: false,
}
},
components:{
imgTxtTitle
},
computed: {
// 价格小数
priceDecimal() {
return val => {
if (val !== parseInt(val)) return val.slice(-2);
else return '00';
};
},
// 价格整数
priceInt() {
return val => {
if (val !== parseInt(val)) return val.split('.')[0];
else return val;
};
}
},
onLoad() {
},
methods: {
change(index) {
// console.log(index);
},
// tab栏切换
changeTab(index) {
this.current = index;
},
transition({ detail: { dx } }) {
this.$refs.tabs.setDx(dx);
},
animationfinish({ detail: { current } }) {
this.$refs.tabs.setFinishCurrent(current);
this.swiperCurrent = current;
this.current = current;
}
}
}
</script>
<style lang="scss">
page{
background-color: $uni-bg-color-hui;
}
// 轮播图背景区域
.swiperBgWrap{
height: 352rpx;
background: $uni-bg-bai-color;
.topBg{
height: 150rpx;
background: $uni-bg-main-color;
padding: 20rpx 32rpx 0 32rpx;
}
}
// 厂房信息区域
.plantInfoWrap{
padding: 0 32rpx 32rpx 32rpx;
background: $uni-bg-bai-color;
.title{
padding-top: 20rpx;
display: flex;
align-items: center;
.main{
font-size: $uni-font-size-36;
font-weight: 600;
}
.sub{
font-size: $uni-font-size-30;
font-weight: 600;
}
.sub.active{
color: $uni-bg-main-color;
}
.dot{
width: 12rpx;
height: 12rpx;
background: #c4c4c4;
border-radius: 50%;
margin-right: 20rpx;
}
.line{
width: 8rpx;
height: 24rpx;
background: linear-gradient(180deg,#fa700c, rgba(250,112,12,0.00) 100%);
margin-right: 20rpx;
}
}
.content{
font-size: $uni-font-size-28;
color: $uni-text-color-hui;
line-height: $uni-font-lh-40;
}
}
// 厂房其他信息区域
.otherInfoWrap{
margin-top: 30rpx;
.infoWrap{
background: $uni-bg-bai-color;
padding: 0 56rpx;
.infoItem{
display: flex;
height: 90rpx;
align-items: center;
.infoLeft{
font-size: $uni-font-size-30;
font-weight: 600;
width: 208rpx;
}
.infoRight{
flex: 1;
font-size: $uni-font-size-28;
}
}
.infoTitle{
font-size: $uni-font-size-30;
font-weight: 600;
}
.contract{
background: $uni-bg-color-hui;
padding: 26rpx;
margin-top: 10rpx;
border-radius: 20rpx;
image{width: 588rpx;height: 410rpx;}
}
.leaseTime{
line-height: 80rpx;
font-size: $uni-font-size-30;
color: $uni-text-color-hui;
}
}
// 厂房物品
.plantGoods{
padding: 0 52rpx;
background: $uni-bg-bai-color;
.goodsListTh{
height: 90rpx;
display: flex;
align-items: center;
justify-content: space-between;
font-size: $uni-font-size-28;
font-weight: 600;
}
.productList{
padding-bottom: 32rpx;
.productItem{
padding: 32rpx 0;
display: flex;
background: $uni-bg-bai-color;
border-bottom: 2rpx solid #ebedf0;
.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;}
}
}
}
}
}
</style>
... ...
<template>
<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>
</script>
<style lang="scss">
page{
background-color: $uni-bg-color-hui;
}
.productList{
padding-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 class="u-dropdown">
<view class="u-dropdown__menu" :style="{
<view class="u-dropdown__menu" style="padding: 0 32rpx;" :style="{
height: $u.addUnit(height)
}" :class="{
'u-border-bottom': borderBottom
... ... @@ -18,6 +18,11 @@
</view>
</view>
</view>
<view class="checkAllBtn">
<view class="btnTxt">
全选
</view>
</view>
</view>
<view class="u-dropdown__content" :style="[contentStyle, {
transition: `opacity ${duration / 1000}s linear`,
... ... @@ -230,7 +235,24 @@
<style scoped lang="scss">
@import "../../libs/css/style.components.scss";
.checkAllBtn{
display: flex;
align-items: center;
justify-content: flex-end;
width: 200rpx;
.btnTxt{
width: 120rpx;
height: 48rpx;
background: #3ba9f6;
border-radius: 24rpx;
font-size: $uni-font-size-26;
color: $uni-text-color-bai;
text-align: center;
line-height: 48rpx;
}
}
.u-dropdown {
flex: 1;
width: 100%;
... ...