瀏覽代碼

fix: bugfix;样式优化

ext.zhangbin71 4 周之前
父節點
當前提交
96c7013e3f

+ 7 - 2
components/addressWindow/index.vue

@@ -11,12 +11,12 @@
 				<view class='item' :class='active == index ? "active" : ""'
 					v-for="(item, index) in addressList" @tap='tapAddress(index, item.id)' :key='index'>
 					<view class='address'>
-						<view class='address-t'>{{ item.province }}{{ item.city }}{{ item.district }}{{ item.detail }}</view>
+						<view class='address-t'><text>{{ item.province }}{{ item.city }}{{ item.district }}{{ item.detail }}</text><view v-if="item.isDefault" class="default">默认</view></view>
 						<view class='name'>{{ item.realName }}<text class='phone'>{{
 							item.phone }}</text></view>
 						
 					</view>
-					<view v-if="active == index" class="default">默认</view>
+					
 				</view>
 			</view>
 			<!-- 无地址 -->
@@ -186,6 +186,7 @@ function fetchAddressList() {
 	border-radius: 8rpx;
 	text-align: center;
 	line-height: 40rpx;
+	flex-shrink: 0;
 }
 
 .address-window .list .item .address .name {
@@ -200,6 +201,10 @@ function fetchAddressList() {
 }
 .address-t {
 	font-weight: bold;
+	display: flex;
+	justify-content: space-between;
+	align-items: start;
+	flex-wrap: nowrap;
 }
 .addressBnt-btn {
 	padding: 22rpx 32rpx;

+ 0 - 1
pages/goods/goods_details/index.vue

@@ -739,7 +739,6 @@
 		}
 	};
 	const DefaultSelect = () => {
-		debugger
 		let value = [];
 
 		const allKeys = Object.keys(productValue.value);

+ 1 - 1
pages/merchantCenters/releaseProduct.vue

@@ -480,7 +480,7 @@
 		storeInfo: {
 			type: 'string',
 			required: true,
-			message: '请输入商品关键字',
+			message: '请输入商品简介',
 			trigger: ['blur', 'change']
 		},
 		unitName: {