lhl 2 年之前
父节点
当前提交
d8233fc6e0
共有 4 个文件被更改,包括 39 次插入12 次删除
  1. 3 10
      pages.json
  2. 34 0
      pages/applic/appliSystem.vue
  3. 2 2
      pages/index/index.vue
  4. 二进制
      static/icon/goblack.png

+ 3 - 10
pages.json

@@ -425,14 +425,10 @@
 		{
 			"path": "pages/applic/appliSystem",
 			"style": {
-				// #ifndef MP
+				"navigationBarTitleText": "造血干细胞捐献",
 				"app-plus": {
 					"titleNView": false
-				},
-				// #endif
-				"navigationBarBackgroundColor": "#457DBF",
-				"navigationBarTextStyle": "white",
-				"navigationBarTitleText": "造血干细胞捐献"
+				}
 			}
 		},
 		{
@@ -971,10 +967,7 @@
 		"navigationBarTextStyle": "black",
 		"navigationBarTitleText": "广水市红十字会",
 		"navigationBarBackgroundColor": "#FFFFFF",
-		"backgroundColor": "#F8F8F8",
-		"app-plus": {
-			"titleNView": false
-		}
+		"backgroundColor": "#F8F8F8"
 	}
 	// "tabBar": {
 	// 	"color": "#CACACA",

+ 34 - 0
pages/applic/appliSystem.vue

@@ -1,5 +1,14 @@
 <template>
 	<view class="content">
+		<view class="flex black">
+			<image src="../../static/icon/goblack.png" mode="" class="goblack" @click="goblcak"></image>
+			<view class="tit">
+				造血干细胞捐献
+			</view>
+			<view class="goblack">
+				
+			</view>
+		</view>
 		<view class="box">
 			<view class="box-1">
 				<navigator url="/pages/applic/toknowledge">
@@ -38,9 +47,34 @@
 </template>
 
 <script>
+	export default {
+		methods: {
+			goblcak() {
+				uni.navigateTo({
+					url: '/pages/index/index'
+				})
+			}
+		}
+	}
 </script>
 
 <style lang="scss">
+	.black {
+		background-color: #FFFFFF;
+		padding: (40vw/7.5) (30vw/7.5) (30vw/7.5);
+		.goblack {
+			flex-shrink: 0;
+			width: (20vw/7.5);
+			height: (40vw/7.5);
+		}
+		.tit {
+			flex-grow: 1;
+			text-align: center;
+			font-weight: bold;
+			font-size: (34vw/7.5);
+		}
+		
+	}
 	.content {
 		background-color: #F8F8F8;
 

+ 2 - 2
pages/index/index.vue

@@ -5,10 +5,10 @@
 		</view>
 		<view class="top-time flex">
 			<view class="item flex jl" v-if="new_time">
-				<image src="../../static/img/dingwei.png" mode="widthFix"></image>
+				<!-- <image src="../../static/img/dingwei.png" mode="widthFix"></image>
 				<view class="">
 					{{new_address || '定位获取中'}}
-				</view>
+				</view> -->
 			</view>
 			<view class="item flex jr" v-if="new_time">
 				<image src="../../static/icon/rl.png" mode="widthFix"></image>

二进制
static/icon/goblack.png