lhl 10 kuukautta sitten
vanhempi
commit
1f7cdb916a
5 muutettua tiedostoa jossa 8 lisäystä ja 7 poistoa
  1. 1 1
      components/store/store.vue
  2. 2 2
      manifest.json
  3. 2 2
      pages/index/index.vue
  4. 2 1
      pages/order/createOrder.vue
  5. 1 1
      store/index.js

+ 1 - 1
components/store/store.vue

@@ -1,5 +1,5 @@
 <template>
-	<view class="seckill-section m-t" v-if="list">
+	<view class="seckill-section m-t" v-if="list.length > 0">
 		<view class="s-header">
 			<view class="f-left-icon">
 				<image src="https://hy.liuniu946.com/app/index/d.png" mode=""></image>

+ 2 - 2
manifest.json

@@ -1,6 +1,6 @@
 {
     "name" : "玲卿加",
-    "appid" : "__UNI__4E50492",
+    "appid" : "__UNI__EA65675",
     "description" : "",
     "versionName" : "1.0.0",
     "versionCode" : "100",
@@ -80,7 +80,7 @@
             "proxy" : {
                 "/api" : {
                     // "target" : "http://lnpt.frp.liuniu946.com/api",
-                    "target" : "https://hy.liuniu946.com/api",
+                    "target" : "https://hy.qiniu1314.com/api",
                     // "changeOrigin": true,
                     "pathRewrite" : {
                         "/api" : "" // rewrite path

+ 2 - 2
pages/index/index.vue

@@ -29,9 +29,8 @@
 		<seckill></seckill>
 		<sx :list="firstList"></sx>
 		<!-- #ifdef MP-WEIXIN -->
-		<image src="https://hy.liuniu946.com/static/image/living.png" mode="widthFix" style="display: block;width: 690rpx;margin: 20rpx auto;" @click="navTo('/pages/index/living')"></image>
+		<image src="https://hy.qiniu1314.com/static/image/living.png" mode="widthFix" style="display: block;width: 690rpx;margin: 20rpx auto;" @click="navTo('/pages/index/living')"></image>
 		<!-- #endif -->
-		<store></store>
 		<!-- <view class="ss" @click="srwj">
 			写入文件
 		</view>
@@ -43,6 +42,7 @@
 				<image :src="item.pic" mode="widthFix"></image>
 			</view>
 		</template>
+		<store></store>
 	</view>
 </template>
 

+ 2 - 1
pages/order/createOrder.vue

@@ -332,7 +332,8 @@ export default {
 				orderkey: this.orderKey,
 				useIntegral: this.checkedPoints ? 1 : 0, //是否积分抵扣
 				couponId: this.couponChecked.id, //优惠券编号
-				addressId: this.addressData.id //地址编号
+				addressId: this.addressData.id ,//地址编号
+				shipping_type: this.tabCurrentIndex + 1
 			})
 				.then(({ data }) => {
 					console.log(data,'111');

+ 1 - 1
store/index.js

@@ -6,7 +6,7 @@ Vue.use(Vuex)
 const store = new Vuex.Store({
 	state: {
 		// baseURL:"http://yrh.liuniu946.com",//'http://eb.shuibo.net',//请求地址配置 
-		baseURL:'https://hy.liuniu946.com',//请求地址配置 
+		baseURL:'https://hy.qiniu1314.com',//请求地址配置 
 		// baseURL:'http://haoyue.frp.liuniu946.com',//请求地址配置 
 		urlFile:'/index',//项目部署所在文件夹
 		userInfo: {}, //登录信息