Browse Source

修改登录

v1
前端-胡立永 8 months ago
parent
commit
2185e9f36a
4 changed files with 17 additions and 3 deletions
  1. +13
    -0
      api/api.js
  2. +1
    -1
      config.js
  3. +2
    -2
      pages/center/center.vue
  4. +1
    -0
      pages/payment/payment.vue

+ 13
- 0
api/api.js View File

@ -21,6 +21,19 @@ const config = {
getPrivacyPolicy: { url: '/cheer/login/getPrivacyPolicy', method: 'GET'},
//获取用户协议
getUserAgreement: { url: '/cheer/login/getUserAgreement', method: 'GET'},
/**
* 新版本接口
*/
//根据加油站标识获取相关配置信息
twogetConfig: { url: '/cheer/two/getConfig', method: 'GET'},
//获取加油站列表信息接口
getGasStationList: { url: '/cheer/two/getGasStationList', method: 'GET'},
//根据加油站标识获取加油流水订单
twogetOrderWaterPage: { url: '/cheer/two/getOrderWaterPage', method: 'GET'},
//根据加油站标识获取加油站充值套餐信息
twogetRechargeList: { url: '/cheer/two/getRechargeList', method: 'GET'},
}


+ 1
- 1
config.js View File

@ -7,7 +7,7 @@ import uvUI from '@/uni_modules/uv-ui-tools'
Vue.use(uvUI);
// 当前环境
const type = 'prod'
const type = 'dev'
// 环境配置


+ 2
- 2
pages/center/center.vue View File

@ -42,8 +42,8 @@
<view class="listBox">
<view class="lists">
<uni-section @click="toPromotion" title="推广" type="line" titleFontSize="34rpx"
style="border-radius: 10rpx;"></uni-section>
<!-- <uni-section @click="toPromotion" title="推广" type="line" titleFontSize="34rpx"
style="border-radius: 10rpx;"></uni-section> -->
<uni-section title="我的订单" type="line" titleFontSize="34rpx"
style="border-radius: 10rpx;"></uni-section>
<view class="order-list">


+ 1
- 0
pages/payment/payment.vue View File

@ -3,6 +3,7 @@
<uni-nav-bar dark :fixed="true" background-color="#00aaff" :border="false" status-bar title="加油" />
<view class="container">
<uni-section title="油号" type="line" titleFontSize="34rpx"></uni-section>
<view class="select-oil">
<view class="oil-item">


Loading…
Cancel
Save