Browse Source

申请发票按钮样式和学习中心直播课接口加提示

xuqiaoying 3 years ago
parent
commit
a8760fb74d
2 changed files with 22 additions and 11 deletions
  1. 2 0
      pages/learn/index.vue
  2. 20 11
      pages2/order/index.vue

+ 2 - 0
pages/learn/index.vue

@@ -564,6 +564,8 @@ export default {
 					}
 					if (res3.code == 200) {
 						this.livingLists = res3.rows || []
+					} else {
+						this.$u.toast(res3.msg)
 					}
 					this.allLoading = false
 				// }

+ 20 - 11
pages2/order/index.vue

@@ -4,7 +4,7 @@
 		<view style="width: 100%;text-align: center;position: fixed;height: 96rpx;z-index: 999;" >
 			<u-tabs :list="list" sticky :current="current" @change="change" active-color="#007AFF" :offset="[-1,0]"></u-tabs>
 		</view>
-		<view style="padding: 96rpx 8rpx 96rpx;">
+		<view style="padding: 96rpx 8rpx 130rpx;">
 			<view v-if="!order.length" class="noData">您暂无相关订单哦~</view>
 			<template v-else>
 				
@@ -77,7 +77,10 @@
 			
 
 			<template v-if="current == 1 && order.length">
-				<view class="apply-invoice" @click="goInvoice">发票申请</view>
+				<view class="apply_btn">
+					<view class="apply-invoice" @click="goInvoice">发票申请</view>
+				</view>
+				
 			</template>
 			
 		</view>
@@ -553,22 +556,28 @@ page {
 	color: #999999;
 	margin: 160rpx 0;
 }
-
-.apply-invoice {
+.apply_btn {
+	width: 100%;
+	height: 124rpx;
+	background: #FFFFFF;
+	box-shadow: 0rpx -2rpx 6rpx 0rpx rgba(0,0,0,0.1000);
 	z-index: 100;
 	position:fixed;
 	left:0;
 	right:0;
-	bottom:40rpx;
+	bottom: 0rpx;
+}
+.apply-invoice {
 	margin:0 auto;
-	width: 526rpx;
-	height: 80rpx;
+	width: 686rpx;
+	height: 84rpx;
+	line-height: 84rpx;
 	text-align: center;
-	line-height: 80rpx;
+	font-size: 32rpx;
 	color:#fff;
-	background: #007AFF;
-	box-shadow: 0rpx 8rpx 7rpx 1rpx rgba(0, 122, 255, 0.1);
-	border-radius: 40rpx;
+	background: #0080FF;
+	margin-top: 20rpx;
+	border-radius: 120rpx;
 }