Commit aa117040 by 李伟康

feat(point): 添加积分系统相关图片资源

- 添加青铜等级排名图标 bronze_ranking.webp
- 添加青铜等级图标 bronze.webp
- 添加优惠券背景图 coupon_bg.webp
- 添加灰色优惠券图标 coupon_grey.webp
- 添加优惠券地址图标 coupon-address.webp
- 添加精英灰色图标 elite_grey.webp
- 添加精英星级图标 elite_star.webp
- 添加金色等级排名图标 gold_ranking.webp
- 添加金色等级图标 gold.webp
- 添加网格布局排名图标 masonry_ranking.webp
- 添加网格布局图标 masonry.webp
- 添加积分背景图 point_bg.webp
- 添加银色等级排名图标 silver_ranking.webp
- 添加银色等级图标 silver.webp
- 添加学习背景图 study_bg.webp
- 添加时间灰色图标 time_grey.webp
1 parent c30e6a31
Showing 39 changed files with 16 additions and 16 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
...@@ -74,7 +74,7 @@ export default { ...@@ -74,7 +74,7 @@ export default {
pointClassification: ['C001', 'C003', 'C002'], pointClassification: ['C001', 'C003', 'C002'],
pointClassName: ['培训类', '行为类', '学习类'], pointClassName: ['培训类', '行为类', '学习类'],
statistics: {}, statistics: {},
levelImg: [require('@/assets/images/point/bronze.png'), require('@/assets/images/point/silver.png'), require('@/assets/images/point/gold.png'), require('@/assets/images/point/masonry.png')], levelImg: [require('@/assets/images/point/time_grey.webp'), require('@/assets/images/point/silver.webp'), require('@/assets/images/point/gold.webp'), require('@/assets/images/point/masonry.webp')],
detail: [], detail: [],
currentIndex: 0, currentIndex: 0,
pointList: [] pointList: []
......
...@@ -41,8 +41,8 @@ ...@@ -41,8 +41,8 @@
<view :class="{ 'star-desc': true, grey: !badgeList.includes(item.medalType) && !isHigh }">{{ item.levelDesc }}</view> <view :class="{ 'star-desc': true, grey: !badgeList.includes(item.medalType) && !isHigh }">{{ item.levelDesc }}</view>
<view class="star-coupon" v-if="item.couponName"> <view class="star-coupon" v-if="item.couponName">
<view class="coupon-box"> <view class="coupon-box">
<image :src="require('@/assets/images/point/coupon_bg.png')" v-if="badgeList.includes(item.medalType) || isHigh"></image> <image :src="require('@/assets/images/point/coupon_bg.webp')" v-if="badgeList.includes(item.medalType) || isHigh"></image>
<image :src="require('@/assets/images/point/coupon_grey.png')" v-else></image> <image :src="require('@/assets/images/point/coupon_grey.webp')" v-else></image>
<view :class="{ 'coupon-title': true, grey: !badgeList.includes(item.medalType) && !isHigh }">{{ item.couponName }}</view> <view :class="{ 'coupon-title': true, grey: !badgeList.includes(item.medalType) && !isHigh }">{{ item.couponName }}</view>
<view :class="{ 'coupon-num': true, grey: !badgeList.includes(item.medalType) && !isHigh }">{{ item.couponCount }}张</view> <view :class="{ 'coupon-num': true, grey: !badgeList.includes(item.medalType) && !isHigh }">{{ item.couponCount }}张</view>
</view> </view>
...@@ -77,8 +77,8 @@ ...@@ -77,8 +77,8 @@
<script> <script>
const GROUP_LIST = [ const GROUP_LIST = [
{ title: '学习之星', style: 'background: #FFFAED;', medalType: 1, logo: require('@/assets/images/point/study_star.png'), logo_grey: require('@/assets/images/point/study_grey.png'), content: '月度学习类积分排名前10名' }, { title: '学习之星', style: 'background: #FFFAED;', medalType: 1, logo: require('@/assets/images/point/study_star.png'), logo_grey: require('@/assets/images/point/study_grey.png'), content: '月度学习类积分排名前10名' },
{ title: '全勤之星', style: 'background: #FFFAED;', medalType: 2, logo: require('@/assets/images/point/time_star.png'), logo_grey: require('@/assets/images/point/time_grey.png'), content: '当月全勤准时打卡,不包含请假特批' }, { title: '全勤之星', style: 'background: #FFFAED;', medalType: 2, logo: require('@/assets/images/point/time_star.webp'), logo_grey: require('@/assets/images/point/time_grey.webp'), content: '当月全勤准时打卡,不包含请假特批' },
{ title: '平板接待精英', style: 'background: #FFFAED;', medalType: 3, logo: require('@/assets/images/point/elite_star.png'), logo_grey: require('@/assets/images/point/elite_grey.png'), content: '平板接待月度无扣分记录' } { title: '平板接待精英', style: 'background: #FFFAED;', medalType: 3, logo: require('@/assets/images/point/elite_star.webp'), logo_grey: require('@/assets/images/point/elite_grey.webp'), content: '平板接待月度无扣分记录' }
] ]
import point from '@/mixin/point' import point from '@/mixin/point'
import pointTrack from '@/mixin/pointTrack' import pointTrack from '@/mixin/pointTrack'
......
...@@ -1225,7 +1225,7 @@ export default { ...@@ -1225,7 +1225,7 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
margin-bottom: toRpx(24); margin-bottom: toRpx(24);
background: url(../../../../assets/images/point/coupon-address.png) no-repeat; background: url(../../../../assets/images/point/coupon-address.webp) no-repeat;
// background-size: 100% auto; // background-size: 100% auto;
// background-image: linear-gradient(90deg, #ffffff99 0%, #ffffffeb 23%, #F5F7FA 100%); // background-image: linear-gradient(90deg, #ffffff99 0%, #ffffffeb 23%, #F5F7FA 100%);
border-radius: toRpx(16); border-radius: toRpx(16);
......
...@@ -67,14 +67,14 @@ const POINT_LIST = [ ...@@ -67,14 +67,14 @@ const POINT_LIST = [
{ {
id: 0, id: 0,
title: '积分排行', title: '积分排行',
src: require('@/assets/images/point/point_bg.png'), src: require('@/assets/images/point/point_bg.webp'),
style: 'background: #fef2cb99;', style: 'background: #fef2cb99;',
isCrown: true isCrown: true
}, },
{ {
id: 1, id: 1,
title: '学习之星', title: '学习之星',
src: require('@/assets/images/point/study_bg.png'), src: require('@/assets/images/point/study_bg.webp'),
style: 'background-image: linear-gradient(270deg, #c2d8fc59 0%, #d1e9ff59 100%);' style: 'background-image: linear-gradient(270deg, #c2d8fc59 0%, #d1e9ff59 100%);'
}, },
{ {
...@@ -101,8 +101,8 @@ export default { ...@@ -101,8 +101,8 @@ export default {
selectItem: {}, selectItem: {},
detail: [], detail: [],
currentIndex: 0, currentIndex: 0,
pointImg: [require('@/assets/images/point/bronze_ranking.png'), require('@/assets/images/point/silver_ranking.png'), require('@/assets/images/point/masonry_ranking.png')], pointImg: [require('@/assets/images/point/bronze_ranking.webp'), require('@/assets/images/point/silver_ranking.webp'), require('@/assets/images/point/masonry_ranking.webp')],
starImg: [require('@/assets/images/point/study_star.png'), require('@/assets/images/point/time_star.png'), require('@/assets/images/point/elite_star.png')], starImg: [require('@/assets/images/point/study_star.png'), require('@/assets/images/point/time_star.webp'), require('@/assets/images/point/elite_star.webp')],
pointList: [] pointList: []
} }
}, },
......
...@@ -119,8 +119,8 @@ ...@@ -119,8 +119,8 @@
<script type="text/ecmascript-6"> <script type="text/ecmascript-6">
const START_LIST = [{ title: '学习之星', medalType: 1, logo: require('@/assets/images/point/study_star.png'), logo_grey: require('@/assets/images/point/study_grey.png'), }, const START_LIST = [{ title: '学习之星', medalType: 1, logo: require('@/assets/images/point/study_star.png'), logo_grey: require('@/assets/images/point/study_grey.png'), },
{ title: '全勤之星', medalType: 2, logo: require('@/assets/images/point/time_star.png'), logo_grey: require('@/assets/images/point/time_grey.png'), }, { title: '全勤之星', medalType: 2, logo: require('@/assets/images/point/time_star.webp'), logo_grey: require('@/assets/images/point/time_grey.webp'), },
{ title: '平板接待精英', medalType: 4, logo: require('@/assets/images/point/elite_star.png'), logo_grey: require('@/assets/images/point/elite_grey.png'), }] { title: '平板接待精英', medalType: 4, logo: require('@/assets/images/point/elite_star.webp'), logo_grey: require('@/assets/images/point/elite_grey.webp'), }]
import pointTrack from '@/mixin/pointTrack' import pointTrack from '@/mixin/pointTrack'
export default { export default {
mixins: [pointTrack], mixins: [pointTrack],
...@@ -139,28 +139,28 @@ export default { ...@@ -139,28 +139,28 @@ export default {
titleStyle: 'background: linear-gradient(129deg, #88696B 13%, #665253 91%);color: transparent; background-clip: text;-webkit-background-clip: text; ', titleStyle: 'background: linear-gradient(129deg, #88696B 13%, #665253 91%);color: transparent; background-clip: text;-webkit-background-clip: text; ',
subTitleStyle: 'color: #995737;background-image: linear-gradient(94deg, #ffffff3d 2%, #ffffff66 51%, #ffffff1f 99%);', subTitleStyle: 'color: #995737;background-image: linear-gradient(94deg, #ffffff3d 2%, #ffffff66 51%, #ffffff1f 99%);',
style: 'background-image: linear-gradient(138deg, #F5E7DE 0%, #F1DBCF 20%, #F1DACD 39%, #EACEC0 40%, #EACDBF 70%, #F3DBD0 100%);', style: 'background-image: linear-gradient(138deg, #F5E7DE 0%, #F1DBCF 20%, #F1DACD 39%, #EACEC0 40%, #EACDBF 70%, #F3DBD0 100%);',
logo: require('@/assets/images/point/bronze.png'), logo: require('@/assets/images/point/time_grey.webp'),
}, },
{ {
title: '白银级熟手', title: '白银级熟手',
titleStyle: 'background: linear-gradient(129deg, #4A668F 13%, #333B43 91%);color: transparent; background-clip: text;webkit-background-clip: text;', titleStyle: 'background: linear-gradient(129deg, #4A668F 13%, #333B43 91%);color: transparent; background-clip: text;webkit-background-clip: text;',
subTitleStyle: 'color: #556985;background-image: linear-gradient(94deg, #ffffff3d 2%, #ffffff66 51%, #ffffff1f 99%);', subTitleStyle: 'color: #556985;background-image: linear-gradient(94deg, #ffffff3d 2%, #ffffff66 51%, #ffffff1f 99%);',
style: 'background-image: linear-gradient(138deg, #EDF0F5 0%, #E0E7EF 25%, #E4EAF2 39%, #DDE4ED 40%, #CCD7E6 74%, #D8E1ED 100%);', style: 'background-image: linear-gradient(138deg, #EDF0F5 0%, #E0E7EF 25%, #E4EAF2 39%, #DDE4ED 40%, #CCD7E6 74%, #D8E1ED 100%);',
logo: require('@/assets/images/point/silver.png'), logo: require('@/assets/images/point/silver.webp'),
}, },
{ {
title: '黄金级能手', title: '黄金级能手',
titleStyle: 'background: linear-gradient(129deg, #B17813 13%, #794308 91%);color: transparent; background-clip: text;webkit-background-clip: text;', titleStyle: 'background: linear-gradient(129deg, #B17813 13%, #794308 91%);color: transparent; background-clip: text;webkit-background-clip: text;',
subTitleStyle: 'color: #855A1B;background-image: linear-gradient(94deg, #ffffff3d 2%, #ffffff66 51%, #ffffff1f 99%);', subTitleStyle: 'color: #855A1B;background-image: linear-gradient(94deg, #ffffff3d 2%, #ffffff66 51%, #ffffff1f 99%);',
style: 'background-image: linear-gradient(138deg, #F7EFD7 0%, #F1E3C0 25%, #F1E4C1 39%, #EAD6A8 40%, #EAD6A6 74%, #F0E3C0 100%);', style: 'background-image: linear-gradient(138deg, #F7EFD7 0%, #F1E3C0 25%, #F1E4C1 39%, #EAD6A8 40%, #EAD6A6 74%, #F0E3C0 100%);',
logo: require('@/assets/images/point/gold.png'), logo: require('@/assets/images/point/gold.webp'),
}, },
{ {
title: '钻石级专家', title: '钻石级专家',
titleStyle: 'background: linear-gradient(111deg, #E7E8FD 11%, #C7CDF2 53%, #F4D8E8 100%);color: transparent; background-clip: text;webkit-background-clip: text;', titleStyle: 'background: linear-gradient(111deg, #E7E8FD 11%, #C7CDF2 53%, #F4D8E8 100%);color: transparent; background-clip: text;webkit-background-clip: text;',
subTitleStyle: 'color: #E7E8FD;background-image: linear-gradient(94deg, #ffffff3d 2%, #ffffff66 51%, #ffffff1f 99%);', subTitleStyle: 'color: #E7E8FD;background-image: linear-gradient(94deg, #ffffff3d 2%, #ffffff66 51%, #ffffff1f 99%);',
style: 'background-image: linear-gradient(138deg, #7162B6 0%, #433C94 25%, #313279 39%, #272A5B 40%, #2F356B 74%, #363E7A 100%);', style: 'background-image: linear-gradient(138deg, #7162B6 0%, #433C94 25%, #313279 39%, #272A5B 40%, #2F356B 74%, #363E7A 100%);',
logo: require('@/assets/images/point/masonry.png'), logo: require('@/assets/images/point/masonry.webp'),
} }
], ],
starList: [], starList: [],
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!