From 45cb5d66f7c6a0df5949e81ce55d9e2ef4141369 Mon Sep 17 00:00:00 2001
From: "@fawn-nine" <1271023382@qq.com>
Date: Thu, 9 Mar 2023 17:13:31 +0800
Subject: [PATCH] =?UTF-8?q?0309=20=E5=90=AC=E4=B9=A6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
manifest.json | 2 +-
pages/bookShop/classify.vue | 40 ++--
pages/bookShop/commodityDetail.vue | 12 +-
pages/bookShop/settlement.vue | 101 ++++++++--
pages/eBook/bookContent.vue | 6 +-
pages/peanut/home.vue | 6 +-
pages/peanut/opeVip.vue | 106 +++++++++--
pages/yRead/angbook.vue | 291 +++++++++++++++--------------
8 files changed, 367 insertions(+), 197 deletions(-)
diff --git a/manifest.json b/manifest.json
index e73f2f2..96ff3aa 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1,6 +1,6 @@
{
"name" : "E-crazy",
- "appid" : "__UNI__23F6060",
+ "appid" : "__UNI__9788EB5",
"description" : "E-crazy-案例",
"transformPx" : false,
"icons" : [
diff --git a/pages/bookShop/classify.vue b/pages/bookShop/classify.vue
index 2f332f8..e5b165b 100644
--- a/pages/bookShop/classify.vue
+++ b/pages/bookShop/classify.vue
@@ -9,7 +9,7 @@
:activeStyle="{color: '#303133',fontWeight: 'bold', transform: 'scale(1.01)'}">
-
+
搜索...
@@ -36,15 +36,15 @@
¥
- {{item.price}}折后价
+ {{item.price}}
+ 原价:¥{{item.activityPrice}}
-
- 已售400件
+ 已售{{item.sumSales}}件
-
- 张三1著/ xx出版社出版
+
+ {{item.author}}著/ {{item.publisher}}
@@ -79,13 +79,7 @@
},
// contentButtonClick(e) {
// console.log(e)
- // },
- // 跳转
- onPageJump(url) {
- uni.navigateTo({
- url: url
- });
- },
+ // },
// onLoad(e) {
// //获取一级分类
// this.$http
@@ -104,6 +98,12 @@
...mapState(['userInfo']),
},
methods: {
+ // 跳转
+ onPageJump(url) {
+ uni.navigateTo({
+ url: url
+ });
+ },
// 获取一级分类
getOneLevel() {
this.$http
@@ -123,9 +123,17 @@
if (this.towLevel == '') {
this.commodityList = []
} else {
+ let newo = {
+ catId:0,
+ name:'全部',
+ parentCid:e.catId
+ }
+ this.towLevel.splice(0,0,newo)
+ // this.getCategoryList(res.list[0])
+ // console.log(this.towLevel, 'towLevel')
this.getCategoryList(res.list[0])
}
-
+
})
},
@@ -372,9 +380,9 @@
.priceTag {
flex-direction: row;
- color: #f56c6c;
+ color: #999;
display: inline-block;
- zoom: .7;
+ zoom: .8;
margin-left: 6rpx;
margin-bottom: 6px;
}
diff --git a/pages/bookShop/commodityDetail.vue b/pages/bookShop/commodityDetail.vue
index 06add17..a6a07a7 100644
--- a/pages/bookShop/commodityDetail.vue
+++ b/pages/bookShop/commodityDetail.vue
@@ -30,15 +30,17 @@
书名:{{productInfo.productName}}
作者:{{productInfo.author}}
-
+
+
出版社:{{productInfo.publisher}}
- 出版时间:{{ productInfo.pubDate | formatDate }}
-
+ 出版时间:{{ productInfo.pubDate | formatDate }}
+
+
开本:{{productInfo.format}}
页数:{{productInfo.pageNum}}
-
-
+
+
内文用纸材质:{{productInfo.quality}}
diff --git a/pages/bookShop/settlement.vue b/pages/bookShop/settlement.vue
index 95231f8..c3fe8b8 100644
--- a/pages/bookShop/settlement.vue
+++ b/pages/bookShop/settlement.vue
@@ -39,7 +39,7 @@
¥{{item.price*item.productAmount}}
+ :input-height="20" :min="1" :max="item.productStock" integer >
@@ -72,29 +72,39 @@
-
+
{{item.title}}
+ {{userMes.peanutCoin}}疯币可用
+ 去充值
+ style="float: right;margin-top: 5rpx;" >
-