mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-13 04:56:44 +08:00
ProgressBar.vue和IndexBar.vue,van-image修改
This commit is contained in:
@@ -22,12 +22,12 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { Image as VanImage } from 'vant'
|
import { Image } from 'vant'
|
||||||
import CacheUtils from '@/assets/js/utils/cacheUtils'
|
import CacheUtils from '@/assets/js/utils/cacheUtils'
|
||||||
export default {
|
export default {
|
||||||
name: 'ProgressBar',
|
name: 'ProgressBar',
|
||||||
components: {
|
components: {
|
||||||
[VanImage.name]: VanImage
|
[Image.name]: Image
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
active: {
|
active: {
|
||||||
@@ -52,23 +52,23 @@ export default {
|
|||||||
this.$toast('已到达签名确认流程,不可以回到前面的流程')
|
this.$toast('已到达签名确认流程,不可以回到前面的流程')
|
||||||
}
|
}
|
||||||
if (Number(CacheUtils.getLocItem('active')) < Number(index)) return
|
if (Number(CacheUtils.getLocItem('active')) < Number(index)) return
|
||||||
var url;
|
var url
|
||||||
switch (index) {
|
switch (index) {
|
||||||
case 0:
|
case 0:
|
||||||
url = 'InsureInformation?salePageFlag=ProgressBar';
|
url = 'InsureInformation?salePageFlag=ProgressBar'
|
||||||
break;
|
break
|
||||||
case 1:
|
case 1:
|
||||||
url = 'ProductInformation?salePageFlag=ProgressBar';
|
url = 'ProductInformation?salePageFlag=ProgressBar'
|
||||||
break;
|
break
|
||||||
case 2:
|
case 2:
|
||||||
url = 'Notification?salePageFlag=ProgressBar';
|
url = 'Notification?salePageFlag=ProgressBar'
|
||||||
break;
|
break
|
||||||
case 3:
|
case 3:
|
||||||
url = 'SignatureConfirmation?salePageFlag=ProgressBar';
|
url = 'SignatureConfirmation?salePageFlag=ProgressBar'
|
||||||
break;
|
break
|
||||||
default:
|
default:
|
||||||
url = 'InsureInformation?salePageFlag=ProgressBar';
|
url = 'InsureInformation?salePageFlag=ProgressBar'
|
||||||
break;
|
break
|
||||||
}
|
}
|
||||||
this.$jump({
|
this.$jump({
|
||||||
flag: 'h5',
|
flag: 'h5',
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { Icon, Image as VanImage } from 'vant'
|
import { Icon, Image } from 'vant'
|
||||||
export default {
|
export default {
|
||||||
name: 'IndexBar',
|
name: 'IndexBar',
|
||||||
props: {
|
props: {
|
||||||
@@ -46,7 +46,7 @@ export default {
|
|||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
[Icon.name]: Icon,
|
[Icon.name]: Icon,
|
||||||
[VanImage.name]: VanImage
|
[Image.name]: Image
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user