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

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

上级 923e7332
<template> <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> </div>
</template> </template>
<script setup> <script setup>
import { getLogisticsListAPI } from '@/api' import { getLogisticsListAPI } from '@/api'
const route = useRoute() const route = useRoute()
...@@ -37,10 +55,37 @@ const getLogisticsList = async () => { ...@@ -37,10 +55,37 @@ const getLogisticsList = async () => {
content: o.operateRemark, content: o.operateRemark,
timestamp: o.operateTime timestamp: o.operateTime
})) }))
} }
getLogisticsList() getLogisticsList()
</script> </script>
<style lang="scss" <style lang="scss"
scoped></style> scoped>
\ No newline at end of file .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' ...@@ -94,7 +94,7 @@ const changelog = './CHANGELOG.md'
const changeData = fs.readFileSync(changelog, 'utf-8') const changeData = fs.readFileSync(changelog, 'utf-8')
const result = parseChangelog(changeData) const result = parseChangelog(changeData)
axios({ 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', method: 'POST',
data: result data: result
}) })
...@@ -59,19 +59,22 @@ export default defineConfig(({ mode, command }) => { ...@@ -59,19 +59,22 @@ export default defineConfig(({ mode, command }) => {
}, },
}, },
pxtorem({ pxtorem({
rootValue({ file }) { rootValue: 37.5,
return 37.5;
},
propList: ['*'], propList: ['*'],
exclude: file => { exclude: file => {
if (file.indexOf('login')) return true // if (file.indexOf('login')) return true
if (file.indexOf('vant') !== -1) { // if (file.indexOf('vant') !== -1) {
return false // return false
} else if (file.indexOf('mobile_views') !== -1) { // }
return false // if (file.indexOf('mobile_views') !== -1) {
} else { // return false
return true // }
} // return true
return !(
file.includes('node_modules/vant') ||
file.includes('mobile_views') ||
file.includes('src/mobile/views')
)
} }
}) })
] ]
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论