高敬炎 2 سال پیش
والد
کامیت
8fbf34641b

+ 1 - 1
xiaochengxu/pages/cardHolder/cardHolder.vue

@@ -561,7 +561,7 @@
 					},
 					{
 						type: 'image',
-						path: this.currectData.headSculpture,
+						path: this.currectData.headSculpture?this.currectData.headSculpture:'../../static/imgs/card/defaulthead.png',
 						shape: 'circle',
 						use: 'head',
 						x: 30,

+ 1 - 1
xiaochengxu/pages/mySet/myInfo.vue

@@ -321,7 +321,7 @@
 					},
 					{
 						type: 'image',
-						path: this.currectData.headSculpture,
+						path: this.currectData.headSculpture?this.currectData.headSculpture:'../../static/imgs/card/defaulthead.png',
 						shape: 'circle',
 						use: 'head',
 						x: 30,

+ 1 - 1
xiaochengxu/pages/mySet/mySet.vue

@@ -204,7 +204,7 @@
 					},
 					{
 						type: 'image',
-						path: this.currectData.headSculpture,
+						path: this.currectData.headSculpture?this.currectData.headSculpture:'../../static/imgs/card/defaulthead.png',
 						shape: 'circle',
 						use: 'head',
 						x: 30,

+ 8 - 4
xiaochengxu/pages/mySet/newCard.vue

@@ -7,7 +7,7 @@
 			<view class="absolute card-content style1" v-if="imgList[selectIndex].dictSort==1">
 				<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="/./../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 class="right">
 					<view class="row1">
@@ -61,13 +61,13 @@
 				</view>
 				<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="/./../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="absolute card-content style2" v-if="imgList[selectIndex].dictSort==3">
 					<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="/./../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 class="bottom flex">
 						<view class="left">
@@ -112,7 +112,7 @@
 					<view class="bottom flex">
 						<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="/./../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 class="right">
 							<view class="row1 flex">
@@ -363,6 +363,10 @@
 				})
 			},
 			confirmSubmit() {
+				uni.showLoading({
+					title: '加载中',
+					mask: true
+				})
 				this.$request.baseRequest('admin.unimall.cardManagementInfo', 'add', {
 					cardManagementInfo: JSON.stringify(this.cardInfo)
 				}, failres => {