lilei 4 år sedan
förälder
incheckning
3f5c0ad493
9 ändrade filer med 11 tillägg och 9 borttagningar
  1. 2 2
      manifest.json
  2. 4 4
      pages.json
  3. 5 3
      pages/index/index.vue
  4. BIN
      static/addCart.png
  5. BIN
      static/banner.png
  6. BIN
      static/goods.png
  7. BIN
      static/ledou.png
  8. BIN
      static/t1.png
  9. BIN
      static/topBg.png

+ 2 - 2
manifest.json

@@ -1,7 +1,7 @@
 {
-    "name" : "智享亿家",
+    "name" : "乐色商城",
     "appid" : "__UNI__CFE91AD",
-    "description" : "智享亿家小程序",
+    "description" : "智享亿家乐色商城小程序",
     "versionName" : "1.0.0",
     "versionCode" : "100",
     "transformPx" : false,

+ 4 - 4
pages.json

@@ -6,7 +6,7 @@
 		{
 			"path": "pages/index/index", // 首页
 			"style": {
-				"navigationBarTitleText": "智享亿家",
+				"navigationBarTitleText": "乐色商城",
 				"enablePullDownRefresh": false
 			}
 		},
@@ -76,10 +76,10 @@
         }
     ],
 	"globalStyle": {
-		"navigationBarTextStyle": "white",
+		"navigationBarTextStyle": "black",
 		"navigationBarTitleText": "uni-app",
-		"navigationBarBackgroundColor": "#22bf11",
-		"backgroundColor": "#F8F8F8",
+		"navigationBarBackgroundColor": "#FFFFFF",
+		"backgroundColor": "#f2f2f2",
 		"app-plus": {
 			// 将回弹属性关掉
 			"bounce": "none",

+ 5 - 3
pages/index/index.vue

@@ -1,6 +1,6 @@
 <template>
 	<view class="content">
-		<u-swiper height="200" :list="imageTopList"></u-swiper>
+		<u-swiper height="250" :list="imageTopList"></u-swiper>
 		<!-- 商品 -->
 		<view class="goods">
 			<u-section title="人气零食" v-if="goodsList.length" :show-line="false" sub-title="更多" @click="toGoods(1)"></u-section>
@@ -36,8 +36,8 @@
 		data() {
 			return {
 				imageTopList:[
-					{image:'https://cdn.uviewui.com/uview/example/fade.jpg'},
-					{image:'https://cdn.uviewui.com/uview/example/fade.jpg'}
+					{image:'/static/banner.png'},
+					{image:'/static/banner.png'}
 				],
 				goodsList:[
 					{
@@ -90,6 +90,8 @@
 
 <style lang="scss" scoped>
 	.content {
+		background: url(../../static/topBg.png) no-repeat top center;
+		background-size: 100%;
 		.goods{
 			padding: 20upx 0;
 		}

BIN
static/addCart.png


BIN
static/banner.png


BIN
static/goods.png


BIN
static/ledou.png


BIN
static/t1.png


BIN
static/topBg.png