zory 1 ay önce
ebeveyn
işleme
9c9509205b

+ 6 - 0
奥莱优品/pages.json

@@ -76,6 +76,12 @@
 					"pay-button-sdk": "tta5a3d31e3aecfb9b11://pay-button"
 				}
 			}
+		},
+		{
+			"path": "pages/goods/list",
+			"style": {
+				"navigationBarTitleText": ""
+			}
 		}
 	],
 	"globalStyle": {

+ 22 - 0
奥莱优品/pages/goods/list.vue

@@ -0,0 +1,22 @@
+<template>
+	<view>
+
+	</view>
+</template>
+
+<script>
+export default {
+	data() {
+		return {
+
+		}
+	},
+	methods: {
+
+	}
+}
+</script>
+
+<style>
+
+</style>

+ 6 - 1
奥莱优品/pages/index/index.vue

@@ -61,7 +61,7 @@
 						<text>HOT DEALS</text>
 						<view class="name">正在抢购</view>
 					</view>
-					<view class="title-more">全部商品 <image src="/static/image/right.svg"></image> </view>
+					<view class="title-more" @click="toAllGoods">全部商品 <image src="/static/image/right.svg"></image> </view>
 				</view>
 				<view class="goods-list">
 					<view class="list-item" v-for="(item,index) in goodsData" :key="index" @click="toDetail(item.goods_id)">
@@ -141,6 +141,11 @@ export default {
 			}
 			app.goodsData = resp.data.rows;
 		},
+		toAllGoods(){
+			uni.navigateTo({
+				url:`/pages/goods/list`
+			})
+		},
 		toDetail(id){
 			// if (!app.isLogin) {
 			// 	this.$refs.loginCom.open();

+ 2 - 2
奥莱优品/pages/service/chat.vue

@@ -125,8 +125,8 @@ export default {
 			screenWidth:0,
 			pushData: {
 				obj:null,
-				auth:"http://192.168.3.16:9881/plugin/webman/push/auth",
-				url: 'ws://192.168.3.16:3131',
+				auth:"http://192.168.2.142:9881/plugin/webman/push/auth",
+				url: 'ws://192.168.2.142:3131',
 			},
 			isFocus:false,
 			chatData:{

+ 1 - 1
奥莱优品/static/js/request.js

@@ -16,7 +16,7 @@ const axg = {
 		// #endif
 		// #ifdef MP
 		// return 'https://tran.jsshuita.cn/v2'
-		return 'http://192.168.3.16:9881/v2'
+		return 'http://192.168.2.142:9881/v2'
 		// #endif
 	},
 	toast: function(text, duration, success) {