Commit 70f6bec5 by 李伟康

feat(images): 将图片资源从PNG格式转换为WEBP格式以优化性能

- 将NoticePopup组件中的通知图标从PNG转换为WEBP格式
- 将HomeFrame组件中的学习中心背景图从PNG转换为WEBP格式
- 将HomeFrame组件中的警告提示背景图从PNG转换为WEBP格式
- 将HomeFrame组件中的开始按钮背景图从PNG转换为WEBP格式
- 将ActivityCenter组件中的无数据提示图标从PNG转换为WEBP格式
- 将MessagePop组件中的学习提醒背景图从PNG转换为WEBP格式
- 将StudyCenter组件中的标题背景图从PNG转换为WEBP格式
- 将StudyCenter1组件中的限制页面背景图从PNG转换为WEBP格式
- 将ActivityCard组件中的背景图从PNG转换为WEBP格式
- 将Income模块中的提示和历史记录空状态图标从PNG转换为WEBP格式
- 将Point模块中的积分项图标和默认优惠券图片从PNG转换为WEBP格式
- 将Ranking组件中的勤奋背景图从PNG转换为WEBP格式
- 将Study模块中的课程和考试结果空状态图标从PNG转换为WEBP格式
- 批量替换所有common、boutique、point等目录下的图片资源为WEBP格式
- 新增22个WEBP格式的图片资源文件到各个分类目录中
1 parent 0a67b91b
Showing 123 changed files with 58 additions and 57 deletions
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
...@@ -188,7 +188,7 @@ export default { ...@@ -188,7 +188,7 @@ export default {
left: 0; left: 0;
width: toRpx(122); width: toRpx(122);
height: toRpx(48); height: toRpx(48);
background-image: url('../../../../assets/images/common/limit-page.png'); background-image: url('../../../../assets/images/common/limit-page.webp');
background-size: cover; background-size: cover;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
</u-list> </u-list>
<template v-else> <template v-else>
<view class="nothing flex"> <view class="nothing flex">
<image class="icon" src="../../../assets/images/common/noData.png" /> <image class="icon" src="../../../assets/images/common/noData.webp" />
暂无记录 暂无记录
</view> </view>
</template> </template>
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
</scroll-view> </scroll-view>
<template v-else> <template v-else>
<view class="nothing flex"> <view class="nothing flex">
<image class="icon" src="../../../assets/images/common/noData.png" /> <image class="icon" src="../../../assets/images/common/noData.webp" />
暂无数据 暂无数据
</view> </view>
</template> </template>
...@@ -120,7 +120,7 @@ ...@@ -120,7 +120,7 @@
<template v-else> <template v-else>
<view class="flex algin-center justify-between w-100 h-100"> <view class="flex algin-center justify-between w-100 h-100">
<view class="flex noData"> <view class="flex noData">
<image class="icon" src="../../../assets/images/boutique/nothing.png" /> <image class="icon" src="../../../assets/images/boutique/nothing.webp" />
暂无数据 暂无数据
</view> </view>
</view> </view>
...@@ -130,7 +130,7 @@ ...@@ -130,7 +130,7 @@
<template v-else> <template v-else>
<view class="flex algin-center justify-between w-100 h-100"> <view class="flex algin-center justify-between w-100 h-100">
<view class="flex noData"> <view class="flex noData">
<image class="icon" src="../../../assets/images/boutique/nothing.png" /> <image class="icon" src="../../../assets/images/boutique/nothing.webp" />
暂无数据 暂无数据
</view> </view>
</view> </view>
...@@ -322,7 +322,7 @@ export default { ...@@ -322,7 +322,7 @@ export default {
margin-right: toRpx(48); margin-right: toRpx(48);
border-radius: toRpx(48); border-radius: toRpx(48);
height: calc(100vh - #{toRpx(136)}); height: calc(100vh - #{toRpx(136)});
background: url('@/assets/images/common/activeityCenterBg.png') no-repeat; background: url('@/assets/images/common/activeityCenterBg.webp') no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
overflow: hidden; overflow: hidden;
.title { .title {
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
</view> </view>
<view class="tips-body" v-else> <view class="tips-body" v-else>
<view class="empty-box"> <view class="empty-box">
<image :src="require('@/assets/images/boutique/nothing.png')" mode="heightFix" /> <image :src="require('@/assets/images/boutique/nothing.webp')" mode="heightFix" />
<view class="empty-text">暂无记录</view> <view class="empty-text">暂无记录</view>
</view> </view>
</view> </view>
......
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
</template> </template>
<view class="empty-body" v-else> <view class="empty-body" v-else>
<view class="empty-box"> <view class="empty-box">
<image :src="require('@/assets/images/boutique/nothing.png')" mode="heightFix" /> <image :src="require('@/assets/images/boutique/nothing.webp')" mode="heightFix" />
<view class="empty-text">暂无记录</view> <view class="empty-text">暂无记录</view>
</view> </view>
</view> </view>
......
...@@ -10,21 +10,21 @@ ...@@ -10,21 +10,21 @@
<!-- 当前有 3 个学习任务待完成,请及时处理。 <!-- 当前有 3 个学习任务待完成,请及时处理。
坚持学习助您能力提升! --> 坚持学习助您能力提升! -->
<template v-else-if="type=='study'"> <template v-else-if="type=='study'">
<image class="study-bg" :src="require('@//assets/images/common/study-center-bg.png')"></image> <image class="study-bg" :src="require('@//assets/images/common/study-center-bg.webp')"></image>
<view class="text text-first study-title">学习提醒</view> <view class="text text-first study-title">学习提醒</view>
<view class="text study-text">当前有{{messageData.count}}个学习任务待完成,请及时处理。</view> <view class="text study-text">当前有{{messageData.count}}个学习任务待完成,请及时处理。</view>
<view class="text study-text">坚持学习助您能力提升!</view> <view class="text study-text">坚持学习助您能力提升!</view>
<view class="btn study-btn" @click="jumpStudyCenter">去查看</view> <view class="btn study-btn" @click="jumpStudyCenter">去查看</view>
</template> </template>
<template v-else-if="type=='caseStudy'"> <template v-else-if="type=='caseStudy'">
<image class="study-bg" :src="require('@//assets/images/common/study-center-bg.png')"></image> <image class="study-bg" :src="require('@//assets/images/common/study-center-bg.webp')"></image>
<view class="text text-first study-title">学习提醒</view> <view class="text text-first study-title">学习提醒</view>
<view class="text study-text" v-if="messageData.reminderType == 1">您有新的长课程学习任务:{{messageData.msgTitle}},请及时完成。</view> <view class="text study-text" v-if="messageData.reminderType == 1">您有新的长课程学习任务:{{messageData.msgTitle}},请及时完成。</view>
<view class="text study-text" v-if="messageData.reminderType == 2">您有未完成学习任务:{{messageData.msgTitle}}即将到期,抓紧时间完成哦!</view> <view class="text study-text" v-if="messageData.reminderType == 2">您有未完成学习任务:{{messageData.msgTitle}}即将到期,抓紧时间完成哦!</view>
<view class="btn study-btn" @click="jumpCaseStudy">去学习</view> <view class="btn study-btn" @click="jumpCaseStudy">去学习</view>
</template> </template>
<template v-else-if="type=='caseShare'"> <template v-else-if="type=='caseShare'">
<image class="study-bg" :src="require('@//assets/images/common/case-notice.png')"></image> <image class="study-bg" :src="require('@//assets/images/common/case-notice.webp')"></image>
<view class="text text-first study-title">学习提醒</view> <view class="text text-first study-title">学习提醒</view>
<view class="text study-text" v-if="messageData.reminderType == 1">您有新的优秀案例学习任务:{{messageData.msgTitle}},请及时完成。</view> <view class="text study-text" v-if="messageData.reminderType == 1">您有新的优秀案例学习任务:{{messageData.msgTitle}},请及时完成。</view>
<view class="text study-text" v-if="messageData.reminderType == 2">您有未完成学习任务:{{messageData.msgTitle}}即将到期,抓紧时间完成哦!</view> <view class="text study-text" v-if="messageData.reminderType == 2">您有未完成学习任务:{{messageData.msgTitle}}即将到期,抓紧时间完成哦!</view>
......
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
</view> </view>
</view> </view>
<view class="empty-box" v-else> <view class="empty-box" v-else>
<image :src="require('@/assets/images/boutique/nothing.png')" mode="heightFix" /> <image :src="require('@/assets/images/boutique/nothing.webp')" mode="heightFix" />
<view class="empty-text">暂无积分记录</view> <view class="empty-text">暂无积分记录</view>
</view> </view>
</view> </view>
......
...@@ -61,14 +61,14 @@ export default { ...@@ -61,14 +61,14 @@ export default {
timer: null, timer: null,
selectItem: {}, selectItem: {},
list: [ list: [
{ title: '考勤打卡', typeCode: 'T006', content: '完成日常打卡', rules: '请打开嘀加智慧云企业微信进行上下班打卡', logo: require('@/assets/images/point/day-time.png') }, { title: '考勤打卡', typeCode: 'T006', content: '完成日常打卡', rules: '请打开嘀加智慧云企业微信进行上下班打卡', logo: require('@/assets/images/point/day-time.webp') },
{ title: '日报填写', typeCode: 'T005', content: '完成日报填写', rules: '请打开嘀加智慧云企业微信生意助手员工版填写日报', logo: require('@/assets/images/point/day-report.png') }, { title: '日报填写', typeCode: 'T005', content: '完成日报填写', rules: '请打开嘀加智慧云企业微信生意助手员工版填写日报', logo: require('@/assets/images/point/day-report.webp') },
{ title: '平板接待', typeCode: 'T007', content: '完成平板接待', rules: '即将跳转至展业助手开始接待', logo: require('@/assets/images/point/day-ipad.png'), jump: true }, { title: '平板接待', typeCode: 'T007', content: '完成平板接待', rules: '即将跳转至展业助手开始接待', logo: require('@/assets/images/point/day-ipad.webp'), jump: true },
{ title: '飞行督导带教', typeCode: 'T001', content: '带教课程学习', rules: '请联系督导、运营了解最近培训计划并参与培训', logo: require('@/assets/images/point/day-training.png') }, { title: '飞行督导带教', typeCode: 'T001', content: '带教课程学习', rules: '请联系督导、运营了解最近培训计划并参与培训', logo: require('@/assets/images/point/day-training.webp') },
{ title: '总部集中培训', typeCode: 'T002', content: '总部集中培训', rules: '请联系督导、运营了解最近培训计划并参与培训', logo: require('@/assets/images/point/day-train.png') }, { title: '总部集中培训', typeCode: 'T002', content: '总部集中培训', rules: '请联系督导、运营了解最近培训计划并参与培训', logo: require('@/assets/images/point/day-train.webp') },
{ title: '学习类', typeCode: 'T004', content: '完成学习课程', rules: '请联系督导、运营了解最近培训计划并参与培训', logo: require('@/assets/images/point/day-course.png') }, { title: '学习类', typeCode: 'T004', content: '完成学习课程', rules: '请联系督导、运营了解最近培训计划并参与培训', logo: require('@/assets/images/point/day-course.webp') },
{ title: '预学习', typeCode: 'T003', content: '完成预学习', rules: '即将跳转至客户档案通过录入预交车客户学习推荐套餐方案话术或客户案例广场学习更多套餐方案话术(如门店未开通客户档案则无法访问,请联系运营部门开通)', logo: require('@/assets/images/point/day-study.png'), jump: true, jumpUrl: 'CustomerFile' }, { title: '预学习', typeCode: 'T003', content: '完成预学习', rules: '即将跳转至客户档案通过录入预交车客户学习推荐套餐方案话术或客户案例广场学习更多套餐方案话术(如门店未开通客户档案则无法访问,请联系运营部门开通)', logo: require('@/assets/images/point/day-study.webp'), jump: true, jumpUrl: 'CustomerFile' },
{ title: '行为异常', typeCode: 'T008', content: '完成预学习', rules: '即将跳转至客户档案通过录入预交车客户学习推荐套餐方案话术或客户案例广场学习更多套餐方案话术', logo: require('@/assets/images/point/day-study.png') } { title: '行为异常', typeCode: 'T008', content: '完成预学习', rules: '即将跳转至客户档案通过录入预交车客户学习推荐套餐方案话术或客户案例广场学习更多套餐方案话术', logo: require('@/assets/images/point/day-study.webp') }
], ],
dayList: [], dayList: [],
completed: 0, completed: 0,
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
<view :class="['coupon-bg', `${TYPE_LIST[item.couponState]}-bg`]"> <view :class="['coupon-bg', `${TYPE_LIST[item.couponState]}-bg`]">
<image v-if="item.couponState == 2" class="claimed-left" :src="require('@/assets/images/point/claimed-left.png')" alt="" /> <image v-if="item.couponState == 2" class="claimed-left" :src="require('@/assets/images/point/claimed-left.png')" alt="" />
<view class="coupon-img"> <view class="coupon-img">
<image class="img" mode="aspectFill" :src="item.couUrl || require('@/assets/images/point/default-coupon.png')" alt="" /> <image class="img" mode="aspectFill" :src="item.couUrl || require('@/assets/images/point/default-coupon.webp')" alt="" />
</view> </view>
<view class="coupon-info"> <view class="coupon-info">
<view :class="['coupon-name', { 'gray-name': item.couponState == 3 }]">{{ item.couponName }}</view> <view :class="['coupon-name', { 'gray-name': item.couponState == 3 }]">{{ item.couponName }}</view>
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
<view class="coupon-card"> <view class="coupon-card">
<view :class="['coupon-header', couponDetailInfo.couponState == 2 ? 'detail-header' : '']"> <view :class="['coupon-header', couponDetailInfo.couponState == 2 ? 'detail-header' : '']">
<view class="header-img"> <view class="header-img">
<image :src="couponDetailInfo.couUrl || require('@/assets/images/point/default-coupon.png')" alt="" /> <image :src="couponDetailInfo.couUrl || require('@/assets/images/point/default-coupon.webp')" alt="" />
</view> </view>
<view class="coupon-base-info"> <view class="coupon-base-info">
<h3>{{ couponDetailInfo.couponName }}</h3> <h3>{{ couponDetailInfo.couponName }}</h3>
...@@ -622,7 +622,7 @@ export default { ...@@ -622,7 +622,7 @@ export default {
} }
.expired-bg { .expired-bg {
background: url('../../../../assets/images/point/expired-bg.png') no-repeat; background: url('../../../../assets/images/point/expired-bg.webp') no-repeat;
} }
.unclaimed-bg { .unclaimed-bg {
......
...@@ -80,7 +80,7 @@ const POINT_LIST = [ ...@@ -80,7 +80,7 @@ const POINT_LIST = [
{ {
id: 2, id: 2,
title: '全勤之星', title: '全勤之星',
src: require('@/assets/images/point/diligent_bg.png'), src: require('@/assets/images/point/diligent_bg.webp'),
style: 'background-image: linear-gradient(270deg, #c2d8fc59 0%, #d1e9ff59 100%);' style: 'background-image: linear-gradient(270deg, #c2d8fc59 0%, #d1e9ff59 100%);'
}, },
{ {
......
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
<view class="coupon-card"> <view class="coupon-card">
<view v-for="item in couponList" :key="item.id" class="card-bg" :class="item.couponState == 2 ? 'claimed-bg' : 'unclaimed-bg'"> <view v-for="item in couponList" :key="item.id" class="card-bg" :class="item.couponState == 2 ? 'claimed-bg' : 'unclaimed-bg'">
<view class="coupon-img"> <view class="coupon-img">
<image mode="aspectFit" :src="item.couUrl || require('@/assets/images/point/default-coupon.png')" alt="" /> <image mode="aspectFit" :src="item.couUrl || require('@/assets/images/point/default-coupon.webp')" alt="" />
</view> </view>
<view class="coupon-right"> <view class="coupon-right">
<view :class="['coupon-name', item.couponState == 1 ? 'unclaimed-name' : '']">{{ item.couponName }}</view> <view :class="['coupon-name', item.couponState == 1 ? 'unclaimed-name' : '']">{{ item.couponName }}</view>
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
</template> </template>
<template v-else> <template v-else>
<view class="empty-box"> <view class="empty-box">
<image :src="require('@/assets/images/boutique/nothing.png')" mode="heightFix" /> <image :src="require('@/assets/images/boutique/nothing.webp')" mode="heightFix" />
<view class="empty-text">暂无可用卡券</view> <view class="empty-text">暂无可用卡券</view>
</view> </view>
</template> </template>
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
</template> </template>
<template v-else> <template v-else>
<view class="empty-box"> <view class="empty-box">
<image :src="require('@/assets/images/boutique/nothing.png')" mode="heightFix" /> <image :src="require('@/assets/images/boutique/nothing.webp')" mode="heightFix" />
<view class="empty-text">查看每日积分项,领取积分</view> <view class="empty-text">查看每日积分项,领取积分</view>
</view> </view>
<view class="day-record" @click="jump('dayPoint')">每日积分</view> <view class="day-record" @click="jump('dayPoint')">每日积分</view>
......
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
</template> </template>
<template v-else> <template v-else>
<view class="nothing flex"> <view class="nothing flex">
<image class="icon" src="../../../../assets/images/common/noData.png" /> <image class="icon" src="../../../../assets/images/common/noData.webp" />
暂无数据 暂无数据
</view> </view>
</template> </template>
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
</template> </template>
<template v-else> <template v-else>
<view class="nothing flex"> <view class="nothing flex">
<image class="icon" src="../../../../assets/images/common/noData.png" /> <image class="icon" src="../../../../assets/images/common/noData.webp" />
暂无数据 暂无数据
</view> </view>
</template> </template>
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
:width="848" :width="848"
:closeButton="true" :closeButton="true"
:height="examPopInfo.isExamLoading ? 740 : 656" :height="examPopInfo.isExamLoading ? 740 : 656"
:topImage="require('@/assets/images/common/warning-notice.png')" :topImage="require('@/assets/images/common/warning-notice.webp')"
:topImageWidth="848" :topImageWidth="848"
:topImageHeight="248" :topImageHeight="248"
> >
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
</template> </template>
<template v-else> <template v-else>
<view class="nothing flex"> <view class="nothing flex">
<image class="icon" src="../../../../assets/images/common/noData.png" /> <image class="icon" src="../../../../assets/images/common/noData.webp" />
暂无数据 暂无数据
</view> </view>
</template> </template>
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
:width="848" :width="848"
:closeButton="true" :closeButton="true"
:height="examPopInfo.isExamLoading ? 740 : 656" :height="examPopInfo.isExamLoading ? 740 : 656"
:topImage="require('@/assets/images/common/warning-notice.png')" :topImage="require('@/assets/images/common/warning-notice.webp')"
:topImageWidth="848" :topImageWidth="848"
:topImageHeight="248" :topImageHeight="248"
> >
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
</template> </template>
<template v-else> <template v-else>
<view class="nothing flex"> <view class="nothing flex">
<image class="icon" src="../../../../assets/images/common/noData.png" /> <image class="icon" src="../../../../assets/images/common/noData.webp" />
暂无数据 暂无数据
</view> </view>
</template> </template>
......
...@@ -693,7 +693,7 @@ export default { ...@@ -693,7 +693,7 @@ export default {
.title { .title {
height: toRpx(104); height: toRpx(104);
border-radius: toRpx(32) toRpx(32) 0 0; border-radius: toRpx(32) toRpx(32) 0 0;
background: url('@/assets/images/common/study-title.png') no-repeat center; background: url('@/assets/images/common/study-title.webp') no-repeat center;
background-size: toRpx(656) toRpx(104); background-size: toRpx(656) toRpx(104);
line-height: toRpx(104); line-height: toRpx(104);
padding-left: toRpx(48); padding-left: toRpx(48);
......
...@@ -524,7 +524,7 @@ export default { ...@@ -524,7 +524,7 @@ export default {
left: 0; left: 0;
width: toRpx(122); width: toRpx(122);
height: toRpx(48); height: toRpx(48);
background-image: url('../../../assets/images/common/limit-page.png'); background-image: url('../../../assets/images/common/limit-page.webp');
background-size: cover; background-size: cover;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
......
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
<StudyPopup <StudyPopup
:show.sync="showStudyPopup" :show.sync="showStudyPopup"
title="开始您的学习之旅" title="开始您的学习之旅"
:topImage="require('@/assets/images/common/study-center-bg.png')" :topImage="require('@/assets/images/common/study-center-bg.webp')"
:topImageWidth="848" :topImageWidth="848"
:topImageHeight="248" :topImageHeight="248"
> >
...@@ -194,7 +194,7 @@ ...@@ -194,7 +194,7 @@
title="" title=""
:width="848" :width="848"
:height="examPopInfo.isExamLoading ? 740 : 656" :height="examPopInfo.isExamLoading ? 740 : 656"
:topImage="require('@/assets/images/common/warning-notice.png')" :topImage="require('@/assets/images/common/warning-notice.webp')"
:topImageWidth="848" :topImageWidth="848"
:topImageHeight="248" :topImageHeight="248"
> >
...@@ -213,7 +213,7 @@ ...@@ -213,7 +213,7 @@
title="" title=""
:width="848" :width="848"
:height="870" :height="870"
:topImage="require('@/assets/images/common/warning-notice.png')" :topImage="require('@/assets/images/common/warning-notice.webp')"
:topImageWidth="848" :topImageWidth="848"
:topImageHeight="248" :topImageHeight="248"
style="overflow: hidden" style="overflow: hidden"
...@@ -243,7 +243,7 @@ ...@@ -243,7 +243,7 @@
title="" title=""
:width="848" :width="848"
:height="870" :height="870"
:topImage="require('@/assets/images/common/warning-notice.png')" :topImage="require('@/assets/images/common/warning-notice.webp')"
:topImageWidth="848" :topImageWidth="848"
:topImageHeight="248" :topImageHeight="248"
style="overflow: hidden" style="overflow: hidden"
...@@ -1051,7 +1051,7 @@ export default { ...@@ -1051,7 +1051,7 @@ export default {
box-sizing: border-box; box-sizing: border-box;
margin-right: toRpx(64); margin-right: toRpx(64);
position: relative; position: relative;
background: url('@/assets/images/home/start-btn.png') no-repeat; background: url('@/assets/images/home/start-btn.webp') no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
padding-top: toRpx(60); padding-top: toRpx(60);
display: flex; display: flex;
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<view class="popup-content" :class="[`popup-${type}`]"> <view class="popup-content" :class="[`popup-${type}`]">
<view class="popup-icon"> <view class="popup-icon">
<image <image
:src="require(`@/assets/images/common/${type}-notice.png`)" :src="require(`@/assets/images/common/${type}-notice.webp`)"
mode="aspectFit" mode="aspectFit"
class="icon-image" class="icon-image"
/> />
......
...@@ -379,7 +379,7 @@ export default { ...@@ -379,7 +379,7 @@ export default {
height: toRpx(800); height: toRpx(800);
position: absolute; position: absolute;
left: 0; left: 0;
background-image: url('../../assets/images/boutique/record-bg.png'); background-image: url('../../assets/images/boutique/record-bg.webp');
background-size: 100% 100%; background-size: 100% 100%;
top: 0; top: 0;
} }
......
...@@ -148,7 +148,7 @@ ...@@ -148,7 +148,7 @@
</template> </template>
</PublishPopup> </PublishPopup>
<!-- 学习中心权限弹窗 --> <!-- 学习中心权限弹窗 -->
<StudyPopup :show.sync="showStudyPermissionPopup" title="" :width="848" :height="870" :topImage="require('@/assets/images/common/warning-notice.png')" :topImageWidth="848" :topImageHeight="248" style="overflow: hidden"> <StudyPopup :show.sync="showStudyPermissionPopup" title="" :width="848" :height="870" :topImage="require('@/assets/images/common/warning-notice.webp')" :topImageWidth="848" :topImageHeight="248" style="overflow: hidden">
<StudyCenterPermissionPopup :lockReason="lockReason" @confirm="handleStudyPermissionConfirm" /> <StudyCenterPermissionPopup :lockReason="lockReason" @confirm="handleStudyPermissionConfirm" />
</StudyPopup> </StudyPopup>
</view> </view>
......
...@@ -428,7 +428,7 @@ export default { ...@@ -428,7 +428,7 @@ export default {
width: toRpx(676); width: toRpx(676);
height: toRpx(284); height: toRpx(284);
margin-bottom: toRpx(24); margin-bottom: toRpx(24);
background-image: url('@/assets/images/boutique/nothing.png'); background-image: url('@/assets/images/boutique/nothing.webp');
background-size: 100%; background-size: 100%;
} }
} }
......
...@@ -265,7 +265,7 @@ export default { ...@@ -265,7 +265,7 @@ export default {
height: toRpx(800); height: toRpx(800);
position: absolute; position: absolute;
left: 0; left: 0;
background-image: url('../../assets/images/boutique/record-bg.png'); background-image: url('../../assets/images/boutique/record-bg.webp');
background-size: 100% 100%; background-size: 100% 100%;
top: 0; top: 0;
} }
......
...@@ -274,7 +274,7 @@ export default { ...@@ -274,7 +274,7 @@ export default {
height: toRpx(800); height: toRpx(800);
position: absolute; position: absolute;
left: 0; left: 0;
background-image: url('../../assets/images/boutique/record-bg.png'); background-image: url('../../assets/images/boutique/record-bg.webp');
background-size: 100% 100%; background-size: 100% 100%;
top: 0; top: 0;
} }
......
...@@ -245,7 +245,7 @@ export default { ...@@ -245,7 +245,7 @@ export default {
data() { data() {
return { return {
...order_mixins.data, ...order_mixins.data,
popupBg: require('@/assets/images/boutique/tipsPopupBg.png'), popupBg: require('@/assets/images/boutique/tipsPopupBg.webp'),
positionTypeList: [], positionTypeList: [],
isErrorOrder: false, isErrorOrder: false,
orderInfo: null, orderInfo: null,
...@@ -680,7 +680,7 @@ export default { ...@@ -680,7 +680,7 @@ export default {
background: #ffffff !important; background: #ffffff !important;
.popup-top { .popup-top {
border-radius: toRpx(48) toRpx(48) 0 0; border-radius: toRpx(48) toRpx(48) 0 0;
background: url('@/assets/images/boutique/payTipsBc.png') no-repeat; background: url('@/assets/images/boutique/payTipsBc.webp') no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
margin-bottom: toRpx(16); margin-bottom: toRpx(16);
.popup-top-box { .popup-top-box {
......
...@@ -371,7 +371,7 @@ export default { ...@@ -371,7 +371,7 @@ export default {
selectDate: null, selectDate: null,
warrantyEditObj: {}, warrantyEditObj: {},
isShow: false, isShow: false,
bg: require('@/assets/images/boutique/tipsPopupBg.png'), bg: require('@/assets/images/boutique/tipsPopupBg.webp'),
popupKey: 0 popupKey: 0
} }
}, },
......
...@@ -180,7 +180,7 @@ export default { ...@@ -180,7 +180,7 @@ export default {
width: 100%; width: 100%;
height: toRpx(240) !important; height: toRpx(240) !important;
border-radius: toRpx(12); border-radius: toRpx(12);
background: url('@/assets/images/boutique/uploadImage.png') no-repeat; background: url('@/assets/images/boutique/uploadImage.webp') no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
} }
.previewImageList { .previewImageList {
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<view class="content"> <view class="content">
<image <image
class="banner" class="banner"
src="../../../assets/images/common/tool_banner.png" src="../../../assets/images/common/tool_banner.webp"
mode="scaleToFill" mode="scaleToFill"
/> />
<template v-if="toolComponentName === 'DailyReport'"> <template v-if="toolComponentName === 'DailyReport'">
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
title="" title=""
:width="848" :width="848"
:height="870" :height="870"
:topImage="require('@/assets/images/common/warning-notice.png')" :topImage="require('@/assets/images/common/warning-notice.webp')"
:topImageWidth="848" :topImageWidth="848"
:topImageHeight="248" :topImageHeight="248"
style="overflow: hidden" style="overflow: hidden"
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
title="" title=""
:width="848" :width="848"
:height="870" :height="870"
:topImage="require('@/assets/images/common/warning-notice.png')" :topImage="require('@/assets/images/common/warning-notice.webp')"
:topImageWidth="848" :topImageWidth="848"
:topImageHeight="248" :topImageHeight="248"
style="overflow: hidden" style="overflow: hidden"
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
</view> </view>
<view class="course-detail-box"> <view class="course-detail-box">
<view class="course-detail-img-box"> <view class="course-detail-img-box">
<image class="course-detail-img" src="../../../assets/images/common/case-default-bg.png" <image class="course-detail-img" src="../../../assets/images/common/case-default-bg.webp"
mode="scaleToFill" /> mode="scaleToFill" />
</view> </view>
<view class="course-detail-content"> <view class="course-detail-content">
...@@ -208,7 +208,7 @@ export default { ...@@ -208,7 +208,7 @@ export default {
left: 0; left: 0;
width: toRpx(122); width: toRpx(122);
height: toRpx(48); height: toRpx(48);
background-image: url('../../../assets/images/common/limit-page.png'); background-image: url('../../../assets/images/common/limit-page.webp');
background-size: cover; background-size: cover;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
......
...@@ -88,7 +88,7 @@ export default { ...@@ -88,7 +88,7 @@ export default {
padding: 30rpx; padding: 30rpx;
height: 152rpx; height: 152rpx;
// border-bottom: 1rpx solid #eee; // border-bottom: 1rpx solid #eee;
background: url('@/assets/images/common/right-header.png') no-repeat center center; background: url('@/assets/images/common/right-header.webp') no-repeat center center;
background-size: 100% 100%; background-size: 100% 100%;
border-radius: 48rpx 0 0 0; border-radius: 48rpx 0 0 0;
......
...@@ -75,6 +75,7 @@ export default { ...@@ -75,6 +75,7 @@ export default {
handler(val) { handler(val) {
this.loadComplete = false this.loadComplete = false
this.list = utils.deepClone(val) this.list = utils.deepClone(val)
console.log(this.list)
setTimeout(() => { setTimeout(() => {
this.loadComplete = true this.loadComplete = true
}, 200) }, 200)
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<view class="nothing-box"> <view class="nothing-box">
<image <image
class="icon" class="icon"
:src="require('@//assets/images/common/noData.png')" :src="require('@//assets/images/common/noData.webp')"
/> />
<text class="text">{{ text }}</text> <text class="text">{{ text }}</text>
</view> </view>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!