future 1 жил өмнө
parent
commit
48af983f8e
45 өөрчлөгдсөн 66 нэмэгдсэн , 35 устгасан
  1. BIN
      xs-app/.DS_Store
  2. 1 0
      xs-app/pages.json
  3. 3 3
      xs-app/pages/bookshelf/bookshelf-bookList.vue
  4. 5 5
      xs-app/pages/bookshelf/bookshelf-readHistory.vue
  5. 46 18
      xs-app/pages/bookshelf/bookshelf.vue
  6. 4 3
      xs-app/pages/bookstore/template/template-book-H-3.vue
  7. 3 2
      xs-app/pages/bookstore/template/template-book-V-3.vue
  8. 1 1
      xs-app/pages/mine/mine-info.vue
  9. 1 1
      xs-app/pages/mine/mine-wealth.vue
  10. 1 1
      xs-app/pagesA/aboutMine/aboutMine.vue
  11. 1 1
      xs-app/pagesA/bookdetails/bookdetails-recommend.vue
  12. BIN
      xs-app/static/.DS_Store
  13. BIN
      xs-app/static/imgs/.DS_Store
  14. BIN
      xs-app/static/imgs/bookstore/img_cainixihuan.png
  15. BIN
      xs-app/static/imgs/bookstore/img_change.png
  16. BIN
      xs-app/static/imgs/bookstore/img_look_more.png
  17. BIN
      xs-app/static/imgs/mine/img_mine_bg.png
  18. BIN
      xs-app/static/imgs/public/img_bg_1.png
  19. BIN
      xs-app/static/imgs/public/img_change.png
  20. 0 0
      xs-app/static/imgs/public/img_crown.png
  21. BIN
      xs-app/static/imgs/public/img_lianzai.png
  22. BIN
      xs-app/static/imgs/public/img_ljgm.png
  23. BIN
      xs-app/static/imgs/public/img_read_now.png
  24. BIN
      xs-app/static/imgs/public/img_wanjie.png
  25. BIN
      xs-app/static/imgs/read/btn_buy_chapter.png
  26. BIN
      xs-app/static/imgs/read/img_buy_onselect_bi_status.png
  27. BIN
      xs-app/static/imgs/read/img_buy_onselect_status.png
  28. BIN
      xs-app/static/imgs/read/img_buy_unselect_bi_status.png
  29. BIN
      xs-app/static/imgs/read/img_buy_unselect_status.png
  30. BIN
      xs-app/static/imgs/read/img_coin.png
  31. BIN
      xs-app/static/imgs/read/img_dark_unlock_bg.png
  32. BIN
      xs-app/static/imgs/read/img_drak_shu_bi.png
  33. BIN
      xs-app/static/imgs/read/img_read_dark_logo.png
  34. BIN
      xs-app/static/imgs/read/img_read_dark_ml.png
  35. BIN
      xs-app/static/imgs/read/img_read_logo.png
  36. BIN
      xs-app/static/imgs/read/img_song_db.png
  37. BIN
      xs-app/static/imgs/read/img_unlock_bg.png
  38. BIN
      xs-app/static/imgs/read/setting/.DS_Store
  39. BIN
      xs-app/static/imgs/recharge/recharge_top_bg.png
  40. BIN
      xs-app/static/imgs/tabBar/bookshelf_0.png
  41. BIN
      xs-app/static/imgs/tabBar/bookshelf_1.png
  42. BIN
      xs-app/static/imgs/tabBar/bookstore_1.png
  43. BIN
      xs-app/static/imgs/tabBar/mine_0.png
  44. BIN
      xs-app/static/imgs/tabBar/mine_1.png
  45. BIN
      xs-app/static/logo.png

BIN
xs-app/.DS_Store


+ 1 - 0
xs-app/pages.json

@@ -4,6 +4,7 @@
 			"path": "pages/bookshelf/bookshelf",
 			"style": {
 				"navigationBarTitleText": "书架",
+				"navigationStyle": "custom",
 				"app-plus": {
 					"bounce": "none"
 				}

+ 3 - 3
xs-app/pages/bookshelf/bookshelf-bookList.vue

@@ -182,8 +182,8 @@
 					align-items: center;
 					margin-left: 15rpx;
 					flex-shrink: 0;
-					width: 160rpx;
-					height: 70rpx;
+					width: 145rpx;
+					height: 60rpx;
 					// background-color: red;
 					&__image{
 						width: 100%;
@@ -191,7 +191,7 @@
 					}
 					&__name{
 						position: absolute;
-						font-size: 18px;
+						font-size: 16px;
 						color: #fff;
 					}
 				}

+ 5 - 5
xs-app/pages/bookshelf/bookshelf-readHistory.vue

@@ -186,8 +186,8 @@
 	.readHistory_content{
 		display: flex;
 		flex-direction: column;
-		// background-color: purple;
-		
+		// background-color: purple;	
+			
 		.top{
 			display: flex;
 			flex-direction: row;
@@ -204,8 +204,8 @@
 					align-items: center;
 					margin-left: 15rpx;
 					flex-shrink: 0;
-					width: 160rpx;
-					height: 70rpx;
+					width: 145rpx;
+					height: 60rpx;
 					// background-color: red;
 					&__image{
 						width: 100%;
@@ -213,7 +213,7 @@
 					}
 					&__name{
 						position: absolute;
-						font-size: 18px;
+						font-size: 16px;
 						color: #fff;
 					}
 				}

+ 46 - 18
xs-app/pages/bookshelf/bookshelf.vue

@@ -1,22 +1,27 @@
 <template>
 	<view class="bookshelf-content">
-		<view style="position: fixed; z-index: 10; width: 100%; ">
-			<z-tabs 
-			ref="tabs"
-			:tabs-style="{height:tab_height + 'rpx'}"
-			bg-color="#fff"
-			bar-height="0"
-			active-color="#FF8EBB"
-			:active-style="{'font-size': '60rpx', 'font-weight': '500'}"
-			inactive-color="#3D3D3D"
-			:inactive-style="{'font-size': '30rpx', 'font-weight': '500'}"
-			scroll-count="1" 
-			:bottomLineIsShow="false" 
-			:list="tab_list"  
-			:current="tab_current"
-			@change="tabsChange" />	
+		<view class="bookshelf-content__top" :style="{height:top_height+'px'}">
+			<view class="bookshelf-content__top__bg">
+				<image class="image" src="../../static/imgs/public/img_bg_1.png"></image>
+			</view>
+			<view :style="{marginTop: safeArea_top+'px'}">
+				<z-tabs 
+				ref="tabs"
+				:tabs-style="{height:tab_height + 'px'}"
+				bg-color="transparent"
+				bar-height="0"
+				active-color="#FF8EBB"
+				:active-style="{'font-size': '60rpx', 'font-weight': '500'}"
+				inactive-color="#3D3D3D"
+				:inactive-style="{'font-size': '30rpx', 'font-weight': '500'}"
+				scroll-count="1" 
+				:bottomLineIsShow="false" 
+				:list="tab_list"  
+				:current="tab_current"
+				@change="tabsChange" />	
+			</view>
 		</view>
-		<view :style="{marginTop: tab_height + 'rpx'}">
+		<view :style="{marginTop: top_height + 'px'}">
 			<bookList :class="tab_current==0?'style_show':'style_hide'" 
 			:book_list='data_book_list' 
 			@clickBook='gotoReadBook' 
@@ -43,10 +48,17 @@
     import { ReadRecord } from '../../stores/readRecordManager';
     import { util } from '../../framework/util';
 	
-	let tab_height = ref(100)
+	let tab_height = ref(50)
 	let tab_list = ref(['书架','阅读历史'])
 	let tab_current = ref(0)  //0:书架 1:阅读历史
 	
+	let safeArea_top = ref(0)
+	let top_height = ref(0)
+	if(tools.platform == config.Platform.WEIXIN) {
+		safeArea_top.value = uni.getSystemInfoSync().safeArea.top
+	}
+	top_height.value = safeArea_top.value + tab_height.value
+	
 	let data_book_list = ref<Array<book_item_data>>([])
 	let data_read_history_list = ref<Array<book_item_data>>([])
 	
@@ -260,7 +272,23 @@
 <style lang="scss">
 	.bookshelf-content{
 		display: flex;
-		flex-direction: column;
+		flex-direction: column;	
+		&__top{
+			position: fixed; 
+			z-index: 9; 
+			top: 0; 
+			width: 100%;
+			&__bg{
+				position: absolute; 
+				flex-shrink: 0;
+				width:100%;
+				height: 100%;
+				.image{
+					width: 100%;
+					height: 100%;
+				}
+			}
+		}
 	}
 	.style_show{
 		display: flex;

+ 4 - 3
xs-app/pages/bookstore/template/template-book-H-3.vue

@@ -4,7 +4,7 @@
 			<view class="title-content">
 				<view class="title-content__title" >{{templateData.name}}</view>
 				<view class="title-content__change" @click="clickChange">
-					<image src="../../../static/imgs/bookstore/img_change.png" mode="aspectFit"></image>
+					<image src="../../../static/imgs/public/img_change.png" mode="aspectFit"></image>
 				</view>
 			</view>
 			<view class="book-content">
@@ -70,6 +70,7 @@
 			flex-direction: row;
 			justify-content: space-between;
 			align-items: center;
+			margin: 20rpx 0;
 			margin-left: 30rpx;
 			// background-color: red;
 			
@@ -80,8 +81,8 @@
 			&__change {
 				display: flex;
 				flex-shrink: 0;
-				width: 134px;
-				height: 54px;
+				width: 114px;
+				height: 34px;
 				align-items: center;
 				// background-color: green;
 				.image{

+ 3 - 2
xs-app/pages/bookstore/template/template-book-V-3.vue

@@ -78,6 +78,7 @@
 			flex-direction: row;
 			justify-content: space-between;
 			align-items: center;
+			margin: 20rpx 0;
 			margin-left: 30rpx;
 			
 			&__title {
@@ -87,8 +88,8 @@
 			&__look-more{
 				display: flex;
 				flex-shrink: 0;
-				width: 134px;
-				height: 54px;
+				width: 128px;
+				height: 48px;
 				align-items: center;
 				// background-color: green;
 				.image{

+ 1 - 1
xs-app/pages/mine/mine-info.vue

@@ -1,7 +1,7 @@
 <template>
 	<view class="mine-info_content">
 		<view class="bg">
-			<image class="image" src="../../static/imgs/mine/img_mine_bg.png" mode="aspectFill"></image>
+			<image class="image" src="../../static/imgs/public/img_bg_1.png" mode="aspectFill"></image>
 		</view>
 		<view class="container">
 			<view class="container__avatar">

+ 1 - 1
xs-app/pages/mine/mine-wealth.vue

@@ -29,7 +29,7 @@
     import { config } from '../../config/config';
 	let data_list = [
 		{'id':config.mine_goto_type.SHUBI,'name':'书币','icon':'../../static/imgs/public/img_coin.png'},
-	    {'id':config.mine_goto_type.VIP,'name':'VIP','icon':'../../static/imgs/mine/img_mine_icon2.png'},
+	    {'id':config.mine_goto_type.VIP,'name':'VIP','icon':'../../static/imgs/public/img_crown.png'},
 	] 
 	let user_data = UserData().getData()
 	

+ 1 - 1
xs-app/pagesA/aboutMine/aboutMine.vue

@@ -1,7 +1,7 @@
 <template>
 	<view class="aboutMine_content">
 		<view class="bg">
-			<image class="bg__image" src="../../static/imgs/mine/img_mine_bg.png" mode="aspectFill"></image>
+			<image class="bg__image" src="../../static/imgs/public/img_bg_1.png" mode="aspectFill"></image>
 			<view class="bg__logo">
 				<image class="image" src="../../static/logo.png" mode="aspectFill"></image>
 			</view>

+ 1 - 1
xs-app/pagesA/bookdetails/bookdetails-recommend.vue

@@ -6,7 +6,7 @@
 		<view class="top">
 			<view class="top__title">同类推荐</view>
 			<view class="top__change" @click="clickChangeBook()">
-				<image class="image" src="../../static/imgs/bookstore/img_change.png" mode="aspectFill"></image>
+				<image class="image" src="../../static/imgs/public/img_change.png" mode="aspectFill"></image>
 			</view>
 		</view>
 		<view class="book-content">

BIN
xs-app/static/.DS_Store


BIN
xs-app/static/imgs/.DS_Store


BIN
xs-app/static/imgs/bookstore/img_cainixihuan.png


BIN
xs-app/static/imgs/bookstore/img_change.png


BIN
xs-app/static/imgs/bookstore/img_look_more.png


BIN
xs-app/static/imgs/mine/img_mine_bg.png


BIN
xs-app/static/imgs/public/img_bg_1.png


BIN
xs-app/static/imgs/public/img_change.png


+ 0 - 0
xs-app/static/imgs/mine/img_mine_icon2.png → xs-app/static/imgs/public/img_crown.png


BIN
xs-app/static/imgs/public/img_lianzai.png


BIN
xs-app/static/imgs/public/img_ljgm.png


BIN
xs-app/static/imgs/public/img_read_now.png


BIN
xs-app/static/imgs/public/img_wanjie.png


BIN
xs-app/static/imgs/read/btn_buy_chapter.png


BIN
xs-app/static/imgs/read/img_buy_onselect_bi_status.png


BIN
xs-app/static/imgs/read/img_buy_onselect_status.png


BIN
xs-app/static/imgs/read/img_buy_unselect_bi_status.png


BIN
xs-app/static/imgs/read/img_buy_unselect_status.png


BIN
xs-app/static/imgs/read/img_coin.png


BIN
xs-app/static/imgs/read/img_dark_unlock_bg.png


BIN
xs-app/static/imgs/read/img_drak_shu_bi.png


BIN
xs-app/static/imgs/read/img_read_dark_logo.png


BIN
xs-app/static/imgs/read/img_read_dark_ml.png


BIN
xs-app/static/imgs/read/img_read_logo.png


BIN
xs-app/static/imgs/read/img_song_db.png


BIN
xs-app/static/imgs/read/img_unlock_bg.png


BIN
xs-app/static/imgs/read/setting/.DS_Store


BIN
xs-app/static/imgs/recharge/recharge_top_bg.png


BIN
xs-app/static/imgs/tabBar/bookshelf_0.png


BIN
xs-app/static/imgs/tabBar/bookshelf_1.png


BIN
xs-app/static/imgs/tabBar/bookstore_1.png


BIN
xs-app/static/imgs/tabBar/mine_0.png


BIN
xs-app/static/imgs/tabBar/mine_1.png


BIN
xs-app/static/logo.png