mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-11 13:16:43 +08:00
van-image--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: {
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
@@ -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 = []
|
||||||
|
|
||||||
|
|||||||
@@ -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() {
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
@@ -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: {
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user