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">
<image src="../../../images/arrow-left.png" /> <image src="../../../images/arrow-left.png" />
</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}}" {{item.name}}
wx:key="index" </view>
data-item="{{item}}" </view>
data-value="{{item.id}}" <!-- 微信/pos机支付 -->
catchtap="changePayType"> <block wx:if="{{ selectPayType == 1 || selectPayType == 3 }}">
<gl-image <view class="pay-box">
class="btn_icon" <view class="tab-title">{{orderDetail.merchantName}}</view>
data-item="{{item}}" <view class="tab-qrcode">
webp <image src="{{ selectPayType==1?wxqrcode:posqrcode }}" mode="widthFix" />
src="/miniProgram/{{item.icon}}.png"></gl-image> </view>
{{item.name}} <view class="tab-desc" hidden="{{ selectPayType==3 }}">请让客户打开微信扫描上方付款码进行支付</view>
</view> <view class="tab-desc" hidden="{{ selectPayType==1 }}">请使用POS机扫描此码,再向客户收款</view>
</view> </view>
<!-- 微信/pos机支付 --> </block>
<block wx:if="{{selectPayType == 1 || selectPayType == 3}}"> </view>
<view class="pay-box"> <!-- <view class="qrCodeCom">
<view class="tab-title">{{orderDetail.merchantName}}</view>
<view class="tab-qrcode">
<image src="{{selectPayType==1?wxqrcode:posqrcode}}" mode="widthFix" />
</view>
<view class="tab-desc" hidden="{{selectPayType==3}}">请让客户打开微信扫描上方付款码进行支付</view>
<view class="tab-desc" hidden="{{selectPayType==1}}">请使用POS机扫描此码,再向客户收款</view>
</view>
</block>
</view>
<!-- <view class="qrCodeCom">
<view class="title"> <view class="title">
<image <image
show-menu-by-longpress show-menu-by-longpress
...@@ -75,29 +64,24 @@ ...@@ -75,29 +64,24 @@
<view class="MerchantName">{{orderDetail.merchantName||''}}</view> <view class="MerchantName">{{orderDetail.merchantName||''}}</view>
<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>
<view class="descText">权益无忧服务是店内特色权益,与车险形成完美互补,后续服务由门店专员跟进,升级款项需单独支付。</view> <view class="descText">权益无忧服务是店内特色权益,与车险形成完美互补,后续服务由门店专员跟进,升级款项需单独支付。</view>
</view> </view>
<view class="storeCom"> <view class="storeCom">
<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" <view class="store">
src="../../../images/storeIcon.png" <view class="name">{{merchantName4s}}</view>
binderror="" <!-- <view class="address">深圳市宝安区西乡大道与金湾大道交汇处(大铲湾世界名车博览中心内)</view> -->
bindload="" /> <view class="address">{{merchantAddress}}</view>
<view class="store"> </view>
<view class="name">{{merchantName4s}}</view> </view>
<!-- <view class="address">深圳市宝安区西乡大道与金湾大道交汇处(大铲湾世界名车博览中心内)</view> --> </view>
<view class="address">{{merchantAddress}}</view>
</view>
</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
{
"projectname": "%E7%B2%BE%E5%93%81%E5%8D%87%E7%BA%A7",
"compileType": "miniprogram",
"libVersion": "3.13.1",
"packOptions": {
"ignore": [
{
"value": ".vscode",
"type": "folder"
}
],
"include": []
},
"setting": {
"urlCheck": false,
"coverView": true,
"es6": true,
"postcss": true,
"minified": true,
"enhance": true,
"showShadowRootInWxmlPanel": true,
"packNpmRelationList": [],
"ignoreUploadUnusedFiles": true,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
},
"useCompilerPlugins": [
"sass"
],
"ignoreDevUnusedFiles": false,
"minifyWXML": true,
"compileWorklet": false,
"uglifyFileName": false,
"uploadWithSourceMap": true,
"packNpmManually": false,
"minifyWXSS": true,
"localPlugins": false,
"disableUseStrict": false,
"condition": false,
"swc": false,
"disableSWC": true
},
"editorSetting": {
"tabIndent": "insertSpaces",
"tabSize": 2
},
"appid": "wx4e697bcf4954ceef",
"simulatorPluginLibVersion": {}
}
\ No newline at end of file \ No newline at end of file
{
"projectname": "%E7%B2%BE%E5%93%81%E5%8D%87%E7%BA%A7",
"compileType": "miniprogram",
"libVersion": "3.13.1",
"packOptions": {
"ignore": [
{
"value": ".vscode",
"type": "folder"
}
],
"include": []
},
"setting": {
"urlCheck": false,
"coverView": true,
"es6": true,
"postcss": true,
"minified": true,
"enhance": true,
"showShadowRootInWxmlPanel": true,
"packNpmRelationList": [],
"ignoreUploadUnusedFiles": true,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
},
"useCompilerPlugins": [
"sass"
],
"ignoreDevUnusedFiles": false,
"minifyWXML": true,
"compileWorklet": false,
"uglifyFileName": false,
"uploadWithSourceMap": true,
"packNpmManually": false,
"minifyWXSS": true,
"localPlugins": false,
"disableUseStrict": false,
"condition": false,
"swc": false,
"disableSWC": true
},
"editorSetting": {
"tabIndent": "insertSpaces",
"tabSize": 2
},
"appid": "wx570d9331f9ace0bd",
"simulatorPluginLibVersion": {}
}
\ 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!