Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-weapp-smartshop
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f4bcbfc8
authored
Sep 21, 2022
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
v4.11.0 线上代码
1 parent
bb07f5ed
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
9 deletions
packagesPayment/pages/QRPayment/QRPayment.js
packagesPayment/pages/QRPayment/QRPayment.wxml
packagesPayment/pages/QRPayment/QRPayment.wxss
project.private.config.json
utils/restapi.js
packagesPayment/pages/QRPayment/QRPayment.js
View file @
f4bcbfc
...
@@ -15,7 +15,7 @@ Page({
...
@@ -15,7 +15,7 @@ Page({
unPayMoneyList
:
[
'0'
,
'0.'
,
'0.0'
,
'0.00'
],
unPayMoneyList
:
[
'0'
,
'0.'
,
'0.0'
,
'0.00'
],
canPay
:
false
,
canPay
:
false
,
keyHidden
:
false
,
keyHidden
:
false
,
unpaid
:
fals
e
,
unpaid
:
tru
e
,
showOrderInfo
:
false
,
showOrderInfo
:
false
,
transactionReferenceNumber
:
''
,
transactionReferenceNumber
:
''
,
dataTime
:
''
,
dataTime
:
''
,
...
@@ -132,8 +132,10 @@ Page({
...
@@ -132,8 +132,10 @@ Page({
getwxQrcode
()
{
getwxQrcode
()
{
// let { merchantId: yqMerchantId } = this.data
// let { merchantId: yqMerchantId } = this.data
// let { merchantId: yqMerchantId } = this.data
let
{
merchantId
:
yqMerchantId
}
=
this
.
data
api
.
yqMerchantDetail
({
yqMerchantId
:
'44211025'
},
res
=>
{
// api.yqMerchantDetail({ yqMerchantId:'44211025' }, res => {
// 去掉调试
api
.
yqMerchantDetail
({
yqMerchantId
},
res
=>
{
console
.
log
(
res
)
console
.
log
(
res
)
let
{
returnCode
,
data
}
=
res
let
{
returnCode
,
data
}
=
res
if
(
returnCode
==
'0'
)
{
if
(
returnCode
==
'0'
)
{
...
...
packagesPayment/pages/QRPayment/QRPayment.wxml
View file @
f4bcbfc
...
@@ -87,8 +87,8 @@
...
@@ -87,8 +87,8 @@
</block> -->
</block> -->
<view class="footerCon">
<view class="footerCon">
<block wx:if="{{workWechatQrcode}}">
<block wx:if="{{workWechatQrcode}}">
<view class="wxTips">扫码领取质保卡</view>
<view class="wxTips">
长按识别
扫码领取质保卡</view>
<image class="wxqrCon" src="{{workWechatQrcode}}" />
<image
show-menu-by-longpress="true"
class="wxqrCon" src="{{workWechatQrcode}}" />
</block>
</block>
<image class="logoIcon" src="../../../images/djLogin.png" /></view>
<image class="logoIcon" src="../../../images/djLogin.png" /></view>
</view>
</view>
...
...
packagesPayment/pages/QRPayment/QRPayment.wxss
View file @
f4bcbfc
...
@@ -289,6 +289,7 @@
...
@@ -289,6 +289,7 @@
width: 306rpx;
width: 306rpx;
height: 305rpx;
height: 305rpx;
margin: 12rpx 0 84rpx;
margin: 12rpx 0 84rpx;
Object-fit: contain;
}
}
.logoIcon {
.logoIcon {
...
...
project.private.config.json
View file @
f4bcbfc
{
{
"setting"
:
{},
"setting"
:
{
"compileHotReLoad"
:
true
},
"condition"
:
{
"condition"
:
{
"miniprogram"
:
{
"miniprogram"
:
{
"list"
:
[
"list"
:
[
...
@@ -260,5 +262,6 @@
...
@@ -260,5 +262,6 @@
]
]
}
}
},
},
"description"
:
"项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html"
"description"
:
"项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html"
,
"projectname"
:
"dj-car-weapp-smartshop"
}
}
\ No newline at end of file
\ No newline at end of file
utils/restapi.js
View file @
f4bcbfc
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
// const domain = 'http://192.168.3.181:9182'
// const domain = 'http://192.168.3.181:9182'
// const domain = 'https://dj.dev.glsx.com.cn'
// const domain = 'https://dj.dev.glsx.com.cn'
// env:uat
// env:uat
const
domain
=
'https://dj.test.glsx.com.cn'
//
const domain = 'https://dj.test.glsx.com.cn'
// env:prod
// env:prod
//
const domain = 'https://dj.glsx.com.cn'
const
domain
=
'https://dj.glsx.com.cn'
const
app
=
getApp
()
const
app
=
getApp
()
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment