Commit 1ff7cfc0 by Sendya

updated mobile style

parent 37b80c93
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
</template> </template>
<a-card :bordered="false" title="流程进度"> <a-card :bordered="false" title="流程进度">
<a-steps :current="1" progressDot> <a-steps :direction="device==='mobile' && 'vertical' || 'horizontal'" :current="1" progressDot>
<a-step title="创建项目"> <a-step title="创建项目">
</a-step> </a-step>
<a-step title="部门初审"> <a-step title="部门初审">
...@@ -133,6 +133,7 @@ ...@@ -133,6 +133,7 @@
</template> </template>
<script> <script>
import { mapState } from 'vuex'
import PageLayout from '@/components/layout/PageLayout' import PageLayout from '@/components/layout/PageLayout'
import DetailList from '@/components/tools/DetailList' import DetailList from '@/components/tools/DetailList'
...@@ -295,6 +296,11 @@ ...@@ -295,6 +296,11 @@
return statusTypeMap[type] return statusTypeMap[type]
} }
}, },
computed: {
...mapState({
device: state => state.app.device,
})
},
} }
</script> </script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment