diff --git a/components/active-card/address-list.vue b/components/active-card/address-list.vue
index 8a584e9..0027f74 100644
--- a/components/active-card/address-list.vue
+++ b/components/active-card/address-list.vue
@@ -1,14 +1,8 @@
-
- 【{{item.name}}】
+
+ {{item.name}}
- 【电话】{{item.phone}}
-
-
- 【地址】{{item.region}}
-
-
- 【详细地址】{{item.detailAddress}}
+ {{item.text}}
@@ -53,11 +47,12 @@
.active-title {
word-wrap:break-word;
word-break:break-all;
- font-size: 32rpx;
+ font-size: 28rpx;
color: #000;
font-weight: 700;
- margin-top: 20rpx;
+ margin-bottom: 20rpx;
line-height: 60rpx;
+ padding-left: 10rpx;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
@@ -67,7 +62,7 @@
word-wrap:break-word;
word-break:break-all;
color: #707070;
- font-size: 28rpx;
+ font-size: 24rpx;
margin: 20rpx 0;
image {
width: 33rpx;
diff --git a/components/active-card/order-list.vue b/components/active-card/order-list.vue
index 6e7a38d..3fd9ed9 100644
--- a/components/active-card/order-list.vue
+++ b/components/active-card/order-list.vue
@@ -1,29 +1,28 @@
- 【{{item.title}}】
-
- 【商品】{{item.shopName}}
-
-
- 【地址】{{item.addressText}}
-
-
- 【价格】{{item.price}}
-
-
- 【数量】{{item.num}}
-
-
- 【类型】微信订单
+
+ 已退款
+
+
+ 订单编号:{{item.tranNo}}
-
- 【类型】积分订单
+
+ 下单时间:2023-08-16 12:16:31
+
+
+ 订购项目:数学+试卷
+
- 【下单时间】{{item.createTime}}
+ 订单金额:¥0.01
+
@@ -47,8 +46,11 @@
}
},
methods:{
- seeDetail(){
+ seeDetail() {
this.$emit('seeDetail',this.item)
+ },
+ toShouhou() {
+
}
}
}
@@ -61,13 +63,35 @@
border-radius: 12rpx;
box-shadow: 3rpx 3rpx 6rpx 5rpx rgba(0,0,0,0.16);
overflow: hidden;
- padding-bottom: 10rpx;
+ padding: 10rpx;
margin-bottom: 20rpx;
+ position: relative;
+
+ .order-status{
+ position: absolute;
+ right: 18rpx;
+ top: 50rpx;
+ font-size: 24rpx;
+ color: red;
+ }
+
+ .order-botton {
+ font-size: 24rpx;
+ color: red;
+ padding: 10rpx;
+ width: 100rpx;
+ line-height: 40rpx;
+ border-radius: 30rpx;
+ text-align: center;
+ margin-left: 10rpx;
+ float: right;
+ border: 1rpx solid #ccc;
+ }
.active-title {
word-wrap:break-word;
word-break:break-all;
- font-size: 32rpx;
+ font-size: 28rpx;
color: #000;
font-weight: 700;
margin-top: 20rpx;
@@ -156,4 +180,14 @@
}
}
}
+
+ .red {
+ border-color: red !important;
+ color: red !important;
+ }
+
+ .gray {
+ border-color: #999 !important;
+ color: #888 !important;
+ }
\ No newline at end of file
diff --git a/pages.json b/pages.json
index fbb2ed3..a64631e 100644
--- a/pages.json
+++ b/pages.json
@@ -13,31 +13,27 @@
}
},
{
- "path": "pages/my/login-kehu",
+ "path": "pages/my/kanwus",
"style": {
- "navigationBarTitleText": "登录"
- }
- },{
- "path": "pages/my/my-order-list",
- "style": {
- "navigationBarTitleText": "订阅历史"
+ "navigationBarTitleText": "刊物目录"
}
- },{
- "path": "pages/my/my-order-details",
+ },
+ {
+ "path": "pages/my/kanwudetails",
"style": {
- "navigationBarTitleText": "订单详情"
+ "navigationBarTitleText": "刊物详情"
}
},
{
- "path": "pages/my/my-kanwu-list",
+ "path": "pages/my/orders",
"style": {
- "navigationBarTitleText": "刊物目录"
+ "navigationBarTitleText": "订阅记录"
}
},
{
- "path": "pages/my/my-kanwu-details",
+ "path": "pages/my/orderdetails",
"style": {
- "navigationBarTitleText": "刊物详情"
+ "navigationBarTitleText": "订阅详情"
}
}
],
diff --git a/pages/home/index.vue b/pages/home/index.vue
index 6a6aad3..29b29f9 100644
--- a/pages/home/index.vue
+++ b/pages/home/index.vue
@@ -111,21 +111,10 @@
onLoad() {
},
- onPullDownRefresh() {
-
- },
- onReachBottom() {
-
- },
- onPullDownRefresh() {
-
- },
- // 隐藏微信h5的标题栏
onReady() {
this.$com.displayNav()
},
methods:{
- // 单个复选框事件
checkboxChange(e) {
let values = e.detail.value;
if (values[0] == 1) {
@@ -150,13 +139,13 @@
//跳转刊物介绍
seeDetail(){
uni.navigateTo({
- url:`/pages/my/my-kanwu-list`
+ url:`/pages/my/kanwus`
})
},
//跳转订阅记录
newDetail(){
uni.navigateTo({
- url:`/pages/my/my-order-list`
+ url:`/pages/my/orders`
})
},
lower(){
@@ -210,7 +199,7 @@
text-align: justify;
text-align-last: justify;
line-height: 68rpx;
- width: 68rpx;
+ width: 88rpx;
padding: 0 24rpx;
}
input{
diff --git a/pages/my/kanwudetails.vue b/pages/my/kanwudetails.vue
new file mode 100644
index 0000000..90f202e
--- /dev/null
+++ b/pages/my/kanwudetails.vue
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/my/my-kanwu-list.vue b/pages/my/kanwus.vue
similarity index 79%
rename from pages/my/my-kanwu-list.vue
rename to pages/my/kanwus.vue
index 8bfca95..0f12aea 100644
--- a/pages/my/my-kanwu-list.vue
+++ b/pages/my/kanwus.vue
@@ -27,27 +27,25 @@
},
list:[
{
- name:"刊物名称",
- text:"刊物信息"
+ name:"语文学习报+试卷",
+ text:"【人教版】每学期20期彩色周报及4张单元试卷"
},
{
- name:"刊物名称",
- text:"刊物信息"
+ name:"数学学习报+试卷",
+ text:"【湘教版】每学期20期彩色周报及4张单元试卷"
},{
- name:"刊物名称",
- text:"刊物信息"
+ name:"英语学习报+试卷",
+ text:"【北大师版】每学期26期彩色周报及14张单元试卷"
}
]
}
},
onLoad() {
- // this.list = [];
this.params.pageNo = 1;
this.params.total = null;
this.params.isLock = true;
},
- // 隐藏微信h5的标题栏
onReady() {
this.$com.displayNav()
},
@@ -74,8 +72,11 @@
}
},
methods:{
-
-
+ seeDetail(item){
+ uni.navigateTo({
+ url:`/pages/my/kanwudetails`
+ })
+ }
}
}
@@ -83,6 +84,7 @@
diff --git a/pages/my/my-order-details.vue b/pages/my/my-order-details.vue
deleted file mode 100644
index 8183fd0..0000000
--- a/pages/my/my-order-details.vue
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/pages/my/my-order-list.vue b/pages/my/my-order-list.vue
deleted file mode 100644
index 351ed23..0000000
--- a/pages/my/my-order-list.vue
+++ /dev/null
@@ -1,172 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/pages/my/orderdetails.vue b/pages/my/orderdetails.vue
new file mode 100644
index 0000000..6fb940b
--- /dev/null
+++ b/pages/my/orderdetails.vue
@@ -0,0 +1,116 @@
+
+
+
+
+
+
+
+
+ 订单编号:
+
+
+
+ 创建时间:
+
+
+
+ 姓名:
+
+
+
+ 联系方式:
+
+
+
+ 学校:
+
+
+
+ 年级:
+
+
+
+ 班级:
+
+
+
+
+
+
+
+
+
+
+ 订阅内容
+
+
+ ¥ 39.00 数学 + 试卷 (共21份试卷)
+
+
+
+
+
+
+
+
+
diff --git a/pages/my/orders.vue b/pages/my/orders.vue
new file mode 100644
index 0000000..dc8b322
--- /dev/null
+++ b/pages/my/orders.vue
@@ -0,0 +1,119 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file