Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 001ea59c
authored
Mar 18, 2024
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
次新车转化模块样式修改
1 parent
3181da2f
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
49 additions
and
10 deletions
subvehicleConversion/pages/orderPage/relatedFinalPayment/relatedFinalPayment.js
subvehicleConversion/pages/orderPage/relatedFinalPayment/relatedFinalPayment.wxml
subvehicleConversion/pages/orderPage/relatedFinalPayment/relatedFinalPayment.wxss
subvehicleConversion/pages/orderPage/supplementaryOrderPay/supplementaryOrderPay.js
subvehicleConversion/pages/orderPage/supplementaryOrderPay/supplementaryOrderPay.wxml
subvehicleConversion/pages/orderPage/supplementaryOrderPay/supplementaryOrderPay.wxss
subvehicleConversion/pages/orderPage/relatedFinalPayment/relatedFinalPayment.js
View file @
001ea59
// subvehicleConversion/pages/relatedFinalPayment/relatedFinalPayment.js
// subvehicleConversion/pages/relatedFinalPayment/relatedFinalPayment.js
import
api
from
'~/subvehicleConversion/api'
import
api
from
'~/subvehicleConversion/api'
const
navStyle
=
'background:transparent;box-shadow:none;'
Page
({
Page
({
/**
/**
* 页面的初始数据
* 页面的初始数据
...
@@ -37,7 +37,8 @@ Page({
...
@@ -37,7 +37,8 @@ Page({
value
:
'subOrderCode'
value
:
'subOrderCode'
}
}
],
],
confirmFlag
:
false
confirmFlag
:
false
,
navStyle
},
},
handleTransaction
()
{
handleTransaction
()
{
this
.
setData
({
this
.
setData
({
...
@@ -104,6 +105,12 @@ Page({
...
@@ -104,6 +105,12 @@ Page({
})
})
},
},
onPageScroll({scrollTop}){
this.setData({
navStyle:scrollTop > 20 ? '' : navStyle
})
},
/**
/**
* 生命周期函数--监听页面初次渲染完成
* 生命周期函数--监听页面初次渲染完成
*/
*/
...
...
subvehicleConversion/pages/orderPage/relatedFinalPayment/relatedFinalPayment.wxml
View file @
001ea59
<!--subvehicleConversion/pages/relatedFinalPayment/relatedFinalPayment.wxml-->
<!--subvehicleConversion/pages/relatedFinalPayment/relatedFinalPayment.wxml-->
<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="/subvehicleConversion/images/arrow-left.png"></image>
<image src="/subvehicleConversion/images/arrow-left.png"></image>
</view>
</view>
<view class="navigation-title-text">
<view class="navigation-title-text">
关联尾款单
关联尾款单
</view>
</view>
</view>
</view>
-->
<!-- 补录单显示付款金额(订单总价 众筹价) -->
<!-- 补录单显示付款金额(订单总价 众筹价) -->
<view class="money">尾款金额
<view class="money">尾款金额
<view class="sum">{{orderInfo.tailPayment}}</view>
<view class="sum">{{orderInfo.tailPayment}}</view>
...
...
subvehicleConversion/pages/orderPage/relatedFinalPayment/relatedFinalPayment.wxss
View file @
001ea59
...
@@ -11,6 +11,7 @@
...
@@ -11,6 +11,7 @@
background-image: url('https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/equity/headerBg-l.png');
background-image: url('https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/equity/headerBg-l.png');
background-size: 100% 100%;
background-size: 100% 100%;
}
}
.titleBox{
.titleBox{
display: flex;
display: flex;
padding-top: var(--fontSize80);
padding-top: var(--fontSize80);
...
@@ -26,16 +27,21 @@
...
@@ -26,16 +27,21 @@
vertical-align: middle;
vertical-align: middle;
}
}
.money{
.money{
position: absolute;
color: #fff;
color: #fff;
font-size: var(--fontSize28);
font-size: var(--fontSize28);
display: flex;
display: flex;
margin-top: var(--fontSize40);
left: var(--fontSize36);
bottom: var(--fontSize74);
}
}
.money .sum{
.money .sum{
font-size: var(--fontSize34)
font-size: var(--fontSize34)
}
}
.box{
.big-img .box{
position: absolute;
top: var(--fontSize230);
width: calc(100% - var(--fontSize72));
display: flex;
display: flex;
align-items: center;
align-items: center;
justify-content: space-between;
justify-content: space-between;
...
@@ -48,6 +54,15 @@
...
@@ -48,6 +54,15 @@
font-size: var(--fontSize28);
font-size: var(--fontSize28);
}
}
@media screen and (min-device-width: 768px) and (-webkit-min-device-pixel-ratio: 1) {
.big-img {
height: var(--fontSize180);
}
.big-img .box{
top: var(--fontSize100);
}
}
.box .label{
.box .label{
width: var(--fontSize140);
width: var(--fontSize140);
}
}
...
...
subvehicleConversion/pages/orderPage/supplementaryOrderPay/supplementaryOrderPay.js
View file @
001ea59
...
@@ -3,6 +3,7 @@ import { getOrderDetail, createPayOrder, updateOrderRemark } from '~/subvehicleC
...
@@ -3,6 +3,7 @@ import { getOrderDetail, createPayOrder, updateOrderRemark } from '~/subvehicleC
import
{
createQrcodeImage
}
from
'~/api/api'
import
{
createQrcodeImage
}
from
'~/api/api'
import
qrcode
from
'~/utils/lib/wxqrcode'
import
qrcode
from
'~/utils/lib/wxqrcode'
import
pageApi
from
'~/api/api'
import
pageApi
from
'~/api/api'
const
navStyle
=
'background:transparent;box-shadow:none;'
let
time
=
null
let
time
=
null
Page
({
Page
({
/**
/**
...
@@ -51,7 +52,8 @@ Page({
...
@@ -51,7 +52,8 @@ Page({
}
}
],
],
showRemark
:
false
,
showRemark
:
false
,
textAreaValue
:
''
// 备注回显
textAreaValue
:
''
,
// 备注回显
navStyle
},
},
// 生成小程序码
// 生成小程序码
createWxQrcode
()
{
createWxQrcode
()
{
...
@@ -223,6 +225,12 @@ Page({
...
@@ -223,6 +225,12 @@ Page({
*/
*/
onLoad
(
options
)
{},
onLoad
(
options
)
{},
onPageScroll
({
scrollTop
}){
this
.
setData
({
navStyle
:
scrollTop
>
20
?
''
:
navStyle
})
},
/**
/**
* 生命周期函数--监听页面显示
* 生命周期函数--监听页面显示
*/
*/
...
...
subvehicleConversion/pages/orderPage/supplementaryOrderPay/supplementaryOrderPay.wxml
View file @
001ea59
<!--subvehicleConversion/pages/supplementaryOrderPay/supplementaryOrderPay.wxml-->
<!--subvehicleConversion/pages/supplementaryOrderPay/supplementaryOrderPay.wxml-->
<wxs src="./index.wxs" module="filter" />
<wxs src="./index.wxs" module="filter" />
<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="/subvehicleConversion/images/arrow-left.png" />
<image src="/subvehicleConversion/images/arrow-left.png" />
</view>
</view>
<view class="navigation-title-text">去支付</view>
<view class="navigation-title-text">去支付</view>
</view>
</view>
-->
<view class="money">
<view class="money">
尾款金额
尾款金额
<!-- 详情接口金额返回的是元 需*100转为分 -->
<!-- 详情接口金额返回的是元 需*100转为分 -->
...
...
subvehicleConversion/pages/orderPage/supplementaryOrderPay/supplementaryOrderPay.wxss
View file @
001ea59
...
@@ -21,10 +21,12 @@ page {
...
@@ -21,10 +21,12 @@ page {
background-size: 100% 100%;
background-size: 100% 100%;
}
}
.big-img .money {
.big-img .money {
position: absolute;
color: #fff;
color: #fff;
font-size: var(--fontSize28);
font-size: var(--fontSize28);
display: flex;
display: flex;
margin-top: var(--fontSize40);
left: var(--fontSize36);
bottom: var(--fontSize74);
}
}
.big-img .money .sum {
.big-img .money .sum {
...
@@ -56,6 +58,11 @@ page {
...
@@ -56,6 +58,11 @@ page {
border-radius: var(--fontSize16);
border-radius: var(--fontSize16);
margin: calc(-1 * var(--fontSize34)) auto var(--fontSize34);
margin: calc(-1 * var(--fontSize34)) auto var(--fontSize34);
}
}
@media screen and (min-device-width: 768px) and (-webkit-min-device-pixel-ratio: 1) {
.big-img {
height: var(--fontSize180);
}
}
.box .right image {
.box .right image {
width: var(--fontSize14);
width: var(--fontSize14);
height: var(--fontSize24);
height: var(--fontSize24);
...
...
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