更新
This commit is contained in:
15
src/App.vue
15
src/App.vue
@@ -6,7 +6,7 @@ export default {
|
|||||||
latitude: 39.5426,
|
latitude: 39.5426,
|
||||||
longitude: 116.23292,
|
longitude: 116.23292,
|
||||||
},
|
},
|
||||||
appId: "wxed3e2914d6aa4d52",
|
appId: "wx9995c9f495efa82e",
|
||||||
hasLocationAuth: true,
|
hasLocationAuth: true,
|
||||||
},
|
},
|
||||||
onLaunch: function () {
|
onLaunch: function () {
|
||||||
@@ -37,4 +37,17 @@ export default {
|
|||||||
view {
|
view {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
.common-empty {
|
||||||
|
&.img {
|
||||||
|
display: block;
|
||||||
|
width: 500rpx;
|
||||||
|
margin: 100rpx auto 0;
|
||||||
|
}
|
||||||
|
&.text {
|
||||||
|
margin-top: 30rpx;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 28rpx;
|
||||||
|
color: #999;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -57,7 +57,7 @@
|
|||||||
/* 快应用特有相关 */
|
/* 快应用特有相关 */
|
||||||
},
|
},
|
||||||
"mp-weixin": {
|
"mp-weixin": {
|
||||||
/* 微信小程序特有相关 */ "appid": "wxed3e2914d6aa4d52",
|
/* 微信小程序特有相关 */ "appid": "wx9995c9f495efa82e",
|
||||||
"setting": {
|
"setting": {
|
||||||
"urlCheck": false
|
"urlCheck": false
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -25,6 +25,7 @@
|
|||||||
<view @click="select">{{ paramter.params.oilProductCode }} · 筛选</view>
|
<view @click="select">{{ paramter.params.oilProductCode }} · 筛选</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="site">
|
<view class="site">
|
||||||
|
<template v-if="tableList.length">
|
||||||
<view
|
<view
|
||||||
class="item"
|
class="item"
|
||||||
v-for="(item, index) in tableList"
|
v-for="(item, index) in tableList"
|
||||||
@@ -53,6 +54,15 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="tip" v-show="isReachBottom">- 到底了 -</view>
|
<view class="tip" v-show="isReachBottom">- 到底了 -</view>
|
||||||
|
</template>
|
||||||
|
<template v-else>
|
||||||
|
<image
|
||||||
|
class="common-empty img"
|
||||||
|
src="https://publicxingyou.oss-cn-hangzhou.aliyuncs.com/mp-oil/empty.png"
|
||||||
|
mode="widthFix"
|
||||||
|
/>
|
||||||
|
<view class="common-empty text">暂无油站信息</view>
|
||||||
|
</template>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- -->
|
<!-- -->
|
||||||
|
|||||||
@@ -19,6 +19,7 @@
|
|||||||
@scrolltolower="scrolltolower"
|
@scrolltolower="scrolltolower"
|
||||||
>
|
>
|
||||||
<view class="frame">
|
<view class="frame">
|
||||||
|
<template v-if="tableList.length">
|
||||||
<view
|
<view
|
||||||
class="item"
|
class="item"
|
||||||
v-for="(item, index) in tableList"
|
v-for="(item, index) in tableList"
|
||||||
@@ -64,6 +65,15 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="tip" v-show="isReachBottom">- 到底了 -</view>
|
<view class="tip" v-show="isReachBottom">- 到底了 -</view>
|
||||||
|
</template>
|
||||||
|
<template v-else>
|
||||||
|
<image
|
||||||
|
class="common-empty img"
|
||||||
|
src="https://publicxingyou.oss-cn-hangzhou.aliyuncs.com/mp-oil/empty.png"
|
||||||
|
mode="widthFix"
|
||||||
|
/>
|
||||||
|
<view class="common-empty text">还没有订单哦~</view>
|
||||||
|
</template>
|
||||||
</view>
|
</view>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
@refresherrefresh="refresherrefresh"
|
@refresherrefresh="refresherrefresh"
|
||||||
>
|
>
|
||||||
<view class="site">
|
<view class="site">
|
||||||
|
<template v-if="tableList.length">
|
||||||
<view
|
<view
|
||||||
class="item"
|
class="item"
|
||||||
v-for="(item, index) in tableList"
|
v-for="(item, index) in tableList"
|
||||||
@@ -49,6 +50,15 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="tip" v-show="isReachBottom">- 到底了 -</view>
|
<view class="tip" v-show="isReachBottom">- 到底了 -</view>
|
||||||
|
</template>
|
||||||
|
<template v-else>
|
||||||
|
<image
|
||||||
|
class="common-empty img"
|
||||||
|
src="https://publicxingyou.oss-cn-hangzhou.aliyuncs.com/mp-oil/empty.png"
|
||||||
|
mode="widthFix"
|
||||||
|
/>
|
||||||
|
<view class="common-empty text">暂无油站信息</view>
|
||||||
|
</template>
|
||||||
</view>
|
</view>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import utils from "@/utils/encode";
|
|||||||
let env;
|
let env;
|
||||||
env = "test";
|
env = "test";
|
||||||
// env = "production";
|
// env = "production";
|
||||||
let testUrl = "http://192.168.110.230:38080";
|
let testUrl = "http://192.168.110.77:38080";
|
||||||
|
|
||||||
let productUrl = "http://uat.xingoil.com/guest-api";
|
let productUrl = "http://uat.xingoil.com/guest-api";
|
||||||
// let productUrl = "https://www.xingoil.com/adminapi";
|
// let productUrl = "https://www.xingoil.com/adminapi";
|
||||||
|
|||||||
Reference in New Issue
Block a user