Browse Source

修改查看

asd123a20 2 years ago
parent
commit
fa3d50b86e
3 changed files with 9 additions and 5 deletions
  1. 1 1
      pages/goods/details.vue
  2. 7 3
      pages/goods/index.vue
  3. 1 1
      pages/index/index.vue

+ 1 - 1
pages/goods/details.vue

@@ -16,7 +16,7 @@
  			<view class="voucher-coupon-detail-content-title">说明</view>
  			<view class="voucher-coupon-detail-content-title">说明</view>
  			<view class="voucher-coupon-detail-content-desc" v-html="coupon.details"></view>
  			<view class="voucher-coupon-detail-content-desc" v-html="coupon.details"></view>
  		</view>
  		</view>
- 		<view class="voucher-coupon-detail-footer-btn" v-if="type !== 'my'" :class="{ remainCount: coupon.remainCount == 0 }" @click="receive">立即领取</view>
+ 		<view class="voucher-coupon-detail-footer-btn" v-if="type !== 'my'" :class="{ remainCount: coupon.remainCount == 0 }" @click="receive">立即兑换</view>
 		<popup ref="popup" :popupInfo="popupInfo" @confirm="popupBtnClick" @close="popupBtnClick"></popup>
 		<popup ref="popup" :popupInfo="popupInfo" @confirm="popupBtnClick" @close="popupBtnClick"></popup>
  	</view>
  	</view>
  </template>
  </template>

+ 7 - 3
pages/goods/index.vue

@@ -25,7 +25,9 @@
 						</template>
 						</template>
 						<!-- 自定义 footer-->
 						<!-- 自定义 footer-->
 						<template v-slot:footer>
 						<template v-slot:footer>
-							<view @click="btn(item)">查看</view>
+							<uni-icons class="forward" type="forward" size="30" @click="btn(item)"></uni-icons>
+
+							<!-- <view @click="btn(item)">查看</view> -->
 							<!-- <button type="default" class="receive" :class="{ remainCount: item.remainCount == 0 }" size="mini" @click="itemClick(item)">领取</button> -->
 							<!-- <button type="default" class="receive" :class="{ remainCount: item.remainCount == 0 }" size="mini" @click="itemClick(item)">领取</button> -->
 						</template>
 						</template>
 					</uni-list-item>
 					</uni-list-item>
@@ -174,7 +176,7 @@
 	padding: 12px 5% !important;
 	padding: 12px 5% !important;
 }
 }
 .titleBox {
 .titleBox {
-	width: 70%;
+	width: 65%;
 	margin-left: 10px;
 	margin-left: 10px;
 	display: block;
 	display: block;
 }
 }
@@ -210,7 +212,9 @@
 	height: 45vw;
 	height: 45vw;
 	overflow: hidden;
 	overflow: hidden;
 }
 }
-
+.forward .uni-icons {
+	line-height: 55px;
+}
 /**/
 /**/
 .uni-section .uni-section-header {
 .uni-section .uni-section-header {
 	padding: 12px 20px !important;
 	padding: 12px 20px !important;

+ 1 - 1
pages/index/index.vue

@@ -15,7 +15,7 @@
 					</swiper-item>
 					</swiper-item>
 				</swiper>
 				</swiper>
 			</view>
 			</view>
-			<uni-notice-bar moreColor="#000" scrollable show-get-more show-icon :text="notice" more-text="更多>>" @getmore="getMore" />
+			<uni-notice-bar :speed="50" moreColor="#000" scrollable show-get-more show-icon :text="notice" more-text="更多>>" @getmore="getMore" />
 			<!-- 党建 -->
 			<!-- 党建 -->
 			<uni-section titleFontSize="16px"  class="mb-10 sectionBox" title="党建引领" type="line">
 			<uni-section titleFontSize="16px"  class="mb-10 sectionBox" title="党建引领" type="line">
 				<view class="card" v-for="(item, index) in construct" :key="index" :border="false" @click="illnessBtn(item)">
 				<view class="card" v-for="(item, index) in construct" :key="index" :border="false" @click="illnessBtn(item)">