Browse Source

样式修改

tanxue 1 tháng trước cách đây
mục cha
commit
0007f5c94b
2 tập tin đã thay đổi với 12 bổ sung1 xóa
  1. 4 0
      common/styles/global/pages.scss
  2. 8 1
      pages/chanpinneirong/index.vue

+ 4 - 0
common/styles/global/pages.scss

@@ -2095,6 +2095,10 @@
 	// 学习目录
 	.xx-item-list{
 		.xx-item-title{text-align: center;margin: 32rpx 0;font-size: 32rpx;color: #444;}
+		.xx-more-btn{
+			width: 630rpx;height: 89rpx;@include ezy-no-repeat-cover;margin: 0 auto 32rpx;
+			background-image: url("@/static/images/xuexi/more-btn.png");
+		}
 		.item-dy-box{
 			display: flex;align-items: center;justify-content: center;
 			color: #fff;margin-bottom: 24rpx;

+ 8 - 1
pages/chanpinneirong/index.vue

@@ -61,8 +61,10 @@
 
 
 						</view>
+						<view class="xx-item-title">本级别最后一单元啦~</view>
+						<view class="xx-more-btn" @click="moreBtn"></view>
 					</view>
-
+				
 				<!-- 回到顶部 -->
 				<view class="go-top-btn" v-if="false"></view>
 				
@@ -168,6 +170,11 @@
 			uni.hideTabBar()
 		},
 		methods: {
+			moreBtn(){
+				uni.switchTab({
+					url: '/pages/chanpinXuanze/index'
+				})
+			},
 			// 初始化IntersectionObserver
 			initObserver() {
 			  if (this.observer) {