소스 검색

Signed-off-by: 李妹妹 <1639016684@qq.com>

李妹妹 1 주 전
부모
커밋
9b2cd84e53
3개의 변경된 파일37개의 추가작업 그리고 16개의 파일을 삭제
  1. 18 14
      .hbuilderx/launch.json
  2. 2 2
      pages_user/user/refundOrderDetail.vue
  3. 17 0
      pages_user/user/refundOrderList.vue

+ 18 - 14
.hbuilderx/launch.json

@@ -1,16 +1,20 @@
-{ // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/
-  // launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数
-    "version": "0.0",
-    "configurations": [{
-     	"default" : 
-     	{
-     		"launchtype" : "local"
-     	},
-     	"mp-weixin" : 
-     	{
-     		"launchtype" : "local"
-     	},
-     	"type" : "uniCloud"
-     }
+{
+    // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/
+    // launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数
+    "version" : "0.0",
+    "configurations" : [
+        {
+            "default" : {
+                "launchtype" : "local"
+            },
+            "mp-weixin" : {
+                "launchtype" : "local"
+            },
+            "type" : "uniCloud"
+        },
+        {
+            "playground" : "standard",
+            "type" : "uni-app:app-ios"
+        }
     ]
 }

+ 2 - 2
pages_user/user/refundOrderDetail.vue

@@ -78,11 +78,11 @@
 							</view>
 						</view>
 			 
-						<view class="refund-item" v-if="sales.status>=1&&sales.serviceType==1">
+						<!-- <view class="refund-item" v-if="sales.status>=1&&sales.serviceType==1">
 							<view class="text">收件人:{{sales.consignee}} </view>
 							<view class="text">电话:{{sales.address}} </view>
 							<view class="text">收件地址:{{sales.phoneNumber}}</view>
-						</view>
+						</view> -->
 						<view class="btn-box"  v-if="sales.salesStatus==0" >
 							<view  v-if="sales.status==1" class="btn cancel" @click="addDeliverySn()"  >填写物流</view>
 							<view  v-if="sales.status==0||sales.status==1" class="btn cancel" @click="revoke()"  >撤销申请</view>

+ 17 - 0
pages_user/user/refundOrderList.vue

@@ -89,6 +89,7 @@
 
 <script>
 	import {getAfterSalesList} from '@/api/storeAfterSales.js'
+	import {getDicts} from '@/api/index'
 	import MescrollMixin from "@/uni_modules/mescroll-uni/components/mescroll-uni/mescroll-mixins.js";
 	export default {
 		mixins: [MescrollMixin], 
@@ -121,6 +122,7 @@
 		},
 		onLoad(option) {
 			var that=this;
+			this.getDicts();
 			uni.$on('refreshAfterSales', () => {
 				that.mescroll.resetUpScroll()
 			})
@@ -131,6 +133,21 @@
 				this.status = item.value
 				this.mescroll.resetUpScroll()
 			},
+			getDicts:function(){
+				getDicts().then(
+					res => {
+						if(res.code==200){
+							uni.setStorageSync('dicts',JSON.stringify(res));
+							
+						}else{
+							 
+						}
+						// this.loadding=false;
+						// this.navigatHandler();
+					},
+					rej => {}
+				);
+			},
 			mescrollInit(mescroll) {
 				this.mescroll = mescroll;
 			},