Commit 0630c826 by liimin

添加图标

1 parent 6598e432
......@@ -7,11 +7,11 @@
.i-authorize-active { width: 20px; height: 20px; background-position: -163px -30px; }
.i-authorize { width: 20px; height: 20px; background-position: -163px -60px; }
.i-avatar { width: 32px; height: 32px; background-position: 0px 0px; }
.i-back { width: 10px; height: 10px; background-position: -190px -225px; }
.i-back { width: 10px; height: 10px; background-position: -100px -255px; }
.i-checked { width: 20px; height: 20px; background-position: -163px -90px; }
.i-commodity-active { width: 20px; height: 21px; background-position: -72px 0px; }
.i-commodity { width: 20px; height: 21px; background-position: 0px -42px; }
.i-contact { width: 16px; height: 16px; background-position: -90px -225px; }
.i-contact { width: 16px; height: 16px; background-position: 0px -255px; }
.i-content-active { width: 20px; height: 21px; background-position: -30px -42px; }
.i-content { width: 20px; height: 21px; background-position: -60px -42px; }
.i-coupon-active { width: 20px; height: 20px; background-position: 0px -135px; }
......@@ -20,55 +20,61 @@
.i-custom { width: 20px; height: 20px; background-position: -90px -135px; }
.i-dataview-active { width: 20px; height: 20px; background-position: -120px -135px; }
.i-dataview { width: 20px; height: 20px; background-position: -150px -135px; }
.i-discover-active { width: 20px; height: 20px; background-position: -193px 0px; }
.i-default-active { width: 20px; height: 20px; background-position: -193px 0px; }
.i-default { width: 20px; height: 20px; background-position: -193px -30px; }
.i-discover-active { width: 20px; height: 20px; background-position: -193px -60px; }
.i-discover { width: 21px; height: 20px; background-position: -102px 0px; }
.i-dot { width: 12px; height: 12px; background-position: -168px -225px; }
.i-drainage-active { width: 20px; height: 20px; background-position: -193px -30px; }
.i-drainage { width: 20px; height: 20px; background-position: -193px -60px; }
.i-edit-active { width: 20px; height: 20px; background-position: -193px -90px; }
.i-edit { width: 20px; height: 20px; background-position: -193px -120px; }
.i-equity-active { width: 20px; height: 20px; background-position: 0px -165px; }
.i-equity { width: 20px; height: 20px; background-position: -30px -165px; }
.i-exchange-active { width: 20px; height: 20px; background-position: -60px -165px; }
.i-exchange-disabled { width: 20px; height: 20px; background-position: -90px -165px; }
.i-exchange { width: 20px; height: 20px; background-position: -120px -165px; }
.i-finance-active { width: 20px; height: 20px; background-position: -150px -165px; }
.i-finance { width: 20px; height: 20px; background-position: -180px -165px; }
.i-home-active { width: 20px; height: 20px; background-position: -223px 0px; }
.i-home { width: 20px; height: 20px; background-position: -223px -30px; }
.i-inventory-active { width: 20px; height: 20px; background-position: -223px -60px; }
.i-inventory { width: 20px; height: 20px; background-position: -223px -90px; }
.i-left { width: 10px; height: 9px; background-position: -210px -225px; }
.i-dot { width: 12px; height: 12px; background-position: -78px -255px; }
.i-drainage-active { width: 20px; height: 20px; background-position: -193px -90px; }
.i-drainage { width: 20px; height: 20px; background-position: -193px -120px; }
.i-edit-active { width: 20px; height: 20px; background-position: 0px -165px; }
.i-edit { width: 20px; height: 20px; background-position: -30px -165px; }
.i-equity-active { width: 20px; height: 20px; background-position: -60px -165px; }
.i-equity { width: 20px; height: 20px; background-position: -90px -165px; }
.i-exchange-active { width: 20px; height: 20px; background-position: -120px -165px; }
.i-exchange-disabled { width: 20px; height: 20px; background-position: -150px -165px; }
.i-exchange { width: 20px; height: 20px; background-position: -180px -165px; }
.i-finance-active { width: 20px; height: 20px; background-position: -223px 0px; }
.i-finance { width: 20px; height: 20px; background-position: -223px -30px; }
.i-home-active { width: 20px; height: 20px; background-position: -223px -60px; }
.i-home { width: 20px; height: 20px; background-position: -223px -90px; }
.i-inventory-active { width: 20px; height: 20px; background-position: -223px -120px; }
.i-inventory { width: 20px; height: 20px; background-position: -223px -150px; }
.i-left { width: 10px; height: 9px; background-position: -120px -255px; }
.i-link-active { width: 20px; height: 21px; background-position: -102px -30px; }
.i-link { width: 20px; height: 21px; background-position: 0px -73px; }
.i-live-active { width: 20px; height: 20px; background-position: -223px -120px; }
.i-live { width: 20px; height: 20px; background-position: -223px -150px; }
.i-logoff-active { width: 20px; height: 20px; background-position: 0px -195px; }
.i-logoff { width: 20px; height: 20px; background-position: -30px -195px; }
.i-mall-active { width: 20px; height: 20px; background-position: -60px -195px; }
.i-mall { width: 20px; height: 20px; background-position: -90px -195px; }
.i-live-active { width: 20px; height: 20px; background-position: 0px -195px; }
.i-live { width: 20px; height: 20px; background-position: -30px -195px; }
.i-logoff-active { width: 20px; height: 20px; background-position: -60px -195px; }
.i-logoff { width: 20px; height: 20px; background-position: -90px -195px; }
.i-mall-active { width: 20px; height: 20px; background-position: -120px -195px; }
.i-mall { width: 20px; height: 20px; background-position: -150px -195px; }
.i-mapping-active { width: 20px; height: 21px; background-position: -30px -73px; }
.i-mapping { width: 20px; height: 21px; background-position: -60px -73px; }
.i-marketing-active { width: 20px; height: 20px; background-position: -120px -195px; }
.i-marketing { width: 20px; height: 20px; background-position: -150px -195px; }
.i-message-active { width: 16px; height: 16px; background-position: -116px -225px; }
.i-message { width: 16px; height: 16px; background-position: -142px -225px; }
.i-marketing-active { width: 20px; height: 20px; background-position: -180px -195px; }
.i-marketing { width: 20px; height: 20px; background-position: -210px -195px; }
.i-message-active { width: 16px; height: 16px; background-position: -26px -255px; }
.i-message { width: 16px; height: 16px; background-position: -52px -255px; }
.i-ordermanage-active { width: 20px; height: 21px; background-position: -90px -73px; }
.i-ordermanage { width: 20px; height: 21px; background-position: -133px 0px; }
.i-outbound-active { width: 20px; height: 21px; background-position: -133px -31px; }
.i-outbound { width: 20px; height: 20px; background-position: -180px -195px; }
.i-password { width: 20px; height: 20px; background-position: -210px -195px; }
.i-outbound { width: 20px; height: 20px; background-position: -253px 0px; }
.i-password { width: 20px; height: 20px; background-position: -253px -30px; }
.i-points-active { width: 20px; height: 20px; background-position: -253px -60px; }
.i-points { width: 20px; height: 20px; background-position: -253px -90px; }
.i-provider-active { width: 20px; height: 21px; background-position: -133px -62px; }
.i-provider { width: 20px; height: 20px; background-position: -253px 0px; }
.i-purchase-active { width: 20px; height: 20px; background-position: -253px -30px; }
.i-purchase { width: 20px; height: 20px; background-position: -253px -60px; }
.i-right { width: 8px; height: 8px; background-position: -230px -225px; }
.i-salepre-active { width: 20px; height: 20px; background-position: -253px -90px; }
.i-salepre { width: 20px; height: 20px; background-position: -253px -120px; }
.i-services-active { width: 20px; height: 20px; background-position: -253px -150px; }
.i-services { width: 20px; height: 20px; background-position: -253px -180px; }
.i-settings-active { width: 20px; height: 20px; background-position: 0px -225px; }
.i-settings { width: 20px; height: 20px; background-position: -30px -225px; }
.i-provider { width: 20px; height: 20px; background-position: -253px -120px; }
.i-purchase-active { width: 20px; height: 20px; background-position: -253px -150px; }
.i-purchase { width: 20px; height: 20px; background-position: -253px -180px; }
.i-right { width: 8px; height: 8px; background-position: -140px -255px; }
.i-salepre-active { width: 20px; height: 20px; background-position: 0px -225px; }
.i-salepre { width: 20px; height: 20px; background-position: -30px -225px; }
.i-services-active { width: 20px; height: 20px; background-position: -60px -225px; }
.i-services { width: 20px; height: 20px; background-position: -90px -225px; }
.i-settings-active { width: 20px; height: 20px; background-position: -120px -225px; }
.i-settings { width: 20px; height: 20px; background-position: -150px -225px; }
.i-shop-active { width: 20px; height: 20px; background-position: -180px -225px; }
.i-shop { width: 20px; height: 20px; background-position: -210px -225px; }
.i-subscription-active { width: 20px; height: 21px; background-position: 0px -104px; }
.i-subscription { width: 20px; height: 21px; background-position: -30px -104px; }
.i-user { width: 20px; height: 20px; background-position: -60px -225px; }
\ No newline at end of file
.i-user { width: 20px; height: 20px; background-position: -240px -225px; }
\ No newline at end of file

32.3 KB | W: | H:

34.4 KB | W: | H:

src/assets/images/sprite/sprite.png
src/assets/images/sprite/sprite.png
src/assets/images/sprite/sprite.png
src/assets/images/sprite/sprite.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -4,7 +4,7 @@
* @Author: limin
* @Date: 2021-09-18 09:35:02
* @LastEditors: limin
* @LastEditTime: 2023-08-23 16:33:24
* @LastEditTime: 2023-08-24 10:43:02
* @FilePath: \scrm-base\src\common\constants.js
*/
export default {
......@@ -30,6 +30,6 @@ export default {
const iconFiles = require.context('../assets/images/icons', true, /\.png$/)
return iconFiles.keys().map(iconPath => iconPath.replace(/^\.\/(.*)\.\w+$/, '$1'))
})(),
DEFAULT_ICON_NAME: 'dataview'
DEFAULT_ICON_NAME: 'default'
// SCRM_BASE_UPDATE_LOG_VERSION: 'SCRM_BASE_UPDATE_LOG_CONFIG'
}
......@@ -7,6 +7,8 @@
<script>
import { Version } from 'glsx-common-sdk'
import { mapGetters } from 'vuex'
const version = new Version({
request: {
baseUrl: 'https://config-center-backend.glsx.com.cn/glsxAdmin/config',
......@@ -23,9 +25,16 @@ export default {
mounted() {
this.getUpdateLogCofig()
},
computed: {
...mapGetters(['auth'])
},
methods: {
async getUpdateLogCofig() {
this.v = await version.get({ moduleUrl: 'scrm-sp', env: 'update' })
const loginpath = this.auth?.session?.loginpath
if (loginpath) {
const product = loginpath === '/login' ? 'md' : loginpath.slice(1)
this.v = await version.get({ moduleUrl: `scrm-${product}`, env: 'update' })
}
},
clickHandler() {
this.v = version.set()
......
import { utils } from 'glsx-common'
import Layout from '@/views/Layout'
import { constants,helper } from '@/common'
import { constants, helper } from '@/common'
import router from '@/router'
const app = {
namespaced: true,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!