换系统
This commit is contained in:
@@ -1,27 +1,28 @@
|
||||
// components/orderconfirm/orderbottom/orderbottom.js
|
||||
Component({
|
||||
/**
|
||||
* 组件的属性列表
|
||||
*/
|
||||
properties: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的方法列表
|
||||
*/
|
||||
methods: {
|
||||
sub() {
|
||||
wx.navigateTo({
|
||||
url: "/pages/order/order"
|
||||
})
|
||||
}
|
||||
}
|
||||
// components/orderconfirm/orderbottom/orderbottom.js
|
||||
Component({
|
||||
/**
|
||||
* 组件的属性列表
|
||||
*/
|
||||
properties: {
|
||||
price:String
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的方法列表
|
||||
*/
|
||||
methods: {
|
||||
sub() {
|
||||
// wx.navigateTo({
|
||||
// url: "/pages/order/order"
|
||||
// })
|
||||
this.triggerEvent("sub")
|
||||
}
|
||||
}
|
||||
})
|
||||
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -1,21 +1,21 @@
|
||||
.bottom {
|
||||
width: 100%;
|
||||
height: 99rpx;
|
||||
line-height: 99rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
border-top: 2rpx solid #EAEAEA;
|
||||
font-size: 28rpx;
|
||||
.left {
|
||||
margin-left: 59rpx;
|
||||
.pri {
|
||||
color: #E0C79D;
|
||||
font-size: 26rpx;
|
||||
margin-left: 19rpx;
|
||||
}
|
||||
}
|
||||
.right {
|
||||
color: #4CC97D;
|
||||
margin-right: 38rpx;
|
||||
}
|
||||
.bottom {
|
||||
width: 100%;
|
||||
height: 99rpx;
|
||||
line-height: 99rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
border-top: 2rpx solid #EAEAEA;
|
||||
font-size: 28rpx;
|
||||
.left {
|
||||
margin-left: 59rpx;
|
||||
.pri {
|
||||
color: #E0C79D;
|
||||
font-size: 26rpx;
|
||||
margin-left: 19rpx;
|
||||
}
|
||||
}
|
||||
.right {
|
||||
color: #4CC97D;
|
||||
margin-right: 38rpx;
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
<view class="bottom">
|
||||
<view class="left">
|
||||
<text>总计</text>
|
||||
<text class="pri">$0.00</text>
|
||||
</view>
|
||||
<view class="right" bindtap="sub">结算</view>
|
||||
<view class="bottom">
|
||||
<view class="left">
|
||||
<text>总计</text>
|
||||
<text class="pri">${{price}}</text>
|
||||
</view>
|
||||
<view class="right" bindtap="sub">结算</view>
|
||||
</view>
|
||||
@@ -1,24 +1,24 @@
|
||||
.bottom {
|
||||
width: 100%;
|
||||
height: 99rpx;
|
||||
line-height: 99rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
border-top: 2rpx solid #EAEAEA;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
|
||||
.bottom .left {
|
||||
margin-left: 59rpx;
|
||||
}
|
||||
|
||||
.bottom .left .pri {
|
||||
color: #E0C79D;
|
||||
font-size: 26rpx;
|
||||
margin-left: 19rpx;
|
||||
}
|
||||
|
||||
.bottom .right {
|
||||
color: #4CC97D;
|
||||
margin-right: 38rpx;
|
||||
}
|
||||
.bottom {
|
||||
width: 100%;
|
||||
height: 99rpx;
|
||||
line-height: 99rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
border-top: 2rpx solid #EAEAEA;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
|
||||
.bottom .left {
|
||||
margin-left: 59rpx;
|
||||
}
|
||||
|
||||
.bottom .left .pri {
|
||||
color: #E0C79D;
|
||||
font-size: 26rpx;
|
||||
margin-left: 19rpx;
|
||||
}
|
||||
|
||||
.bottom .right {
|
||||
color: #4CC97D;
|
||||
margin-right: 38rpx;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user