提交 55e01167 authored 作者: lidongxu's avatar lidongxu

feat(other/logistics): 新增:物流信息查询页面

上级 923e7332
<template>
<div>
<div class="container">
<van-cell-group>
<van-cell>
<van-tag type="primary"
plain
size="large">
合同编号:{{ ddNo }}<br />
发货单号:{{ sentNo }}<br />
物流公司:{{ transportName }} <br />
物流单号:{{ orderId }}
</van-tag>
</van-cell>
</van-cell-group>
<van-steps direction="vertical"
:active="0">
<van-step v-for="item in activities">
<h3>{{ item.content }}</h3>
<p>{{ item.timestamp }}</p>
</van-step>
</van-steps>
</div>
</template>
<script setup>
import { getLogisticsListAPI } from '@/api'
const route = useRoute()
......@@ -37,10 +55,37 @@ const getLogisticsList = async () => {
content: o.operateRemark,
timestamp: o.operateTime
}))
}
getLogisticsList()
</script>
<style lang="scss"
scoped></style>
\ No newline at end of file
scoped>
.container {
padding-top: 20px;
::v-deep(.van-cell) {
padding: 5px 20px;
.van-cell__value {
text-align: left;
}
}
h3,
p {
margin: 0;
}
h3 {
font-size: 16px;
}
p {
font-size: .3733rem;
}
}
</style>
\ No newline at end of file
......@@ -94,7 +94,7 @@ const changelog = './CHANGELOG.md'
const changeData = fs.readFileSync(changelog, 'utf-8')
const result = parseChangelog(changeData)
axios({
url: 'http://192.168.101.103:8180/bi/front/version/core',
url: 'https://sfa-qa.wxl66.cn/api/bi/front/version/core',
method: 'POST',
data: result
})
......@@ -59,19 +59,22 @@ export default defineConfig(({ mode, command }) => {
},
},
pxtorem({
rootValue({ file }) {
return 37.5;
},
rootValue: 37.5,
propList: ['*'],
exclude: file => {
if (file.indexOf('login')) return true
if (file.indexOf('vant') !== -1) {
return false
} else if (file.indexOf('mobile_views') !== -1) {
return false
} else {
return true
}
// if (file.indexOf('login')) return true
// if (file.indexOf('vant') !== -1) {
// return false
// }
// if (file.indexOf('mobile_views') !== -1) {
// return false
// }
// return true
return !(
file.includes('node_modules/vant') ||
file.includes('mobile_views') ||
file.includes('src/mobile/views')
)
}
})
]
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论