You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
783 lines
19 KiB
783 lines
19 KiB
<template>
|
|
<view class="page1">
|
|
<view style="position: fixed;top: 0;z-index: 99;height: 70px;width: 100%;display: flex;background: #fff;padding-top: 30px;">
|
|
<uni-icons type="left" size='10' @tap="backPage"></uni-icons>
|
|
</view>
|
|
<view class="content-left" style="width:13%;height: 80%;float: left;position: fixed;top: 70px;">
|
|
<view class="left-box" v-for="(item, index) in indexList" :key="index"
|
|
:class="item.parentId ? 'left-box-hover':''" @tap="clickLeftBtn(index)">
|
|
<text style="width: 100%;height: 40px;line-height: 40px;display: inline-block;overflow: hidden;"
|
|
:class="item.parentId ? 'red' :''">{{item.categoryName}}</text>
|
|
</view>
|
|
</view>
|
|
<view class="content-right" style="width: 87%;background: #fff;margin-left:13%;margin-top: 70px;">
|
|
<view class="table">
|
|
<view class="table-th">
|
|
<view style="width: 5%;">#</view>
|
|
<view style="width: 10%;">商品图</view>
|
|
<view style="width: 25%;">货号</view>
|
|
<view style="width: 20%;">名称</view>
|
|
<view style="width: 20%;">批发价</view>
|
|
<view style="width: 20%;">零售价</view>
|
|
</view>
|
|
<view class="table-tr" v-for="(item,index) in goodsList" :key="index">
|
|
<view style="width: 5%;background: #fff;" @tap="checkboxChange(item)">
|
|
<checkbox-group>
|
|
<label>
|
|
<checkbox :checked="item.checked" class="checkbox" />
|
|
</label>
|
|
</checkbox-group>
|
|
</view>
|
|
<view style="width: 10%;" @tap.stop="largeImg(item)">
|
|
<img :src="item.productPicture" alt="" v-if="item.productPicture" style="border-radius:10px;width: 30px;height: 30px;margin: 0 auto;">
|
|
<view class="noPic" v-else style="width: 100%;">暂无图片</view>
|
|
</view>
|
|
<view style="width: 25%;">
|
|
{{item.productSn==null?'':item.productSn}}
|
|
</view>
|
|
<view style="width: 20%;">
|
|
{{item.productName == null?'暂无':item.productName}}
|
|
</view>
|
|
<view style="width: 20%;">
|
|
{{item.wholesalePrice}}
|
|
</view>
|
|
<view style="width: 20%;">
|
|
{{item.price}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<u-loadmore :status="status" />
|
|
</view>
|
|
|
|
<view class="bottom-box">
|
|
<view class="bottom-right">
|
|
<button class="bottom-btn" @tap="clickPrint">批量打印</button>
|
|
</view>
|
|
</view>
|
|
<!-- 弹出输入框 -->
|
|
<uni-popup ref="payDialog" background-color="#fff">
|
|
<view class="popup-pay-content">
|
|
<uni-forms-item label="打印方式" name="type" labelWidth="170px">
|
|
<uni-data-select style="width: 100%" v-model="printingMethod" :localdata="typeList"></uni-data-select>
|
|
</uni-forms-item>
|
|
<view class="popup-pay-title">
|
|
<text>已选商品</text>
|
|
</view>
|
|
<view v-for="(item,index) in carList" :key="index">
|
|
<view class="box-right">
|
|
<text class="box-right-name">{{item.productName==null?'':item.productName}}</text>
|
|
<text class="box-right-num">({{item.productSn}})</text>
|
|
</view>
|
|
</view>
|
|
<view class="popup-pay-title" style="margin-top: 10px;">
|
|
<text>请选择需要打印的字段</text>
|
|
</view>
|
|
<view class="content-fur">
|
|
<view class="content-low" v-for="(item1,index1) in list" :key="index1"
|
|
@tap.stop="addMultipleType(item1)" :class="item1.checked?'checked':''">{{item1.type}}</view>
|
|
</view>
|
|
<view v-if="list[0].checked && purchase != ''" style="display: flex;height: 80px;width: 100%;line-height: 80px;margin-top: 20px;">
|
|
<text style="display:inline-block;width:100px;">
|
|
供应商:
|
|
</text>
|
|
<input v-model="purchase.supplierName" @change="changeText" :disabled="closetanPopup" type="text" placeholder="请输入供应商名称" style="display: flex;height: 80px;width: 300px;line-height: 80px;padding-left: 20px;border: 1px solid #eee;">
|
|
</view>
|
|
<view class="popup-pay-container" >
|
|
<kk-printer ref="kkprinter" :bufferData="bufferData" @goPrint="goPrint" :defaultText="'确认打印'"></kk-printer>
|
|
</view>
|
|
</view>
|
|
</uni-popup>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
import util from '@/components/kk-printer/utils/util.js';
|
|
import * as blesdk from '@/components/kk-printer/utils/bluetoolth.js';
|
|
import kkPrinter from '@/components/kk-printer/index.vue';
|
|
import base from '@/utils/ossUploadFile/base64.js';
|
|
export default {
|
|
data() {
|
|
return {
|
|
indexList: [],
|
|
pageNum: 1, //分页的页码
|
|
shopList: [],
|
|
goodsList: [],
|
|
categoryId: '', //分类id
|
|
searchName: '', //搜索框输入值
|
|
id: '',
|
|
carList: [],
|
|
type: '',
|
|
bufferData:[],
|
|
typeList: [{
|
|
value: '0',
|
|
text: "打印长票"
|
|
},
|
|
{
|
|
value: '1',
|
|
text: "打印短票"
|
|
},
|
|
],
|
|
printingMethod:"0",
|
|
checkPayData:'',
|
|
data:{},
|
|
height:0,
|
|
list:[{
|
|
type:'供应商',
|
|
checked:false,
|
|
},{
|
|
type:'货号',
|
|
checked:false,
|
|
},{
|
|
type:'零售价',
|
|
checked:false,
|
|
},{
|
|
type:'批发价',
|
|
checked:false,
|
|
}],
|
|
multipleList:[],
|
|
purchase:'',
|
|
shopId:''
|
|
}
|
|
},
|
|
components: {
|
|
kkPrinter
|
|
},
|
|
onHide(){
|
|
setTimeout(res=>{
|
|
uni.closeBLEConnection({
|
|
deviceId:uni.getStorageSync('deviceId'),
|
|
success(res) {
|
|
},fail(err){
|
|
}
|
|
})
|
|
},5000)
|
|
|
|
},
|
|
onLoad(options) {
|
|
wx.openBluetoothAdapter({mode: 'central'})
|
|
this.height = wx.getSystemInfoSync().windowHeight
|
|
this.shopId = uni.getStorageSync('shopId')
|
|
if (options.khid != undefined) {
|
|
uni.redirectTo({
|
|
url: "/package1/index/downStearmList?khid=" + options.khid
|
|
})
|
|
}else{
|
|
if(options.purchase){
|
|
this.purchase = JSON.parse(options.purchase)
|
|
this.goodsList = JSON.parse(options.purchaseDetails)
|
|
}else{
|
|
this.type = uni.getStorageSync('type')
|
|
this.getGategoryList()
|
|
}
|
|
}
|
|
},
|
|
methods: {
|
|
backPage(){
|
|
uni.navigateBack()
|
|
},
|
|
//初始化获取分类列表
|
|
getGategoryList() {
|
|
this.tui.request("/app/productCategory/list", "get", {
|
|
// shopId: 1,
|
|
}, false, true).then((res) => {
|
|
if (res.code == 200) {
|
|
this.indexList = res.result;
|
|
for (var i = 0; i < this.indexList.length; i++) {
|
|
if (i == 0) {
|
|
this.indexList[i].parentId = true
|
|
} else {
|
|
this.indexList[i].parentId = false
|
|
}
|
|
}
|
|
this.categoryId = this.indexList[0].id
|
|
this.pageNum = 1
|
|
this.searchName = ""
|
|
this.shopList1 = []
|
|
this.shopList = []
|
|
this.getShareList();
|
|
} else {
|
|
this.tui.toast(res.message)
|
|
}
|
|
}).catch((res) => {})
|
|
},
|
|
//点击分类获取商品列表
|
|
async getShareList(id) {
|
|
let that = this
|
|
this.goodsList = []
|
|
await this.tui.request("/app/product/getShareList", "POST", {
|
|
categoryId: this.searchName == "" ? this.categoryId : "",
|
|
searchStr: this.searchName,
|
|
pageNum: this.pageNum,
|
|
pageSize: '25'
|
|
}, false, false).then((res) => {
|
|
if (res.code == 200) {
|
|
for (var i = 0; i < res.result.records.length; i++) {
|
|
if (res.result.records != '') {
|
|
res.result.records[i].checked = false
|
|
}
|
|
}
|
|
this.$nextTick(() => {
|
|
this.status = 'nomore';
|
|
if (this.pages == 1) {
|
|
this.goodsList = res.result.records
|
|
} else {
|
|
this.goodsList = [...this.goodsList, ...res.result.records]
|
|
}
|
|
this.pages = res.result.pages
|
|
})
|
|
|
|
|
|
} else {
|
|
this.tui.toast(res.message)
|
|
}
|
|
}).catch((res) => {})
|
|
await this.getCheck()
|
|
},
|
|
getCheck() {
|
|
let that = this;
|
|
if (that.carList != '') {
|
|
for (var i = 0; i < that.carList.length; i++) {
|
|
for (var m = 0; m < that.goodsList.length; m++) {
|
|
// for (var j = 0; j < that.goodsList[m].length; j++) {
|
|
if (that.carList[i].id == that.goodsList[m].id) {
|
|
that.goodsList[m].checked = true
|
|
}
|
|
// }
|
|
}
|
|
}
|
|
}
|
|
this.$forceUpdate()
|
|
},
|
|
//顶部搜索框
|
|
search(res) {
|
|
this.searchName = res.value
|
|
this.getGategoryList()
|
|
},
|
|
//未入库遮罩
|
|
clickMask() {
|
|
uni.showToast({
|
|
title: '请将商品上架或入库后再操作!',
|
|
icon: 'none'
|
|
})
|
|
},
|
|
//点击左侧菜单切换
|
|
clickLeftBtn(index) {
|
|
for (var i = 0; i < this.indexList.length; i++) {
|
|
if (i == index) {
|
|
this.indexList[i].parentId = true
|
|
} else {
|
|
this.indexList[i].parentId = false
|
|
}
|
|
}
|
|
|
|
this.categoryId = this.indexList[index].id
|
|
this.pageNum = 1
|
|
this.searchName = ""
|
|
this.goodsList = []
|
|
this.getShareList(this.indexList[index].id)
|
|
},
|
|
goInvPrint(item){
|
|
item.checked = !item.checked
|
|
if(this.carList == ''){
|
|
this.carList.push(item)
|
|
}else{
|
|
for(let i=0;i<this.carList.length;i++){
|
|
if(this.carList[i].productName == item.productName){
|
|
this.carList.splice(i, 1)
|
|
return;
|
|
}else{
|
|
if(i+1 == this.carList.length){
|
|
this.carList.push(item)
|
|
return;
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
},
|
|
//选中商品
|
|
checkboxChange(item) {
|
|
console.log(this.carList)
|
|
item.checked = !item.checked
|
|
if (this.carList.indexOf(item.id) != -1) {
|
|
this.carList.splice(this.carList.indexOf(item.id), 1)
|
|
} else {
|
|
this.carList.push(item)
|
|
}
|
|
},
|
|
//点击批量打印按钮
|
|
clickPrint() {
|
|
this.$refs.payDialog.open('center')
|
|
},
|
|
checkPay(type){
|
|
this.data.priceType = type
|
|
this.tui.request("/app/productShare/save", "POST", this.data, false, true).then((res) => {
|
|
if (res.code == 200) {
|
|
this.khid = res.result.id
|
|
|
|
} else {
|
|
this.tui.toast(res.message)
|
|
}
|
|
}).catch((res) => {})
|
|
this.checkPayData = type
|
|
this.$refs.payDialog.close()
|
|
this.$refs.share.open()
|
|
},
|
|
//选择多个规格保存
|
|
addMultipleType(item1){
|
|
|
|
item1.checked = !item1.checked
|
|
if(this.multipleList == ''){
|
|
this.multipleList.push(item1.type)
|
|
}else{
|
|
for(var i=0;i<this.multipleList.length;i++){
|
|
if(this.multipleList[i] == item1.type){ //相同
|
|
this.multipleList.splice(i,1)
|
|
return;
|
|
}else{ //不同
|
|
if(i+1 == this.multipleList.length){
|
|
this.multipleList.push(item1.type)
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
},
|
|
//点击打印按钮
|
|
goPrint(){
|
|
uni.setStorageSync('small',true)
|
|
let that = this;
|
|
for(var i=0;i<that.carList.length;i++){
|
|
let item = that.carList[i]
|
|
that.yNum = 10
|
|
if(this.printingMethod == "0"){ //长票打印
|
|
|
|
//宽5.1 高4.1
|
|
let strCmd = blesdk.CreatCPCLPage(320, 480, 1, 0);
|
|
if(this.multipleList.indexOf('供应商') != -1){
|
|
strCmd += blesdk.addCPCLSETMAG(2, 2)
|
|
strCmd += blesdk.addCPCLLocation(2);
|
|
strCmd += blesdk.addCPCLSETBOLD('400');
|
|
strCmd += blesdk.addCPCLText('0', that.yNum += 10, '24', '0', 0, this.purchase !=''?this.purchase.supplierName:item.supplierName)
|
|
}
|
|
strCmd += blesdk.addCPCLSETMAG(1, 1)
|
|
strCmd += blesdk.addCPCLLocation(0);
|
|
strCmd += blesdk.addCPCLSETBOLD('0');
|
|
strCmd += blesdk.addCPCLText('20', that.yNum += 70, '24', '0', 0, '品名: '+(item.productName==null?'':item.productName))
|
|
if(this.multipleList.indexOf('货号') != -1){
|
|
strCmd += blesdk.addCPCLText('20', that.yNum += 50, '24', '0', 0, '货号: '+item.productSn)
|
|
}
|
|
|
|
if(this.multipleList.indexOf('批发价') != -1){
|
|
|
|
strCmd += blesdk.addCPCLText('20', that.yNum += 50, '24', '0', 0, '批发价: '+item.wholesalePrice)
|
|
}
|
|
if(this.multipleList.indexOf('零售价') != -1){
|
|
|
|
strCmd += blesdk.addCPCLText('20', that.yNum += 50, '24', '0', 0, '零售价: '+(item.lsprice || item.price))
|
|
}
|
|
strCmd += blesdk.addCPCLLocation(2);
|
|
strCmd += blesdk.addCPCLQRCode(0, that.yNum += 70, 'H', '1', 4, [this.purchase!=''?base.encode(item.productId):base.encode(item.id),base.encode(this.shopId)]) //二维码
|
|
strCmd += blesdk.addCPCLLocation(0); //对齐指令 0-左对齐 1-右对齐 2-居中
|
|
strCmd += blesdk.addCPCLPrint();
|
|
this.bufferData.push(strCmd);
|
|
}else{
|
|
//宽5.1 高4.1
|
|
let strCmd = blesdk.CreatCPCLPage(410, 320, 1, 0);
|
|
if(this.multipleList.indexOf('供应商') != -1){
|
|
strCmd += blesdk.addCPCLSETMAG(2, 2)
|
|
strCmd += blesdk.addCPCLLocation(2);
|
|
strCmd += blesdk.addCPCLSETBOLD('400');
|
|
strCmd += blesdk.addCPCLText('0', that.yNum += 10, '24', '0', 0, this.purchase !=''?this.purchase.supplierName:item.supplierName)
|
|
}
|
|
strCmd += blesdk.addCPCLSETMAG(1, 1)
|
|
strCmd += blesdk.addCPCLLocation(0);
|
|
strCmd += blesdk.addCPCLSETBOLD('0');
|
|
strCmd += blesdk.addCPCLText('30', that.yNum += 60, '24', '0', 0, '商品名:'+(item.productName==null?'':item.productName))
|
|
strCmd += blesdk.addCPCLSETMAG(2, 2)
|
|
if(this.multipleList.indexOf('货号') != -1){
|
|
strCmd += blesdk.addCPCLText('30', that.yNum += 40, '24', '0', 0, '货号:'+item.productSn)
|
|
}
|
|
strCmd += blesdk.addCPCLSETMAG(1, 1)
|
|
if(this.multipleList.indexOf('批发价') != -1){
|
|
|
|
strCmd += blesdk.addCPCLText('30', that.yNum += 50, '24', '0', 0, '批发价:'+item.wholesalePrice)
|
|
}
|
|
if(this.multipleList.indexOf('零售价') != -1){
|
|
|
|
strCmd += blesdk.addCPCLText('30', that.yNum += 50, '24', '0', 0, '零售价:'+(item.lsprice || item.price))
|
|
}
|
|
strCmd += blesdk.addCPCLQRCode(240, 160, 'H', '1', 4, [this.purchase!=''?base.encode(item.productId):base.encode(item.id),base.encode(uni.getStorageSync('shopId').substring('10','12'))]) //二维码
|
|
strCmd += blesdk.addCPCLLocation(0); //对齐指令 0-左对齐 1-右对齐 2-居中
|
|
strCmd += blesdk.addCPCLPrint();
|
|
this.bufferData.push(strCmd);
|
|
}
|
|
|
|
}
|
|
that.$nextTick(()=>{
|
|
that.$refs.payDialog.close();
|
|
that.bufferData = []
|
|
uni.navigateBack({
|
|
delta: 1
|
|
})
|
|
})
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
page {
|
|
height: 100%;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.page1 {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 92%;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.uni-tab__dot {
|
|
padding: 0 8px;
|
|
line-height: 30px;
|
|
color: #ffffff;
|
|
text-align: center;
|
|
background-color: #ff0000;
|
|
border-radius: 30px;
|
|
}
|
|
|
|
.uni-tab__text {
|
|
color: #646566;
|
|
}
|
|
|
|
.title-box {
|
|
background: #fff;
|
|
position: fixed;
|
|
z-index: 99;
|
|
width: 100%;
|
|
top: 0;
|
|
}
|
|
|
|
.bottom-box {
|
|
width: 100%;
|
|
height: 50px;
|
|
position: fixed;
|
|
bottom: 0;
|
|
display: flex;
|
|
background: #fff;
|
|
z-index: 98;
|
|
}
|
|
|
|
.bottom-left {
|
|
width: 15%;
|
|
position: relative;
|
|
}
|
|
|
|
.bottom-right {
|
|
width: 100%;
|
|
display: flex;
|
|
|
|
.bottom-btn {
|
|
margin: 0 auto;
|
|
padding: 0;
|
|
width: 90%;
|
|
line-height: 40px;
|
|
height: 40px;
|
|
text-align: center;
|
|
margin-top: 5px;
|
|
color: #fff;
|
|
background: linear-gradient(90deg, #60F3FF, #088FEB);
|
|
border-radius: 5px;
|
|
}
|
|
}
|
|
|
|
.bottom-left-box {
|
|
display: flex;
|
|
flex-direction: column;
|
|
text-align: center;
|
|
}
|
|
|
|
.content-box {
|
|
background: #fff;
|
|
flex: 1;
|
|
display: flex;
|
|
overflow: scroll;
|
|
}
|
|
|
|
.content-left {
|
|
width: 170px;
|
|
background: #eee;
|
|
height: 100%;
|
|
overflow: scroll;
|
|
}
|
|
|
|
.left-box {
|
|
width: 100%;
|
|
height: 40px;
|
|
text-align: center;
|
|
line-height: 40px;
|
|
border-bottom: 1px solid #fff;
|
|
}
|
|
|
|
.left-box-hover {
|
|
width: 100%;
|
|
height: 40px;
|
|
text-align: center;
|
|
line-height: 40px;
|
|
border-bottom: 1px solid #fff;
|
|
background-color: #fff;
|
|
}
|
|
|
|
.red {
|
|
border-right: 3px solid red;
|
|
}
|
|
|
|
.content-right {
|
|
flex: 1;
|
|
height: 100%;
|
|
overflow-y: scroll;
|
|
}
|
|
|
|
.right-box {
|
|
width: 100%;
|
|
height: 190px;
|
|
display: flex;
|
|
border-bottom: 1px solid #eee;
|
|
position: relative;
|
|
}
|
|
|
|
.box-left {
|
|
width: 60px;
|
|
height: 60px;
|
|
background-size: 100%;
|
|
margin: 25px 30px 35px 10px;
|
|
border-radius: 20px;
|
|
}
|
|
|
|
.box-left img {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.box-right {
|
|
margin-top: 17px;
|
|
}
|
|
|
|
.box-right-name {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.box-right-num {
|
|
padding: 5px 0;
|
|
color: #777;
|
|
}
|
|
|
|
.box-right-price {
|
|
display: flex;
|
|
}
|
|
|
|
.checkbox {
|
|
width: 30px;
|
|
height: 30px;
|
|
}
|
|
|
|
.price-box {
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin-right: 20px;
|
|
}
|
|
|
|
.price-box text:first-child {
|
|
color: #ffa200
|
|
}
|
|
|
|
.uni-tab__cart-button-right,
|
|
.uni-tab__cart-sub-right {
|
|
display: none;
|
|
flex: none;
|
|
}
|
|
|
|
.popup-content {
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 30px;
|
|
height: 1200px;
|
|
background-color: #fff;
|
|
margin-bottom: 30px;
|
|
overflow: scroll;
|
|
}
|
|
|
|
.popup-title-right-box {
|
|
height: 50px;
|
|
line-height: 50px;
|
|
}
|
|
|
|
.popup-title-right {
|
|
width: 400px;
|
|
margin-left: 30px;
|
|
}
|
|
|
|
.popup-title-left {
|
|
width: 150px;
|
|
height: 150px;
|
|
}
|
|
|
|
.popup-title-left image {
|
|
width: 150px;
|
|
height: 150px;
|
|
|
|
}
|
|
|
|
.popup-title {
|
|
display: flex;
|
|
height: 180px;
|
|
border-bottom: 1px solid #eee;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.popup-bottom {
|
|
width: 95%;
|
|
height: 100px;
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 2.5%;
|
|
display: flex;
|
|
z-index: 99;
|
|
background: #fff;
|
|
}
|
|
|
|
.popup-bottom-left {
|
|
width: 50%;
|
|
line-height: 80px;
|
|
}
|
|
|
|
.popup-bottom-right {
|
|
width: 50%;
|
|
line-height: 100px;
|
|
|
|
.bottom-btn {
|
|
width: 70%;
|
|
line-height: 70px;
|
|
height: 70px;
|
|
text-align: center;
|
|
/* margin-top: 10px; */
|
|
color: #fff;
|
|
margin: 0 auto;
|
|
background: linear-gradient(90deg, #60F3FF, #088FEB);
|
|
border-radius: 70px;
|
|
}
|
|
}
|
|
|
|
.shop-mask {
|
|
width: 100%;
|
|
height: 190px;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
background: rgba(0, 0, 0, 0.1);
|
|
z-index: 99;
|
|
}
|
|
.popup-pay-content {
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 30px;
|
|
width: 500px;
|
|
height: auto;
|
|
max-height: 1000px;
|
|
overflow: scroll;
|
|
background-color: #fff;
|
|
}
|
|
.popup-pay-title {
|
|
font-weight: bold;
|
|
text-align: center;
|
|
position: relative;
|
|
border-bottom: 1px solid #eee;
|
|
padding-bottom: 20px;
|
|
}
|
|
.popup-pay-container {
|
|
margin-top: 10px;
|
|
height: 40px;
|
|
border-radius: 10px;
|
|
background: #088FEB;
|
|
line-height: 40px;
|
|
text-align: center;
|
|
border-bottom: 1px solid #eee;
|
|
border-top: 1px solid #eee;
|
|
color: #fff;
|
|
}
|
|
.noPic{
|
|
width: 40px;
|
|
height: 40px;
|
|
text-align: center;
|
|
line-height: 40px;
|
|
color: #777;
|
|
background: #eee;
|
|
}
|
|
.checked{
|
|
background: #60F3FF;
|
|
color: #fff !important;
|
|
}
|
|
.content-fur {
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.content-low {
|
|
width: auto;
|
|
border: 1px solid #eee;
|
|
display: inline-block;
|
|
min-width: 90px;
|
|
padding: 5px;
|
|
text-align: center;
|
|
color: #777;
|
|
margin: 20px 0 0 20px;
|
|
}
|
|
.table {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: auto;
|
|
overflow-x: scroll;
|
|
width: 100%;
|
|
white-space: nowrap;
|
|
overflow: scroll;
|
|
min-height: 200px;
|
|
}
|
|
|
|
.table-th {
|
|
width: 100%;
|
|
height: 30px;
|
|
line-height: 30px;
|
|
background: #088FEB;
|
|
color: #fff;
|
|
|
|
view {
|
|
width: 80px;
|
|
float: left;
|
|
text-align: center;
|
|
border-right: 1px solid #fff;
|
|
}
|
|
}
|
|
|
|
.table-tr {
|
|
flex: 0 0 auto;
|
|
width: 100%;
|
|
height: 30px;
|
|
position: relative;
|
|
line-height: 30px;
|
|
color: #000;
|
|
|
|
view {
|
|
width: 80px;
|
|
height: 30px;
|
|
line-height: 30px;
|
|
float: left;
|
|
text-align: center;
|
|
border-bottom: 1px solid #000;
|
|
border-right: 1px solid #000;
|
|
}
|
|
}
|
|
</style>
|