提交 ec2090fc 作者: 方治民

fix: 图片地址路径引用错误

上级 e37655d2
......@@ -88,8 +88,8 @@
channels: [
{
text: '高品质、即时配送和沉浸式体验构建品牌护城河',
icon: '/src/static/images/qudao/盒马鲜生.png',
iconLeft: '/src/static/images/qudao/盒马鲜生-左.png',
icon: '/static/images/qudao/hema.png',
iconLeft: '/static/images/qudao/hema-left.png',
backgroundColor: '#DBF8FF',
iconColor: '#252772',
textColor: '#282A74',
......@@ -97,8 +97,8 @@
},
{
text: '“不卖隔夜肉”的社区短链模式主打极致新鲜',
icon: '/src/static/images/qudao/钱大妈.png',
iconLeft: '/src/static/images/qudao/钱大妈-左.png',
icon: '/static/images/qudao/qiandama.png',
iconLeft: '/static/images/qudao/qiandama-左left.png',
backgroundColor: '#FFE8E8',
iconColor: '#FE0000',
textColor: '#540000',
......@@ -106,8 +106,8 @@
},
{
text: '商品齐全物美价廉“美团运力”实现万物速达',
icon: '/src/static/images/qudao/小象超市.png',
iconLeft: '/src/static/images/qudao/小象超市-左.png',
icon: '/static/images/qudao/xiaoxiangchaoshi.png',
iconLeft: '/static/images/qudao/xiaoxiangchaoshi-left.png',
backgroundColor: '#E2FFDE',
iconColor: '#00C53B',
textColor: '#024A18',
......@@ -115,8 +115,8 @@
},
{
text: '无与伦比的源头价格和海量品类选择',
icon: '/src/static/images/qudao/红星.png',
iconLeft: '/src/static/images/qudao/红星-左.png',
icon: '/static/images/qudao/hongxing.png',
iconLeft: '/static/images/qudao/hongxing-left.png',
backgroundColor: '#F5DADD',
iconColor: '#E70E30',
textColor: '#570612',
......@@ -124,8 +124,8 @@
},
{
text: '畜牧类采购需求大“猪肉垂直”的深度专家',
icon: '/src/static/images/qudao/牧壹猪.png',
iconLeft: '/src/static/images/qudao/牧壹猪-左.png',
icon: '/static/images/qudao/muyizhu.png',
iconLeft: '/static/images/qudao/muyizhu-left.png',
backgroundColor: '#C0D1C7',
iconColor: '#383838',
textColor: '#223D27',
......@@ -133,8 +133,8 @@
},
{
text: '区域性优势明显“区域深耕”织密本地网络',
icon: '/src/static/images/qudao/菜鲜宜.png',
iconLeft: '/src/static/images/qudao/菜鲜宜-左.png',
icon: '/static/images/qudao/caixianyi.png',
iconLeft: '/static/images/qudao/caixianyi-left.png',
backgroundColor: '#C4F2DE',
iconColor: '#14AE68',
textColor: '#064529',
......@@ -354,7 +354,7 @@
v-if="pageData.currentTransactionTab === 2 && pageData.supplyInfos.length === 0"
style="height: 528rpx"
>
<fui-empty src="/src/static/images/no-data.png" title="暂无数据" />
<fui-empty src="/static/images/no-data.png" title="暂无数据" />
</view>
<!-- 供应信息列表 -->
<template v-for="(info, index) in pageData.supplyInfos" :key="info.id">
......@@ -417,7 +417,7 @@
v-if="pageData.currentTransactionTab === 1 && pageData.purchaseDemands.length === 0"
style="height: 528rpx"
>
<fui-empty src="/src/static/images/no-data.png" title="暂无数据" />
<fui-empty src="/static/images/no-data.png" title="暂无数据" />
</view>
<view v-else>
<template v-for="(demand, index) in pageData.purchaseDemands" :key="demand.id">
......
......@@ -13,7 +13,7 @@
!isNull(detail) ? '时间: ' + dayjs(detail?.publishDate).format('YYYY年MM月DD日') : ''
}}</text>
<view class="mr-1">
<img v-show="detail?.viewCount" class="mr-1" src="/src/static/images/news/views.png" />
<img v-show="detail?.viewCount" class="mr-1" src="/static/images/news/views.png" />
<text>{{ detail?.viewCount }}</text>
</view>
</view>
......
......@@ -11,7 +11,7 @@
<view class="text-25 mt-1 mb-2">{{ item.title }}</view>
<view class="flex justify-between text-25 color-#686868">
<view class="mr-1">
<img class="mr-1" src="/src/static/images/news/views.png" />
<img class="mr-1" src="/static/images/news/views.png" />
<text>{{ item.viewCount }}</text>
</view>
<text>{{ dayjs(item.publishDate).format('MM-DD') }}</text>
......@@ -51,7 +51,7 @@
params: {
pageNo: 1,
pageSize: 10,
classify: null
classify: null,
}, // 分页参数
hasMore: true, // 是否还有更多数据
loading: false, // 是否正在加载
......
......@@ -221,8 +221,7 @@
}
onReachBottom(() => {
console.log('触底了')
if (pageData.total <= pageData.employmentList.length)
return
if (pageData.total <= pageData.employmentList.length) return
pageData.search.pageNo++
getEmploymentList()
})
......@@ -232,8 +231,13 @@ return
<view class="codefun-flex-col page">
<view class="codefun-flex-col codefun-self-stretch">
<view class="codefun-mt-14 codefun-flex-row group_2 gap-2">
<view v-for="tab in pageData.categoryTabs" :key="tab.id" class="codefun-flex-col codefun-justify-start codefun-items-center"
:class="[tab.id === pageData.search.type ? 'text-wrapper' : 'text-wrapper_2']" @click="onCategoryTabClick(tab)">
<view
v-for="tab in pageData.categoryTabs"
:key="tab.id"
class="codefun-flex-col codefun-justify-start codefun-items-center"
:class="[tab.id === pageData.search.type ? 'text-wrapper' : 'text-wrapper_2']"
@click="onCategoryTabClick(tab)"
>
<text class="font_2 text_2">
{{ tab.name }}
</text>
......@@ -242,8 +246,13 @@ return
<view class="codefun-mt-14 codefun-flex-col group_3">
<view class="codefun-flex-row section_2">
<view v-for="tab in pageData.employmentTabs" :key="tab.id" class="codefun-flex-col codefun-justify-start codefun-items-center text-50p"
:class="[tab.id === pageData.currentEmploymentId ? 'text-wrapper_3' : 'codefun-self-start']" @click="onEmploymentTabClick(tab)">
<view
v-for="tab in pageData.employmentTabs"
:key="tab.id"
class="codefun-flex-col codefun-justify-start codefun-items-center text-50p"
:class="[tab.id === pageData.currentEmploymentId ? 'text-wrapper_3' : 'codefun-self-start']"
@click="onEmploymentTabClick(tab)"
>
<text class="font_2">
{{ tab.name }}
</text>
......@@ -251,41 +260,60 @@ return
</view>
<view class="codefun-flex-col codefun-relative list">
<view v-if="!pageData.employmentList || pageData.employmentList.length == 0" style="height: 700rpx">
<fui-empty marginTop="100" src="/src/static/images/no-data.png" title="暂无数据" />
<fui-empty marginTop="100" src="/static/images/no-data.png" title="暂无数据" />
</view>
<template v-else>
<view class="codefun-flex-col list-item" v-for="item in pageData.employmentList" :key="item.id" @click="onEmploymentItemClick(item)" >
<view
class="codefun-flex-col list-item"
v-for="item in pageData.employmentList"
:key="item.id"
@click="onEmploymentItemClick(item)"
>
<view class="codefun-flex-row">
<image class="image_7" :src="item.picture" lazy-load />
<view class="codefun-flex-col codefun-flex-1 codefun-self-center group_4">
<view class="codefun-flex-row codefun-justify-between codefun-items-center">
<text class="codefun-self-start font">{{ item.name }}</text>
<view>
<image class="codefun-self-start image_8" src="/src/static/images/codefun/c98744e63719b5413f260ec6a899ee20.png" />
<image
class="codefun-self-start image_8"
src="/static/images/codefun/c98744e63719b5413f260ec6a899ee20.png"
/>
<text class="codefun-self-start font_3 text_9">{{ item.area }}</text>
</view>
</view>
<view class="codefun-flex-row codefun-justify-between codefun-items-center codefun-self-stretch mt-11" >
<view
class="codefun-flex-row codefun-justify-between codefun-items-center codefun-self-stretch mt-11"
>
<view class="flex codefun-items-center gap-1">
<image class="image_9" src="/src/static/images/time.svg" />
<text class="font_4">预计{{item.daysDiff || getDaysDiff(item.starttime, item.estimatedendtime)}}</text>
<image class="image_9" src="/static/images/time.svg" />
<text class="font_4"
>预计{{
item.daysDiff || getDaysDiff(item.starttime, item.estimatedendtime)
}}</text
>
</view>
<view class="flex codefun-items-center gap-1">
<image class="image_9" src="/src/static/images/person.svg" />
<image class="image_9" src="/static/images/person.svg" />
<text class="font_4">需要{{ item.workers }}</text>
</view>
<view class="flex codefun-items-center gap-1">
<image class="image_9" src="/src/static/images/money.svg" />
<image class="image_9" src="/static/images/money.svg" />
<text class="font_4 text_10">{{ item.price }}</text>
</view>
</view>
</view>
</view>
<view class="codefun-mt-8 codefun-flex-row codefun-justify-between codefun-items-center">
<view class="flex-center"> <fui-rate :score="item.urgentdegree" :size="36" />
<view class="flex-center">
<fui-rate :score="item.urgentdegree" :size="36" />
<text class="font_5 ml-1">{{ item.urgentdegree }}</text>
</view>
<view v-if="pageData.currentEmploymentId !== 2" class="codefun-flex-col codefun-justify-start codefun-items-center text-wrapper_4" @click.stop="onQuoteClick(item)" >
<view
v-if="pageData.currentEmploymentId !== 2"
class="codefun-flex-col codefun-justify-start codefun-items-center text-wrapper_4"
@click.stop="onQuoteClick(item)"
>
<text class="font_6 text_12">我想去</text>
</view>
</view>
......
......@@ -235,7 +235,7 @@
<view class="px-6 pt-4">
<view class="w-full h-130rpx pl-3 border-rd-lg bg-#fff flex justify-between items-center">
<view class="w-40% flex flex-row">
<img src="/src/static/images/codefun/shield.png" />
<img src="/static/images/codefun/shield.png" />
<view class="color-#FFAA1E text-50 line-height-loose">726</view>
</view>
<view class="w-60%">
......
<template>
<view class="p-3" style="font-family: '思源黑体'; font-weight: 400;">
<view class="p-3" style="font-family: '思源黑体'; font-weight: 400">
<view class="flex flex-col justify-between mt-1 mb-6">
<view class="text-35 color-#333333 text-center mb-3">{{ detail?.title }}</view>
<view class="flex flex-col text-25 color-#686868">
......@@ -12,7 +12,7 @@
!isNull(detail) ? '时间: ' + dayjs(detail?.publishDate).format('YYYY年MM月DD日') : ''
}}</text>
<view class="mr-1">
<img v-show="detail?.viewCount" class="mr-1" src="/src/static/images/news/views.png" />
<img v-show="detail?.viewCount" class="mr-1" src="/static/images/news/views.png" />
<text>{{ detail?.viewCount }}</text>
</view>
</view>
......@@ -23,12 +23,17 @@
<view v-show="content.type === 'VIDEO'">
<video class="w-full" :src="content.url ? content.url : ''" controls />
</view>
<view v-show="content.type === 'PARAGRAPH'" style="text-indent: 2rem;">
<view v-show="content.type === 'PARAGRAPH'" style="text-indent: 2rem">
<text>{{ content.content }}</text>
</view>
<view v-show="content.type === 'IMAGE'">
<img class="w-full" :src="content.url ? content.url : ''" />
<text v-show="content.caption" class="w-full text-25 color-#686868 text-center" style="display: inline-block;">{{ content.caption }}</text>
<text
v-show="content.caption"
class="w-full text-25 color-#686868 text-center"
style="display: inline-block"
>{{ content.caption }}</text
>
</view>
</view>
</view>
......
......@@ -2,16 +2,22 @@
<view class="w-full h-95vh p-2 bg-#E6F5E8">
<!-- <view class="tag-box">
<view class="tag" :class="infoType === 0 ? 'active' : ''" @click="switchNavigate(0)">
<img :src="infoType === 0 ? '/src/static/images/news/news-active.png' : '/src/static/images/news/news.png'" />
<img :src="infoType === 0 ? '/static/images/news/news-active.png' : '/static/images/news/news.png'" />
热点新闻
</view>
<view class="tag" :class="infoType === 1 ? 'active' : ''" @click="switchNavigate(1)">
<img :src="infoType === 1 ? '/src/static/images/news/policy-active.png' : '/src/static/images/news/policy.png'" />
<img :src="infoType === 1 ? '/static/images/news/policy-active.png' : '/static/images/news/policy.png'" />
农业政策
</view>
</view> -->
<!-- 列表 -->
<scroll-view class="w-full h-full" style="font-family: '思源黑体'; font-weight: 400;" scroll-y @scrolltolower="getNewsList(model.params)" :show-scrollbar="false">
<scroll-view
class="w-full h-full"
style="font-family: '思源黑体'; font-weight: 400"
scroll-y
@scrolltolower="getNewsList(model.params)"
:show-scrollbar="false"
>
<view
v-for="news in newsList"
:key="news.id"
......@@ -23,7 +29,7 @@
<view class="flex flex-row justify-between text-25 color-#686868">
<text>{{ news.publishDate }}</text>
<view class="mr-1">
<img class="mr-1" src="/src/static/images/news/views.png" />
<img class="mr-1" src="/static/images/news/views.png" />
<text>{{ news.viewCount }}</text>
</view>
</view>
......
......@@ -5,7 +5,7 @@
import * as NongjifuwuAPI from '@/api/model/nongjifuwu'
import Navigate from '@/utils/page/navigate'
import { s } from 'vite/dist/node/types.d-aGj9QkWt'
import { s } from 'vite/dist/node/types.d-aGj9QkWt'
import { getDictData, getText } from '@/utils/dict/area'
onLoad((option) => {
......@@ -105,8 +105,6 @@ import { s } from 'vite/dist/node/types.d-aGj9QkWt'
applyDialogRef.value.open(item)
}
function handleChangeAddress(e) {
pageData.search.scope = e.value.join(',')
pageData.show.address = false
......@@ -159,7 +157,7 @@ import { s } from 'vite/dist/node/types.d-aGj9QkWt'
class="codefun-flex-col codefun-relative section_4"
style="height: 700rpx"
>
<fui-empty marginTop="100" src="/src/static/images/no-data.png" title="暂无数据" />
<fui-empty marginTop="100" src="/static/images/no-data.png" title="暂无数据" />
</view>
<view class="codefun-flex-col codefun-relative section_4">
<view class="codefun-flex-row group_6" v-for="item in pageData.farmMachineList" :key="item.id">
......
......@@ -241,7 +241,7 @@
</view>
<view class="codefun-mt-6 codefun-flex-col codefun-self-stretch">
<view v-if="!pageData.products || pageData.products.length == 0" style="height: 700rpx">
<fui-empty marginTop="100" src="/src/static/images/no-data.png" title="暂无数据" />
<fui-empty marginTop="100" src="/static/images/no-data.png" title="暂无数据" />
</view>
<template v-else>
<view
......
......@@ -85,15 +85,15 @@
actionText: '',
icon: {
1: {
icon: '/src/static/images/codefun/doc_img.png',
icon: '/static/images/codefun/doc_img.png',
name: '文档格式',
},
2: {
icon: '/src/static/images/codefun/elx_img.png',
icon: '/static/images/codefun/elx_img.png',
name: '表格格式',
},
3: {
icon: '/src/static/images/codefun/pdf_img.png',
icon: '/static/images/codefun/pdf_img.png',
name: 'PDF格式',
},
},
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论