@@ -27,7 +27,7 @@
height: 150px;
background-color: #fff;
border-radius: 20px;
- margin: 300px auto 0;
+ margin: 350px auto 0;
padding: 30px;
justify-content: space-between;
align-items: center;
@@ -75,7 +75,7 @@
justify-content: center;
flex-direction: column;
- margin-bottom: 140px;
+ margin-bottom: 70px;
width: 100%;
image {
width: 124px;
@@ -122,9 +122,9 @@
}
.my_coupon {
height: 200px;
- width: 95%;
- // background-color: #79BA70;
- margin: 0 auto 30px;
+ width: 690px;
+ margin: 0 auto;
+ align-items: center;
.task-rukou-img {
@@ -67,7 +67,8 @@
.shelf {
// margin-top: -20px;
- margin-top: 30px;
+ width: 700px;
background-color: #f7f7f7;
// border-radius: 20px ;
@@ -79,8 +80,7 @@
.shelf-wrap {
// border-radius: 20px 20px 0px 0px;
- margin: 0 auto;
- padding: 0px 22px;
+ // padding: 0px 22px;
.type-bar {
@@ -153,7 +153,7 @@
.shelf-total {
- padding: 32px 22px;
+ padding: 32px 0px;
.complete-btn {
@@ -212,7 +212,7 @@
flex-wrap: wrap;
.book-item__wrap {
- margin: 0 25px 0 0;
+ margin: 0 49px 0 0;
.book-del__wrap {
background-color: rgba(0, 0, 0, 0.4);
@@ -255,8 +255,8 @@
.recent-list {
- padding: 0 22px;
+ // padding: 0 22px;
+ // margin-top: 30px;
.recent-item {
z-index: 11;
padding: 0 0 30px 0;
@@ -185,7 +185,7 @@ export default {
this.back_alert = sign_out_app_show
this.getCoustom()
this.getUser()
- this.current = 0;
+ this.current = 1;
},
goActicity() {
router.push({
@@ -113,6 +113,7 @@
>注销账号</text
>
</div>
+ <div style="height:120px"></div>
</template>
@@ -157,14 +158,14 @@ export default {
async watchPropsChange(v) {
- if (v === 3) {
+ if (v === 2) {
//let s = (await storage.get({ key: 'send_order_id' })).data
//if (s) this.send_order_id = s
broadevt(evt) {
- if (evt.detail.current == 3) {
+ if (evt.detail.current == 2) {
@@ -5,7 +5,7 @@
<div class="shelf_title">
<text>书架</text>
- <div if="{{Object.keys(firstBook).length > 0}}" class="book_detail">
+ <div if="{{Object.keys(firstBook).length > 0}}" @click="toReader(firstBook)" class="book_detail">
<div class="image-recommend">
<image src="../../assets/imgs/recommend-book.png"></image>
@@ -224,7 +224,17 @@ export default {
typeChange(index) {
this.current = index
+ },
+ toReader(book){
+ router.push({
+ uri: '/views/Reader',
+ params: {
+ bid: book.book_id,
+ chapter_id: book.recent_cid
+ }
+ })
+
</script>