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> </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: {

View File

@@ -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 {

View File

@@ -76,7 +76,7 @@
</div> </div>
</template> </template>
<script> <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 FieldPicker from '@/components/ebiz/FieldPicker'
import { orderDetail, deleteOrderInfo } from '@/api/ebiz/common/common' import { orderDetail, deleteOrderInfo } from '@/api/ebiz/common/common'
import { formatAllRisk } from '@/assets/js/utils/formatRiskList' import { formatAllRisk } from '@/assets/js/utils/formatRiskList'
@@ -110,7 +110,7 @@ export default {
[IndexBar.name]: IndexBar, [IndexBar.name]: IndexBar,
[RadioGroup.name]: RadioGroup, [RadioGroup.name]: RadioGroup,
[Radio.name]: Radio, [Radio.name]: Radio,
[VanImage.name]: VanImage [Image.name]: Image
}, },
mounted() { mounted() {
if (localStorage.isFrom == 'sale') { if (localStorage.isFrom == 'sale') {
@@ -223,7 +223,7 @@ export default {
if (resultData.result == 0) { if (resultData.result == 0) {
let riskDTOLst let riskDTOLst
if (isProposal) { 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 this.appntDTO = resultData.content[0].appntDTO
resultData = resultData.content[0] resultData = resultData.content[0]
riskDTOLst = resultData.insuredDTOs && resultData.insuredDTOs[0] && resultData.insuredDTOs[0].riskDTOLst riskDTOLst = resultData.insuredDTOs && resultData.insuredDTOs[0] && resultData.insuredDTOs[0].riskDTOLst
@@ -236,7 +236,7 @@ export default {
//险种数据格式化 //险种数据格式化
riskDTOLst = resultData.orderDTO.insuredDTOs[0].riskDTOLst 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 = [] if (!riskDTOLst) riskDTOLst = []

View File

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

View File

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

View File

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

View File

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

View File

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