|
@@ -5,8 +5,8 @@ let test = true
|
|
|
let userId = ''
|
|
|
let formData = ''
|
|
|
let orderInfo = []
|
|
|
-let productInfo = {}
|
|
|
-let productIcon = []
|
|
|
+let productInfo = []
|
|
|
+
|
|
|
if (uri.indexOf('common.yiguanjia.me') > -1) {
|
|
|
test = false
|
|
|
}
|
|
@@ -27,64 +27,13 @@ if (uri.indexOf('http://localhost:8080/') > -1) {
|
|
|
userId = '57e38f1b9f5160ac048b457d'
|
|
|
}
|
|
|
|
|
|
-productIcon = [
|
|
|
- {
|
|
|
- name: '母婴清洁',
|
|
|
- id: '57e3a5a49f5160c9048b457c',
|
|
|
- url: 'http://oduj3utzz.bkt.clouddn.com/home-mother-child.png',
|
|
|
- color: '#a6dc48'
|
|
|
- },
|
|
|
- {
|
|
|
- name: '日常清洁',
|
|
|
- id: '57e0dffc9f5160dd048b4568',
|
|
|
- url: 'http://oduj3utzz.bkt.clouddn.com/home-daily.png',
|
|
|
- color: '#76a6f6'
|
|
|
- },
|
|
|
- {
|
|
|
- name: '深度清洁',
|
|
|
- id: '57e0e0189f5160dc048b4568',
|
|
|
- url: 'http://oduj3utzz.bkt.clouddn.com/home-depth.png',
|
|
|
- color: '#5ecdec'
|
|
|
- },
|
|
|
- {
|
|
|
- name: '专业除螨',
|
|
|
- id: '57e0e0369f5160b1048b456b',
|
|
|
- url: 'http://oduj3utzz.bkt.clouddn.com/home-mites.png',
|
|
|
- color: '#b17ff6'
|
|
|
- },
|
|
|
- {
|
|
|
- name: '家电清洗',
|
|
|
- url: 'http://oduj3utzz.bkt.clouddn.com/home-appliances.png',
|
|
|
- id: '57e0e04e9f5160af048b456b',
|
|
|
- color: '#fabf4c'
|
|
|
- },
|
|
|
- {
|
|
|
- name: '新居开荒',
|
|
|
- id: '57e0e0879f5160b8048b4571',
|
|
|
- url: 'http://oduj3utzz.bkt.clouddn.com/home-new-home.png',
|
|
|
- color: '#5adde9'
|
|
|
- },
|
|
|
- {
|
|
|
- name: '擦玻璃',
|
|
|
- id: '57fb4a909f5160b2048b4a0e',
|
|
|
- url: 'http://oduj3utzz.bkt.clouddn.com/home-ca-bo-li.png',
|
|
|
- color: '#70df68'
|
|
|
- },
|
|
|
- {
|
|
|
- name: '租房大扫除',
|
|
|
- id: '5851fb3b9f5160c5048b6412',
|
|
|
- url: 'http://oduj3utzz.bkt.clouddn.com/home-renting.png',
|
|
|
- color: '#fcac71'
|
|
|
- }
|
|
|
-]
|
|
|
-
|
|
|
axios.defaults.baseURL = apiPath
|
|
|
axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded'
|
|
|
+
|
|
|
export default {
|
|
|
userId: userId,
|
|
|
formData: formData,
|
|
|
orderInfo: orderInfo,
|
|
|
test: test,
|
|
|
- productInfo: productInfo,
|
|
|
- productIcon: productIcon
|
|
|
+ productInfo: productInfo
|
|
|
}
|