wangyong il y a 5 ans
Parent
commit
99127aab28
4 fichiers modifiés avec 15 ajouts et 1 suppressions
  1. BIN
      images/news/momo.jpg
  2. 4 0
      pages/momo/momo.wxml
  3. 4 0
      pages/momo/momo.wxss
  4. 7 1
      project.config.json

BIN
images/news/momo.jpg


+ 4 - 0
pages/momo/momo.wxml

@@ -1,4 +1,8 @@
 <view>
+<!-- banner -->
+<view class='momo-ban mar-b20'>
+  <image src='../../images/news/momo.jpg' class='momo-img'></image>
+</view>
 <!-- 内容 -->
 <view class='gift-box'>
   <!-- goodsList -->

+ 4 - 0
pages/momo/momo.wxss

@@ -134,3 +134,7 @@ width:40rpx;
   text-align: center;
   padding-top: 4px;
 }
+.momo-img{
+  width:750rpx;
+  height:414rpx;
+}

+ 7 - 1
project.config.json

@@ -30,7 +30,7 @@
 			"list": []
 		},
 		"miniprogram": {
-			"current": 1,
+			"current": 28,
 			"list": [
 				{
 					"id": 0,
@@ -223,6 +223,12 @@
 					"pathName": "pages/momo/momo",
 					"query": "",
 					"scene": null
+				},
+				{
+					"id": -1,
+					"name": "momo",
+					"pathName": "pages/momo/momo",
+					"scene": null
 				}
 			]
 		}