develop
xiaozhiyong 1 year ago
parent 8afc6deaf8
commit 9bfe7261b5
  1. 15
      src/App.vue
  2. 2
      src/manifest.json
  3. 10
      src/pages/index/home/index.vue
  4. 10
      src/subPackages/order/list/index.vue
  5. 10
      src/subPackages/site/search/index.vue
  6. 2
      src/utils/request.js

@ -6,7 +6,7 @@ export default {
latitude: 39.5426,
longitude: 116.23292,
},
appId: "wxed3e2914d6aa4d52",
appId: "wx9995c9f495efa82e",
hasLocationAuth: true,
},
onLaunch: function () {
@ -37,4 +37,17 @@ export default {
view {
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>

@ -57,7 +57,7 @@
/* */
},
"mp-weixin": {
/* */ "appid": "wxed3e2914d6aa4d52",
/* */ "appid": "wx9995c9f495efa82e",
"setting": {
"urlCheck": false
},

@ -25,6 +25,7 @@
<view @click="select">{{ paramter.params.oilProductCode }} · 筛选</view>
</view>
<view class="site">
<template v-if="tableList.length">
<view
class="item"
v-for="(item, index) in tableList"
@ -53,6 +54,15 @@
</view>
</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>
<!-- -->

@ -19,6 +19,7 @@
@scrolltolower="scrolltolower"
>
<view class="frame">
<template v-if="tableList.length">
<view
class="item"
v-for="(item, index) in tableList"
@ -64,6 +65,15 @@
</view>
</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>
</scroll-view>
</view>

@ -21,6 +21,7 @@
@refresherrefresh="refresherrefresh"
>
<view class="site">
<template v-if="tableList.length">
<view
class="item"
v-for="(item, index) in tableList"
@ -49,6 +50,15 @@
</view>
</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>
</scroll-view>
</view>

@ -4,7 +4,7 @@ import utils from "@/utils/encode";
let env;
env = "test";
// 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 = "https://www.xingoil.com/adminapi";

Loading…
Cancel
Save