|
@@ -1,5 +1,6 @@
|
|
<template>
|
|
<template>
|
|
<view class="content">
|
|
<view class="content">
|
|
|
|
+
|
|
<view class="content1 relative">
|
|
<view class="content1 relative">
|
|
<view class="relative">
|
|
<view class="relative">
|
|
<image :src="imgList[selectIndex].dictLabel" mode="widthFix" style="width: 100%;height: auto;"></image>
|
|
<image :src="imgList[selectIndex].dictLabel" mode="widthFix" style="width: 100%;height: auto;"></image>
|
|
@@ -7,7 +8,7 @@
|
|
<view class="absolute card-content style1" v-if="imgList[selectIndex].dictSort==1">
|
|
<view class="absolute card-content style1" v-if="imgList[selectIndex].dictSort==1">
|
|
<view class="left">
|
|
<view class="left">
|
|
<u--image :showLoading="true" :src="cardInfo.headSculpture" width="66px" height="66px" shape="circle" v-if="cardInfo.headSculpture"></u--image>
|
|
<u--image :showLoading="true" :src="cardInfo.headSculpture" width="66px" height="66px" shape="circle" v-if="cardInfo.headSculpture"></u--image>
|
|
- <u--image :showLoading="true" src="../../static/imgs/card/defaulthead.png" width="66px" height="66px" shape="circle" v-else></u--image>
|
|
|
|
|
|
+ <u--image :showLoading="true" src="/static/imgs/card/defaulthead.png" width="66px" height="66px" shape="circle" v-else></u--image>
|
|
</view>
|
|
</view>
|
|
<view class="right">
|
|
<view class="right">
|
|
<view class="row1">
|
|
<view class="row1">
|
|
@@ -61,13 +62,13 @@
|
|
</view>
|
|
</view>
|
|
<view class="left">
|
|
<view class="left">
|
|
<u--image :showLoading="true" :src="cardInfo.headSculpture" width="66px" height="66px" shape="circle" v-if="cardInfo.headSculpture"></u--image>
|
|
<u--image :showLoading="true" :src="cardInfo.headSculpture" width="66px" height="66px" shape="circle" v-if="cardInfo.headSculpture"></u--image>
|
|
- <u--image :showLoading="true" src="../../static/imgs/card/defaulthead.png" width="66px" height="66px" shape="circle" v-else></u--image>
|
|
|
|
|
|
+ <u--image :showLoading="true" src="/static/imgs/card/defaulthead.png" width="66px" height="66px" shape="circle" v-else></u--image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="absolute card-content style2" v-if="imgList[selectIndex].dictSort==3">
|
|
<view class="absolute card-content style2" v-if="imgList[selectIndex].dictSort==3">
|
|
<view class="top">
|
|
<view class="top">
|
|
<u--image :showLoading="true" :src="cardInfo.headSculpture" width="66px" height="66px" shape="circle" v-if="cardInfo.headSculpture"></u--image>
|
|
<u--image :showLoading="true" :src="cardInfo.headSculpture" width="66px" height="66px" shape="circle" v-if="cardInfo.headSculpture"></u--image>
|
|
- <u--image :showLoading="true" src="../../static/imgs/card/defaulthead.png" width="66px" height="66px" shape="circle" v-else></u--image>
|
|
|
|
|
|
+ <u--image :showLoading="true" src="/static/imgs/card/defaulthead.png" width="66px" height="66px" shape="circle" v-else></u--image>
|
|
</view>
|
|
</view>
|
|
<view class="bottom flex">
|
|
<view class="bottom flex">
|
|
<view class="left">
|
|
<view class="left">
|
|
@@ -112,7 +113,7 @@
|
|
<view class="bottom flex">
|
|
<view class="bottom flex">
|
|
<view class="left">
|
|
<view class="left">
|
|
<u--image :showLoading="true" :src="cardInfo.headSculpture" width="66px" height="66px" shape="circle" v-if="cardInfo.headSculpture"></u--image>
|
|
<u--image :showLoading="true" :src="cardInfo.headSculpture" width="66px" height="66px" shape="circle" v-if="cardInfo.headSculpture"></u--image>
|
|
- <u--image :showLoading="true" src="../../static/imgs/card/defaulthead.png" width="66px" height="66px" shape="circle" v-else></u--image>
|
|
|
|
|
|
+ <u--image :showLoading="true" src="/static/imgs/card/defaulthead.png" width="66px" height="66px" shape="circle" v-else></u--image>
|
|
</view>
|
|
</view>
|
|
<view class="right">
|
|
<view class="right">
|
|
<view class="row1 flex">
|
|
<view class="row1 flex">
|
|
@@ -285,6 +286,9 @@
|
|
};
|
|
};
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ leftClick() {
|
|
|
|
+ uni.navigateBack({delta:2})
|
|
|
|
+ },
|
|
changeTemplate(index) {
|
|
changeTemplate(index) {
|
|
this.selectIndex = index
|
|
this.selectIndex = index
|
|
this.cardInfo.currentBackground = this.imgList[index].dictLabel
|
|
this.cardInfo.currentBackground = this.imgList[index].dictLabel
|