xiaozy
xiaozhiyong 2 years ago
parent e331393f09
commit 7bd17a3692
  1. 2
      App.vue
  2. 46
      BagStation/orderDetail/orderDetail.vue
  3. 15
      BagStation/pages/newRoutePlanning/components/addressSelector.vue
  4. 95
      BagStation/pages/stationDetail/stationDetail.vue
  5. BIN
      BagStation/static/img/customer-service.png
  6. 121
      components/tabbar/index.vue
  7. 3
      main.js
  8. 4
      pages.json
  9. 7
      pages/tabbar/home/home.vue
  10. 1
      pages/tabbar/order/orderList/orderList.vue
  11. 1
      pages/tabbar/qrCenter/qrCenter.vue
  12. 12
      pages/tabbar/station/stationList.vue
  13. 1
      pages/tabbar/user/user.vue
  14. BIN
      static/img/tabbar/icon.png
  15. 4
      utils/request.js

@ -38,6 +38,8 @@
}) })
this.onShareAppMessage(option.query.scene); this.onShareAppMessage(option.query.scene);
}, },
methods: { methods: {

@ -60,7 +60,8 @@
<view class="padding-tb-xs text-left"> <view class="padding-tb-xs text-left">
油品油枪 油品油枪
<text class="fr nowrap"> <text class="fr nowrap">
{{order.oilsCode?order.oilsCode+' ':'' }}{{ order.gunName?order.gunName+'号枪': order.oilsBar?order.oilsBar+'号枪':'未选择油枪'}} </text> {{order.oilsCode?order.oilsCode+' ':'' }}{{ order.gunName?order.gunName+'号枪': order.oilsBar?order.oilsBar+'号枪':'未选择油枪'}}
</text>
</view> </view>
<view class="padding-tb-xs text-left"> <view class="padding-tb-xs text-left">
{{order.oilProductType=='GAS'?'加气重量:':'加油升数:'}} {{order.oilProductType=='GAS'?'加气重量:':'加油升数:'}}
@ -74,7 +75,8 @@
</view> </view>
<view class="padding-tb-xs text-left"> <view class="padding-tb-xs text-left">
优惠价格 优惠价格
<text class="fr">{{moneyIntercept(order.realPrice) }}/{{order.oilProductType=='GAS'?'L':'L'}}</text> <text
class="fr">{{moneyIntercept(order.realPrice) }}/{{order.oilProductType=='GAS'?'L':'L'}}</text>
</view> </view>
<view class="padding-tb-xs text-left"> <view class="padding-tb-xs text-left">
加油员 加油员
@ -144,12 +146,16 @@
<button class="cu-btn block flex-sub lg bg-main-oil " @tap="makePay">立即支付</button> <button class="cu-btn block flex-sub lg bg-main-oil " @tap="makePay">立即支付</button>
<button class="cu-btn block flex-sub lg margin-left" @tap="cancelOrder">取消订单</button> <button class="cu-btn block flex-sub lg margin-left" @tap="cancelOrder">取消订单</button>
</view> </view>
<view class="cu-btn bg-white oil-main-color block flex-sub lg" @click="makeCall"> <!-- <view class="cu-btn bg-white oil-main-color block flex-sub lg" @click="makeCall">
<text class="cuIcon-service padding-right-sm">联系客服</text> <text class="cuIcon-service padding-right-sm">联系客服</text>
</view> </view> -->
<!-- <button class=" cu-btn bg-white oil-main-color block flex-sub lg " open-type="contact"><text class="cuIcon-service padding-right-sm"></text> 在线客服</button> --> <!-- <button class=" cu-btn bg-white oil-main-color block flex-sub lg " open-type="contact"><text class="cuIcon-service padding-right-sm"></text> 在线客服</button> -->
<!-- <button class="cu-btn block lg margin-top " @tap="delOrder">删除订单</button> --> <!-- <button class="cu-btn block lg margin-top " @tap="delOrder">删除订单</button> -->
</view> </view>
<view class="customer-service" @click="arousePhone">
<image src="../../static/img/customer-service.png"></image>
联系客服
</view>
</view> </view>
</template> </template>
@ -194,12 +200,12 @@
tkiQrcode tkiQrcode
}, },
methods: { methods: {
// arousePhone() {
makeCall() {
uni.makePhoneCall({ uni.makePhoneCall({
phoneNumber: '4008-56-5355' // phoneNumber: '4008-56-5355'
}) })
}, },
newQrString() { newQrString() {
this.getOrderQrCode() this.getOrderQrCode()
}, },
@ -395,7 +401,31 @@
} }
</script> </script>
<style scoped> <style lang="scss" scoped>
.customer-service {
position: fixed;
right: 0;
top: 60%;
padding-left: 15rpx;
width: 180rpx;
height: 57rpx;
line-height: 57rpx;
background: #FFE9CC;
font-size: 26rpx;
color: #FF6700;
box-shadow: 0rpx 4rpx 10rpx 0rpx rgba(255, 232.1327966451645, 216.63716733455658, 1);
border-radius: 30rpx 0rpx 0rpx 30rpx;
image {
position: relative;
top: 11rpx;
// vertical-align: middle;
width: 40rpx;
height: 40rpx;
margin-right: 7rpx;
}
}
.move-tops { .move-tops {
transform: translateY(-17px); transform: translateY(-17px);
} }

@ -13,11 +13,12 @@
<view class="flexone margin size">{{Route.start.title}}</view> <view class="flexone margin size">{{Route.start.title}}</view>
</view> </view>
<view v-for="item,index in midwayPointList" :key="index" <view v-for="item,index in midwayPointList" :key="index" @click="chooseLocation('midwayPoint',index)"
@click="chooseLocation('midwayPoint',index)" class=" Padding addressInput flex ac flexone height79"> class=" Padding addressInput flex ac flexone height79">
<view style="background-color: #32CD32;" class="yuan" /> <view style="background-color: #32CD32;" class="yuan" />
<view class="flexone margin size">{{item.title || '请输入途经点'}}</view> <view class="flexone margin size">{{item.title || '请输入途经点'}}</view>
<image @click.stop="removeLocation(index)" class="remove" src="../../../static/img/remove.png"></image> <image @click.stop="removeLocation(index)" class="remove" src="../../../static/img/remove.png">
</image>
</view> </view>
<view @click="chooseLocation('end')" class=" Padding addressInput flex ac flexone height79"> <view @click="chooseLocation('end')" class=" Padding addressInput flex ac flexone height79">
@ -174,17 +175,17 @@
value: items.id value: items.id
}) })
}) })
if (item === 'productCodes') {
this.menuList.push(data) this.menuList.push(data)
}
}) })
this.menuList[2].Sublist.unshift({ this.menuList[2].Sublist.unshift({
lable: '全渠道', lable: '全渠道',
value: '' value: ''
}); });
// [this.menuList[1],this.menuList[3]]=[this.menuList[3],this.menuList[1]] [this.menuList[0], this.menuList[1], this.menuList[2], ] = [this.menuList[0],
[this.menuList[0], this.menuList[1], this.menuList[2], this.menuList[3]] = [this.menuList[0], this.menuList[2], this.menuList[1]
this.menuList[3], this.menuList[1], this.menuList[2]
]; ];
// console.log(this.menuList, '***')
}) })
}, },
datassFn() { datassFn() {

@ -4,8 +4,10 @@
<block slot="content">中石化紫云路</block> <block slot="content">中石化紫云路</block>
<block slot="backText">返回</block> <block slot="backText">返回</block>
</cu-custom> --> </cu-custom> -->
<view class="bg-img fixed-top flex align-end margin-bottom-lg " :style="'background-image: url('+imgURL+'site-bg.png '+');width: 750upx;height: 326rpx;background-size:cover'"> <view class="bg-img fixed-top flex align-end margin-bottom-lg "
<image v-if="isShow" @tap="goBack" :src="imgURL+'site-back.png'" width="20upx" mode="widthFix" class="position-ab site-back"> :style="'background-image: url('+imgURL+'site-bg.png '+');width: 750upx;height: 326rpx;background-size:cover'">
<image v-if="isShow" @tap="goBack" :src="imgURL+'site-back.png'" width="20upx" mode="widthFix"
class="position-ab site-back">
</image> </image>
<view class="cu-list menu margin padding-sm radius my-shadow bg-white yu-card-xuan"> <view class="cu-list menu margin padding-sm radius my-shadow bg-white yu-card-xuan">
<view class="cu-item "> <view class="cu-item ">
@ -30,8 +32,10 @@
</view> </view>
</view> </view>
</view> </view>
<view class="bg-img placeholder-hidden flex align-end margin-bottom-lg " :style="'background-image: url('+imgURL+'site-bg.png '+');width: 750upx;height: 326rpx;background-size:cover'"> <view class="bg-img placeholder-hidden flex align-end margin-bottom-lg "
<image @tap="goBack" :src="imgURL+'site-back.png'" width="20upx" mode="widthFix" class="position-ab site-back"> :style="'background-image: url('+imgURL+'site-bg.png '+');width: 750upx;height: 326rpx;background-size:cover'">
<image @tap="goBack" :src="imgURL+'site-back.png'" width="20upx" mode="widthFix"
class="position-ab site-back">
</image> </image>
<view class="flex-sub"> <view class="flex-sub">
<view class="cu-list menu margin padding-sm radius my-shadow bg-white yu-card-xuan"> <view class="cu-list menu margin padding-sm radius my-shadow bg-white yu-card-xuan">
@ -70,10 +74,12 @@
<view class="padding-top-sm"> <view class="padding-top-sm">
<view class="nsjz-flex"> <view class="nsjz-flex">
<view class="nsjz-flex-left"> <view class="nsjz-flex-left">
<image :src="ureaproductType == 2?areaLogoUrl1:areaLogoUrl" mode="" style="width: 36rpx;height: 36rpx;"></image> <image :src="ureaproductType == 2?areaLogoUrl1:areaLogoUrl" mode=""
style="width: 36rpx;height: 36rpx;"></image>
<view class="nsjz-flex-left-body"> <view class="nsjz-flex-left-body">
<text>{{ureaproductType == '2'?'品牌桶装尿素':'加注机'}}</text> <text>{{ureaproductType == '2'?'品牌桶装尿素':'加注机'}}</text>
<text v-if="ureaproductType == 2">{{areaPrice}}元/桶<text style="font-size: 12px;margin: 0;"></text></text> <text v-if="ureaproductType == 2">{{areaPrice}}/<text
style="font-size: 12px;margin: 0;"></text></text>
<text v-if="ureaproductType == 1">{{areaPrice}}/L</text> <text v-if="ureaproductType == 1">{{areaPrice}}/L</text>
</view> </view>
</view> </view>
@ -112,7 +118,8 @@
<text class=" text-black "> {{itm.oilsCode}} {{itm.volume}}L 节省 <text class="text-red"> <text class=" text-black "> {{itm.oilsCode}} {{itm.volume}}L 节省 <text class="text-red">
{{itm.discountAmount}}</text></text> {{itm.discountAmount}}</text></text>
</view> </view>
<view class="cu-item no-border" v-if="siteInfo.oilSiteOrderInfoVos && !siteInfo.oilSiteOrderInfoVos.length"> <view class="cu-item no-border"
v-if="siteInfo.oilSiteOrderInfoVos && !siteInfo.oilSiteOrderInfoVos.length">
暂无 暂无
</view> </view>
@ -152,10 +159,12 @@
<view class=" cu-modal show" v-show="showtitle"> <view class=" cu-modal show" v-show="showtitle">
<view class="cu-dialog overflow-unset dialog-box box-paddings"> <view class="cu-dialog overflow-unset dialog-box box-paddings">
<view class="close-icon" @tap="hidendialog"> <view class="close-icon" @tap="hidendialog">
<image src="https://xoi-support.oss-cn-hangzhou.aliyuncs.com/星油运营小程序/close.png" mode="" style="width:50rpx;height: 50rpx;"></image> <image src="https://xoi-support.oss-cn-hangzhou.aliyuncs.com/星油运营小程序/close.png" mode=""
style="width:50rpx;height: 50rpx;"></image>
</view> </view>
<view class=""> <view class="">
<image src="https://xoi-support.oss-cn-hangzhou.aliyuncs.com/星油运营小程序/errIcon.png" mode="" style="width:100rpx;height: 100rpx;"></image> <image src="https://xoi-support.oss-cn-hangzhou.aliyuncs.com/星油运营小程序/errIcon.png" mode=""
style="width:100rpx;height: 100rpx;"></image>
</view> </view>
<view class="cu-bar box-panding text-centerS"> <view class="cu-bar box-panding text-centerS">
<text class="headShow"> 支付提醒 </text> <text class="headShow"> 支付提醒 </text>
@ -173,6 +182,10 @@
</view> </view>
</view> </view>
</view> </view>
<view class="customer-service" @click="arousePhone">
<image src="../../static/img/customer-service.png"></image>
联系客服
</view>
</view> </view>
</template> </template>
@ -226,7 +239,10 @@
return return
} }
let oilItem = option.channerCode == 'TY' ? uni.getStorageSync('OtherSiteInfo') : option.item ? JSON.parse(option.item) : {siteId:option.siteId} let oilItem = option.channerCode == 'TY' ? uni.getStorageSync('OtherSiteInfo') : option.item ? JSON.parse(
option.item) : {
siteId: option.siteId
}
uni.setStorageSync('oilItem', oilItem) uni.setStorageSync('oilItem', oilItem)
this.getSiteInfo(oilItem.siteId) this.getSiteInfo(oilItem.siteId)
@ -246,12 +262,18 @@
this.ContextAudio(this.audioUrl) this.ContextAudio(this.audioUrl)
}, },
methods: { methods: {
arousePhone() {
uni.makePhoneCall({
phoneNumber:'4008-56-5355'
})
},
areaJump() { areaJump() {
// var itemS = { // var itemS = {
// siteId:this.siteInfo.xoilUreaPriceVos[0].siteId // siteId:this.siteInfo.xoilUreaPriceVos[0].siteId
// } // }
uni.navigateTo({ uni.navigateTo({
url: '/BagStation/pages/ureaDetail/ureaDetail?item='+ JSON.stringify(this.siteInfo.xoilUreaPriceVos[0]), url: '/BagStation/pages/ureaDetail/ureaDetail?item=' + JSON.stringify(this.siteInfo
.xoilUreaPriceVos[0]),
fail: (err) => { fail: (err) => {
// console.log(err) // console.log(err)
}, },
@ -377,8 +399,11 @@
this.innerAudioContext?.stop() this.innerAudioContext?.stop()
let siteId = uni.getStorageSync('siteId') let siteId = uni.getStorageSync('siteId')
siteId siteId
? uni.switchTab({url:'../../../pages/tabbar/home/home'}) ?
: uni.navigateBack() ; uni.switchTab({
url: '../../../pages/tabbar/home/home'
}) :
uni.navigateBack();
}, },
selectRadio() { selectRadio() {
this.radio === 'A' ? this.radio = '' : this.radio = 'A' this.radio === 'A' ? this.radio = '' : this.radio = 'A'
@ -432,7 +457,30 @@
} }
</script> </script>
<style scoped> <style lang="scss" scoped>
.customer-service {
position: fixed;
right: 0;
top: 60%;
padding-left: 15rpx;
width: 180rpx;
height: 57rpx;
line-height: 57rpx;
background: #FFE9CC;
font-size: 26rpx;
color: #FF6700;
box-shadow: 0rpx 4rpx 10rpx 0rpx rgba(255, 232.1327966451645, 216.63716733455658, 1);
border-radius: 30rpx 0rpx 0rpx 30rpx;
image {
position: relative;
top: 11rpx;
// vertical-align: middle;
width: 40rpx;
height: 40rpx;
margin-right: 7rpx;
}
}
.content { .content {
min-height: 100%; min-height: 100%;
@ -527,24 +575,29 @@
.yu-card-xuan .action { .yu-card-xuan .action {
white-space: nowrap; white-space: nowrap;
} }
.text-centerS { .text-centerS {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
text-align: center; text-align: center;
} }
.red_btn { .red_btn {
margin-right: 20rpx; margin-right: 20rpx;
color: #FFFFFF; color: #FFFFFF;
background-color: #FF6700; background-color: #FF6700;
} }
.box-paddings { .box-paddings {
padding: 40rpx 0; padding: 40rpx 0;
} }
.headShow { .headShow {
font-size: 36rpx; font-size: 36rpx;
font-weight: 600; font-weight: 600;
} }
.showtext { .showtext {
line-height: 2; line-height: 2;
font-size: 30rpx; font-size: 30rpx;
@ -554,12 +607,14 @@
letter-spacing: 3px; letter-spacing: 3px;
text-align: left; text-align: left;
} }
.checklocation_box_button { .checklocation_box_button {
display: flex; display: flex;
justify-content: center; justify-content: center;
/* align-items: center; */ /* align-items: center; */
padding: 0 5%; padding: 0 5%;
} }
.btn-box { .btn-box {
width: 45%; width: 45%;
flex: 0 0 auto; flex: 0 0 auto;
@ -570,9 +625,11 @@
box-sizing: border-box; box-sizing: border-box;
border: 2rpx solid #bfbfbf; border: 2rpx solid #bfbfbf;
} }
.box-panding { .box-panding {
padding: 10 0; padding: 10 0;
} }
.checklocation { .checklocation {
position: fixed; position: fixed;
top: 50%; top: 50%;
@ -580,9 +637,11 @@
right: 20%; right: 20%;
z-index: 999; z-index: 999;
} }
.checklocation_box { .checklocation_box {
background-color: #FFFFFF; background-color: #FFFFFF;
} }
.content { .content {
min-height: 100%; min-height: 100%;
position: relative; position: relative;
@ -602,14 +661,17 @@
.oil-price { .oil-price {
position: relative; position: relative;
} }
.close-icon { .close-icon {
position: absolute; position: absolute;
right: 2%; right: 2%;
top: 2%; top: 2%;
} }
.dialog-box { .dialog-box {
position: relative; position: relative;
} }
.oil-price radio { .oil-price radio {
position: absolute; position: absolute;
left: 0rem; left: 0rem;
@ -696,22 +758,27 @@
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
} }
.nsjz-flex-left { .nsjz-flex-left {
display: flex; display: flex;
align-items: center; align-items: center;
} }
.nsjz-flex-left-body text { .nsjz-flex-left-body text {
font-weight: 600; font-weight: 600;
color: #000; color: #000;
} }
.nsjz-flex-left-body { .nsjz-flex-left-body {
margin-left: 20rpx; margin-left: 20rpx;
} }
.nsjz-flex-left-body text:last-child { .nsjz-flex-left-body text:last-child {
color: #ff6700; color: #ff6700;
margin-left: 30rpx; margin-left: 30rpx;
font-size: 32rpx; font-size: 32rpx;
} }
.nsjz-flex-botton { .nsjz-flex-botton {
color: #FFFFFF; color: #FFFFFF;
border-radius: 5px; border-radius: 5px;

Binary file not shown.

After

Width:  |  Height:  |  Size: 988 B

@ -0,0 +1,121 @@
<template>
<view class="container">
<view class="item" v-for="item,index in menuList">
<image :src="currentPage == index ? item.selectedIconPath :item.iconPath" @click="jump(item.pagePath)"></image>
<!-- {{index}} -->
</view>
</view>
</template>
<script>
export default {
props: {
currentPage: Number
},
data() {
return {
menuList: [{
//
"pagePath": "/pages/tabbar/home/home",
"iconPath": "../../static/img/tabbar/home.png",
"selectedIconPath": "../../static/img/tabbar/homeactive.png"
},
{
//
"pagePath": "/pages/tabbar/station/stationList",
"iconPath": "../../static/img/tabbar/oil.png",
"selectedIconPath": "../../static/img/tabbar/oilactive.png"
},
{
//
"pagePath": "/pages/tabbar/qrCenter/qrCenter",
"iconPath": "../../static/img/tabbar/icon.png",
"selectedIconPath": "../../static/img/tabbar/icon.png"
},
{
//
"pagePath": "/pages/tabbar/order/orderList/orderList",
"iconPath": "../../static/img/tabbar/order.png",
"selectedIconPath": "../../static/img/tabbar/orderactive.png"
},
{
//
"pagePath": "/pages/tabbar/user/user",
"iconPath": "../../static/img/tabbar/me.png",
"selectedIconPath": "../../static/img/tabbar/meactive.png"
}
]
}
},
methods: {
jump(path) {
console.log('path',path)
uni.switchTab({
url:path
})
}
}
}
</script>
<style lang="scss" scoped>
.container {
display: flex;
position: fixed;
left: 0;
bottom: 0;
width: 100%;
height: 120rpx;
background: #fff;
.item {
position: relative;
flex: 1;
text-align: center;
line-height: 120rpx;
image {
width: 50rpx;
height: 50rpx;
}
&:nth-of-type(2) {
image {
position: relative;
left: -13rpx
}
;
}
&:nth-of-type(4) {
image {
position: relative;
right: -13rpx
}
;
}
&:nth-of-type(3) {
flex: none;
width: 110rpx;
height: 110rpx;
position: relative;
transform: translateY(-30%);
border-radius: 100%;
overflow: hidden;
background: #fff;
image {
width: 100%;
height: 100%;
}
}
}
}
</style>

@ -9,7 +9,7 @@ import encode from '@/utils/encode'
import global from '@/api/global.js' import global from '@/api/global.js'
import topBar from './components/topbar.vue' import topBar from './components/topbar.vue'
import tools from '@/utils/tools.js' import tools from '@/utils/tools.js'
// import tabbar from '@/components/tabbar/index.vue'
@ -17,6 +17,7 @@ import tools from '@/utils/tools.js'
import Empty from '@/components/Empty.vue' import Empty from '@/components/Empty.vue'
// Vue.component('tabbar', tabbar)
Vue.component('my-icon', myIcon) Vue.component('my-icon', myIcon)
Vue.component('cu-custom', cuCustom) Vue.component('cu-custom', cuCustom)
Vue.component('my-empty', Empty) Vue.component('my-empty', Empty)

@ -377,8 +377,8 @@
//#ifdef MP-WEIXIN //#ifdef MP-WEIXIN
{ {
"pagePath": "pages/tabbar/qrCenter/qrCenter", "pagePath": "pages/tabbar/qrCenter/qrCenter",
"iconPath": "static/img/tabbar/qr.png", "iconPath": "static/img/tabbar/icon.png",
"selectedIconPath": "static/img/tabbar/qractive.png" "selectedIconPath": "static/img/tabbar/icon.png"
}, },
//#endif //#endif
//#ifndef MP-WEIXIN //#ifndef MP-WEIXIN

@ -160,6 +160,7 @@
<msg-models :showAuthFrror="showAuthFrror" @hideOneModal="hideModel"></msg-models> <msg-models :showAuthFrror="showAuthFrror" @hideOneModal="hideModel"></msg-models>
<three-sites @hideOneModal="showThreeSites=false" :showThreeSites="showThreeSites"></three-sites> <three-sites @hideOneModal="showThreeSites=false" :showThreeSites="showThreeSites"></three-sites>
<transBlcok ref="transBlcok" /> <transBlcok ref="transBlcok" />
<!-- <tabbar :current-page="0"/> -->
</view> </view>
</template> </template>
@ -330,8 +331,10 @@
console.log(n, o, '=================') console.log(n, o, '=================')
} }
}, },
created() {},
onReady() { onReady() {
let _that = this let _that = this
let IsOtherUser = _that.isOther let IsOtherUser = _that.isOther
if (IsOtherUser) { if (IsOtherUser) {
@ -362,6 +365,8 @@
} }
}, },
onLoad(e) { onLoad(e) {
// uni.hideTabBar()
let _that = this let _that = this
let IsOtherUser = _that.isOther let IsOtherUser = _that.isOther

@ -63,6 +63,7 @@
</view> </view>
</view> </view>
<uni-load-more status="more"></uni-load-more> <uni-load-more status="more"></uni-load-more>
<!-- <tabbar :current-page="3"/> -->
</view> </view>
</template> </template>

@ -33,6 +33,7 @@
</view> </view>
</view> </view>
<three-sites @hideOneModal="showThreeSites=false" :showThreeSites="showThreeSites"></three-sites> <three-sites @hideOneModal="showThreeSites=false" :showThreeSites="showThreeSites"></three-sites>
<!-- <tabbar :current-page="2"/> -->
</view> </view>
</template> </template>

@ -52,6 +52,7 @@
<view class="bg-white"> <view class="bg-white">
<uni-load-more :status="loadText"></uni-load-more> <uni-load-more :status="loadText"></uni-load-more>
</view> </view>
<!-- <tabbar :current-page="1"/> -->
</view> </view>
</template> </template>
@ -280,7 +281,8 @@
currentPage: this.currentPage, currentPage: this.currentPage,
pageSize: 10, pageSize: 10,
params: { //Object // params: { //Object //
siteNameOrId: this.siteName, //() // siteNameOrId: this.siteName, //()
address:this.siteAddress,
productType: this.productType ? this.productType : '', //1- 2- productType: this.productType ? this.productType : '', //1- 2-
brandName: this.brandName ? this.brandName : '', // brandName: this.brandName ? this.brandName : '', //
currentLongitude: location.longitude + '', // currentLongitude: location.longitude + '', //
@ -392,10 +394,10 @@
res.data.channelCodes.map(item => { res.data.channelCodes.map(item => {
this.menuList[3].detailLists.push({ // this.menuList[3].detailLists.push({
title: item.name, // title: item.name,
value: item.id // value: item.id
}) // })
}) })
res.data.productCodes.map(item => { res.data.productCodes.map(item => {
this.menuList[2].detailList.push({ this.menuList[2].detailList.push({

@ -134,6 +134,7 @@
</view> </view>
<SwitchEnterprises @submit='upadteCompanyCard' @logout='logout' :is-show.sync="isSwitchEnterprises"> <SwitchEnterprises @submit='upadteCompanyCard' @logout='logout' :is-show.sync="isSwitchEnterprises">
</SwitchEnterprises> </SwitchEnterprises>
<!-- <tabbar :current-page="4"/> -->
</view> </view>
</template> </template>

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

@ -6,9 +6,9 @@ import utils from '@/utils/encode'
const env = 'production' const env = 'production'
// 45 // 45
const testUrl = 'http://192.168.1.132:38080' const testUrl = 'http://192.168.1.132:38080'
// const productUrl = 'https://www.xingoil.com/adminapi' const productUrl = 'https://www.xingoil.com/adminapi'
const productUrl = 'http://uat.xingoil.com/adminapi' // const productUrl = 'http://uat.xingoil.com/adminapi'
// const productUrl = 'http://192.168.0.191:38080' // const productUrl = 'http://192.168.0.191:38080'
// const productUrl = 'http://121.196.213.68/adminapi' // const productUrl = 'http://121.196.213.68/adminapi'
const service = axios.create({ const service = axios.create({

Loading…
Cancel
Save