uu
This commit is contained in:
parent
06200617a3
commit
637847e9a0
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<view>
|
<view>
|
||||||
<u-row justify="start">
|
<u-row justify="start" :custom-style="conStyle" >
|
||||||
<view v-for="(item) in list" @click="handleChangeTab(item)"
|
<view v-for="(item) in list" @click="handleChangeTab(item)"
|
||||||
:class="`sta-item ${value == item.val?'active':''} stai-${mode}`">
|
:class="`sta-item ${value == item.val?'active':''} stai-${mode}`">
|
||||||
<view class="stai-text">
|
<view class="stai-text">
|
||||||
@ -17,6 +17,12 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
|
computed: {
|
||||||
|
conStyle() {
|
||||||
|
let sty = `overflow: auto;gap:30rpx;`;
|
||||||
|
return `${sty};${this.customStyle}`
|
||||||
|
}
|
||||||
|
},
|
||||||
props: {
|
props: {
|
||||||
list: {
|
list: {
|
||||||
default () {
|
default () {
|
||||||
@ -32,6 +38,11 @@
|
|||||||
default () {
|
default () {
|
||||||
return 'primary' // primary info
|
return 'primary' // primary info
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
customStyle: {
|
||||||
|
default() {
|
||||||
|
return ''
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
@ -58,7 +69,7 @@
|
|||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
.sta-item {
|
.sta-item {
|
||||||
flex: 1;
|
flex-shrink: 0;
|
||||||
padding: 0 0 30rpx 0;
|
padding: 0 0 30rpx 0;
|
||||||
margin-right: 30rpx;
|
margin-right: 30rpx;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|||||||
@ -147,7 +147,7 @@
|
|||||||
},
|
},
|
||||||
searchParam: {
|
searchParam: {
|
||||||
keyword: '',
|
keyword: '',
|
||||||
ordStatus: dicData.emis_order_status[0].val
|
ordStatus: dicData.emis_order_status?.[0]?.val
|
||||||
},
|
},
|
||||||
queryOption: {
|
queryOption: {
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user