Commit b8b39ddc by 张立顺

fix bug

1 parent 3cc53d20
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
"editor.defaultFormatter": "esbenp.prettier-vscode" "editor.defaultFormatter": "esbenp.prettier-vscode"
}, },
"[wxml]": { "[wxml]": {
"editor.defaultFormatter": "esbenp.prettier-vscode" "editor.defaultFormatter": "qiu8310.minapp-vscode"
}, },
"[wxss]": { "[wxss]": {
"editor.defaultFormatter": "esbenp.prettier-vscode" "editor.defaultFormatter": "esbenp.prettier-vscode"
......
...@@ -18,12 +18,12 @@ export const appId = "wx570d9331f9ace0bd"; ...@@ -18,12 +18,12 @@ export const appId = "wx570d9331f9ace0bd";
* 4预发布 * 4预发布
* 5cdptest * 5cdptest
*/ */
let index = 4; let index = 2;
const accountInfo = wx.getAccountInfoSync(); const accountInfo = wx.getAccountInfoSync();
const systemInfo = wx.getSystemInfoSync(); const systemInfo = wx.getSystemInfoSync();
const envName = accountInfo.miniProgram.envVersion; const envName = accountInfo.miniProgram.envVersion;
//手动控制体验版环境的请求 true就依据下面index false就默认2 //手动控制体验版环境的请求 true就依据下面index false就默认2
const manual = true; const manual = false;
const release = false; const release = false;
// 判断小程序环境 // 判断小程序环境
...@@ -88,10 +88,12 @@ export const ALIYUN = ALIYUN_LIST[1]; ...@@ -88,10 +88,12 @@ export const ALIYUN = ALIYUN_LIST[1];
export const quotedImgUrl = createQuotedUrl[target[envIndex]]; export const quotedImgUrl = createQuotedUrl[target[envIndex]];
export const scoket_url = scoketURL[target[envIndex]]; export const scoket_url = scoketURL[target[envIndex]];
// sentry Dsn 地址 // sentry Dsn 地址
export const dsnUrl = "https://ddaadc52bf8d4ecc92eca632683d456a@sentry.glsx.com.cn/23"; export const dsnUrl =
"https://ddaadc52bf8d4ecc92eca632683d456a@sentry.glsx.com.cn/23";
// 图片基地址 // 图片基地址
export const ImgUrl = "https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat"; export const ImgUrl =
"https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat";
export const ossConfig = { export const ossConfig = {
// 请求域名 格式:https://xxx.xxx.com // 请求域名 格式:https://xxx.xxx.com
......
<!-- packageEquity/pages/carQuotation/CarQuotationPay/CarQuotationPay.wxml --> <!-- packageEquity/pages/carQuotation/CarQuotationPay/CarQuotationPay.wxml -->
<navigation-bar showBack navStyle="{{navStyle}}" bindback="back">订单支付</navigation-bar> <navigation-bar showBack navStyle="{{ navStyle }}" bindback="back">订单支付</navigation-bar>
<view class="big-img page-box isFullSucreen"> <view class="big-img page-box isFullSucreen">
<!-- <view class="titleBox"> <!-- <view class="titleBox">
<view class="imgBox" bind:tap="back"> <view class="imgBox" bind:tap="back">
...@@ -7,39 +7,28 @@ ...@@ -7,39 +7,28 @@
</view> </view>
<view class="navigation-title-text">订单支付</view> <view class="navigation-title-text">订单支付</view>
</view> --> </view> -->
<view class="money">总保费{{orderDetail.totalPrice}}元/年</view> <view class="money">总保费{{orderDetail.finalPrice}}元/年</view>
</view> </view>
<view class="OrderInfoPay"> <view class="OrderInfoPay">
<view class=" box"> <view class="box">
<view class="tab-head"> <view class="tab-head">
<view <view class="tab-item {{ selectPayType === item.id?'active':'' }}" wx:for="{{ payItems }}" wx:key="index" data-item="{{ item }}" data-value="{{ item.id }}" catchtap="changePayType">
class="tab-item {{selectPayType === item.id?'active':'' }}" <gl-image class="btn_icon" data-item="{{ item }}" webp src="/miniProgram/{{ item.icon }}.png"></gl-image>
wx:for="{{payItems}}"
wx:key="index"
data-item="{{item}}"
data-value="{{item.id}}"
catchtap="changePayType">
<gl-image
class="btn_icon"
data-item="{{item}}"
webp
src="/miniProgram/{{item.icon}}.png"></gl-image>
{{item.name}} {{item.name}}
</view> </view>
</view> </view>
<!-- 微信/pos机支付 --> <!-- 微信/pos机支付 -->
<block wx:if="{{selectPayType == 1 || selectPayType == 3}}"> <block wx:if="{{ selectPayType == 1 || selectPayType == 3 }}">
<view class="pay-box"> <view class="pay-box">
<view class="tab-title">{{orderDetail.merchantName}}</view> <view class="tab-title">{{orderDetail.merchantName}}</view>
<view class="tab-qrcode"> <view class="tab-qrcode">
<image src="{{selectPayType==1?wxqrcode:posqrcode}}" mode="widthFix" /> <image src="{{ selectPayType==1?wxqrcode:posqrcode }}" mode="widthFix" />
</view> </view>
<view class="tab-desc" hidden="{{selectPayType==3}}">请让客户打开微信扫描上方付款码进行支付</view> <view class="tab-desc" hidden="{{ selectPayType==3 }}">请让客户打开微信扫描上方付款码进行支付</view>
<view class="tab-desc" hidden="{{selectPayType==1}}">请使用POS机扫描此码,再向客户收款</view> <view class="tab-desc" hidden="{{ selectPayType==1 }}">请使用POS机扫描此码,再向客户收款</view>
</view> </view>
</block> </block>
</view> </view>
<!-- <view class="qrCodeCom"> <!-- <view class="qrCodeCom">
<view class="title"> <view class="title">
<image <image
...@@ -76,7 +65,7 @@ ...@@ -76,7 +65,7 @@
<view class="bg" /> <view class="bg" />
</view> --> </view> -->
<view class="orderInfo"> <view class="orderInfo">
<order-detail OderType="pay" orderInfo="{{orderDetail}}" /> <order-detail OderType="pay" orderInfo="{{ orderDetail }}" />
</view> </view>
<view class="tips"> <view class="tips">
<view class="title">费用说明</view> <view class="title">费用说明</view>
...@@ -86,11 +75,7 @@ ...@@ -86,11 +75,7 @@
<view class="title">适用门店</view> <view class="title">适用门店</view>
<view class="storeComBox"> <view class="storeComBox">
<!-- mode="widthFix" --> <!-- mode="widthFix" -->
<image <image class="storeIcon" src="../../../images/storeIcon.png" binderror="" bindload="" />
class="storeIcon"
src="../../../images/storeIcon.png"
binderror=""
bindload="" />
<view class="store"> <view class="store">
<view class="name">{{merchantName4s}}</view> <view class="name">{{merchantName4s}}</view>
<!-- <view class="address">深圳市宝安区西乡大道与金湾大道交汇处(大铲湾世界名车博览中心内)</view> --> <!-- <view class="address">深圳市宝安区西乡大道与金湾大道交汇处(大铲湾世界名车博览中心内)</view> -->
...@@ -100,4 +85,3 @@ ...@@ -100,4 +85,3 @@
</view> </view>
</view> </view>
<!-- <popup-select-pay show="{{popPayShow}}" bindconfirm="changePayType" /> --> <!-- <popup-select-pay show="{{popPayShow}}" bindconfirm="changePayType" /> -->
\ No newline at end of file \ No newline at end of file
...@@ -46,6 +46,6 @@ ...@@ -46,6 +46,6 @@
"tabIndent": "insertSpaces", "tabIndent": "insertSpaces",
"tabSize": 2 "tabSize": 2
}, },
"appid": "wx4e697bcf4954ceef", "appid": "wx570d9331f9ace0bd",
"simulatorPluginLibVersion": {} "simulatorPluginLibVersion": {}
}
\ No newline at end of file \ No newline at end of file
}
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!