From c92fab3cbda329d0e57d8ac9454fc5be206ae0be Mon Sep 17 00:00:00 2001 From: Huluwa22 <2667400744@qq.com> Date: Sun, 2 Mar 2025 00:44:45 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E6=A0=BC=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 1.html | 101 ++++ src/api/goods.js | 14 +- src/api/location.js | 29 +- src/api/stock.js | 29 +- src/api/task.js | 4 +- src/api/vehicle.js | 13 +- src/components/BindingGoods.vue | 18 +- src/layout/goods.vue | 560 +++++++++------------ src/layout/goodsIn.vue | 504 ++++++++++--------- src/layout/inTaskRecord.vue | 2 +- src/layout/location.vue | 845 +++++++++++++++++++++----------- src/layout/stock.vue | 833 ++++++++++++++++--------------- src/layout/taskMonitor.vue | 581 +++++++++++----------- 13 files changed, 1996 insertions(+), 1537 deletions(-) create mode 100644 1.html diff --git a/1.html b/1.html new file mode 100644 index 0000000..95170ee --- /dev/null +++ b/1.html @@ -0,0 +1,101 @@ +<!DOCTYPE html> +<html lang="zh-CN"> +<head> +<meta charset="UTF-8"> +<meta name="viewport" content="width=device-width, initial-scale=1.0"> +<title>秋日出行推荐 | 小众宝藏旅行地</title> +<style> +body { +font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif; +background-color: #f9f9f9; +color: #333; +margin: 0; +padding: 0; +} +.container { +max-width: 800px; +margin: 0 auto; +padding: 20px; +background-color: #fff; +border-radius: 10px; +box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); +} +h1 { +font-size: 28px; +color: #ff6b6b; +text-align: center; +margin-bottom: 20px; +} +h2 { +font-size: 24px; +color: #333; +margin-top: 30px; +margin-bottom: 10px; +} +p { +font-size: 16px; +line-height: 1.6; +margin-bottom: 15px; +} +ul { +list-style-type: none; +padding: 0; +} +li { +background-color: #f1f1f1; +margin-bottom: 10px; +padding: 15px; +border-radius: 5px; +font-size: 16px; +line-height: 1.6; +} +.highlight { +color: #ff6b6b; +font-weight: bold; +} +.footer { +text-align: center; +margin-top: 30px; +font-size: 14px; +color: #999; +} +</style> +</head> +<body> +<div class="container"> +<h1>🌟 秋日出行推荐!5个小众宝藏旅行地 🌟</h1> +<p>🍂 秋天是旅行的最佳季节,天气凉爽,景色宜人。如果你厌倦了人挤人的热门景点,不妨看看这些小众宝藏旅行地,避开人潮,享受属于你的秋日时光!</p> + +<h2>1️⃣ 云南·元阳梯田</h2> +<p><span class="highlight">推荐理由:</span>秋天的元阳梯田金黄一片,宛如大地的调色盘,清晨的云雾更是如梦如幻。</p> +<p><span class="highlight">玩法:</span>徒步梯田、拍摄日出、体验哈尼族文化。</p> +<p><span class="highlight">最佳时间:</span>10月-11月</p> + +<h2>2️⃣ 四川·稻城亚丁</h2> +<p><span class="highlight">推荐理由:</span>秋天的稻城亚丁被誉为“最后的香格里拉”,雪山、草甸、湖泊交相辉映。</p> +<p><span class="highlight">玩法:</span>徒步牛奶海、五色海,感受高原秋色。</p> +<p><span class="highlight">最佳时间:</span>9月-10月</p> + +<h2>3️⃣ 广西·龙脊梯田</h2> +<p><span class="highlight">推荐理由:</span>秋天的龙脊梯田金黄一片,层层叠叠,宛如大地的波浪。</p> +<p><span class="highlight">玩法:</span>徒步梯田、体验瑶族风情、品尝当地美食。</p> +<p><span class="highlight">最佳时间:</span>9月-10月</p> + +<h2>4️⃣ 甘肃·张掖丹霞</h2> +<p><span class="highlight">推荐理由:</span>秋天的张掖丹霞色彩更加浓郁,宛如上帝打翻的调色盘。</p> +<p><span class="highlight">玩法:</span>拍摄丹霞地貌、体验沙漠越野、参观马蹄寺。</p> +<p><span class="highlight">最佳时间:</span>9月-10月</p> + +<h2>5️⃣ 浙江·楠溪江</h2> +<p><span class="highlight">推荐理由:</span>秋天的楠溪江山水如画,古村落与秋色相映成趣,适合慢旅行。</p> +<p><span class="highlight">玩法:</span>泛舟江上、探访古村落、品尝农家菜。</p> +<p><span class="highlight">最佳时间:</span>10月-11月</p> + +<p class="highlight">💡 这些小众旅行地不仅风景绝美,还能避开人潮,享受静谧的秋日时光。如果觉得有用,记得点赞收藏,分享给更多需要的朋友哦~</p> + +<div class="footer"> +#秋日旅行 #小众旅行地 #宝藏景点 #旅行推荐 #秋天去哪儿 +</div> +</div> +</body> +</html> diff --git a/src/api/goods.js b/src/api/goods.js index 5ee2e95..93927bd 100644 --- a/src/api/goods.js +++ b/src/api/goods.js @@ -49,12 +49,17 @@ const queryPartNo = (params) => { const deleteCurrentPartInfo = (params) => { return request({ - url: '/goods/deletePartInfo', + url: '/goods/deleteGoodInfo', method: 'post', data: params }) } - +const clearGoodsInfo =()=> { + return request({ + url: '/goods/clearGoodsInfo', + method: 'get', + }) +} export { getAllGoods, updateGoodsInfo, @@ -62,5 +67,6 @@ export { getPartInfo, updatePartInfo, queryPartNo, - deleteCurrentPartInfo -} \ No newline at end of file + deleteCurrentPartInfo, + clearGoodsInfo +} diff --git a/src/api/location.js b/src/api/location.js index 708522d..9d456aa 100644 --- a/src/api/location.js +++ b/src/api/location.js @@ -24,8 +24,33 @@ const getAvailableLocations = (params) => { }) } +const updateArea = (params) => { + return request({ + url: '/location/updateArea', + method: 'post', + data: params + }) +} + + +const getStockList = () => { + return request({ + url: '/stock/getStockList', + method: 'get', + }) +} + +const getVehicleList = (params) => { + return request({ + url: '/location/getVehicleList', + method: 'get', + }) +} export { getLocations, updateLocation, - getAvailableLocations -} \ No newline at end of file + getAvailableLocations, + updateArea, + getStockList, + getVehicleList +} diff --git a/src/api/stock.js b/src/api/stock.js index cf38bb1..193a104 100644 --- a/src/api/stock.js +++ b/src/api/stock.js @@ -8,6 +8,14 @@ const getAllStocks = (params) => { }) } +const getStockByLocation = (params) => { + return request({ + url: '/stock/getStockByLocation', + method: 'post', + data: params + }) +} + const getAllStocksByGoodsId = (params) => { return request({ url: '/stock/getAllStocksByGoodsId', @@ -23,9 +31,26 @@ const updateStockInfo = (params) => { data: params }) } +const addStockInfo = (params) => { + return request({ + url: '/stock/addNewStock', + method: 'post', + data: params + }) +} +const deleteStockInfo = (params) => { + return request({ + url: '/stock/deleteStockInfo', + method: 'post', + data: params + }) +} export { getAllStocks, updateStockInfo, - getAllStocksByGoodsId -} \ No newline at end of file + getAllStocksByGoodsId, + addStockInfo, + getStockByLocation, + deleteStockInfo +} diff --git a/src/api/task.js b/src/api/task.js index de62195..4b97c20 100644 --- a/src/api/task.js +++ b/src/api/task.js @@ -193,7 +193,7 @@ const callEmptyVehicle = (params) => { const changeTaskStatus = (params) => { return request({ - url: '/taskDeal/changeTaskStatus', + url: '/taskDeal/updateTaskStatus', method: 'post', data: params }) @@ -252,4 +252,4 @@ export { submitPackageTask, sendBoxArrive, selectVehicleOut -} \ No newline at end of file +} diff --git a/src/api/vehicle.js b/src/api/vehicle.js index 2ffe9f6..de05360 100644 --- a/src/api/vehicle.js +++ b/src/api/vehicle.js @@ -7,7 +7,13 @@ const getAllVehicles = (params) => { data: params }) } - +const getVehiclesByLocation = (params)=> { + return request({ + url: '/location/getVehiclesByLocation', + method: 'post', + data: params + }) +} const updateVehicleInfo = (params) => { return request({ url: '/location/updateVehicleInfo', @@ -27,5 +33,6 @@ const deleteCurrentVehicle = (params) => { export { getAllVehicles, updateVehicleInfo, - deleteCurrentVehicle -} \ No newline at end of file + deleteCurrentVehicle, + getVehiclesByLocation +} diff --git a/src/components/BindingGoods.vue b/src/components/BindingGoods.vue index bbc771d..05202f2 100644 --- a/src/components/BindingGoods.vue +++ b/src/components/BindingGoods.vue @@ -13,7 +13,6 @@ - @@ -22,16 +21,10 @@ - - - - - - - - - - + + + +
@@ -76,7 +69,6 @@ export default { goodsId: '', goodsNum: '', abcSelect: '', - efSelect: '' }, bindOrderInList: [] } @@ -255,4 +247,4 @@ $input-width: 500px; width: $input-width; } - \ No newline at end of file + diff --git a/src/layout/goods.vue b/src/layout/goods.vue index 32cbeee..bb3428c 100644 --- a/src/layout/goods.vue +++ b/src/layout/goods.vue @@ -1,363 +1,283 @@ \ No newline at end of file + diff --git a/src/layout/goodsIn.vue b/src/layout/goodsIn.vue index 1aeca9c..4a9d642 100644 --- a/src/layout/goodsIn.vue +++ b/src/layout/goodsIn.vue @@ -1,96 +1,105 @@ diff --git a/src/layout/stock.vue b/src/layout/stock.vue index 481a78b..2388bf9 100644 --- a/src/layout/stock.vue +++ b/src/layout/stock.vue @@ -1,134 +1,129 @@ diff --git a/src/layout/taskMonitor.vue b/src/layout/taskMonitor.vue index 0f57957..f35099c 100644 --- a/src/layout/taskMonitor.vue +++ b/src/layout/taskMonitor.vue @@ -1,326 +1,339 @@ - \ No newline at end of file +