Selaa lähdekoodia

修改适用门店列表页bug,优化首页与抽奖详情页样式

DELL 3 vuotta sitten
vanhempi
commit
b6776922b2

+ 6 - 4
src/packageOperate/activity/index.vue

@@ -65,7 +65,7 @@
 								:url="JSON.parse(itemTwo.prizeType).value == 'goods' ? `/packagePrize/goods/detail?id=${ itemTwo.refId }`:JSON.parse(itemTwo.prizeType).value == 'coin' ?`/packagePrize/goods/detail?id=424`:`/packagePrize/goods/detail?id=425`"
 								hover-class="none">
 								<view class="effectsthree-width">
-									<image src="../static/activity/effectsthree.png"></image>
+									<image src="../static/activity/effectsthree.png" mode="aspectFit"></image>
 									<view class="effectsthree-width-name">
 										{{item.name}}
 									</view>
@@ -109,7 +109,7 @@
 								<navigator
 									:url="JSON.parse(itemTwo.prizeType).value == 'goods' ? `/packagePrize/goods/detail?id=${ itemTwo.refId }`:JSON.parse(itemTwo.prizeType).value == 'coin' ?`/packagePrize/goods/detail?id=424`:`/packagePrize/goods/detail?id=425`"
 									hover-class="none">
-									<view class="flex">
+									<view class="flex justify">
 										<view>
 											<image :src="itemTwo.picUrl" mode="aspectFit" class="imatwo"></image>
 										</view>
@@ -672,8 +672,10 @@
 					// text-align: center;
 					padding: 0 62rpx;
 					justify-content: flex-start;
-
-
+					
+					.justify {
+						justify-content: left;
+					}
 
 					.imatwo {
 						width: 150rpx;

+ 1 - 1
src/packagePrize/address/index.vue

@@ -19,7 +19,7 @@
 			</view>
 			<view class="content">
 				<view class="address-box" v-for="(item,index) in list" :key="index">
-					<text class="store-name" selectable="true" user-select={true}>{{item.name}}</text>
+					<text class="store-name" selectable="true" user-select={true}>{{item.siteName}}</text>
 					<view class="store-address">
 						<text>地址:{{item.addressAll}}</text>
 						<view @click="copyDeliveryFlowId(item.addressAll)">复制</view>

+ 5 - 3
src/packagePrize/coupon/detail.vue

@@ -101,15 +101,17 @@
 				}).then(res => {
 					uni.hideLoading();
 					if (res.code == 0) {
+						// #ifndef MP-ALIPAY
 						res.data.description = res.data.description.replaceAll('\n','<br/>')
-						this.info = res.data
+						// #endif
 						// #ifdef MP-ALIPAY
-						parse(this.info.description,(err,nodes) => {
+						parse(res.data.description,(err,nodes) => {
 							if(!err){
-								this.info.description = nodes
+								res.data.description = nodes
 							}
 						})
 						// #endif
+						this.info = res.data
 						setTimeout(() => {
 							uni.hideLoading();
 							this.couponQrCode()

+ 1 - 1
src/pages/index/index.vue

@@ -76,7 +76,7 @@
 						<swiper-item v-for="(item, index) in ticketList" :key="index">
 							<view class="ticket-title-swiper-item flex" @click="clickTicketTitle(index)"
 								:class="{ 'action': ticketTitleIndex == index }">
-								<text>{{ item.title }}</text>
+								<text class="ells-one">{{ item.title }}</text>
 							</view>
 						</swiper-item>
 					</swiper>