Browse Source

修改 picker 切换不成功问题,修改扫码添加名片页面样式

achao 2 years ago
parent
commit
4bf1d5e0fd

BIN
xiaochengxu/components/Card/bgc4.png


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

@@ -245,7 +245,7 @@
 			</view>
 			</view>
 
 
 		</view>
 		</view>
-		<u-picker :show="isShowType" :columns="typeColumns" keyName="circleName" :title="type == 2?'修改分类':'选择分类'"
+		<u-picker :immediateChange ="true" :show="isShowType" :columns="typeColumns" keyName="circleName" :title="type == 2?'修改分类':'选择分类'"
 			@close="isShowType=false" @cancel="isShowType=false" closeOnClickOverlay @confirm="typeConfirm"></u-picker>
 			@close="isShowType=false" @cancel="isShowType=false" closeOnClickOverlay @confirm="typeConfirm"></u-picker>
 		<u-toast ref="uToast"></u-toast>
 		<u-toast ref="uToast"></u-toast>
 		<u-modal :show="delShow" title="提示" confirmText='确定' showCancelButton='true' @cancel="delShow=false"
 		<u-modal :show="delShow" title="提示" confirmText='确定' showCancelButton='true' @cancel="delShow=false"

+ 407 - 40
xiaochengxu/pages/cardHolder/scanCodeAddCard.vue

@@ -1,9 +1,175 @@
 <template>
 <template>
 	<view>
 	<view>
 		<view class="card-wrap">
 		<view class="card-wrap">
-			<card :obj="cardInfo" :styleList="bottomStyle" page="scanCodeAddCard"></card>
-			<view class="row-text">
-				<text>默</text>
+			<!-- <card :obj="cardInfo" :styleList="bottomStyle" page="scanCodeAddCard"></card> -->
+			<view class="card-list-cardInfo relative"
+				:style="cardInfo.currentBackground?'background: url('+cardInfo.currentBackground+');background-size:100% 100%':''">
+				<view class="card-content style1" v-if="cardInfo.cuttentTemplate==1">
+					<view class="left">
+						<u--image :showLoading="true" :src="cardInfo.headSculpture" width="66px" height="66px"
+							shape="circle"></u--image>
+					</view>
+					<view class="right">
+						<view class="row1">
+							<text class="name">{{cardInfo.name}}</text>
+							<text class="post">{{cardInfo.post}}</text>
+						</view>
+						<view class="row2">
+							{{cardInfo.companyName}}
+						</view>
+						<view class="row3 flex" @click="toMap(cardInfo)">
+							<u--image :showLoading="true" :src="'/static/imgs/card/address'+cardInfo.icon+'.png'"
+								width="13px" height="16px"></u--image>
+							<view class='icon-text'>{{ cardInfo.province }}{{ cardInfo.city }}{{ cardInfo.area }}</view>
+						</view>
+						<view @click="freeTell(cardInfo)" class="row4 flex">
+							<u--image :showLoading="true" :src="'/static/imgs/card/phone'+cardInfo.icon+'.png'"
+								width="12px" height="13px"></u--image>
+							<view class='icon-text'>{{ cardInfo.phone }}</view>
+						</view>
+						<view @click='remarkEdit(cardInfo)' class="row2 flex" style="color: #808080">
+							<u--image :showLoading="true" :src="'/static/imgs/card/remark'+cardInfo.icon+'.png'"
+								width="10px" height="12px"></u--image>
+							<view class='icon-text' style="color: #808080;">{{cardInfo.remark?cardInfo.remark:'单击添加备注'}}
+							</view>
+						</view>
+					</view>
+					<u-checkbox-group v-if='islongPress' placement="column" @change="checkboxChange($event,index)">
+						<u-checkbox iconColor='#4977FC' activeColor="#fff" :name='index+1' :checked='cardInfo.checked'
+							:customStyle="{marginBottom: '8px'}">
+						</u-checkbox>
+					</u-checkbox-group>
+				</view>
+				<view class="card-content style1 flex-between" v-if="cardInfo.cuttentTemplate==2">
+					<view class="right">
+						<view class="row1">
+							<text class="name">{{cardInfo.name}}</text>
+							<text class="post">{{cardInfo.post}}</text>
+						</view>
+						<view class="row2">
+							{{cardInfo.companyName}}
+						</view>
+						<view @click="toMap(cardInfo)" class="row3 flex">
+							<u--image :showLoading="true" :src="'/static/imgs/card/address'+cardInfo.icon+'.png'"
+								width="13px" height="16px"></u--image>
+							<view class='icon-text'>{{ cardInfo.province }}{{ cardInfo.city }}{{ cardInfo.area }}</view>
+						</view>
+						<view @click="freeTell(cardInfo)" class="row4 flex">
+							<u--image :showLoading="true" :src="'/static/imgs/card/phone'+cardInfo.icon+'.png'"
+								width="12px" height="13px"></u--image>
+							<view class='icon-text'>{{ cardInfo.phone }}</view>
+						</view>
+						<view @click='remarkEdit(cardInfo)' class="row2 flex" style="color: #808080">
+							<u--image :showLoading="true" :src="'/static/imgs/card/remark'+cardInfo.icon+'.png'"
+								width="10px" height="12px"></u--image>
+							<view class='icon-text' style="color: #808080;">{{cardInfo.remark?cardInfo.remark:'单击添加备注'}}
+							</view>
+						</view>
+					</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>
+					</view>
+					<u-checkbox-group v-if='islongPress' placement="column" @change="checkboxChange($event,index)">
+						<u-checkbox iconColor='#4977FC' activeColor="#fff" :name='index+1' :checked='cardInfo.checked'
+							:customStyle="{marginBottom: '8px'}">
+						</u-checkbox>
+					</u-checkbox-group>
+				</view>
+				<view class="card-content style2" v-if="cardInfo.cuttentTemplate==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>
+					</view>
+					<view class="bottom flex">
+						<view class="left">
+							<view class="row1">
+								<text class="name">{{cardInfo.name}}</text>
+								<text class="post">{{cardInfo.post}}</text>
+							</view>
+							<view class="row2">
+								{{cardInfo.companyName}}
+							</view>
+						</view>
+						<view class="right">
+							<view @click="toMap(cardInfo)" class="row1 flex">
+								<u--image :showLoading="true" :src="'/static/imgs/card/address'+cardInfo.icon+'.png'"
+									width="13px" height="16px"></u--image>
+								<view class='icon-text'>{{ cardInfo.province }}{{ cardInfo.city }}{{ cardInfo.area }}
+								</view>
+							</view>
+							<view @click="freeTell(cardInfo)" class="row2 flex">
+								<u--image :showLoading="true" :src="'/static/imgs/card/phone'+cardInfo.icon+'.png'"
+									width="12px" height="13px"></u--image>
+								<view class='icon-text'>{{ cardInfo.phone }}</view>
+							</view>
+							<view @click='remarkEdit(cardInfo)' class="row2 flex" style="color: #808080">
+								<u--image :showLoading="true" :src="'/static/imgs/card/remark'+cardInfo.icon+'.png'"
+									width="10px" height="12px"></u--image>
+								<view class='icon-text' style="color: #808080;">
+									{{cardInfo.remark?cardInfo.remark:'单击添加备注'}}
+								</view>
+							</view>
+						</view>
+					</view>
+					<u-checkbox-group v-if='islongPress' placement="column" @change="checkboxChange($event,index)">
+						<u-checkbox iconColor='#4977FC' activeColor="#fff" :name='index+1' :checked='cardInfo.checked'
+							:customStyle="{marginBottom: '8px'}">
+						</u-checkbox>
+					</u-checkbox-group>
+				</view>
+				<view class="card-content style2" v-if="cardInfo.cuttentTemplate==4">
+					<view class="top">
+						<view class="row1">
+							<text class="name">{{cardInfo.name}}</text>
+							<text class="post">{{cardInfo.post}}</text>
+						</view>
+						<view class="row2">
+							{{cardInfo.companyName}}
+						</view>
+
+					</view>
+					<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>
+						</view>
+						<view class="right">
+							<view @click="toMap(cardInfo)" class="row1 flex">
+								<u--image :showLoading="true" :src="'/static/imgs/card/address'+cardInfo.icon+'.png'"
+									width="13px" height="16px"></u--image>
+								<view class='icon-text'>{{ cardInfo.province }}{{ cardInfo.city }}{{ cardInfo.area }}
+								</view>
+							</view>
+							<view @click="freeTell(cardInfo)" class="row2 flex">
+								<u--image :showLoading="true" :src="'/static/imgs/card/phone'+cardInfo.icon+'.png'"
+									width="12px" height="13px"></u--image>
+								<view class='icon-text'>{{ cardInfo.phone }}</view>
+							</view>
+							<view @click='remarkEdit(cardInfo)' class="row2 flex" style="color: #808080">
+								<u--image :showLoading="true" :src="'/static/imgs/card/remark'+cardInfo.icon+'.png'"
+									width="10px" height="12px"></u--image>
+								<view :style='cardInfo.remark?"color:#000;":"color:#808080;"' class='icon-text'>
+									{{cardInfo.remark?cardInfo.remark:'单击添加备注'}}
+								</view>
+							</view>
+						</view>
+					</view>
+					<u-checkbox-group v-if='islongPress' placement="column" @change="checkboxChange($event,index)">
+						<u-checkbox iconColor='#4977FC' activeColor="#fff" :name='index+1' :checked='cardInfo.checked'
+							:customStyle="{marginBottom: '8px'}">
+						</u-checkbox>
+					</u-checkbox-group>
+				</view>
+				<view class="car-bottom flex">
+						<text style="color: #fff;font-size: 36rpx;font-weight: 700;margin-left: 40rpx;">{{value?value:'默'}}</text>
+				</view>
 			</view>
 			</view>
 		</view>
 		</view>
 		<view class="title">
 		<view class="title">
@@ -35,15 +201,17 @@
 				</view>
 				</view>
 			</view>
 			</view>
 		</view>
 		</view>
-		<u-picker keyName="cardBusiness" title="选择名片" @close="show1=false" @cancel="show1=false" closeOnClickOverlay
-			@confirm="cardConfirm" :show="show1" :columns="cardList"></u-picker>
-		<u-picker keyName="circleName" title="选择分类" @close="show=false" @cancel="show=false" closeOnClickOverlay
-			@confirm="typeConfirm" :show="show" :columns="columns"></u-picker>
-			<view class="bottom-btn">
-				<u-button @click='cancel' text="取消" type="primary" :plain="true" color="#18254C" :customStyle="btnStyle"></u-button>
-				<u-button @click='$u.debounce(save, 500)' text="保存" type="primary" color="#18254C" :customStyle="btnStyle"></u-button>
-			</view>
-		
+		<u-picker :immediateChange="true" keyName="cardBusiness" title="选择名片" @close="show1=false" @cancel="show1=false"
+			closeOnClickOverlay @confirm="cardConfirm" :show="show1" :columns="cardList"></u-picker>
+		<u-picker :immediateChange="true" keyName="circleName" title="选择分类" @close="show=false" @cancel="show=false"
+			closeOnClickOverlay @confirm="typeConfirm" :show="show" :columns="columns"></u-picker>
+		<view class="bottom-btn">
+			<u-button @click='cancel' text="取消" type="primary" :plain="true" color="#18254C"
+				:customStyle="btnStyle"></u-button>
+			<u-button @click='$u.debounce(save, 500)' text="保存" type="primary" color="#18254C"
+				:customStyle="btnStyle"></u-button>
+		</view>
+
 		<u-toast ref="uToast"></u-toast>
 		<u-toast ref="uToast"></u-toast>
 	</view>
 	</view>
 </template>
 </template>
@@ -56,15 +224,16 @@
 		},
 		},
 		data() {
 		data() {
 			return {
 			return {
-				btnStyle:{
-					// width:'calc(50% - 80rpx)'
+				value: '',
+				btnStyle: {
+					width:'calc(50% - 80rpx)'
 				},
 				},
 				bottomStyle: [
 				bottomStyle: [
 					"position:absolute;left: 0;width:24vw;height:0;border-bottom:80rpx solid red;border-right:80rpx solid transparent;border-radius:0 0 0 20rpx",
 					"position:absolute;left: 0;width:24vw;height:0;border-bottom:80rpx solid red;border-right:80rpx solid transparent;border-radius:0 0 0 20rpx",
 					"position: absolute;right: -40rpx;width: 58vw;height: 0;border-top: 80rpx solid green;border-left: 80rpx solid transparent;border-radius: 0 0 10px 0"
 					"position: absolute;right: -40rpx;width: 58vw;height: 0;border-top: 80rpx solid green;border-left: 80rpx solid transparent;border-radius: 0 0 10px 0"
 				],
 				],
 				id: '',
 				id: '',
-				commonId:'',
+				commonId: '',
 				cardInfo: {},
 				cardInfo: {},
 				show: false,
 				show: false,
 				show1: false,
 				show1: false,
@@ -89,7 +258,7 @@
 		},
 		},
 		onLoad(options) {
 		onLoad(options) {
 			this.id = options.id.indexOf(",") ? options.id.split(",")[0] : options.id
 			this.id = options.id.indexOf(",") ? options.id.split(",")[0] : options.id
-			this.commonId=options.id.indexOf(",") ? options.id.split(",")[1] :''
+			this.commonId = options.id.indexOf(",") ? options.id.split(",")[1] : ''
 			this.getList()
 			this.getList()
 		},
 		},
 		onShow() {
 		onShow() {
@@ -112,14 +281,14 @@
 					})
 					})
 				}, failres => {
 				}, failres => {
 					uni.showToast({
 					uni.showToast({
-						icon:"none",
+						icon: "none",
 						title: failres.errmsg,
 						title: failres.errmsg,
 						duration: 3000
 						duration: 3000
 					});
 					});
 					uni.hideLoading()
 					uni.hideLoading()
 				}).then(res => {
 				}).then(res => {
 					uni.showToast({
 					uni.showToast({
-						icon:"success",
+						icon: "success",
 						title: '保存成功!',
 						title: '保存成功!',
 						duration: 2000
 						duration: 2000
 					});
 					});
@@ -144,6 +313,7 @@
 			typeConfirm(e) {
 			typeConfirm(e) {
 				console.log(e)
 				console.log(e)
 				this.cardInfo.classify = e.value[0].circleName
 				this.cardInfo.classify = e.value[0].circleName
+				this.value = e.value[0].circleName.substring(0,1)
 				this.show = false
 				this.show = false
 			},
 			},
 			getList() {
 			getList() {
@@ -152,30 +322,30 @@
 				}, failres => {
 				}, failres => {
 					console.log('res+++++', failres.errmsg)
 					console.log('res+++++', failres.errmsg)
 					uni.showToast({
 					uni.showToast({
-					  icon:"none",
-					  title: failres.errmsg,
-					  duration: 3000
+						icon: "none",
+						title: failres.errmsg,
+						duration: 3000
 					});
 					});
 					uni.hideLoading()
 					uni.hideLoading()
 				}).then(res => {
 				}).then(res => {
-					console.log(res,"this.cardInfo")
+					console.log(res, "this.cardInfo")
 					this.cardInfo = res.data
 					this.cardInfo = res.data
-					this.cardInfo.cardBusiness=''
+					this.cardInfo.cardBusiness = ''
 					// this.cardInfo.cardCommonId = res.data.commonId
 					// this.cardInfo.cardCommonId = res.data.commonId
 					console.log(res)
 					console.log(res)
 				})
 				})
-				console.log(uni.getStorageSync("userInfo").id,111111)
+				console.log(uni.getStorageSync("userInfo").id, 111111)
 				this.$request.baseRequest('admin.unimall.cardManagementInfo', 'list', {
 				this.$request.baseRequest('admin.unimall.cardManagementInfo', 'list', {
 					commonId: uni.getStorageSync("userInfo").id
 					commonId: uni.getStorageSync("userInfo").id
 				}, failres => {
 				}, failres => {
 					uni.showToast({
 					uni.showToast({
-					  icon:"none",
-					  title: failres.errmsg,
-					  duration: 3000
+						icon: "none",
+						title: failres.errmsg,
+						duration: 3000
 					});
 					});
 					uni.hideLoading()
 					uni.hideLoading()
 				}).then(res => {
 				}).then(res => {
-					this.cardList = [res.data.items]
+					this.cardList = [res.data.cardInfos]
 				})
 				})
 				this.$request.baseRequest('admin.unimall.cardClassifyInfo', 'list', {
 				this.$request.baseRequest('admin.unimall.cardClassifyInfo', 'list', {
 					page: 1,
 					page: 1,
@@ -184,15 +354,15 @@
 				}, failres => {
 				}, failres => {
 					console.log('res+++++', failres.errmsg)
 					console.log('res+++++', failres.errmsg)
 					uni.showToast({
 					uni.showToast({
-					  icon:"none",
-					  title: failres.errmsg,
-					  duration: 3000
+						icon: "none",
+						title: failres.errmsg,
+						duration: 3000
 					});
 					});
 				}).then(res => {
 				}).then(res => {
 					this.columns = [res.data.items]
 					this.columns = [res.data.items]
 					console.log(this.columns)
 					console.log(this.columns)
 				})
 				})
-				
+
 
 
 			}
 			}
 		}
 		}
@@ -201,32 +371,225 @@
 
 
 <style scoped lang="scss">
 <style scoped lang="scss">
 	.card-wrap {
 	.card-wrap {
-		position: relative;
+		margin: 0 20rpx;
+		background: #f5f5f5;
+		// height: 1000px;
+		border-radius: 30rpx;
+
+		.style1 {
+			display: flex;
+			padding: 20rpx 30rpx;
+			width: 85%;
+			margin-bottom: 90rpx;
+
+			.left {
+				width: 132rpx;
+				height: 132rpx;
+				border-radius: 50%;
+			}
+
+			.right {
+				margin-left: 40rpx;
+
+				.row1 {
+					.name {
+						font-size: 38rpx;
+						font-weight: bold;
+						color: #040000;
+						margin-right: 20rpx;
+					}
+
+					.post {
+						font-size: 26rpx;
+						font-weight: 500;
+						color: #666666;
+					}
+				}
+
+				.row2 {
+					font-size: 24rpx;
+					font-weight: bold;
+					color: #323333;
+				}
+
+				.row3 {
+					margin-top: 30rpx;
+					font-size: 24rpx;
+					font-weight: 500;
+					color: #323333;
+
+				}
+
+				.row2,
+				.row4 {
+					margin-top: 10rpx;
+				}
+			}
+		}
+
+		.style2 {
+			padding: 15rpx;
+			margin-bottom: 80rpx;
+
+			.top {
+				.row1 {
+					.name {
+						font-size: 38rpx;
+						font-weight: bold;
+						color: #040000;
+						margin-right: 20rpx;
+					}
+
+					.post {
+						font-size: 26rpx;
+						font-weight: 500;
+						color: #666666;
+					}
+				}
+
+				.row2 {
+					margin-top: 10rpx;
+					font-size: 24rpx;
+					font-weight: bold;
+					color: #323333;
+				}
+			}
+
+			.bottom {
+				margin-top: 20rpx;
 
 
-		.row-text {
+				.left {
+					margin-right: 40rpx;
+
+					.row1 {
+						.name {
+							font-size: 38rpx;
+							font-weight: bold;
+							color: #040000;
+							margin-right: 20rpx;
+						}
+
+						.post {
+							font-size: 26rpx;
+							font-weight: 500;
+							color: #666666;
+						}
+					}
+
+					.row2 {
+						margin-top: 10rpx;
+						font-size: 26rpx;
+						font-weight: bold;
+						color: #323333;
+					}
+
+				}
+
+				.right {
+
+					.row1,
+					.row2 {
+						font-size: 24rpx;
+						font-weight: 500;
+						color: #323333;
+					}
+
+					.row2,
+					.row4 {
+						margin-top: 10rpx;
+					}
+				}
+			}
+
+		}
+
+
+	}
+	.car-bottom {
 			position: absolute;
 			position: absolute;
-			bottom: 20px;
-			left: 110rpx;
+			bottom: 63rpx;
+			left: 20rpx;
+			bottom: 24rpx;
+			width: 94.9%;
+			background: url("../../static/imgs/card/bgc4.png") no-repeat center;
+			background-size: cover;
+			height: 80rpx;
+
+			// width: calc(100% - 40rpx);
+			.left {
+				// top: -40rpx;
+				position: absolute;
+				padding: 20rpx 0;
+				width: 70vw;
+				height: 80rpx;
+				box-sizing: border-box;
+				display: flex;
+				align-items: center;
+				justify-content: space-evenly;
+				left: 0px;
+
+				// background-size: 100% 100%;
+				overflow-y: hidden;
+			}
+		}
+	.card-list-item {
+		width: calc(100%);
+		// left:-20rpx;
+		position: relative;
+		border-radius: 30rpx;
+		padding: 40rpx;
+		box-sizing: border-box;
+
+	
+
+		.left {
+			width: 30%;
+
+			.top {
+
+				margin-bottom: 20rpx;
+			}
+
+			.img {
+				width: 80%;
+			}
+
+			.bottom {}
+		}
+
+		.right {
+			.row1 {
+				.line {
+					width: 1px;
+					height: 20px;
+					margin: 0 20rpx;
+					background: black;
+				}
+			}
 		}
 		}
 	}
 	}
-	.title{
+
+	.title {
 		font-size: 32rpx;
 		font-size: 32rpx;
 		font-weight: bold;
 		font-weight: bold;
 		color: #19191A;
 		color: #19191A;
 		margin-left: 20rpx;
 		margin-left: 20rpx;
 	}
 	}
-	.form-style{
+
+	.form-style {
 		background: #fff;
 		background: #fff;
 		padding: 20rpx;
 		padding: 20rpx;
 		margin: 20rpx;
 		margin: 20rpx;
 		box-sizing: border-box;
 		box-sizing: border-box;
 		border-radius: 20rpx;
 		border-radius: 20rpx;
-		.row{
+
+		.row {
 			display: flex;
 			display: flex;
 			justify-content: space-between;
 			justify-content: space-between;
 		}
 		}
 	}
 	}
-	.bottom-btn{
+
+	.bottom-btn {
 		position: fixed;
 		position: fixed;
 		bottom: 40rpx;
 		bottom: 40rpx;
 		display: flex;
 		display: flex;
@@ -235,4 +598,8 @@
 		width: 100vw;
 		width: 100vw;
 		height: auto;
 		height: auto;
 	}
 	}
+
+	.card-list-cardInfo {
+		padding: 40rpx;
+	}
 </style>
 </style>

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

@@ -97,7 +97,6 @@
 				})
 				})
 			},
 			},
 			touchendBtn() {
 			touchendBtn() {
-				debugger
 				console.log("录音结束")
 				console.log("录音结束")
 				let that = this
 				let that = this
 				this.longPress = '1'; 
 				this.longPress = '1'; 

+ 1 - 1
xiaochengxu/pages/circle/createCirclce.vue

@@ -40,7 +40,7 @@
 		<view class="">
 		<view class="">
 			<button type="default" @click="submit" class="submit">提交</button>
 			<button type="default" @click="submit" class="submit">提交</button>
 		</view>
 		</view>
-		<u-picker keyName="cardBusiness" title="选择名片" @close="show=false"
+		<u-picker :immediateChange ="true" keyName="cardBusiness" title="选择名片" @close="show=false"
 			@cancel="show=false" closeOnClickOverlay @confirm="cardConfirm" :show="show" :columns="cardList"></u-picker>
 			@cancel="show=false" closeOnClickOverlay @confirm="cardConfirm" :show="show" :columns="cardList"></u-picker>
 		<u-toast ref="uToast"></u-toast>
 		<u-toast ref="uToast"></u-toast>
 	</view>
 	</view>

+ 1 - 1
xiaochengxu/pages/circle/detail.vue

@@ -81,7 +81,7 @@
 		</mescroll-uni>
 		</mescroll-uni>
 		</view>
 		</view>
 		
 		
-		<u-picker @cancel="isShowCard=false" :show="isShowCard" :columns="cardList" keyName="cardBusiness"
+		<u-picker :immediateChange ="true" @cancel="isShowCard=false" :show="isShowCard" :columns="cardList" keyName="cardBusiness"
 			@confirm="cardConfirm"></u-picker>
 			@confirm="cardConfirm"></u-picker>
 		<u-toast ref="uToast"></u-toast>
 		<u-toast ref="uToast"></u-toast>
 		<u-modal :show="show" :content='content' @confirm="$u.debounce(joinCircle, 500)" showCancelButton
 		<u-modal :show="show" :content='content' @confirm="$u.debounce(joinCircle, 500)" showCancelButton

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

@@ -23,7 +23,7 @@
 			
 			
 		</view>
 		</view>
 		<u-toast ref="uToast"></u-toast>
 		<u-toast ref="uToast"></u-toast>
-		<u-picker @cancel='show=false' @confirm='pickerConfirm' title='识别类型' :show="show" :columns="columns"></u-picker>
+		<u-picker :immediateChange ="true" @cancel='show=false' @confirm='pickerConfirm' title='识别类型' :show="show" :columns="columns"></u-picker>
 	</view>
 	</view>
 </template>
 </template>
 
 

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

@@ -86,7 +86,7 @@
 			</mescroll-body>
 			</mescroll-body>
 		</view>
 		</view>
 	
 	
-		<u-picker @cancel='show=false' @confirm='pickerConfirm' title='识别类型' :show="show" :columns="columns"></u-picker>
+		<u-picker :immediateChange ="true" @cancel='show=false' @confirm='pickerConfirm' title='识别类型' :show="show" :columns="columns"></u-picker>
 		<u-popup :show="popupshow" :closeOnClickOverlay='true' :overlayOpacity='0.4' @close='handleHiddenShare'
 		<u-popup :show="popupshow" :closeOnClickOverlay='true' :overlayOpacity='0.4' @close='handleHiddenShare'
 			:round="10" mode="bottom">
 			:round="10" mode="bottom">
 			<view>
 			<view>

+ 3 - 0
xiaochengxu/pages/mySet/myHome.vue

@@ -392,6 +392,9 @@
 		border-radius: 0px 0px 20rpx 20rpx;
 		border-radius: 0px 0px 20rpx 20rpx;
 	}
 	}
 	.content1{
 	.content1{
+		.row{
+			padding-bottom: 20rpx;
+		}
 		margin: 0rpx 0 120rpx 0;
 		margin: 0rpx 0 120rpx 0;
 		background-color: #fff;
 		background-color: #fff;
 		border-radius: 20rpx 20rpx 0 0;
 		border-radius: 20rpx 20rpx 0 0;

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

@@ -33,10 +33,10 @@
 		<u-popup :show="isShowCode" @close="isShowCode=false" mode="center" :round='10'>
 		<u-popup :show="isShowCode" @close="isShowCode=false" mode="center" :round='10'>
 			<image :src="selectCode" mode="widthFix" style="height: auto;"></image>
 			<image :src="selectCode" mode="widthFix" style="height: auto;"></image>
 		</u-popup>
 		</u-popup>
-		<u-picker keyName="cardBusiness" :confirmType='"share"' :confirmText='"分享"' title="选择名片" @cancel="show=false"
+		<u-picker :immediateChange ="true" keyName="cardBusiness" :confirmType='"share"' :confirmText='"分享"' title="选择名片" @cancel="show=false"
 			closeOnClickOverlay @change="cardChange" :show="show" :columns="cardList"></u-picker>
 			closeOnClickOverlay @change="cardChange" :show="show" :columns="cardList"></u-picker>
-		<u-picker keyName="cardBusiness" confirmText='确定' title="选择名片" @cancel="show1=false" closeOnClickOverlay
-			@confirm="cardConfirm" :show="show1" :columns="cardList"></u-picker>
+		<u-picker :immediateChange ="true" keyName="cardBusiness" confirmText='确定' title="选择名片" @cancel="show1=false" closeOnClickOverlay
+			@confirm="cardConfirm" :show="show1" :columns="cardList" ></u-picker>
 		<poster :data="canvasData" background-color="#FFF" :width='750' :height='420' @on-success="posterSuccess"
 		<poster :data="canvasData" background-color="#FFF" :width='750' :height='420' @on-success="posterSuccess"
 			ref="poster" @on-error="posterError"></poster>
 			ref="poster" @on-error="posterError"></poster>
 		<u-toast ref="uToast"></u-toast>
 		<u-toast ref="uToast"></u-toast>

BIN
xiaochengxu/static/imgs/card/bgc4.png