Commit b84bf3ae authored by 李智书's avatar 李智书

1.修改API前缀地址l;

parent 949f1616
...@@ -59,9 +59,8 @@ ...@@ -59,9 +59,8 @@
<!-- Project --> <!-- Project -->
<view class="ProjectBox"> <view class="ProjectBox">
<view class="ProjectItem" v-for="(item,index) in ChargeProDetail.items" :key="index" <view class="ProjectItem" v-for="(item,index) in ChargeProDetail.items" :key="index"
:class="SPayProject(index)?'selectProjectItem':''"> :class="SPayProject(index)?'selectProjectItem':''" v-if="!(item.itemAmount==0&&item.mustFlag==0)">
<view class="tabNames" @click="selectProject(item,index)" <view class="tabNames" @click="selectProject(item,index)">
v-if="!(item.itemAmount==0&&item.mustFlag==0)">
<view class="ProjectName"> <view class="ProjectName">
<image v-if="SPayProject(index)" style="width: 32rpx;height: 32rpx;" <image v-if="SPayProject(index)" style="width: 32rpx;height: 32rpx;"
:src="ImgUrl+'StudentPayment/gx.png'" mode='widthFix'></image> :src="ImgUrl+'StudentPayment/gx.png'" mode='widthFix'></image>
...@@ -129,7 +128,7 @@ ...@@ -129,7 +128,7 @@
} }
return outS; return outS;
} }
let orderApi = 'https://dev-az-order-api.xiaopay.net' let orderApi = window.location.origin
export default { export default {
name: "PayOrderDetails", name: "PayOrderDetails",
data() { data() {
......
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
<script> <script>
// 时间处理模块 // 时间处理模块
import dayjs from 'dayjs' import dayjs from 'dayjs'
let orderApi = 'https://dev-az-order-api.xiaopay.net' let orderApi = window.location.origin
export default { export default {
name: "PayProject", name: "PayProject",
data() { data() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment