van-image--Image

This commit is contained in:
liyuetong
2021-05-20 21:07:41 +08:00
parent 96e69e9c05
commit e571cae2c9
8 changed files with 18 additions and 18 deletions

View File

@@ -22,12 +22,12 @@
</template>
<script>
import { Image as VanImage } from 'vant'
import { Image } from 'vant'
import CacheUtils from '@/assets/js/utils/cacheUtils'
export default {
name: 'ProgressBar',
components: {
[VanImage.name]: VanImage
[Image.name]: Image
},
props: {
active: {

View File

@@ -22,7 +22,7 @@
</div>
</template>
<script>
import { Icon, Image as VanImage } from 'vant'
import { Icon, Image } from 'vant'
export default {
name: 'IndexBar',
props: {
@@ -46,7 +46,7 @@ export default {
},
components: {
[Icon.name]: Icon,
[VanImage.name]: VanImage
[Image.name]: Image
},
data() {
return {

View File

@@ -76,7 +76,7 @@
</div>
</template>
<script>
import { Tag, SubmitBar, Icon, Dialog, RadioGroup, Radio, Image as VanImage } from 'vant'
import { Tag, SubmitBar, Icon, Dialog, RadioGroup, Radio, Image } from 'vant'
import FieldPicker from '@/components/ebiz/FieldPicker'
import { orderDetail, deleteOrderInfo } from '@/api/ebiz/common/common'
import { formatAllRisk } from '@/assets/js/utils/formatRiskList'
@@ -110,7 +110,7 @@ export default {
[IndexBar.name]: IndexBar,
[RadioGroup.name]: RadioGroup,
[Radio.name]: Radio,
[VanImage.name]: VanImage
[Image.name]: Image
},
mounted() {
if (localStorage.isFrom == 'sale') {
@@ -223,7 +223,7 @@ export default {
if (resultData.result == 0) {
let riskDTOLst
if (isProposal) {
this.$CacheUtils.setLocItem('saleInsuredInfo',JSON.stringify(resultData.content[0].appntDTO))//存储投保人信息
this.$CacheUtils.setLocItem('saleInsuredInfo', JSON.stringify(resultData.content[0].appntDTO)) //存储投保人信息
this.appntDTO = resultData.content[0].appntDTO
resultData = resultData.content[0]
riskDTOLst = resultData.insuredDTOs && resultData.insuredDTOs[0] && resultData.insuredDTOs[0].riskDTOLst
@@ -236,7 +236,7 @@ export default {
//险种数据格式化
riskDTOLst = resultData.orderDTO.insuredDTOs[0].riskDTOLst
}
this.$CacheUtils.setLocItem('appntDTO',JSON.stringify(this.appntDTO))
this.$CacheUtils.setLocItem('appntDTO', JSON.stringify(this.appntDTO))
if (!riskDTOLst) riskDTOLst = []

View File

@@ -11,7 +11,7 @@
</template>
<script>
import { Grid, GridItem, Image as VanImage, ImagePreview, Pagination } from 'vant'
import { Grid, GridItem, Image, ImagePreview, Pagination } from 'vant'
import { getSchemePics } from '@/api/ebiz/goodStart'
import Vue from 'vue'
@@ -21,7 +21,7 @@ export default {
components: {
[Grid.name]: Grid,
[GridItem.name]: GridItem,
[VanImage.name]: VanImage,
[Image.name]: Image,
[Pagination.name]: Pagination
},
data() {

View File

@@ -29,13 +29,13 @@
</template>
<script>
import { Image as VanImage, Lazyload, Grid, GridItem } from 'vant'
import { Image, Lazyload, Grid, GridItem } from 'vant'
import { createWXHeadImg, getWXHeadImgConfig } from '@/api/ebiz/my/my.js'
import config from '@/config'
export default {
components: {
[VanImage.name]: VanImage,
[Image.name]: Image,
[Grid.name]: Grid,
[GridItem.name]: GridItem,
[Lazyload.name]: Lazyload

View File

@@ -43,13 +43,13 @@
</template>
<script>
import { Image as VanImage, Lazyload, Grid, GridItem, Loading } from 'vant'
import { Image, Lazyload, Grid, GridItem, Loading } from 'vant'
import { createWXHeadImg, getWXHeadImgConfig } from '@/api/ebiz/my/my.js'
import config from '@/config'
export default {
components: {
[VanImage.name]: VanImage,
[Image.name]: Image,
[Grid.name]: Grid,
[GridItem.name]: GridItem,
[Lazyload.name]: Lazyload,

View File

@@ -74,7 +74,7 @@
</template>
<script>
import { NoticeBar, Field, Radio, Popup, RadioGroup, Toast, Grid, GridItem, Image as VanImage, ImagePreview } from 'vant'
import { NoticeBar, Field, Radio, Popup, RadioGroup, Toast, Grid, GridItem, Image, ImagePreview } from 'vant'
import icon from '@/assets/images/jilu@3x.png'
import { getShopList, saveShareTrack } from '@/api/ebiz/product-store/product-store'
@@ -88,7 +88,7 @@ export default {
[Field.name]: Field,
[Grid.name]: Grid,
[GridItem.name]: GridItem,
[VanImage.name]: VanImage,
[Image.name]: Image,
[ImagePreview.name]: ImagePreview
},
props: {

View File

@@ -7,13 +7,13 @@
</template>
<script>
import { Image as VanImage, Lazyload, Grid, GridItem, Toast } from 'vant'
import { Image, Lazyload, Grid, GridItem, Toast } from 'vant'
import { trainHomeUrl } from '@/api/ebiz/train/train.js'
export default {
components: {
[Toast.name]: Toast,
[VanImage.name]: VanImage,
[Image.name]: Image,
[Grid.name]: Grid,
[GridItem.name]: GridItem,
[Lazyload.name]: Lazyload