换系统

This commit is contained in:
pplokijuhyg 2019-12-23 10:04:09 +08:00
parent c890ad64a2
commit 9a53bca281
205 changed files with 4897 additions and 4734 deletions

144
README.md
View File

@ -1,72 +1,72 @@
# 德国代购小程序
### 目录结构
- commponents 组件
- page 页面
- utils 插件
- [bin.js](./doc/bin.md)
- doc 文档存放
## 页面路由
- pages/index/index 首页 <br>
- pages/shopping/shopping 购物车 <br>
组件
- index/search 顶部搜索框
- index/list 商品列表
- index/lsit/commodity 商品单条
- index/shopping/shoppingitem 购物车商品信息
- pages/search/search 搜索页 <br>
组件
- index/search 顶部搜索框
- search/hot 热门上搜索列表
- pages/classify/classify 分类页 <br>
组件
- classify/list 右侧商品列表
- classify/navigation 左侧导航列表
- pages/product/product 商品页
- pages/personal/personal 我的页面
- pages/message/message 个人信息
- pages/orderconfirm/orderconfirm 确认订单 <br>
组件
- orderconfirm/agreement 同意协议
- orderconfirm/bottom 订单确认底部
- orderconfirm/chooseaddr 选择地址
- orderconfirm/chooseway 选择方式
- orderconfirm/ordershopinfo 顶部的商品信息
- orderconfirm/orderyf 运费
- pages/order/order 订单列表<br>
组件
- order/tab 切换列表
- order/commodity 商品信息操作
- order/message 商品信息
- pages/chooseaddr/chooseaddr 选择地址 <br>
- chooseaddr/address 地址列表(单个)
- chooseaddr/addradd 添加按钮
- pages/addaddress/addaddress 添加地址 <br>
- addaddress/shuru 添加地址的输入的每一项
- pages/particulars/particulars 待付款 <br>
- particulars/orderchooseaddr 地址
- particulars/content 中间所有
- particulars/submit 支付
- pages/undetermined/undetermined 代发货 <br>
- particulars/orderchooseaddr 地址
- particulars/content 中间所有
- pages/receiving/receiving 待收货 <br>
- particulars/orderchooseaddr 地址
- particulars/content 中间所有
- pages/status/status 物流信息 <br>
- order/message 商品信息
- particulars/logistics 物流信息
- pages/receiving/receiving 已完成 <br>
- particulars/orderchooseaddr 地址
- particulars/content 中间所有
- particulars/logistics 物流信息
- pages/sales1/sales1 退货1 <br>
- sales/merchandises 商品信息
- pages/sales2/sales2 退货3 <br>
- sales/merchandises 商品信息
- pages/member/member 会员商品 <br>
- member/membertop 会员商品顶部的字
- member/membershop 单个商品
# 德国代购小程序
### 目录结构
- commponents 组件
- page 页面
- utils 插件
- [bin.js](./doc/bin.md)
- doc 文档存放
## 页面路由
- pages/index/index 首页 <br>
- pages/shopping/shopping 购物车 <br>
组件
- index/search 顶部搜索框
- index/list 商品列表
- index/lsit/commodity 商品单条
- index/shopping/shoppingitem 购物车商品信息
- pages/search/search 搜索页 <br>
组件
- index/search 顶部搜索框
- search/hot 热门上搜索列表
- pages/classify/classify 分类页 <br>
组件
- classify/list 右侧商品列表
- classify/navigation 左侧导航列表
- pages/product/product 商品页
- pages/personal/personal 我的页面
- pages/message/message 个人信息
- pages/orderconfirm/orderconfirm 确认订单 <br>
组件
- orderconfirm/agreement 同意协议
- orderconfirm/bottom 订单确认底部
- orderconfirm/chooseaddr 选择地址
- orderconfirm/chooseway 选择方式
- orderconfirm/ordershopinfo 顶部的商品信息
- orderconfirm/orderyf 运费
- pages/order/order 订单列表<br>
组件
- order/tab 切换列表
- order/commodity 商品信息操作
- order/message 商品信息
- pages/chooseaddr/chooseaddr 选择地址 <br>
- chooseaddr/address 地址列表(单个)
- chooseaddr/addradd 添加按钮
- pages/addaddress/addaddress 添加地址 <br>
- addaddress/shuru 添加地址的输入的每一项
- pages/particulars/particulars 待付款 <br>
- particulars/orderchooseaddr 地址
- particulars/content 中间所有
- particulars/submit 支付
- pages/undetermined/undetermined 代发货 <br>
- particulars/orderchooseaddr 地址
- particulars/content 中间所有
- pages/receiving/receiving 待收货 <br>
- particulars/orderchooseaddr 地址
- particulars/content 中间所有
- pages/status/status 物流信息 <br>
- order/message 商品信息
- particulars/logistics 物流信息
- pages/receiving/receiving 已完成 <br>
- particulars/orderchooseaddr 地址
- particulars/content 中间所有
- particulars/logistics 物流信息
- pages/sales1/sales1 退货1 <br>
- sales/merchandises 商品信息
- pages/sales2/sales2 退货3 <br>
- sales/merchandises 商品信息
- pages/member/member 会员商品 <br>
- member/membertop 会员商品顶部的字
- member/membershop 单个商品

102
app.json
View File

@ -1,52 +1,52 @@
{
"pages": [
"pages/index/index",
"pages/login/login",
"pages/search/search",
"pages/shopping/shopping",
"pages/classify/classify",
"pages/product/product",
"pages/personal/personal",
"pages/message/message",
"pages/orderconfirm/orderconfirm",
"pages/order/order",
"pages/chooseaddr/chooseaddr",
"pages/addaddress/addaddress",
"pages/particulars/particulars",
"pages/undetermined/undetermined",
"pages/receiving/receiving",
"pages/status/status",
"pages/accomplish/accomplish",
"pages/sales1/sales1",
"pages/sales2/sales2",
"pages/member/member",
"pages/yue/yue",
"pages/yongjin/yongjin",
"pages/share/share"
],
"window": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "WeChat",
"navigationBarTextStyle": "black"
},
"tabBar": {
"list": [{
"pagePath": "pages/index/index",
"text": "首页"
}, {
"pagePath": "pages/classify/classify",
"text": "分类"
}, {
"pagePath": "pages/shopping/shopping",
"text": "购物车"
}, {
"pagePath": "pages/personal/personal",
"text": "我的"
}]
},
"style": "v2",
"sitemapLocation": "sitemap.json"
{
"pages": [
"pages/index/index",
"pages/login/login",
"pages/search/search",
"pages/shopping/shopping",
"pages/classify/classify",
"pages/product/product",
"pages/personal/personal",
"pages/message/message",
"pages/orderconfirm/orderconfirm",
"pages/order/order",
"pages/chooseaddr/chooseaddr",
"pages/addaddress/addaddress",
"pages/particulars/particulars",
"pages/undetermined/undetermined",
"pages/receiving/receiving",
"pages/status/status",
"pages/accomplish/accomplish",
"pages/sales1/sales1",
"pages/sales2/sales2",
"pages/member/member",
"pages/yue/yue",
"pages/yongjin/yongjin",
"pages/share/share"
],
"window": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "WeChat",
"navigationBarTextStyle": "black"
},
"tabBar": {
"list": [{
"pagePath": "pages/index/index",
"text": "首页"
}, {
"pagePath": "pages/classify/classify",
"text": "分类"
}, {
"pagePath": "pages/shopping/shopping",
"text": "购物车"
}, {
"pagePath": "pages/personal/personal",
"text": "我的"
}]
},
"style": "v2",
"sitemapLocation": "sitemap.json"
}

View File

@ -1,31 +1,31 @@
// components/addaddress/shuru/shuru.js
Component({
/**
* 组件的属性列表
*/
properties: {
left: String,
right: String,
ifarrow: Boolean,
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
get(e){
// console.log(e)
this.triggerEvent('myevent', e.detail.value)
},
choose(e){
}
}
// components/addaddress/shuru/shuru.js
Component({
/**
* 组件的属性列表
*/
properties: {
left: String,
right: String,
ifarrow: Boolean,
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
get(e){
// console.log(e)
this.triggerEvent('myevent', e.detail.value)
},
choose(e){
}
}
})

View File

@ -1,4 +1,4 @@
{
"component": true,
"usingComponents": {}
{
"component": true,
"usingComponents": {}
}

View File

@ -1,32 +1,32 @@
.shuru {
width: 670rpx;
height: 100rpx;
border-bottom: 2rpx solid #E8E8E8;
margin: 0 auto;
display: flex;
justify-content: space-between;
line-height: 100rpx;
font-size: 28rpx;
.left {
color: #333333;
}
.right {
margin: auto 0;
display: flex;
.shuru1 {
width: 280rpx;
text-align: right;
}
.shurupla {
color: #999999;
font-size: 28rpx;
}
.arrow {
width: 14rpx;
height: 25rpx;
background-color: #999999;
margin: auto 0;
margin-left: 27rpx;
}
}
.shuru {
width: 670rpx;
height: 100rpx;
border-bottom: 2rpx solid #E8E8E8;
margin: 0 auto;
display: flex;
justify-content: space-between;
line-height: 100rpx;
font-size: 28rpx;
.left {
color: #333333;
}
.right {
margin: auto 0;
display: flex;
.shuru1 {
width: 280rpx;
text-align: right;
}
.shurupla {
color: #999999;
font-size: 28rpx;
}
.arrow {
width: 14rpx;
height: 25rpx;
background-color: #999999;
margin: auto 0;
margin-left: 27rpx;
}
}
}

View File

@ -1,11 +1,11 @@
<view class="shuru">
<view class="left">{{left}}</view>
<view class="right"wx:if="{{ifarrow}}" bindtap="choose">
<text class="shurupla">{{right}}</text>
<view class="arrow"></view>
</view>
<view class="right" wx:else>
<input type="text" placeholder-class="shurupla" class="shuru1" placeholder="{{right}}" value="" bindinput="get" no="0" data-left="{{left}}"/>
</view>
<view class="shuru">
<view class="left">{{left}}</view>
<view class="right"wx:if="{{ifarrow}}" bindtap="choose">
<text class="shurupla">{{right}}</text>
<view class="arrow"></view>
</view>
<view class="right" wx:else>
<input type="text" placeholder-class="shurupla" class="shuru1" placeholder="{{right}}" value="" bindinput="get" no="0" data-left="{{left}}"/>
</view>
</view>

View File

@ -1,37 +1,37 @@
.shuru {
width: 670rpx;
height: 100rpx;
border-bottom: 2rpx solid #E8E8E8;
margin: 0 auto;
display: flex;
justify-content: space-between;
line-height: 100rpx;
font-size: 28rpx;
}
.shuru .left {
color: #333333;
}
.shuru .right {
margin: auto 0;
display: flex;
}
.shuru .right .shuru1 {
width: 280rpx;
text-align: right;
}
.shuru .right .shurupla {
color: #999999;
font-size: 28rpx;
}
.shuru .right .arrow {
width: 14rpx;
height: 25rpx;
background-color: #999999;
margin: auto 0;
margin-left: 27rpx;
}
.shuru {
width: 670rpx;
height: 100rpx;
border-bottom: 2rpx solid #E8E8E8;
margin: 0 auto;
display: flex;
justify-content: space-between;
line-height: 100rpx;
font-size: 28rpx;
}
.shuru .left {
color: #333333;
}
.shuru .right {
margin: auto 0;
display: flex;
}
.shuru .right .shuru1 {
width: 280rpx;
text-align: right;
}
.shuru .right .shurupla {
color: #999999;
font-size: 28rpx;
}
.shuru .right .arrow {
width: 14rpx;
height: 25rpx;
background-color: #999999;
margin: auto 0;
margin-left: 27rpx;
}

View File

@ -1,23 +1,23 @@
// components/chooseaddr/addradd/addradd.js
Component({
/**
* 组件的属性列表
*/
properties: {
text: String
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
}
// components/chooseaddr/addradd/addradd.js
Component({
/**
* 组件的属性列表
*/
properties: {
text: String
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
}
})

View File

@ -1,4 +1,4 @@
{
"component": true,
"usingComponents": {}
{
"component": true,
"usingComponents": {}
}

View File

@ -1,11 +1,11 @@
.btn {
width: 650rpx;
height: 98rpx;
background: #09BB07;
border-radius: 10rpx;
margin: 0 auto;
font-size: 36rpx;
color: white;
line-height: 98rpx;
text-align: center;
.btn {
width: 650rpx;
height: 98rpx;
background: #09BB07;
border-radius: 10rpx;
margin: 0 auto;
font-size: 36rpx;
color: white;
line-height: 98rpx;
text-align: center;
}

View File

@ -1,35 +1,35 @@
// components/chooseaddr/address/address.js
Component({
/**
* 组件的属性列表
*/
properties: {
username:String,
tel:String,
address:String,
isdefault:String,
youzheng:String,
addressid:String
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
del(){
// console.log("del")
this.triggerEvent('delete')
},
setdefault(){
this.triggerEvent('default',this.data.addressid)
}
}
})
// components/chooseaddr/address/address.js
Component({
/**
* 组件的属性列表
*/
properties: {
username:String,
tel:String,
address:String,
isdefault:String,
youzheng:String,
addressid:String
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
del(){
// console.log("del")
this.triggerEvent('delete')
},
setdefault(){
this.triggerEvent('default',this.data.addressid)
}
}
})

View File

@ -1,4 +1,4 @@
{
"component": true,
"usingComponents": {}
{
"component": true,
"usingComponents": {}
}

View File

@ -1,79 +1,79 @@
.address {
width: 690rpx;
height: 192rpx;
border-bottom: 2rpx solid #EAEAEA;
display: flex;
justify-content: space-between;
padding-bottom: 27rpx;
;
.left {
width: 576rpx;
height: 119rpx;
.userinfo {
color: #333333;
font-size: 26rpx;
text-indent: 16xrpx;
margin-top: 41rpx;
display: flex;
justify-content: space-between;
.username{
display: flex;
flex-wrap: nowrap;
.username1{
width: 140rpx;
overflow: hidden;
}
.tel{
margin-right: 6rpx;
}
}
}
.addr {
color: #999999;
font-size: 24rpx;
text-indent: 30rpx;
margin-top: 32rpx;
width: 551rpx;
margin-left: 20rpx;
// display: flex;
.select {
width: 26rpx;
height: 26rpx;
margin: auto 0;
border-radius: 50%;
background-color: #EAEAEA;
float: left;
margin-right: -14rpx;
}
.selected {
background-color: #47C877;
}
.default {
// margin-left: 12rpx;
font-size: 24rpx;
text-indent: 16rpx;
line-height: 60rpx;
float: left;
}
.path {
// float: left;
line-height: 25rpx;
}
}
}
.line {
width: 2rpx;
height: 75rpx;
background: rgba(211, 211, 211, 1);
margin: auto 0;
}
.right {
color: #666666;
font-size: 24rpx;
line-height: 192rpx;
margin-left: 30rpx;
margin-right: 21rpx;
}
.address {
width: 690rpx;
height: 192rpx;
border-bottom: 2rpx solid #EAEAEA;
display: flex;
justify-content: space-between;
padding-bottom: 27rpx;
;
.left {
width: 576rpx;
height: 119rpx;
.userinfo {
color: #333333;
font-size: 26rpx;
text-indent: 16xrpx;
margin-top: 41rpx;
display: flex;
justify-content: space-between;
.username{
display: flex;
flex-wrap: nowrap;
.username1{
width: 140rpx;
overflow: hidden;
}
.tel{
margin-right: 6rpx;
}
}
}
.addr {
color: #999999;
font-size: 24rpx;
text-indent: 30rpx;
margin-top: 32rpx;
width: 551rpx;
margin-left: 20rpx;
// display: flex;
.select {
width: 26rpx;
height: 26rpx;
margin: auto 0;
border-radius: 50%;
background-color: #EAEAEA;
float: left;
margin-right: -14rpx;
}
.selected {
background-color: #47C877;
}
.default {
// margin-left: 12rpx;
font-size: 24rpx;
text-indent: 16rpx;
line-height: 60rpx;
float: left;
}
.path {
// float: left;
line-height: 25rpx;
}
}
}
.line {
width: 2rpx;
height: 75rpx;
background: rgba(211, 211, 211, 1);
margin: auto 0;
}
.right {
color: #666666;
font-size: 24rpx;
line-height: 192rpx;
margin-left: 30rpx;
margin-right: 21rpx;
}
}

View File

@ -1,30 +1,30 @@
<view class="address">
<view class="left">
<view class="userinfo">
<view class="username">
<view class="username1">{{username}}</view>
<view class="tel">{{tel}}</view>
</view>
<view>邮政编码:{{youzheng}}</view>
</view>
<view class="addr" wx:if="{{isdefault=='1'}}">
<view class="select selected" bindtap="setdefault"></view>
<!-- <view class="default"></view> -->
<view class="path">
<text>默认</text>
{{address}}
</view>
</view>
<view class="addr" wx:else>
<view class="select" bindtap="setdefault"></view>
<!-- <view class="default"></view> -->
<view class="path">
<text>设为默认</text>
{{address}}
</view>
</view>
</view>
<view class="line"></view>
<view class="right" bindtap="del">删除</view>
<view class="address">
<view class="left">
<view class="userinfo">
<view class="username">
<view class="username1">{{username}}</view>
<view class="tel">{{tel}}</view>
</view>
<view>邮政编码:{{youzheng}}</view>
</view>
<view class="addr" wx:if="{{isdefault=='1'}}">
<view class="select selected" bindtap="setdefault"></view>
<!-- <view class="default"></view> -->
<view class="path">
<text>默认</text>
{{address}}
</view>
</view>
<view class="addr" wx:else>
<view class="select" bindtap="setdefault"></view>
<!-- <view class="default"></view> -->
<view class="path">
<text>设为默认</text>
{{address}}
</view>
</view>
</view>
<view class="line"></view>
<view class="right" bindtap="del">删除</view>
</view>

View File

@ -1,85 +1,85 @@
.address {
width: 690rpx;
height: 192rpx;
border-bottom: 2rpx solid #EAEAEA;
display: flex;
justify-content: space-between;
padding-bottom: 27rpx;
}
.address .left {
width: 576rpx;
height: 119rpx;
}
.address .left .userinfo {
color: #333333;
font-size: 26rpx;
text-indent: 16xrpx;
margin-top: 41rpx;
display: flex;
justify-content: space-between;
}
.address .left .userinfo .username {
display: flex;
flex-wrap: nowrap;
}
.address .left .userinfo .username .username1 {
width: 140rpx;
overflow: hidden;
}
.address .left .userinfo .username .tel {
margin-right: 6rpx;
}
.address .left .addr {
color: #999999;
font-size: 24rpx;
text-indent: 30rpx;
margin-top: 32rpx;
width: 551rpx;
margin-left: 20rpx;
}
.address .left .addr .select {
width: 26rpx;
height: 26rpx;
margin: auto 0;
border-radius: 50%;
background-color: #EAEAEA;
float: left;
margin-right: -14rpx;
}
.address .left .addr .selected {
background-color: #47C877;
}
.address .left .addr .default {
font-size: 24rpx;
text-indent: 16rpx;
line-height: 60rpx;
float: left;
}
.address .left .addr .path {
line-height: 25rpx;
}
.address .line {
width: 2rpx;
height: 75rpx;
background: lightgray;
margin: auto 0;
}
.address .right {
color: #666666;
font-size: 24rpx;
line-height: 192rpx;
margin-left: 30rpx;
margin-right: 21rpx;
}
.address {
width: 690rpx;
height: 192rpx;
border-bottom: 2rpx solid #EAEAEA;
display: flex;
justify-content: space-between;
padding-bottom: 27rpx;
}
.address .left {
width: 576rpx;
height: 119rpx;
}
.address .left .userinfo {
color: #333333;
font-size: 26rpx;
text-indent: 16xrpx;
margin-top: 41rpx;
display: flex;
justify-content: space-between;
}
.address .left .userinfo .username {
display: flex;
flex-wrap: nowrap;
}
.address .left .userinfo .username .username1 {
width: 140rpx;
overflow: hidden;
}
.address .left .userinfo .username .tel {
margin-right: 6rpx;
}
.address .left .addr {
color: #999999;
font-size: 24rpx;
text-indent: 30rpx;
margin-top: 32rpx;
width: 551rpx;
margin-left: 20rpx;
}
.address .left .addr .select {
width: 26rpx;
height: 26rpx;
margin: auto 0;
border-radius: 50%;
background-color: #EAEAEA;
float: left;
margin-right: -14rpx;
}
.address .left .addr .selected {
background-color: #47C877;
}
.address .left .addr .default {
font-size: 24rpx;
text-indent: 16rpx;
line-height: 60rpx;
float: left;
}
.address .left .addr .path {
line-height: 25rpx;
}
.address .line {
width: 2rpx;
height: 75rpx;
background: lightgray;
margin: auto 0;
}
.address .right {
color: #666666;
font-size: 24rpx;
line-height: 192rpx;
margin-left: 30rpx;
margin-right: 21rpx;
}

View File

@ -1,14 +1,14 @@
Component({
properties: {
list:Array
},
data: {},
methods: {
todetail(a) {
console.log(a)
wx.navigateTo({
url: "/pages/product/product?shopid=" + a.currentTarget.dataset.id
})
}
}
Component({
properties: {
list:Array
},
data: {},
methods: {
todetail(a) {
console.log(a)
wx.navigateTo({
url: "/pages/product/product?shopid=" + a.currentTarget.dataset.id
})
}
}
})

View File

@ -1,6 +1,6 @@
{
"component": true,
"usingComponents": {
}
{
"component": true,
"usingComponents": {
}
}

View File

@ -1,63 +1,63 @@
.list {
padding-left: 20rpx;
width: 572rpx;
box-sizing: border-box;
height: 100vh;
.commodity {
width: 552rpx;
// height: 143rpx;
// margin-top: 32rpx;
display: flex;
align-items: center;
.content {
width: 552rpx;
height: 100%;
display: flex;
align-items: center;
// box-shadow: 0 0 24rpx 0 rgba(227, 227, 227, 0.4);
border-bottom: 2rpx solid #eaeaea;
padding: 30rpx 0;
.imgthumb {
width: 105rpx;
height: 105rpx;
margin-left: 40rpx;
background-color: #333;
}
.introduce {
width: 336rpx;
margin-left: 40rpx;
display: flex;
flex-direction: column;
.towline {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
> text {
font-size: 22rpx;
color: #333;
margin-bottom: 22rpx;
}
> view {
display: flex;
align-items: center;
justify-content: space-between;
> text:first-child {
font-size: 30rpx;
color: #dec499;
}
> text:last-child {
font-size: 22rpx;
color: #999;
}
}
}
}
}
}
.list {
padding-left: 20rpx;
width: 572rpx;
box-sizing: border-box;
height: 100vh;
.commodity {
width: 552rpx;
// height: 143rpx;
// margin-top: 32rpx;
display: flex;
align-items: center;
.content {
width: 552rpx;
height: 100%;
display: flex;
align-items: center;
// box-shadow: 0 0 24rpx 0 rgba(227, 227, 227, 0.4);
border-bottom: 2rpx solid #eaeaea;
padding: 30rpx 0;
.imgthumb {
width: 105rpx;
height: 105rpx;
margin-left: 40rpx;
background-color: #333;
}
.introduce {
width: 336rpx;
margin-left: 40rpx;
display: flex;
flex-direction: column;
.towline {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
> text {
font-size: 22rpx;
color: #333;
margin-bottom: 22rpx;
}
> view {
display: flex;
align-items: center;
justify-content: space-between;
> text:first-child {
font-size: 30rpx;
color: #dec499;
}
> text:last-child {
font-size: 22rpx;
color: #999;
}
}
}
}
}
}

View File

@ -1,38 +1,38 @@
<scroll-view class="list" scroll-y="{{true}}" >
<view class="commodity" bindtap="todetail" wx:for="{{list}}" wx:for-index="j" wx:key="{{j}}" data-id="{{item.goods_id}}">
<view class="content">
<image class="imgthumb " src="{{item.image}}"></image>
<view class="introduce">
<text class="towline">{{item.goods_name}}</text>
<view>
<text>¥{{item.shop_price}}</text>
<text>加入购物车</text>
</view>
</view>
</view>
</view>
<!-- <view class="commodity" bindtap="todetail">
<view class="content">
<image class="imgthumb "></image>
<view class="introduce">
<text>产品名称产品名称产品名称产品名称产品名称产品</text>
<view>
<text>¥657</text>
<text>加入购物车</text>
</view>
</view>
</view>
</view>
<view class="commodity" bindtap="todetail">
<view class="content">
<image class="imgthumb "></image>
<view class="introduce">
<text>产品名称产品名称产品名称产品名称产品名称产品</text>
<view>
<text>¥657</text>
<text>加入购物车</text>
</view>
</view>
</view>
</view> -->
<scroll-view class="list" scroll-y="{{true}}" >
<view class="commodity" bindtap="todetail" wx:for="{{list}}" wx:for-index="j" wx:key="{{j}}" data-id="{{item.goods_id}}">
<view class="content">
<image class="imgthumb " src="{{item.image}}"></image>
<view class="introduce">
<text class="towline">{{item.goods_name}}</text>
<view>
<text>¥{{item.shop_price}}</text>
<text>加入购物车</text>
</view>
</view>
</view>
</view>
<!-- <view class="commodity" bindtap="todetail">
<view class="content">
<image class="imgthumb "></image>
<view class="introduce">
<text>产品名称产品名称产品名称产品名称产品名称产品</text>
<view>
<text>¥657</text>
<text>加入购物车</text>
</view>
</view>
</view>
</view>
<view class="commodity" bindtap="todetail">
<view class="content">
<image class="imgthumb "></image>
<view class="introduce">
<text>产品名称产品名称产品名称产品名称产品名称产品</text>
<view>
<text>¥657</text>
<text>加入购物车</text>
</view>
</view>
</view>
</view> -->
</scroll-view>

View File

@ -1,18 +1,18 @@
Component({
properties: {
types: Array
},
data: {
id: 0
},
methods: {
select(a) {
// console.log(this.data.a.target.dataset.id)
// console.log(a.target.dataset.id)
this.setData({
id: a.target.dataset.id
})
this.triggerEvent("select",{id:a.target.dataset.id})
}
}
Component({
properties: {
types: Array
},
data: {
id: 0
},
methods: {
select(a) {
// console.log(this.data.a.target.dataset.id)
// console.log(a.target.dataset.id)
this.setData({
id: a.target.dataset.id
})
this.triggerEvent("select",{id:a.target.dataset.id})
}
}
})

View File

@ -1,6 +1,6 @@
{
"component": true,
"usingComponents": {
}
{
"component": true,
"usingComponents": {
}
}

View File

@ -1,20 +1,20 @@
.navigation {
width: 188rpx;
// margin-right: 2rpx;
border-right: 2rpx solid #eaeaea;
max-height: 100vh;
view{
height: 97rpx;
font-size: 28rpx;
color: #333;
border-bottom: 2rpx solid #eaeaea;
line-height: 97rpx;
font-weight: bold;
text-align: center;
box-sizing: border-box;
}
.on{
border-left: 5rpx solid #56CC84;
color:#56CC84;
}
.navigation {
width: 188rpx;
// margin-right: 2rpx;
border-right: 2rpx solid #eaeaea;
max-height: 100vh;
view{
height: 97rpx;
font-size: 28rpx;
color: #333;
border-bottom: 2rpx solid #eaeaea;
line-height: 97rpx;
font-weight: bold;
text-align: center;
box-sizing: border-box;
}
.on{
border-left: 5rpx solid #56CC84;
color:#56CC84;
}
}

View File

@ -1,11 +1,11 @@
<scroll-view class="navigation" scroll-y="{{true}}" bind:tap="select" >
<view wx:for="{{types}}" data-id="{{index}}" class="{{id == index?'on' : ''}}">{{item.name}}</view>
<!-- <view data-id="0" class="{{id == 0?'on' : ''}}">热门商品</view>
<view data-id="1" class="{{id == 1?'on' : ''}}">美容健身</view>
<view data-id="2" class="{{id == 2?'on' : ''}}">美容健身</view>
<view data-id="3" class="{{id == 3?'on' : ''}}">美容健身</view>
<view data-id="4" class="{{id == 4?'on' : ''}}">美容健身</view>
<view data-id="5" class="{{id == 5?'on' : ''}}">美容健身</view>
<view data-id="6" class="{{id == 6?'on' : ''}}">美容健身</view>
<view data-id="7" class="{{id == 7?'on' : ''}}">美容健身</view> -->
<scroll-view class="navigation" scroll-y="{{true}}" bind:tap="select" >
<view wx:for="{{types}}" data-id="{{index}}" class="{{id == index?'on' : ''}}">{{item.name}}</view>
<!-- <view data-id="0" class="{{id == 0?'on' : ''}}">热门商品</view>
<view data-id="1" class="{{id == 1?'on' : ''}}">美容健身</view>
<view data-id="2" class="{{id == 2?'on' : ''}}">美容健身</view>
<view data-id="3" class="{{id == 3?'on' : ''}}">美容健身</view>
<view data-id="4" class="{{id == 4?'on' : ''}}">美容健身</view>
<view data-id="5" class="{{id == 5?'on' : ''}}">美容健身</view>
<view data-id="6" class="{{id == 6?'on' : ''}}">美容健身</view>
<view data-id="7" class="{{id == 7?'on' : ''}}">美容健身</view> -->
</scroll-view>

View File

@ -1,18 +1,18 @@
Component({
properties: {
img:String,
title:String,
id:String,
price:String,
shopid:String
},
data: {},
methods: {
gotodetail(e) {
console.log(e.currentTarget.dataset.id)
wx.navigateTo({
url: "/pages/product/product?shopid="+e.currentTarget.dataset.id
})
}
}
Component({
properties: {
img:String,
title:String,
id:String,
price:String,
shopid:String
},
data: {},
methods: {
gotodetail(e) {
console.log(e.currentTarget.dataset.id)
wx.navigateTo({
url: "/pages/product/product?shopid="+e.currentTarget.dataset.id
})
}
}
})

View File

@ -1,3 +1,3 @@
{
"component": true
{
"component": true
}

View File

@ -1,58 +1,58 @@
.commodity {
width: 623rpx;
height: 143rpx;
margin-top: 32rpx;
display: flex;
align-items: center;
.content {
width: 614rpx;
height: 100%;
display: flex;
align-items: center;
box-shadow: 0 0 24rpx 0 rgba(227, 227, 227, 0.4);
.imgthumb {
width: 105rpx;
height: 105rpx;
margin-left: 40rpx;
background-color: #333;
}
.introduce {
width: 410rpx;
margin-left: 40rpx;
display: flex;
flex-direction: column;
> text {
font-size: 26rpx;
color: #333;
margin-bottom: 22rpx;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
> view {
display: flex;
align-items: center;
justify-content: space-between;
> text:first-child {
font-size: 30rpx;
color: #dec499;
}
> text:last-child {
font-size: 22rpx;
color: #999;
}
}
}
}
.decorate {
width: 9rpx;
height: 102rpx;
background-color: #3fb66e;
}
}
.commodity {
width: 623rpx;
height: 143rpx;
margin-top: 32rpx;
display: flex;
align-items: center;
.content {
width: 614rpx;
height: 100%;
display: flex;
align-items: center;
box-shadow: 0 0 24rpx 0 rgba(227, 227, 227, 0.4);
.imgthumb {
width: 105rpx;
height: 105rpx;
margin-left: 40rpx;
background-color: #333;
}
.introduce {
width: 410rpx;
margin-left: 40rpx;
display: flex;
flex-direction: column;
> text {
font-size: 26rpx;
color: #333;
margin-bottom: 22rpx;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
> view {
display: flex;
align-items: center;
justify-content: space-between;
> text:first-child {
font-size: 30rpx;
color: #dec499;
}
> text:last-child {
font-size: 22rpx;
color: #999;
}
}
}
}
.decorate {
width: 9rpx;
height: 102rpx;
background-color: #3fb66e;
}
}

View File

@ -1,14 +1,14 @@
<view class="commodity" bindtap="gotodetail" data-id="{{shopid}}">
<view class="content">
<image class="imgthumb " src="{{img}}"></image>
<view class="introduce">
<text class="towline">{{title}}</text>
<view>
<text>¥{{price}}</text>
<text>加入购物车</text>
</view>
</view>
</view>
<view class="decorate"></view>
<view class="commodity" bindtap="gotodetail" data-id="{{shopid}}">
<view class="content">
<image class="imgthumb " src="{{img}}"></image>
<view class="introduce">
<text class="towline">{{title}}</text>
<view>
<text>¥{{price}}</text>
<text>加入购物车</text>
</view>
</view>
</view>
<view class="decorate"></view>
</view>

View File

@ -1,9 +1,9 @@
Component({
properties: {
list:Array
},
data: {
},
methods: {
}
Component({
properties: {
list:Array
},
data: {
},
methods: {
}
})

View File

@ -1,6 +1,6 @@
{
"component": true,
"usingComponents": {
"commodity":"./commodity/index"
}
{
"component": true,
"usingComponents": {
"commodity":"./commodity/index"
}
}

View File

@ -1,12 +1,12 @@
.list {
width: 623rpx;
margin-top: 36rpx;
.title {
font-size: 30rpx;
color: #333;
font-weight: bold;
margin-left: 32rpx;
// margin-bottom: 32rpx;
}
.list {
width: 623rpx;
margin-top: 36rpx;
.title {
font-size: 30rpx;
color: #333;
font-weight: bold;
margin-left: 32rpx;
// margin-bottom: 32rpx;
}
}

View File

@ -1,4 +1,4 @@
<view class="list">
<text class="title">热门商品</text>
<commodity wx:for="{{list}}" title="{{item.goods_name}}" price="{{item.shop_price}}" img="{{item.image}}" shopid="{{item.goods_id}}"></commodity>
<view class="list">
<text class="title">热门商品</text>
<commodity wx:for="{{list}}" title="{{item.goods_name}}" price="{{item.shop_price}}" img="{{item.image}}" shopid="{{item.goods_id}}"></commodity>
</view>

View File

@ -1,8 +1,8 @@
Component({
properties: {
},
data: {
},
methods: {
}
Component({
properties: {
},
data: {
},
methods: {
}
})

View File

@ -1,3 +1,3 @@
{
"component": true
{
"component": true
}

View File

@ -1,23 +1,23 @@
.search{
width: 613rpx;
height: 76rpx;
margin-top: 30rpx;
box-sizing: border-box;
border-radius: 15rpx;
display: flex;
border:1rpx solid rgba(198,198,198,1);
>image{
width: 42rpx;
height: 42rpx;
background-color: #000;
margin-left: 40rpx;
margin-top: 17rpx;
}
>input{
height: 30rpx;
width: 480rpx;
margin-top: 20rpx;
margin-left: 17rpx;
font-size: 30rpx;
}
.search{
width: 613rpx;
height: 76rpx;
margin-top: 30rpx;
box-sizing: border-box;
border-radius: 15rpx;
display: flex;
border:1rpx solid rgba(198,198,198,1);
>image{
width: 42rpx;
height: 42rpx;
background-color: #000;
margin-left: 40rpx;
margin-top: 17rpx;
}
>input{
height: 30rpx;
width: 480rpx;
margin-top: 20rpx;
margin-left: 17rpx;
font-size: 30rpx;
}
}

View File

@ -1,4 +1,4 @@
<view class="search">
<image></image>
<input type="text" placeholder="输入您要搜索的产品" />
<view class="search">
<image></image>
<input type="text" placeholder="输入您要搜索的产品" />
</view>

View File

@ -1,23 +1,23 @@
// components/member/membershop/membershop.js
Component({
/**
* 组件的属性列表
*/
properties: {
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
}
})
// components/member/membershop/membershop.js
Component({
/**
* 组件的属性列表
*/
properties: {
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
}
})

View File

@ -1,4 +1,4 @@
{
"component": true,
"usingComponents": {}
{
"component": true,
"usingComponents": {}
}

View File

@ -1,30 +1,30 @@
.membershop {
width: 373rpx;
height: 557rpx;
background-color: #FBFBFB;
.pic {
width: 113rpx;
height: 256rpx;
background-color: white;
margin: 0 auto;
position: relative;
top: 64rpx;
left: 121rpx;
}
.shopname {
width: 273rpx;
color: #333333;
font-size: 30rpx;
text-align: center;
position: relative;
top: 111rpx;
margin: 0 auto;
}
.pri {
position: relative;
top: 127rpx;
text-align: center;
font-size: 30rpx;
color: #09BB07;
}
.membershop {
width: 373rpx;
height: 557rpx;
background-color: #FBFBFB;
.pic {
width: 113rpx;
height: 256rpx;
background-color: white;
margin: 0 auto;
position: relative;
top: 64rpx;
left: 121rpx;
}
.shopname {
width: 273rpx;
color: #333333;
font-size: 30rpx;
text-align: center;
position: relative;
top: 111rpx;
margin: 0 auto;
}
.pri {
position: relative;
top: 127rpx;
text-align: center;
font-size: 30rpx;
color: #09BB07;
}
}

View File

@ -1,6 +1,6 @@
<view class="membershop">
<image class="pic"></image>
<view class="shopname">产品名产品名产品名
产品名产品名</view>
<view class="pri">$123</view>
<view class="membershop">
<image class="pic"></image>
<view class="shopname">产品名产品名产品名
产品名产品名</view>
<view class="pri">$123</view>
</view>

View File

@ -1,33 +1,33 @@
.membershop {
width: 373rpx;
height: 557rpx;
background-color: #FBFBFB;
}
.membershop .pic {
width: 113rpx;
height: 256rpx;
background-color: white;
margin: 0 auto;
position: relative;
top: 64rpx;
left: 121rpx;
}
.membershop .shopname {
width: 273rpx;
color: #333333;
font-size: 30rpx;
text-align: center;
position: relative;
top: 111rpx;
margin: 0 auto;
}
.membershop .pri {
position: relative;
top: 127rpx;
text-align: center;
font-size: 30rpx;
color: #09BB07;
}
.membershop {
width: 373rpx;
height: 557rpx;
background-color: #FBFBFB;
}
.membershop .pic {
width: 113rpx;
height: 256rpx;
background-color: white;
margin: 0 auto;
position: relative;
top: 64rpx;
left: 121rpx;
}
.membershop .shopname {
width: 273rpx;
color: #333333;
font-size: 30rpx;
text-align: center;
position: relative;
top: 111rpx;
margin: 0 auto;
}
.membershop .pri {
position: relative;
top: 127rpx;
text-align: center;
font-size: 30rpx;
color: #09BB07;
}

View File

@ -1,23 +1,23 @@
// components/member/membertop/membertop.js
Component({
/**
* 组件的属性列表
*/
properties: {
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
}
})
// components/member/membertop/membertop.js
Component({
/**
* 组件的属性列表
*/
properties: {
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
}
})

View File

@ -1,4 +1,4 @@
{
"component": true,
"usingComponents": {}
{
"component": true,
"usingComponents": {}
}

View File

@ -1,9 +1,9 @@
.membertop {
width: 100%;
height: 86rpx;
border-top: 2rpx solid #E8E8E8;
color: #999999;
font-size: 24rpx;
line-height: 86rpx;
text-indent: 30rpx;
.membertop {
width: 100%;
height: 86rpx;
border-top: 2rpx solid #E8E8E8;
color: #999999;
font-size: 24rpx;
line-height: 86rpx;
text-indent: 30rpx;
}

View File

@ -1,3 +1,3 @@
<view class="membertop">
购买下方商品成为会员
<view class="membertop">
购买下方商品成为会员
</view>

View File

@ -1,9 +1,9 @@
.membertop {
width: 100%;
height: 86rpx;
border-top: 2rpx solid #E8E8E8;
color: #999999;
font-size: 24rpx;
line-height: 86rpx;
text-indent: 30rpx;
}
.membertop {
width: 100%;
height: 86rpx;
border-top: 2rpx solid #E8E8E8;
color: #999999;
font-size: 24rpx;
line-height: 86rpx;
text-indent: 30rpx;
}

View File

@ -1,11 +1,11 @@
Component({
properties: {},
data: {},
methods: {
todetail() {
wx.navigateTo({
url: "/pages/undetermined/undetermined"
})
}
}
Component({
properties: {},
data: {},
methods: {
todetail() {
wx.navigateTo({
url: "/pages/undetermined/undetermined"
})
}
}
})

View File

@ -1,6 +1,6 @@
{
"component": true,
"usingComponents": {
"message":"../message/index"
}
{
"component": true,
"usingComponents": {
"message":"../message/index"
}
}

View File

@ -1,81 +1,81 @@
.commodity {
margin-top: 20rpx;
background-color: #fff;
.message {
padding: 35rpx;
display: flex;
align-items: center;
border-bottom: 1rpx solid #F2F2F2;
.image {
width: 141rpx;
height: 150rpx;
background-color: #000;
margin-left: 34rpx;
}
.introduce {
margin-left: 32rpx;
height: 120rpx;
display: flex;
flex-direction: column;
justify-content: space-between;
width: 362rpx;
.title {
font-size: 28rpx;
color: #333;
}
.count {
font-size: 24rpx;
color: #999;
display: flex;
> view {
margin-right: 27rpx;
}
}
}
.parameter {
width: 150rpx;
height: 120rpx;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: flex-end;
}
}
.aggregate{
display: flex;
box-sizing: border-box;
padding: 30rpx;
justify-content: flex-end;
font-size: 22rpx;
color: #999;
height: 78rpx;
border-bottom: 1rpx solid #F2F2F2;
>text{
color: #333;
margin: 0 5rpx;
}
}
.operation{
height: 84rpx;
display: flex;
justify-content: flex-end;
padding:0 30rpx;
align-items: center;
.button{
width: 133rpx;
height: 51rpx;
border:2rpx solid #999999;
border-radius: 26rpx;
text-align: center;
font-size: 22rpx;
color:#999999;
line-height: 51rpx;
margin-right: 8rpx;
}
.hlight{
border:2rpx solid rgba(71,200,119,1);
color: #47C877;
}
}
.commodity {
margin-top: 20rpx;
background-color: #fff;
.message {
padding: 35rpx;
display: flex;
align-items: center;
border-bottom: 1rpx solid #F2F2F2;
.image {
width: 141rpx;
height: 150rpx;
background-color: #000;
margin-left: 34rpx;
}
.introduce {
margin-left: 32rpx;
height: 120rpx;
display: flex;
flex-direction: column;
justify-content: space-between;
width: 362rpx;
.title {
font-size: 28rpx;
color: #333;
}
.count {
font-size: 24rpx;
color: #999;
display: flex;
> view {
margin-right: 27rpx;
}
}
}
.parameter {
width: 150rpx;
height: 120rpx;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: flex-end;
}
}
.aggregate{
display: flex;
box-sizing: border-box;
padding: 30rpx;
justify-content: flex-end;
font-size: 22rpx;
color: #999;
height: 78rpx;
border-bottom: 1rpx solid #F2F2F2;
>text{
color: #333;
margin: 0 5rpx;
}
}
.operation{
height: 84rpx;
display: flex;
justify-content: flex-end;
padding:0 30rpx;
align-items: center;
.button{
width: 133rpx;
height: 51rpx;
border:2rpx solid #999999;
border-radius: 26rpx;
text-align: center;
font-size: 22rpx;
color:#999999;
line-height: 51rpx;
margin-right: 8rpx;
}
.hlight{
border:2rpx solid rgba(71,200,119,1);
color: #47C877;
}
}
}

View File

@ -1,14 +1,14 @@
<view class="commodity" bindtap="todetail">
<message></message>
<view class="aggregate">
共计1件商品 合计:
<text>¥29.80</text>
(含运费¥0.00)
</view>
<view class="operation">
<view class="button">评价</view>
<view class="button hlight">评价</view>
</view>
<view class="commodity" bindtap="todetail">
<message></message>
<view class="aggregate">
共计1件商品 合计:
<text>¥29.80</text>
(含运费¥0.00)
</view>
<view class="operation">
<view class="button">评价</view>
<view class="button hlight">评价</view>
</view>
</view>

View File

@ -1,8 +1,8 @@
Component({
properties: {
},
data: {
},
methods: {
}
Component({
properties: {
},
data: {
},
methods: {
}
})

View File

@ -1,3 +1,3 @@
{
"component": true
{
"component": true
}

View File

@ -1,40 +1,40 @@
.message {
padding: 35rpx;
display: flex;
align-items: center;
border-bottom: 1rpx solid #F2F2F2;
.image {
width: 141rpx;
height: 150rpx;
background-color: #000;
margin-left: 34rpx;
}
.introduce {
margin-left: 32rpx;
height: 120rpx;
display: flex;
flex-direction: column;
justify-content: space-between;
width: 362rpx;
.title {
font-size: 28rpx;
color: #333;
}
.count {
font-size: 24rpx;
color: #999;
display: flex;
> view {
margin-right: 27rpx;
}
}
}
.parameter {
width: 150rpx;
height: 120rpx;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: flex-end;
}
.message {
padding: 35rpx;
display: flex;
align-items: center;
border-bottom: 1rpx solid #F2F2F2;
.image {
width: 141rpx;
height: 150rpx;
background-color: #000;
margin-left: 34rpx;
}
.introduce {
margin-left: 32rpx;
height: 120rpx;
display: flex;
flex-direction: column;
justify-content: space-between;
width: 362rpx;
.title {
font-size: 28rpx;
color: #333;
}
.count {
font-size: 24rpx;
color: #999;
display: flex;
> view {
margin-right: 27rpx;
}
}
}
.parameter {
width: 150rpx;
height: 120rpx;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: flex-end;
}
}

View File

@ -1,14 +1,14 @@
<view class="message">
<image class="image"></image>
<view class="introduce">
<view class="title">001|德国双心药房版 胶原蛋白美容口服液养颜</view>
<view class="count">
<view>30只</view>
<view>1.0356kg</view>
</view>
</view>
<view class="parameter">
<view class="price">¥29.80</view>
<view class="num">x2</view>
</view>
<view class="message">
<image class="image"></image>
<view class="introduce">
<view class="title">001|德国双心药房版 胶原蛋白美容口服液养颜</view>
<view class="count">
<view>30只</view>
<view>1.0356kg</view>
</view>
</view>
<view class="parameter">
<view class="price">¥29.80</view>
<view class="num">x2</view>
</view>
</view>

View File

@ -1,8 +1,8 @@
Component({
properties: {
},
data: {
},
methods: {
}
Component({
properties: {
},
data: {
},
methods: {
}
})

View File

@ -1,8 +1,8 @@
{
"component": true,
"usingComponents": {
"commodity": "../commodity",
"van-tab": "../utils/dist/tab/index",
"van-tabs": "../utils/dist/tabs/index"
}
{
"component": true,
"usingComponents": {
"commodity": "../commodity",
"van-tab": "../utils/dist/tab/index",
"van-tabs": "../utils/dist/tabs/index"
}
}

View File

@ -1,3 +1,3 @@
.tab {
width: 750rpx;
.tab {
width: 750rpx;
}

View File

@ -1,9 +1,9 @@
<van-tabs class="tab" swipe-threshold="5">
<van-tab title="待付款">
<commodity></commodity>
</van-tab>
<van-tab title="代发货"></van-tab>
<van-tab title="待收货"> </van-tab>
<van-tab title="已完成"> </van-tab>
<van-tab title="售后"> </van-tab>
<van-tabs class="tab" swipe-threshold="5">
<van-tab title="待付款">
<commodity></commodity>
</van-tab>
<van-tab title="代发货"></van-tab>
<van-tab title="待收货"> </van-tab>
<van-tab title="已完成"> </van-tab>
<van-tab title="售后"> </van-tab>
</van-tabs>

View File

@ -1 +1 @@
.tab{width:750rpx}
.tab{width:750rpx}

View File

@ -1,23 +1,23 @@
// components/orderconfirm/orderagreement/orderagreement.js
Component({
/**
* 组件的属性列表
*/
properties: {
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
}
})
// components/orderconfirm/orderagreement/orderagreement.js
Component({
/**
* 组件的属性列表
*/
properties: {
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
}
})

View File

@ -1,4 +1,4 @@
{
"component": true,
"usingComponents": {}
{
"component": true,
"usingComponents": {}
}

View File

@ -1,19 +1,19 @@
.agree {
width: 690rpx;
// height: 96rpx;
line-height: 96rpx;
display: flex;
// border-bottom: 2rpx solid #EAEAEA;
margin: 0 auto;
color: #999999;
font-size: 26rpx;
.select {
width: 26rpx;
height: 26rpx;
margin: auto 0;
border-radius: 50%;
background-color: #EAEAEA;
margin-right: 25rpx;
margin-left: 31rpx;
}
.agree {
width: 690rpx;
// height: 96rpx;
line-height: 96rpx;
display: flex;
// border-bottom: 2rpx solid #EAEAEA;
margin: 0 auto;
color: #999999;
font-size: 26rpx;
.select {
width: 26rpx;
height: 26rpx;
margin: auto 0;
border-radius: 50%;
background-color: #EAEAEA;
margin-right: 25rpx;
margin-left: 31rpx;
}
}

View File

@ -1,4 +1,4 @@
<view class="agree">
<view class="select"></view>
<text>同意使用条款和隐私政策</text>
<view class="agree">
<view class="select"></view>
<text>同意使用条款和隐私政策</text>
</view>

View File

@ -1,18 +1,18 @@
.agree {
width: 690rpx;
line-height: 96rpx;
display: flex;
margin: 0 auto;
color: #999999;
font-size: 26rpx;
}
.agree .select {
width: 26rpx;
height: 26rpx;
margin: auto 0;
border-radius: 50%;
background-color: #EAEAEA;
margin-right: 25rpx;
margin-left: 31rpx;
}
.agree {
width: 690rpx;
line-height: 96rpx;
display: flex;
margin: 0 auto;
color: #999999;
font-size: 26rpx;
}
.agree .select {
width: 26rpx;
height: 26rpx;
margin: auto 0;
border-radius: 50%;
background-color: #EAEAEA;
margin-right: 25rpx;
margin-left: 31rpx;
}

View File

@ -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")
}
}
})

View File

@ -1,4 +1,4 @@
{
"component": true,
"usingComponents": {}
{
"component": true,
"usingComponents": {}
}

View File

@ -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;
}
}

View File

@ -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>

View File

@ -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;
}

View File

@ -1,27 +1,27 @@
// components/orderconfirm/orderchooseaddr/orderchooseaddr.js
Component({
/**
* 组件的属性列表
*/
properties: {
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
choose() {
wx.navigateTo({
url: "/pages/chooseaddr/chooseaddr"
})
}
}
// components/orderconfirm/orderchooseaddr/orderchooseaddr.js
Component({
/**
* 组件的属性列表
*/
properties: {
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
choose() {
wx.navigateTo({
url: "/pages/chooseaddr/chooseaddr"
})
}
}
})

View File

@ -1,4 +1,4 @@
{
"component": true,
"usingComponents": {}
{
"component": true,
"usingComponents": {}
}

View File

@ -1,33 +1,33 @@
.orderchooseaddr {
width: 690rpx;
height: 148rpx;
margin: 0 auto;
border-bottom: 2rpx solid #EAEAEA;
display: flex;
justify-content: space-between;
.left {
width: 572rpx;
height: 80rpx;
.userinfo {
color: #333333;
font-size: 26rpx;
text-indent: 30rpx;
margin-top: 41rpx;
display: flex;
justify-content: space-between;
}
.addr {
color: #999999;
font-size: 24rpx;
text-indent: 30rpx;
margin-top: 32rpx;
}
}
.right {
width: 17rpx;
height: 30rpx;
background-color: #D3D3D3;
margin: auto 0;
margin-right: 19rpx;
}
.orderchooseaddr {
width: 690rpx;
height: 148rpx;
margin: 0 auto;
border-bottom: 2rpx solid #EAEAEA;
display: flex;
justify-content: space-between;
.left {
width: 572rpx;
height: 80rpx;
.userinfo {
color: #333333;
font-size: 26rpx;
text-indent: 30rpx;
margin-top: 41rpx;
display: flex;
justify-content: space-between;
}
.addr {
color: #999999;
font-size: 24rpx;
text-indent: 30rpx;
margin-top: 32rpx;
}
}
.right {
width: 17rpx;
height: 30rpx;
background-color: #D3D3D3;
margin: auto 0;
margin-right: 19rpx;
}
}

View File

@ -1,12 +1,12 @@
<view class="orderchooseaddr" bindtap="choose">
<view class="left">
<view class="userinfo">
<text class="username">于于宇 15698857895</text>
<text>邮政编码677467</text>
</view>
<view class="addr">
中国大陆 山东省 青岛市 即墨区 纯阳路 某某某小区
</view>
</view>
<view class="right"></view>
<view class="orderchooseaddr" bindtap="choose">
<view class="left">
<view class="userinfo">
<text class="username">于于宇 15698857895</text>
<text>邮政编码677467</text>
</view>
<view class="addr">
中国大陆 山东省 青岛市 即墨区 纯阳路 某某某小区
</view>
</view>
<view class="right"></view>
</view>

View File

@ -1,37 +1,37 @@
.orderchooseaddr {
width: 690rpx;
height: 148rpx;
margin: 0 auto;
border-bottom: 2rpx solid #EAEAEA;
display: flex;
justify-content: space-between;
}
.orderchooseaddr .left {
width: 572rpx;
height: 80rpx;
}
.orderchooseaddr .left .userinfo {
color: #333333;
font-size: 26rpx;
text-indent: 30rpx;
margin-top: 41rpx;
display: flex;
justify-content: space-between;
}
.orderchooseaddr .left .addr {
color: #999999;
font-size: 24rpx;
text-indent: 30rpx;
margin-top: 32rpx;
}
.orderchooseaddr .right {
width: 17rpx;
height: 30rpx;
background-color: #D3D3D3;
margin: auto 0;
margin-right: 19rpx;
}
.orderchooseaddr {
width: 690rpx;
height: 148rpx;
margin: 0 auto;
border-bottom: 2rpx solid #EAEAEA;
display: flex;
justify-content: space-between;
}
.orderchooseaddr .left {
width: 572rpx;
height: 80rpx;
}
.orderchooseaddr .left .userinfo {
color: #333333;
font-size: 26rpx;
text-indent: 30rpx;
margin-top: 41rpx;
display: flex;
justify-content: space-between;
}
.orderchooseaddr .left .addr {
color: #999999;
font-size: 24rpx;
text-indent: 30rpx;
margin-top: 32rpx;
}
.orderchooseaddr .right {
width: 17rpx;
height: 30rpx;
background-color: #D3D3D3;
margin: auto 0;
margin-right: 19rpx;
}

View File

@ -1,23 +1,23 @@
// components/orderconfirm/orderchooseway/orderchooseway.js
Component({
/**
* 组件的属性列表
*/
properties: {
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
}
})
// components/orderconfirm/orderchooseway/orderchooseway.js
Component({
/**
* 组件的属性列表
*/
properties: {
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
}
})

View File

@ -1,4 +1,4 @@
{
"component": true,
"usingComponents": {}
{
"component": true,
"usingComponents": {}
}

View File

@ -1,30 +1,30 @@
.chooseway {
width: 690rpx;
height: 96rpx;
line-height: 96rpx;
display: flex;
border-bottom: 2rpx solid #EAEAEA;
margin: 0 auto;
.item {
display: flex;
margin-right: 90rpx;
.select {
width: 26rpx;
height: 26rpx;
margin: auto 0;
border-radius: 50%;
background-color: #EAEAEA;
}
.selected {
background-color: #47C877;
}
.way {
color: #333333;
font-size: 26rpx;
text-indent: 17rpx;
}
}
.item1 {
margin-left: 31rpx;
}
.chooseway {
width: 690rpx;
height: 96rpx;
line-height: 96rpx;
display: flex;
border-bottom: 2rpx solid #EAEAEA;
margin: 0 auto;
.item {
display: flex;
margin-right: 90rpx;
.select {
width: 26rpx;
height: 26rpx;
margin: auto 0;
border-radius: 50%;
background-color: #EAEAEA;
}
.selected {
background-color: #47C877;
}
.way {
color: #333333;
font-size: 26rpx;
text-indent: 17rpx;
}
}
.item1 {
margin-left: 31rpx;
}
}

View File

@ -1,10 +1,10 @@
<view class="chooseway">
<view class="item item1">
<view class="select selected"></view>
<text class="way">快递配送</text>
</view>
<view class="item">
<view class="select"></view>
<text class="way">到店自取</text>
</view>
<view class="chooseway">
<view class="item item1">
<view class="select selected"></view>
<text class="way">快递配送</text>
</view>
<view class="item">
<view class="select"></view>
<text class="way">到店自取</text>
</view>
</view>

View File

@ -1,35 +1,35 @@
.chooseway {
width: 690rpx;
height: 96rpx;
line-height: 96rpx;
display: flex;
border-bottom: 2rpx solid #EAEAEA;
margin: 0 auto;
}
.chooseway .item {
display: flex;
margin-right: 90rpx;
}
.chooseway .item .select {
width: 26rpx;
height: 26rpx;
margin: auto 0;
border-radius: 50%;
background-color: #EAEAEA;
}
.chooseway .item .selected {
background-color: #47C877;
}
.chooseway .item .way {
color: #333333;
font-size: 26rpx;
text-indent: 17rpx;
}
.chooseway .item1 {
margin-left: 31rpx;
}
.chooseway {
width: 690rpx;
height: 96rpx;
line-height: 96rpx;
display: flex;
border-bottom: 2rpx solid #EAEAEA;
margin: 0 auto;
}
.chooseway .item {
display: flex;
margin-right: 90rpx;
}
.chooseway .item .select {
width: 26rpx;
height: 26rpx;
margin: auto 0;
border-radius: 50%;
background-color: #EAEAEA;
}
.chooseway .item .selected {
background-color: #47C877;
}
.chooseway .item .way {
color: #333333;
font-size: 26rpx;
text-indent: 17rpx;
}
.chooseway .item1 {
margin-left: 31rpx;
}

View File

@ -1,23 +1,26 @@
// components/orderconfirm/ordershopinfo/ordershopinfo.js
Component({
/**
* 组件的属性列表
*/
properties: {
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
}
})
// components/orderconfirm/ordershopinfo/ordershopinfo.js
Component({
/**
* 组件的属性列表
*/
properties: {
title:String,
spec:String,
price:String,
img:String
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
}
})

View File

@ -1,6 +1,6 @@
{
"component": true,
"usingComponents": {
}
{
"component": true,
"usingComponents": {
}
}

View File

@ -1,42 +1,42 @@
.shopinfo {
width: 690rpx;
height: 218rpx;
border-bottom: 2rpx solid #EAEAEA;
margin: 0 auto;
display: flex;
justify-content: center;
.pic {
width: 150rpx;
height: 163rpx;
background-color: #EAEAEA;
margin-right: 40rpx;
}
.right {
width: 402rpx;
display: flex;
flex-direction: column;
justify-content: space-between;
margin-top: 6rpx;
.shopname {
font-size: 28rpx;
font-weight: bold;
line-height: 39rpx;
}
.down {
margin-bottom: 50rpx;
display: flex;
justify-content: space-between;
.shopdesc {
color: #666666;
font-size: 24rpx;
.size {
margin-right: 20rpx;
}
}
.pri {
color: #E1C89F;
font-size: 28rpx;
}
}
}
.shopinfo {
width: 690rpx;
height: 218rpx;
border-bottom: 2rpx solid #EAEAEA;
margin: 0 auto;
display: flex;
justify-content: center;
.pic {
width: 150rpx;
height: 163rpx;
background-color: #EAEAEA;
margin-right: 40rpx;
}
.right {
width: 402rpx;
display: flex;
flex-direction: column;
justify-content: space-between;
margin-top: 6rpx;
.shopname {
font-size: 28rpx;
font-weight: bold;
line-height: 39rpx;
}
.down {
margin-bottom: 50rpx;
display: flex;
justify-content: space-between;
.shopdesc {
color: #666666;
font-size: 24rpx;
.size {
margin-right: 20rpx;
}
}
.pri {
color: #E1C89F;
font-size: 28rpx;
}
}
}
}

View File

@ -1,13 +1,13 @@
<view class="shopinfo">
<image class="pic"></image>
<view class="right">
<view class="shopname">产品产品产品产品产品产品产品产品产品产品产品产品产品</view>
<view class="down">
<view class="shopdesc">
<text class="size">规格10ml</text>
<text> 0.04kg</text>
</view>
<view class="pri">¥657</view>
</view>
</view>
<view class="shopinfo">
<image class="pic" src="{{img}}"></image>
<view class="right">
<view class="shopname">{{title}}</view>
<view class="down">
<view class="shopdesc">
<text class="size">{{spec}}</text>
<!-- <text> 0.04kg</text> -->
</view>
<view class="pri">¥{{price}}</view>
</view>
</view>
</view>

View File

@ -1,49 +1,49 @@
.shopinfo {
width: 690rpx;
height: 218rpx;
border-bottom: 2rpx solid #EAEAEA;
margin: 0 auto;
display: flex;
justify-content: center;
}
.shopinfo .pic {
width: 150rpx;
height: 163rpx;
background-color: #EAEAEA;
margin-right: 40rpx;
}
.shopinfo .right {
width: 402rpx;
display: flex;
flex-direction: column;
justify-content: space-between;
margin-top: 6rpx;
}
.shopinfo .right .shopname {
font-size: 28rpx;
font-weight: bold;
line-height: 39rpx;
}
.shopinfo .right .down {
margin-bottom: 50rpx;
display: flex;
justify-content: space-between;
}
.shopinfo .right .down .shopdesc {
color: #666666;
font-size: 24rpx;
}
.shopinfo .right .down .shopdesc .size {
margin-right: 20rpx;
}
.shopinfo .right .down .pri {
color: #E1C89F;
font-size: 28rpx;
}
.shopinfo {
width: 690rpx;
height: 218rpx;
border-bottom: 2rpx solid #EAEAEA;
margin: 0 auto;
display: flex;
justify-content: center;
}
.shopinfo .pic {
width: 150rpx;
height: 163rpx;
background-color: #EAEAEA;
margin-right: 40rpx;
}
.shopinfo .right {
width: 402rpx;
display: flex;
flex-direction: column;
justify-content: space-between;
margin-top: 6rpx;
}
.shopinfo .right .shopname {
font-size: 28rpx;
font-weight: bold;
line-height: 39rpx;
}
.shopinfo .right .down {
margin-bottom: 50rpx;
display: flex;
justify-content: space-between;
}
.shopinfo .right .down .shopdesc {
color: #666666;
font-size: 24rpx;
}
.shopinfo .right .down .shopdesc .size {
margin-right: 20rpx;
}
.shopinfo .right .down .pri {
color: #E1C89F;
font-size: 28rpx;
}

View File

@ -1,23 +1,23 @@
// components/orderconfirm/orderyf/orderyf.js
Component({
/**
* 组件的属性列表
*/
properties: {
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
}
})
// components/orderconfirm/orderyf/orderyf.js
Component({
/**
* 组件的属性列表
*/
properties: {
price:String
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
}
})

View File

@ -1,4 +1,4 @@
{
"component": true,
"usingComponents": {}
{
"component": true,
"usingComponents": {}
}

View File

@ -1,17 +1,17 @@
.orderyf {
width: 690rpx;
height: 96rpx;
line-height: 96rpx;
display: flex;
border-bottom: 2rpx solid #EAEAEA;
margin: 0 auto;
justify-content: space-between;
font-size: 28rpx;
.left {
margin-left: 31rpx
}
.right {
margin-right: 20rpx;
;
}
.orderyf {
width: 690rpx;
height: 96rpx;
line-height: 96rpx;
display: flex;
border-bottom: 2rpx solid #EAEAEA;
margin: 0 auto;
justify-content: space-between;
font-size: 28rpx;
.left {
margin-left: 31rpx
}
.right {
margin-right: 20rpx;
;
}
}

View File

@ -1,4 +1,4 @@
<view class="orderyf">
<view class="left">运费</view>
<view class="right">¥16</view>
<view class="orderyf">
<view class="left">运费</view>
<view class="right">¥{{price}}</view>
</view>

View File

@ -1,18 +1,18 @@
.orderyf {
width: 690rpx;
height: 96rpx;
line-height: 96rpx;
display: flex;
border-bottom: 2rpx solid #EAEAEA;
margin: 0 auto;
justify-content: space-between;
font-size: 28rpx;
}
.orderyf .left {
margin-left: 31rpx;
}
.orderyf .right {
margin-right: 20rpx;
}
.orderyf {
width: 690rpx;
height: 96rpx;
line-height: 96rpx;
display: flex;
border-bottom: 2rpx solid #EAEAEA;
margin: 0 auto;
justify-content: space-between;
font-size: 28rpx;
}
.orderyf .left {
margin-left: 31rpx;
}
.orderyf .right {
margin-right: 20rpx;
}

View File

@ -1,8 +1,8 @@
Component({
properties: {
},
data: {
},
methods: {
}
Component({
properties: {
},
data: {
},
methods: {
}
})

View File

@ -1,6 +1,6 @@
{
"component": true,
"usingComponents": {
"message":"../../order/message/index"
}
{
"component": true,
"usingComponents": {
"message":"../../order/message/index"
}
}

View File

@ -1,38 +1,38 @@
.content {
background-color: #fff;
width: 750rpx;
// height: ;
padding-bottom: 33rpx;
.aggregate {
display: flex;
box-sizing: border-box;
padding: 30rpx;
justify-content: flex-end;
font-size: 22rpx;
color: #999;
height: 78rpx;
border-bottom: 1rpx solid #f2f2f2;
> text {
color: #333;
margin: 0 5rpx;
}
}
.message {
display: flex;
padding: 0 30rpx;
justify-content: space-between;
font-size: 26rpx;
color: #333;
align-items: center;
height: 77rpx;
border-bottom: 1rpx solid #f2f2f2;
}
.leave {
display: flex;
height: 77rpx;
padding: 0 30rpx;
align-items: center;
}
.content {
background-color: #fff;
width: 750rpx;
// height: ;
padding-bottom: 33rpx;
.aggregate {
display: flex;
box-sizing: border-box;
padding: 30rpx;
justify-content: flex-end;
font-size: 22rpx;
color: #999;
height: 78rpx;
border-bottom: 1rpx solid #f2f2f2;
> text {
color: #333;
margin: 0 5rpx;
}
}
.message {
display: flex;
padding: 0 30rpx;
justify-content: space-between;
font-size: 26rpx;
color: #333;
align-items: center;
height: 77rpx;
border-bottom: 1rpx solid #f2f2f2;
}
.leave {
display: flex;
height: 77rpx;
padding: 0 30rpx;
align-items: center;
}
}

View File

@ -1,24 +1,24 @@
<view class="content">
<message></message>
<view class="aggregate">
共计1件商品 合计:
<text>¥29.80</text>
(含运费¥0.00)
</view>
<view class="message">
<text>订单编号</text>
<text>123456789123456789</text>
</view>
<view class="message">
<text>下单时间</text>
<text>2018-10-01 18:00:06</text>
</view>
<view class="message">
<text>配送方式</text>
<text>快递 免邮</text>
</view>
<view class="leave">
<text>备注:</text>
<input type="text" placeholder="填写你需要对我们说的" />
</view>
<view class="content">
<message></message>
<view class="aggregate">
共计1件商品 合计:
<text>¥29.80</text>
(含运费¥0.00)
</view>
<view class="message">
<text>订单编号</text>
<text>123456789123456789</text>
</view>
<view class="message">
<text>下单时间</text>
<text>2018-10-01 18:00:06</text>
</view>
<view class="message">
<text>配送方式</text>
<text>快递 免邮</text>
</view>
<view class="leave">
<text>备注:</text>
<input type="text" placeholder="填写你需要对我们说的" />
</view>
</view>

View File

@ -1,26 +1,26 @@
Component({
properties: {
},
data: {
steps: [
{
text: '步骤一',
desc: '描述信息'
},
{
text: '步骤二',
desc: '描述信息'
},
{
text: '步骤三',
desc: '描述信息'
},
{
text: '步骤四',
desc: '描述信息'
}
]
},
methods: {
}
Component({
properties: {
},
data: {
steps: [
{
text: '步骤一',
desc: '描述信息'
},
{
text: '步骤二',
desc: '描述信息'
},
{
text: '步骤三',
desc: '描述信息'
},
{
text: '步骤四',
desc: '描述信息'
}
]
},
methods: {
}
})

View File

@ -1,6 +1,6 @@
{
"component": true,
"usingComponents": {
"van-steps": "../utils/dist/steps/index"
}
{
"component": true,
"usingComponents": {
"van-steps": "../utils/dist/steps/index"
}
}

View File

@ -1,17 +1,17 @@
.logistics{
margin-top: 20rpx;
background-color: #fff;
.title{
height: 84rpx;
font-size: 28rpx;
color: #333;
line-height: 84rpx;
border-bottom: 2rpx solid #e5e5e5;
padding-left: 29rpx;
box-sizing: border-box;
}
.schedule{
width: 650rpx;
margin-left: 50rpx;
}
.logistics{
margin-top: 20rpx;
background-color: #fff;
.title{
height: 84rpx;
font-size: 28rpx;
color: #333;
line-height: 84rpx;
border-bottom: 2rpx solid #e5e5e5;
padding-left: 29rpx;
box-sizing: border-box;
}
.schedule{
width: 650rpx;
margin-left: 50rpx;
}
}

View File

@ -1,4 +1,4 @@
<view class="logistics">
<view class="title">物流追踪</view>
<van-steps steps="{{ steps }}" active="{{ 1 }}" direction="vertical" active-color="#47C877" class="schedule" />
<view class="logistics">
<view class="title">物流追踪</view>
<van-steps steps="{{ steps }}" active="{{ 1 }}" direction="vertical" active-color="#47C877" class="schedule" />
</view>

View File

@ -1,8 +1,8 @@
Component({
properties: {
},
data: {
},
methods: {
}
Component({
properties: {
},
data: {
},
methods: {
}
})

View File

@ -1,3 +1,3 @@
{
"component": true
{
"component": true
}

View File

@ -1,35 +1,35 @@
.orderchooseaddr {
background-color: #fff;
width: 750rpx;
height: 148rpx;
margin: 0 auto;
border-bottom: 20rpx solid #fbfbfb;
display: flex;
justify-content: space-between;
.left {
width: 572rpx;
height: 80rpx;
.userinfo {
color: #333333;
font-size: 26rpx;
text-indent: 30rpx;
margin-top: 41rpx;
display: flex;
justify-content: space-between;
}
.addr {
color: #999999;
font-size: 24rpx;
text-indent: 30rpx;
margin-top: 32rpx;
}
}
.right {
width: 17rpx;
height: 30rpx;
background-color: #d3d3d3;
margin: auto 0;
margin-right: 19rpx;
}
}
.orderchooseaddr {
background-color: #fff;
width: 750rpx;
height: 148rpx;
margin: 0 auto;
border-bottom: 20rpx solid #fbfbfb;
display: flex;
justify-content: space-between;
.left {
width: 572rpx;
height: 80rpx;
.userinfo {
color: #333333;
font-size: 26rpx;
text-indent: 30rpx;
margin-top: 41rpx;
display: flex;
justify-content: space-between;
}
.addr {
color: #999999;
font-size: 24rpx;
text-indent: 30rpx;
margin-top: 32rpx;
}
}
.right {
width: 17rpx;
height: 30rpx;
background-color: #d3d3d3;
margin: auto 0;
margin-right: 19rpx;
}
}

View File

@ -1,10 +1,10 @@
<view class="orderchooseaddr">
<view class="left">
<view class="userinfo">
<text class="username">于于宇 15698857895</text>
<text></text>
</view>
<view class="addr">中国大陆 山东省 青岛市 即墨区 纯阳路 某某某小区</view>
</view>
<view class="right"></view>
<view class="orderchooseaddr">
<view class="left">
<view class="userinfo">
<text class="username">于于宇 15698857895</text>
<text></text>
</view>
<view class="addr">中国大陆 山东省 青岛市 即墨区 纯阳路 某某某小区</view>
</view>
<view class="right"></view>
</view>

Some files were not shown because too many files have changed in this diff Show More