This commit is contained in:
oneao committed 2026-03-19 17:28:47 +08:00
1 parent 6c20d0c80d
commit 4aaa93df7d
66 files changed
+4375 -1311

No files matched your search

@@ -5,7 +5,7 @@ import { useUserStore } from '@/store'
const userStore = useUserStore()
onShow(() => {
// userStore.requireLogin()
userStore.requireLogin()
})
function handleLoginOut() {
@@ -94,7 +94,11 @@ const avatarText = computed(() => {
</view>
</template>
<style lang="scss" scoped>
page {
background-color: #f1f5f9;
}
.account-header {
display: flex;
align-items: center;
@@ -4,7 +4,7 @@ import { useUserStore } from '@/store'
const userStore = useUserStore()
onShow(() => {
// userStore.requireLogin()
userStore.requireLogin()
})
const swiperCurrent = ref(0)
@@ -67,51 +67,11 @@ function toLinkUrl(url) {
<view v-if="userStore.isLogined" class="grid-container">
<sar-grid :columns="2" gap="24rpx">
<sar-grid-item
@click="toLinkUrl('/pages-sub/waybill/index')"
@click="toLinkUrl('/pages-sub/upload/index')"
>
<view class="grid-item">
<image src="/static/images/home/waybill.png" />
<text>在途运单</text>
</view>
</sar-grid-item>
<sar-grid-item
@click="toLinkUrl('/pages-sub/waybill-history/index')"
>
<view class="grid-item">
<image src="/static/images/home/HistoricalWaybill.png" />
<text>历史运单</text>
</view>
</sar-grid-item>
<sar-grid-item
@click="toLinkUrl('/pages-sub/yewu-yingfu/index')"
>
<view class="grid-item">
<image src="/static/images/home/MyExpenses.png" />
<text>业务应付</text>
</view>
</sar-grid-item>
<sar-grid-item
@click="toLinkUrl('/pages-sub/feiyong-baoxiao/index')"
>
<view class="grid-item">
<image src="/static/images/home/ExpensesClaimIndex.png" />
<text>费用报销</text>
</view>
</sar-grid-item>
<sar-grid-item
@click="toLinkUrl('/pages-sub/jiayou/index')"
>
<view class="grid-item">
<image src="/static/images/home/refuelling.png" />
<text>加油管理</text>
</view>
</sar-grid-item>
<sar-grid-item
@click="toLinkUrl('/pages-sub/cheliang-weixiu/index')"
>
<view class="grid-item">
<image src="/static/images/home/CheliangWeixiu.png" />
<text>车辆维修</text>
<text>集装箱装货采集</text>
</view>
</sar-grid-item>
</sar-grid>
@@ -127,6 +87,10 @@ function toLinkUrl(url) {
</template>
<style lang="scss" scoped>
page {
background-color: #f1f5f9;
}
.swiper-container {
position: relative;
.swiper {