|  | @@ -7,7 +7,7 @@
 | 
	
		
			
				|  |  |  					店铺标志
 | 
	
		
			
				|  |  |  				</view>
 | 
	
		
			
				|  |  |  				<view class="image">
 | 
	
		
			
				|  |  | -					<image :src="dto.shopSign">
 | 
	
		
			
				|  |  | +					<image :src="list.shopSign">
 | 
	
		
			
				|  |  |  					</image>
 | 
	
		
			
				|  |  |  					<u-icon @click="more()" name="arrow-right" color="#AAA"></u-icon>
 | 
	
		
			
				|  |  |  				</view>
 | 
	
	
		
			
				|  | @@ -17,7 +17,7 @@
 | 
	
		
			
				|  |  |  					店铺名称
 | 
	
		
			
				|  |  |  				</view>
 | 
	
		
			
				|  |  |  				<view class="right">
 | 
	
		
			
				|  |  | -					<input type="text" v-model="dto.name" border="none" placeholder="请输入手机号" style="height: 48rpx;" />
 | 
	
		
			
				|  |  | +					<input type="text" v-model="list.name" border="none" placeholder="请输入手机号" style="height: 48rpx;" />
 | 
	
		
			
				|  |  |  				</view>
 | 
	
		
			
				|  |  |  			</view>
 | 
	
		
			
				|  |  |  			<view class="one-mobile">
 | 
	
	
		
			
				|  | @@ -25,7 +25,7 @@
 | 
	
		
			
				|  |  |  					联系电话
 | 
	
		
			
				|  |  |  				</view>
 | 
	
		
			
				|  |  |  				<view class="right">
 | 
	
		
			
				|  |  | -					<input type="text" v-model="dto.phone" border="none" placeholder="请输入手机号" style="height: 48rpx;" />
 | 
	
		
			
				|  |  | +					<input type="text" v-model="list.phone" border="none" placeholder="请输入手机号" style="height: 48rpx;" />
 | 
	
		
			
				|  |  |  				</view>
 | 
	
		
			
				|  |  |  			</view>
 | 
	
		
			
				|  |  |  			<view class="one-mobile">
 | 
	
	
		
			
				|  | @@ -33,7 +33,7 @@
 | 
	
		
			
				|  |  |  					商家地址
 | 
	
		
			
				|  |  |  				</view>
 | 
	
		
			
				|  |  |  				<view class="right">
 | 
	
		
			
				|  |  | -					<input type="text" v-model="dto.areaDetail" border="none" placeholder="请输入" style="height: 48rpx;" />
 | 
	
		
			
				|  |  | +					<input type="text" v-model="list.areaDetail" border="none" placeholder="请输入" style="height: 48rpx;" />
 | 
	
		
			
				|  |  |  				</view>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  			</view>
 | 
	
	
		
			
				|  | @@ -65,7 +65,7 @@
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  		</view> -->
 | 
	
		
			
				|  |  |  		<view class="from-content1">
 | 
	
		
			
				|  |  | -			<button class="tenant-button" @click="merchant">
 | 
	
		
			
				|  |  | +			<button class="tenant-button" @click="save">
 | 
	
		
			
				|  |  |  				立即保存
 | 
	
		
			
				|  |  |  			</button>
 | 
	
		
			
				|  |  |  		</view>
 | 
	
	
		
			
				|  | @@ -87,6 +87,14 @@
 | 
	
		
			
				|  |  |  					idCode: '', // 证件号
 | 
	
		
			
				|  |  |  					id: '',
 | 
	
		
			
				|  |  |  					areaDetail: ''
 | 
	
		
			
				|  |  | +				},
 | 
	
		
			
				|  |  | +				list:{
 | 
	
		
			
				|  |  | +					name: '黄沙村渔家乐', //昵称
 | 
	
		
			
				|  |  | +					phone: '18755113256', //手机号
 | 
	
		
			
				|  |  | +					shopSign: '', // 头像
 | 
	
		
			
				|  |  | +					idCode: '', // 证件号
 | 
	
		
			
				|  |  | +					id: '',
 | 
	
		
			
				|  |  | +					areaDetail: ''
 | 
	
		
			
				|  |  |  				},
 | 
	
		
			
				|  |  |  				shopImgs: [],
 | 
	
		
			
				|  |  |  			}
 | 
	
	
		
			
				|  | @@ -100,13 +108,11 @@
 | 
	
		
			
				|  |  |  				this.$api.get('/api/merchant/food/merchant/' + uni.getStorageSync('merchantId')).then(res => {
 | 
	
		
			
				|  |  |  					console.log(res)
 | 
	
		
			
				|  |  |  					if (res.data.code == 0) {
 | 
	
		
			
				|  |  | -						this.dto = res.data.data;
 | 
	
		
			
				|  |  | +						this.list = res.data.data;
 | 
	
		
			
				|  |  |  						if (!res.data.data.shopSign) {
 | 
	
		
			
				|  |  | -							this.dto.shopSign =
 | 
	
		
			
				|  |  | +							this.list.shopSign =
 | 
	
		
			
				|  |  |  								'https://i.ringzle.com/file/20240225/26feb8cc8f744123a980211ebdfb8d40.png';
 | 
	
		
			
				|  |  |  						}
 | 
	
		
			
				|  |  | -						//this.shopImgs = res.data.data.split(',');
 | 
	
		
			
				|  |  | -						console.log(this.shopImgs)
 | 
	
		
			
				|  |  |  					}
 | 
	
		
			
				|  |  |  				})
 | 
	
		
			
				|  |  |  			},
 | 
	
	
		
			
				|  | @@ -136,9 +142,26 @@
 | 
	
		
			
				|  |  |  				});
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  			},
 | 
	
		
			
				|  |  | -			save() {
 | 
	
		
			
				|  |  | -				this.$api.put('/merchant/merchantFisherman/home', this.dto).then(res => {
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | +			save() {
 | 
	
		
			
				|  |  | +				this.dto.idCardFront = this.list.idCardFront
 | 
	
		
			
				|  |  | +				this.dto.name = this.list.name
 | 
	
		
			
				|  |  | +				this.dto.companyName = this.list.companyName
 | 
	
		
			
				|  |  | +				this.dto.merchantType = this.list.merchantType
 | 
	
		
			
				|  |  | +				this.dto.companyType = this.list.companyType
 | 
	
		
			
				|  |  | +				this.dto.legalPerson = this.list.legalPerson
 | 
	
		
			
				|  |  | +				this.dto.idCard = this.list.idCard
 | 
	
		
			
				|  |  | +				this.dto.creditCode = this.list.creditCode
 | 
	
		
			
				|  |  | +				this.dto.idCardReverse = this.list.idCardReverse
 | 
	
		
			
				|  |  | +				this.dto.licensePic = this.list.licensePic
 | 
	
		
			
				|  |  | +				// this.dto.usccl = this.list.usccl
 | 
	
		
			
				|  |  | +				this.dto.storeFrontPic = this.list.storeFrontPic
 | 
	
		
			
				|  |  | +				this.dto.shopImgs = this.list.shopImgs
 | 
	
		
			
				|  |  | +				this.dto.linkName = this.list.linkName
 | 
	
		
			
				|  |  | +				this.dto.phone = this.list.phone
 | 
	
		
			
				|  |  | +				this.dto.areaDetail = this.list.areaDetail
 | 
	
		
			
				|  |  | +				this.dto.id = uni.getStorageSync('merchantId')
 | 
	
		
			
				|  |  | +				this.dto.id = uni.getStorageSync('merchantId')
 | 
	
		
			
				|  |  | +				this.$api.put('/api/merchant/food/updateMerchantInfo',this.dto).then(res => {
 | 
	
		
			
				|  |  |  				})
 | 
	
		
			
				|  |  |  			}
 | 
	
		
			
				|  |  |  		}
 | 
	
	
		
			
				|  | @@ -146,19 +169,25 @@
 | 
	
		
			
				|  |  |  </script>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  <style lang="scss" scoped>
 | 
	
		
			
				|  |  | -	//保存样式
 | 
	
		
			
				|  |  | -	.tenant-button {
 | 
	
		
			
				|  |  | -		position: fixed;
 | 
	
		
			
				|  |  | -		bottom: 0;
 | 
	
		
			
				|  |  | -		background: #007A69;
 | 
	
		
			
				|  |  | -		border-radius: 40rpx;
 | 
	
		
			
				|  |  | -		font-weight: bold;
 | 
	
		
			
				|  |  | -		font-size: 28rpx;
 | 
	
		
			
				|  |  | -		color: #FFFFFF;
 | 
	
		
			
				|  |  | -		width: 92%;
 | 
	
		
			
				|  |  | -		box-sizing: border-box;
 | 
	
		
			
				|  |  | -		// padding-bottom: 30rpx;
 | 
	
		
			
				|  |  | -		margin-bottom: 30rpx;
 | 
	
		
			
				|  |  | +	//保存样式
 | 
	
		
			
				|  |  | +	.from-content1{
 | 
	
		
			
				|  |  | +		position: fixed;
 | 
	
		
			
				|  |  | +		bottom: 30rpx;
 | 
	
		
			
				|  |  | +		padding: 0 24rpx;
 | 
	
		
			
				|  |  | +		left: 0;
 | 
	
		
			
				|  |  | +		z-index: 10;
 | 
	
		
			
				|  |  | +		    width: 100%;
 | 
	
		
			
				|  |  | +		    box-sizing: border-box;
 | 
	
		
			
				|  |  | +	}
 | 
	
		
			
				|  |  | +	.tenant-button {
 | 
	
		
			
				|  |  | +		background: #007A69;
 | 
	
		
			
				|  |  | +		border-radius: 40rpx;
 | 
	
		
			
				|  |  | +		font-weight: bold;
 | 
	
		
			
				|  |  | +		font-size: 28rpx;
 | 
	
		
			
				|  |  | +		color: #FFFFFF;
 | 
	
		
			
				|  |  | +		height: 88rpx;
 | 
	
		
			
				|  |  | +		line-height: 88rpx;
 | 
	
		
			
				|  |  | +		
 | 
	
		
			
				|  |  |  	}
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  	.page {
 |