测试发现 被调用的*.vue 组件的图片地址,是相对于调用者的目录的。
Before Width: | Height: | Size: 777 B After Width: | Height: | Size: 777 B |
Before Width: | Height: | Size: 599 B After Width: | Height: | Size: 599 B |
Before Width: | Height: | Size: 985 B After Width: | Height: | Size: 985 B |
Before Width: | Height: | Size: 671 B After Width: | Height: | Size: 671 B |
Before Width: | Height: | Size: 649 B After Width: | Height: | Size: 649 B |
Before Width: | Height: | Size: 512 B After Width: | Height: | Size: 512 B |
Before Width: | Height: | Size: 702 B After Width: | Height: | Size: 702 B |
Before Width: | Height: | Size: 512 B After Width: | Height: | Size: 512 B |
Before Width: | Height: | Size: 780 B After Width: | Height: | Size: 780 B |
Before Width: | Height: | Size: 604 B After Width: | Height: | Size: 604 B |
Before Width: | Height: | Size: 994 B After Width: | Height: | Size: 994 B |
Before Width: | Height: | Size: 672 B After Width: | Height: | Size: 672 B |
@ -238,15 +238,15 @@
|
||||
background: no-repeat center center / contain;
|
||||
}
|
||||
.sLeftMostButton{
|
||||
background-image: url(./Common.leftMost.png)
|
||||
background-image: url(../static/cPager.leftMost.png)
|
||||
}
|
||||
.sPrevButton{
|
||||
background-image: url(./Common.previous.png)
|
||||
background-image: url(../static/cPager.previous.png)
|
||||
}
|
||||
.sNextButton{
|
||||
background-image: url(./Common.next.png)
|
||||
background-image: url(../static/cPager.next.png)
|
||||
}
|
||||
.sRightMostButton{
|
||||
background-image: url(./Common.rightMost.png)
|
||||
background-image: url(../static/cPager.rightMost.png)
|
||||
}
|
||||
</style>
|
||||
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.0 KiB |
@ -84,7 +84,7 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
result: './Common.loading.qrcode.png',
|
||||
result: '../static/cQrcode.loading.png',
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
@ -33,27 +33,27 @@ based on
|
||||
methods:{
|
||||
init:function(toast){
|
||||
if (toast.type == 'success') {
|
||||
toast.icon = toast.icon || './Common.success.png';
|
||||
toast.icon = toast.icon || '../static/cToast.success.png';
|
||||
toast.typeClass='mpopup-success';
|
||||
return toast;
|
||||
}
|
||||
if (toast.type == 'warn') {
|
||||
toast.icon = toast.icon || './Common.warn.png';
|
||||
toast.icon = toast.icon || '../static/cToast.warn.png';
|
||||
toast.typeClass='mpopup-warn';
|
||||
return toast;
|
||||
}
|
||||
if (toast.type == 'info') {
|
||||
toast.icon = toast.icon || './Common.info.png';
|
||||
toast.icon = toast.icon || '../static/cToast.info.png';
|
||||
toast.typeClass='mpopup-info';
|
||||
return toast;
|
||||
}
|
||||
if (toast.type == 'fail') {
|
||||
toast.icon = toast.icon || './Common.fail.png';
|
||||
toast.icon = toast.icon || '../static/cToast.fail.png';
|
||||
toast.typeClass='mpopup-fail';
|
||||
return toast;
|
||||
}
|
||||
if (toast.type == 'loading') {
|
||||
toast.icon = toast.icon || './Common.loading.png';
|
||||
toast.icon = toast.icon || '../static/cToast.loading.png';
|
||||
toast.typeClass='mpopup-loading';
|
||||
return toast;
|
||||
}
|
||||
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |