瀏覽代碼

新加页面

qukaidi 4 年之前
父節點
當前提交
b4da5434c5
共有 16 個文件被更改,包括 90 次插入40 次删除
  1. 31 33
      pages.json
  2. 55 2
      pages/home/index.vue
  3. 4 5
      pages/login/register_3.vue
  4. 二進制
      static/sailun/1.png
  5. 二進制
      static/sailun/2.png
  6. 二進制
      static/sailun/3.png
  7. 二進制
      static/sailun/4.png
  8. 二進制
      static/sailun/88reward.png
  9. 二進制
      static/sailun/integral.png
  10. 二進制
      static/sailun/order.png
  11. 二進制
      static/sailun/policy.png
  12. 二進制
      static/sailun/scan_in.png
  13. 二進制
      static/sailun/scan_out.png
  14. 二進制
      static/sailun/speaker.png
  15. 二進制
      static/sailun/stock.png
  16. 二進制
      static/sailun/swiper1.png

+ 31 - 33
pages.json

@@ -15,7 +15,8 @@
 		{
 			"path": "pages/home/index",
 			"style": {
-				"navigationBarTitleText": "首页"
+				"navigationStyle": "custom", // 隐藏系统导航栏
+				"navigationBarTextStyle": "black"
 			}
 
 		},
@@ -33,7 +34,7 @@
 			"style": {
 				// "navigationBarTitleText": "我的",
 				"app-plus": {
-					"titleNView":false
+					"titleNView": false
 				}
 			}
 
@@ -43,7 +44,7 @@
 			"path": "pages/login/index",
 			"style": {
 				"app-plus": {
-					"titleNView":false
+					"titleNView": false
 				}
 			}
 		}
@@ -69,35 +70,32 @@
 			}
 
 		}]
-	},{
-        "root": "pages/shopping",
-        "pages": [{
-            "path" : "shopping_car/shopping_car",
-            "style" : {
-               "navigationStyle": "custom" ,// 隐藏系统导航栏
-               "navigationBarTextStyle": "white"
-            }
-        }
-        ,{
-            "path" : "integral_mall/integral_mall",
-            "style" : {
-                "navigationBarTitleText": "积分商城"
-            }
-        }
-        ,{
-            "path" : "inline_shop/inline_shop",
-            "style" : {
-                "navigationStyle": "custom" ,// 隐藏系统导航栏
-                "navigationBarTextStyle": "white"
-            }
-        }
-        ,{
-            "path" : "inline_shop_details/inline_shop_details",
-            "style" : {
-                "navigationBarTitleText": "商品详情"
-            }
-        }]
-    },{
+	}, {
+		"root": "pages/shopping",
+		"pages": [{
+			"path": "shopping_car/shopping_car",
+			"style": {
+				"navigationStyle": "custom", // 隐藏系统导航栏
+				"navigationBarTextStyle": "white"
+			}
+		}, {
+			"path": "integral_mall/integral_mall",
+			"style": {
+				"navigationBarTitleText": "积分商城"
+			}
+		}, {
+			"path": "inline_shop/inline_shop",
+			"style": {
+				"navigationStyle": "custom", // 隐藏系统导航栏
+				"navigationBarTextStyle": "white"
+			}
+		}, {
+			"path": "inline_shop_details/inline_shop_details",
+			"style": {
+				"navigationBarTitleText": "商品详情"
+			}
+		}]
+	}, {
 		"root": "pages/me",
 		"pages": [
 			//我的供应商
@@ -137,7 +135,7 @@
 						}
 					}
 				}
-			
+
 			},
 			//查询结果
 			{

+ 55 - 2
pages/home/index.vue

@@ -1,6 +1,36 @@
 <template>
 	<view>
+		<view class="status_bar">
+			<!-- 这里是状态栏 -->
+		</view>
 		<view class="u-page">
+			<view class="u-margin-top-10">
+				<u-swiper :list="tabbarList" :height="310" bg-color="#F4F4F4"></u-swiper>
+			</view>
+			<view class="u-flex u-m-l-20 u-m-r-20">
+				<view class="u-flex u-row-center" style="width: 450rpx; height: 70rpx;border-radius: 50rpx;background: rgba(52,140,245,0.1);font-size: 20rpx;color: #348CF5; font-size: 500;">
+					<u-image width="45rpx" height="35rpx" src="../../static/sailun/speaker.png" style="margin:10rpx;"></u-image>公告
+				</view>
+				<u-notice-bar mode="horizontal" :list="noticebarList" :volume-icon="false" bg-color="#F4F4F4" color="#2B2B2B"></u-notice-bar>
+			</view>
+			<view class="u-flex u-row-around u-m-15">
+				<u-image width="330rpx" height="128rpx" src="../../static/sailun/scan_in.png"></u-image>
+				<u-image width="330rpx" height="128rpx" src="../../static/sailun/scan_out.png"></u-image>
+			</view>
+			<view>
+				<view class="u-m-l-30">
+					快捷服务
+				</view>
+				<view class="u-flex u-flex-wrap u-row-center">
+					<u-image width="340rpx" height="200rpx" src="../../static/sailun/1.png" style="margin: 10rpx;box-shadow:0rpx 0rpx 20rpx rgba(0,0,0,0.2);border-radius: 25rpx;"></u-image>
+					<u-image width="340rpx" height="200rpx" src="../../static/sailun/2.png" style="margin: 10rpx;box-shadow:0rpx 0rpx 20rpx rgba(0,0,0,0.2);border-radius: 25rpx;"></u-image>
+					<u-image width="340rpx" height="200rpx" src="../../static/sailun/3.png" style="margin: 10rpx;box-shadow:0rpx 0rpx 20rpx rgba(0,0,0,0.2);border-radius: 25rpx;"></u-image>
+					<u-image width="340rpx" height="200rpx" src="../../static/sailun/4.png" style="margin: 10rpx;box-shadow:0rpx 0rpx 20rpx rgba(0,0,0,0.2);border-radius: 25rpx;"></u-image>
+				</view>
+			</view>
+			<view class="u-flex u-row-center u-m-t-30">
+				<u-image width="670rpx" src="../../static/sailun/88reward.png" mode="widthFix"></u-image>
+			</view>
 		</view>
 		<!-- 与包裹页面所有内容的元素u-page同级,且在它的下方 -->
 		<u-tabbar v-model="current" :list="list"></u-tabbar>
@@ -35,12 +65,35 @@
 						pagePath: '/pages/me/index'
 					},
 				],
+				tabbarList: [{
+						image: '../../static/sailun/swiper1.png'
+					},
+					{
+						image: '../../static/sailun/swiper1.png'
+					},
+					{
+						image: '../../static/sailun/swiper1.png'
+					}
+				],
+				noticebarList: ['恭喜您获得10000000元积分红包', '恭喜您获得10000000元积分红包', '恭喜您获得10000000元积分红包'],
 				current: 0
 			};
+		},
+		methods: {
+			submit() {
+				this.$u.route({
+					url: 'pages/login/index',
+					type: 'redirectTo'
+				})
+			},
 		}
 	}
 </script>
 
-<style lang="scss">
-
+<style lang="scss" scoped>
+	.status_bar {
+		height: var(--status-bar-height);
+		width: 100%;
+		background-color: #FFF;
+	}
 </style>

+ 4 - 5
pages/login/register_3.vue

@@ -9,7 +9,6 @@
 					</view>
 				</view>
 				<view slot="body">
-
 					<u-form-item prop="cooperation">
 						<view style="margin-right: 10rpx;">
 							<u-icon name="order" size="36"></u-icon>
@@ -50,10 +49,10 @@
 				</view>
 				<view slot="body">
 					<view class="u-flex u-flex-wrap u-row-around">
-						<u-image width="40%" height="100rpx" src="../../static/sailun/upload_preview.png" style="margin:10rpx;"></u-image>
-						<u-image width="40%" height="100rpx" src="../../static/sailun/upload_preview.png" style="margin:10rpx;"></u-image>
-						<u-image width="40%" height="100rpx" src="../../static/sailun/upload_preview.png" style="margin:10rpx;"></u-image>
-						<u-image width="40%" height="100rpx" src="../../static/sailun/upload_preview.png" style="margin:10rpx;"></u-image>
+						<u-image width="40%" height="100rpx" src="../../static/sailun/anyu.png" style="margin:10rpx;"></u-image>
+						<u-image width="40%" height="100rpx" src="../../static/sailun/anyu.png" style="margin:10rpx;"></u-image>
+						<u-image width="40%" height="100rpx" src="../../static/sailun/anyu.png" style="margin:10rpx;"></u-image>
+						<u-image width="40%" height="100rpx" src="../../static/sailun/anyu.png" style="margin:10rpx;"></u-image>
 					</view>
 				</view>
 			</u-card>

二進制
static/sailun/1.png


二進制
static/sailun/2.png


二進制
static/sailun/3.png


二進制
static/sailun/4.png


二進制
static/sailun/88reward.png


二進制
static/sailun/integral.png


二進制
static/sailun/order.png


二進制
static/sailun/policy.png


二進制
static/sailun/scan_in.png


二進制
static/sailun/scan_out.png


二進制
static/sailun/speaker.png


二進制
static/sailun/stock.png


二進制
static/sailun/swiper1.png