From 741c45e9902a99eefa1c032c963b77f7c251a3f2 Mon Sep 17 00:00:00 2001
From: litian <C21AF165>
Date: 星期三, 28 二月 2024 17:30:50 +0800
Subject: [PATCH] 个人中心

---
 pages/bookServices/index.js                     |    5 
 pages/home/home.js                              |   17 -
 static/images/bookExhibitionDetails/Parting.png |    0 
 pages/bookExhibitionList/img/banner.png         |    0 
 pages/bookExhibitionList/index.wxss             |  102 +++++++
 pages/bookExhibitionList/index.js               |  308 +++++++++++++++++++++++
 pages/bookExhibitionList/index.wxml             |   47 +++
 pages/bookExhibitionDetails/index.js            |  136 ++++++++++
 pages/bookServices/index.wxml                   |    2 
 assets/js/middleGround/api/store.js             |    3 
 pages/bookServices/index.json                   |    4 
 pages/bookExhibitionList/index.json             |   12 
 custom-tab-bar/data.js                          |    1 
 app.json                                        |    2 
 pages/bookExhibitionDetails/index.json          |    3 
 project.config.json                             |    2 
 static/images/bookExhibitionDetails/shuzha.png  |    0 
 pages/bookExhibitionDetails/index.wxml          |   32 ++
 pages/bookExhibitionDetails/index.wxss          |   86 ++++++
 19 files changed, 744 insertions(+), 18 deletions(-)

diff --git a/app.json b/app.json
index 9432165..464fcdc 100644
--- a/app.json
+++ b/app.json
@@ -2,6 +2,8 @@
   "pages": [
     "pages/home/home",
     "pages/bookServices/index",
+    "pages/bookExhibitionList/index",
+    "pages/bookExhibitionDetails/index",
     "pages/usercenter/index",
     "pages/usercenter/person-info/index",
     "pages/usercenter/address/list/index",
diff --git a/assets/js/middleGround/api/store.js b/assets/js/middleGround/api/store.js
index a2c791e..85105ec 100644
--- a/assets/js/middleGround/api/store.js
+++ b/assets/js/middleGround/api/store.js
@@ -301,7 +301,10 @@
         ]
       })
     }
+
     let token = wx.getStorageSync(tokenKey) ? wx.getStorageSync(tokenKey) : '';
+
+
     let url = token ? '/store/api/ApiQueryProductByAppUser' : '/store/api/ApiQueryProduct'
     return request({
       url: url,
diff --git a/custom-tab-bar/data.js b/custom-tab-bar/data.js
index 1fde982..34da94e 100644
--- a/custom-tab-bar/data.js
+++ b/custom-tab-bar/data.js
@@ -9,6 +9,7 @@
     text: '鍥句功鏈嶅姟',
     url: 'pages/bookServices/index'
   },
+
   {
     icon: 'sort',
     text: '瀛︿範',
diff --git a/pages/bookExhibitionDetails/index.js b/pages/bookExhibitionDetails/index.js
new file mode 100644
index 0000000..6ab4e9d
--- /dev/null
+++ b/pages/bookExhibitionDetails/index.js
@@ -0,0 +1,136 @@
+// pages/bookExhibitionDetails/index.js
+const app = getApp()
+Page({
+
+  /**
+   * 椤甸潰鐨勫垵濮嬫暟鎹�
+   */
+  data: {
+    bookName: null,
+    bookBeginDate: null,
+    bookCreator: null,
+    bookContent: null,
+    bookImage: null,
+    bookExhibitionList: []
+  },
+
+  /**
+   * 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰鍔犺浇
+   */
+  onLoad(options) {
+
+    const passId = options.id
+
+    this.bookExhibitionGet(passId)
+    this.getBookExhibitionDetails(passId)
+  },
+
+  /**
+   * 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰鍒濇娓叉煋瀹屾垚
+   */
+  onReady() {
+
+  },
+
+  /**
+   * 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰鏄剧ず
+   */
+  onShow() {
+
+  },
+
+  /**
+   * 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰闅愯棌
+   */
+  onHide() {
+
+  },
+
+  /**
+   * 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰鍗歌浇
+   */
+  onUnload() {
+
+  },
+
+  /**
+   * 椤甸潰鐩稿叧浜嬩欢澶勭悊鍑芥暟--鐩戝惉鐢ㄦ埛涓嬫媺鍔ㄤ綔
+   */
+  onPullDownRefresh() {
+
+  },
+
+  /**
+   * 椤甸潰涓婃媺瑙﹀簳浜嬩欢鐨勫鐞嗗嚱鏁�
+   */
+  onReachBottom() {
+
+  },
+
+  /**
+   * 鐢ㄦ埛鐐瑰嚮鍙充笂瑙掑垎浜�
+   */
+  onShareAppMessage() {
+
+  },
+
+  bookExhibitionGet(passId) {
+    wx.showLoading({
+      title: '鍔犺浇涓�...',
+    })
+    console.log(passId, 8988989);
+    app.MG.store.getProductDetail({
+      storeInfo: 'jsek_bookFair', //鍟嗗搧搴�
+      path: '*', //璺緞
+      queryType: '*',
+      productId: passId, //璇︽儏鐨刬d
+      fields: {
+        subtitle: [],
+        content: [],
+        isbn: [],
+        introduction: [],
+        Creator: []
+      }
+    }).then(res => {
+      console.log(res.datas.datas.Creator.Name, 'res');
+      this.setData({
+        bookName: res.datas.name,
+        bookBeginDate: res.datas.beginDate,
+        bookCreator: res.datas.datas.Creator.Name,
+        bookContent: res.datas.content,
+        bookImage: res.datas.icon
+      });
+      wx.hideLoading()
+    })
+  },
+  //涔﹀睍璇︽儏鎺ュ彛
+  getBookExhibitionDetails(passId) {
+    app.MG.store.getProductList({
+      path: '*',
+      storeInfo: 'jsek_bookFair',
+      mainProductId: passId,
+      queryType: 'Related', // 鏌ヨ绫诲瀷锛� Related锛氭煡璇㈠叧鑱斿晢鍝侊紱SubProduct: 鏌ヨ瀛愬晢鍝侊紱
+      fields: {
+        author: [],
+        publicationDate: [],
+        isbn: [],
+        content: [],
+        Creator: []
+      }
+    }).then(res => {
+
+      this.setData({
+        bookExhibitionList: res.datas
+      })
+      console.log(this.data.bookExhibitionList, 88888);
+    })
+  },
+  onBookDetails(event) {
+    const item = event.currentTarget.dataset.item;
+    console.log(item, 'item');
+    // wx.navigateTo({
+    //   url: '/pages/bookExhibitionDetails/index?id?name=' + item.id + item.name // 鍋囪璺宠浆鍒拌鎯呴〉闈紝骞朵紶閫掍簡id鍙傛暟
+    // });
+  }
+
+})
\ No newline at end of file
diff --git a/pages/bookExhibitionDetails/index.json b/pages/bookExhibitionDetails/index.json
new file mode 100644
index 0000000..8835af0
--- /dev/null
+++ b/pages/bookExhibitionDetails/index.json
@@ -0,0 +1,3 @@
+{
+  "usingComponents": {}
+}
\ No newline at end of file
diff --git a/pages/bookExhibitionDetails/index.wxml b/pages/bookExhibitionDetails/index.wxml
new file mode 100644
index 0000000..4c9c611
--- /dev/null
+++ b/pages/bookExhibitionDetails/index.wxml
@@ -0,0 +1,32 @@
+<!--pages/bookExhibitionDetails/index.wxml-->
+
+
+<view class="headBox">
+  <text class="titleBox">{{bookName}}</text>
+  <view class="informationBox">
+    <text class="informationNameBox">鍙戝竷浜�:{{bookCreator}}</text>
+    <text class="informationTimeBox">鍙戝竷鏃ユ湡锛歿{bookBeginDate}}</text>
+
+  </view>
+</view>
+
+
+
+<image class="partingBox" src="/static/images/bookExhibitionDetails/Parting.png" mode="" />
+
+<image class="bannerBox" src="{{bookImage}}" mode="" />
+
+<view class="textContent">
+  <rich-text nodes="{{bookContent}}"></rich-text>
+
+  <!-- <text>{{bookContent}}</text> -->
+</view>
+<view class="outsideBooksBox">
+  <view class="booksBox" wx:for="{{bookExhibitionList}}" wx:key="index" wx:for-item="item" wx:for-index="index" data-item="{{item}}" bind:tap="onBookDetails">
+    <view class="outsideBooksImageBox">
+      <image class="booksImageBox" src="{{item.icon}}" mode="" />
+    </view>
+    <view class="booksTextBox"> <text>{{item.name}}</text></view>
+
+  </view>
+</view>
\ No newline at end of file
diff --git a/pages/bookExhibitionDetails/index.wxss b/pages/bookExhibitionDetails/index.wxss
new file mode 100644
index 0000000..bcd48e4
--- /dev/null
+++ b/pages/bookExhibitionDetails/index.wxss
@@ -0,0 +1,86 @@
+/* pages/bookExhibitionDetails/index.wxss */
+.headBox {
+  /* width: 750rpx; */
+  text-align: center;
+
+}
+
+.titleBox {
+  font-weight: 800;
+  font-size: 45rpx;
+}
+
+.informationBox {
+  margin-top: 30rpx;
+  display: flex;
+  justify-content: space-around;
+  padding: 0 50rpx;
+  font-size: 25rpx;
+  color: #545C63;
+  font-weight: 400;
+}
+
+.partingBox {
+  width: 750rpx;
+  height: 40rpx;
+  margin: 30rpx 0;
+}
+
+.bannerBox {
+  width: 690rpx;
+  height: 270rpx;
+  margin: 0 30rpx;
+}
+
+.textContent {
+  width: 690rpx;
+  /* height: 315rpx; */
+  padding: 0 30rpx;
+  font-size: 25rpx;
+  color: #545C63;
+  font-weight: 400;
+  line-height: 50rpx;
+  margin: 20rpx 2rpx;
+}
+
+
+.booksBox {
+  width: 330rpx;
+  /* height: 430rpx; */
+  /* background-color: #8bc34a; */
+  margin: 20rpx;
+  background: #FFFFFF;
+  box-shadow: 0rpx 0rpx 18rpx 2rpx rgba(0, 0, 0, 0.08);
+}
+
+.booksImageBox {
+  width: 240rpx;
+  height: 300rpx;
+  margin: 30rpx;
+
+}
+
+.outsideBooksImageBox {
+  background: #F5F5F5;
+  width: 300rpx;
+  margin: 0 auto;
+  margin-top: 15rpx;
+
+}
+
+.booksTextBox {
+  font-size: 25rpx;
+  font-family: PingFang SC, PingFang SC;
+  font-weight: bold;
+  width: 280rpx;
+  margin: 30rpx 25rpx;
+  /* overflow: hidden;
+  text-overflow: ellipsis;
+  white-space: nowrap; */
+
+}
+
+.outsideBooksBox {
+  display: flex;
+  flex-wrap: wrap;
+}
\ No newline at end of file
diff --git a/pages/bookExhibitionList/img/banner.png b/pages/bookExhibitionList/img/banner.png
new file mode 100644
index 0000000..f31d3af
--- /dev/null
+++ b/pages/bookExhibitionList/img/banner.png
Binary files differ
diff --git a/pages/bookExhibitionList/index.js b/pages/bookExhibitionList/index.js
new file mode 100644
index 0000000..c4d4a70
--- /dev/null
+++ b/pages/bookExhibitionList/index.js
@@ -0,0 +1,308 @@
+// pages/bookExhibitionList/index.js
+import Toast from 'tdesign-miniprogram/toast/index';
+
+const app = getApp()
+Page({
+
+  /**
+   * 椤甸潰鐨勫垵濮嬫暟鎹�
+   */
+  data: {
+    nameSort: null,
+    total: null,
+    page: {
+      start: 0,
+      size: 16
+    },
+    keynoteValue: null,
+    filteredItems: [],
+    newValue: null,
+    value: '',
+    bookExhibitionList: [],
+    sorter: {
+      value: 'default',
+    },
+    product: {
+      value: '*',
+
+      options: [
+        {
+          value: '*',
+
+          label: '鎬诲垎绫�',
+        },
+        {
+          value: 'jsek_bFHigherEducation',
+          //閲嶇偣椤圭洰
+          price: 'jsek_higherEducation',
+          label: '楂樼瓑鏁欒偛',
+        },
+        {
+          value: 'jsek_bFVocationalEducation',
+          //閲嶇偣椤圭洰
+          price: 'jsek_vocationalEducation',
+          label: '鑱屼笟鏁欒偛',
+        },
+        {
+          value: 'jsek_bFTeacherEducation',
+          //閲嶇偣椤圭洰
+          price: 'jsek_teacherEducation',
+          label: '鏁欏笀鏁欒偛',
+        },
+      ],
+    },
+    multipleSelect: {
+      value: [],
+      options: [],
+    },
+  },
+
+
+
+  /**
+   * 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰鍒濇娓叉煋瀹屾垚
+   */
+  onReady() {
+
+  },
+
+  /**
+   * 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰鏄剧ず
+   */
+  onShow() {
+    this.bookExhibitionGet()
+
+    this.keyProjectsGet()
+  },
+
+  /**
+   * 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰闅愯棌
+   */
+  onHide() {
+
+  },
+
+  /**
+   * 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰鍗歌浇
+   */
+  onUnload() {
+
+  },
+
+  /**
+   * 椤甸潰鐩稿叧浜嬩欢澶勭悊鍑芥暟--鐩戝惉鐢ㄦ埛涓嬫媺鍔ㄤ綔
+   */
+  onPullDownRefresh() {
+
+  },
+
+  /**
+   * 椤甸潰涓婃媺瑙﹀簳浜嬩欢鐨勫鐞嗗嚱鏁�
+   */
+  onReachBottom() {
+    // console.log(this.data.page.size);
+    // console.log(this.data.total);
+    if (this.data.page.size >= this.data.total) {
+      console.log('宸插姞杞藉畬鎵�鏈夋暟鎹�');
+      Toast({
+        context: this,
+        selector: '#t-toast',
+        message: '娌℃湁鏇村浜�',
+        direction: 'column',
+        duration: 1000,
+        preventScrollThrough: true,
+        icon: 'poweroff',
+      });
+    } else {
+      // const currentPage = this.data.page.start + 1; // 鑾峰彇褰撳墠椤垫暟骞跺姞1
+      const newSize = this.data.page.size + 10; // 鍘熸潵鐨勫熀纭�涓婂姞10
+      this.setData({
+        // 'page.start': currentPage,
+        'page.size': newSize
+      });
+      this.bookExhibitionGet(); // 璋冪敤鏂规硶鍔犺浇鏇村鏁版嵁
+      console.log(1111);
+    }
+  },
+
+
+
+  /**
+   * 鐢ㄦ埛鐐瑰嚮鍙充笂瑙掑垎浜�
+   */
+  onShareAppMessage() {
+
+  },
+  // 鍥剧墖鏁版嵁鐨勬帴鍙�
+  bookExhibitionGet(newValue) {
+    wx.showLoading({
+      title: '鍔犺浇涓�...',
+    })
+
+    // console.log(this.data.keynoteValue);
+    let sort = {
+      Name: this.data.nameSort || 'Desc'
+    }
+    app.MG.store.getProductList({
+      storeInfo: 'jsek_bookFair',
+      path: newValue,
+      queryType: '*',
+      fields: {
+        jsek_link: [],
+        'bookClassification*': this.data.keynoteValue || []
+      },
+      paging: this.data.page,
+      sort: sort,
+      // coverSize: {
+      //   width: 100
+      // },
+    }).then(res => {
+
+      this.data.total = res.total
+
+      //  list.push(res.datas)
+      const list = [...res.datas]
+
+      this.setData({
+        bookExhibitionList: list
+      })
+      //鍙栨秷
+      wx.hideLoading()
+      // console.log(this.data.bookExhibitionList, '鏁版嵁');
+    })
+
+  },
+  //閲嶇偣椤圭洰鎺ュ彛
+  keyProjectsGet(newPrice) {
+    // console.log(newPrice, 'newPrice');
+    let parms = {
+      refCodes: ['bookClassification']
+    }
+    app.MG.store.getProductTypeField(parms).then(res => {
+
+      const checkData = JSON.parse(res[0].config)
+
+
+      checkData.option.forEach(item => {
+        if (newPrice == item.value) {
+
+          this.setData({
+            filteredItems: item.child || [] // 濡傛灉瀛樺湪瀛愰」鍒欒祴鍊硷紝鍚﹀垯璧嬪�间负绌烘暟缁�
+          });
+
+          // console.log(this.data.filteredItems);
+
+        }
+      })
+
+      this.onLoad();
+    })
+  },
+
+
+  /**
+   * 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰鍔犺浇
+   */
+  onLoad(options) {
+    // console.log(this.data.filteredItems, 88888);
+
+    // 鍗曞垪閫夋嫨鍣ㄩ�夐」
+    const singleSelectOptions = this.data.filteredItems.map(item => ({
+      label: item.name,
+      value: item.value,
+      disabled: false,
+    }))
+
+    if (this.data.filteredItems = []) {
+      console.log(11111);
+      singleSelectOptions.push({
+        label: '绂佺敤閫夐」',
+        value: 'disabled',
+        disabled: true,
+      });
+    }
+
+    // singleSelectOptions.push({
+    //   label: '绂佺敤閫夐」',
+    //   value: 'disabled',
+    //   disabled: true,
+    // });
+
+
+    // 鏇存柊鏁版嵁
+    this.setData({
+      'multipleSelect.options': singleSelectOptions,
+    });
+
+  },
+
+
+  // 鎬诲垎绫�
+  // 鎬诲垎绫�
+  onChange(e) {
+
+    this.data.page.size = 16 //鏇存敼鏄剧ず鐨勫��
+    const newValue = e.detail.value;
+    const selectedOption = this.data.product.options.find(option => option.value === newValue);
+    const newPrice = selectedOption ? selectedOption.price : null;
+    this.setData({
+      'product.value': newValue,
+      'product.price': newPrice, // 灏嗛�変腑鐨� price 鍊间繚瀛樺湪鏁版嵁涓�
+    });
+    this.bookExhibitionGet(newValue);
+    this.keyProjectsGet(newPrice);
+    // 璋冪敤鏇存柊椤甸潰鏁版嵁鐨勫嚱鏁帮紝浼犲叆鏂扮殑 value 鍜� price 鍊�
+
+    if (this.data.keynoteValue) {
+      //濡傛灉鏈夋暟鎹氨娓呯┖骞跺埛鏂伴〉闈�
+      this.data.keynoteValue = []
+
+      this.bookExhibitionGet(newValue)
+      this.onLoad()
+      console.log('true');
+    } else {
+      // this.bookExhibitionGet(newValue);
+      // this.keyProjectsGet(newPrice);
+      console.log('fals');
+    }
+
+  },
+
+  // 閲嶇偣椤圭洰
+  handleMultipleSelect(e) {
+    this.setData({
+      'multipleSelect.value': e.detail.value,
+    });
+  },
+  handleConfirm(event) {
+    const { value } = event.detail;
+    // 纭鎿嶄綔鐨勫鐞嗛�昏緫
+
+    console.log('纭鎿嶄綔锛岄�変腑鐨勫�间负锛�', value);
+    this.data.keynoteValue = value
+    this.bookExhibitionGet()
+  },
+  handleReset() {
+    // 閲嶇疆鎿嶄綔鐨勫鐞嗛�昏緫
+    this.data.keynoteValue = []
+    console.log('閲嶇疆鎿嶄綔');
+    this.bookExhibitionGet()
+  },
+  onSwapRight() {
+    // console.log('xxxxxx');
+    this.data.nameSort = 'Asc'
+    this.bookExhibitionGet()
+  },
+  onSwapLeft() {
+    this.data.nameSort = 'Desc'
+    // console.log('sssssss');
+    this.bookExhibitionGet()
+  },
+  onBookExhibitionDetails: function (event) {
+    const item = event.currentTarget.dataset.item;
+    console.log(item);
+    wx.navigateTo({
+      url: '/pages/bookExhibitionDetails/index?id=' + item.id // 鍋囪璺宠浆鍒拌鎯呴〉闈紝骞朵紶閫掍簡id鍙傛暟
+    });
+  }
+})
\ No newline at end of file
diff --git a/pages/bookExhibitionList/index.json b/pages/bookExhibitionList/index.json
new file mode 100644
index 0000000..34eafc6
--- /dev/null
+++ b/pages/bookExhibitionList/index.json
@@ -0,0 +1,12 @@
+{
+  "component": true,
+  "usingComponents": {
+    "t-button": "tdesign-miniprogram/button/button",
+    "t-search": "tdesign-miniprogram/search/search",
+    "t-dropdown-menu": "tdesign-miniprogram/dropdown-menu/dropdown-menu",
+    "t-dropdown-item": "tdesign-miniprogram/dropdown-item/dropdown-item",
+    "t-toast": "tdesign-miniprogram/toast/toast",
+    "t-icon": "tdesign-miniprogram/icon/icon"
+  },
+  "onReachBottomDistance": 200
+}
\ No newline at end of file
diff --git a/pages/bookExhibitionList/index.wxml b/pages/bookExhibitionList/index.wxml
new file mode 100644
index 0000000..075544a
--- /dev/null
+++ b/pages/bookExhibitionList/index.wxml
@@ -0,0 +1,47 @@
+<!--pages/bookExhibitionList/index.wxml-->
+
+<!-- 寮瑰嚭妗� 绂佹 -->
+<t-toast id="t-toast" />
+
+
+<view class="example-search">
+  <t-search model:value="{{value}}" placeholder="璇疯緭鍏ュ叧閿瘝/涔︾洰/ISBN/浣滆��" />
+</view>
+
+
+
+
+
+
+
+
+<view class="menuBox">
+  <t-dropdown-menu class="classification">
+
+    <t-dropdown-item options="{{product.options}}" value="{{product.value}}" bindchange="onChange" />
+    <t-dropdown-item label="閲嶇偣椤圭洰" options="{{multipleSelect.options}}" value="{{multipleSelect.value}}" bindchange="handleMultipleSelect" multiple bind:confirm="handleConfirm" bind:reset="handleReset" />
+
+
+
+  </t-dropdown-menu>
+  <view class="sortBox">
+    <text>鎺掑簭</text>
+    <view class="iconBox">
+      <t-icon class="swapRight" name="swap-right" size="48rpx" bind:click="onSwapRight" />
+      <t-icon class="swapLeft" name="swap-right" size="48rpx" bind:click="onSwapLeft" />
+    </view>
+  </view>
+</view>
+
+<view class="titleBox">
+  <view class="frameBox"></view> <text class="titleTextBox"> 绾夸笂涔﹀睍</text>
+</view>
+<view class="outside">
+
+  <view class="contentBox" wx:for="{{bookExhibitionList}}" wx:key="index" wx:for-item="item" wx:for-index="index" bindtap="onBookExhibitionDetails" data-item="{{item}}">
+    <image wx:if="{{item.icon}}" src="{{item.icon}}" mode="" />
+    <image wx:else="" src="./img/banner.png" mode="" />
+    <view class="textBox"> <text>{{item.name}}</text></view>
+  </view>
+
+</view>
\ No newline at end of file
diff --git a/pages/bookExhibitionList/index.wxss b/pages/bookExhibitionList/index.wxss
new file mode 100644
index 0000000..f313307
--- /dev/null
+++ b/pages/bookExhibitionList/index.wxss
@@ -0,0 +1,102 @@
+/* pages/bookExhibitionList/index.wxss */
+
+
+
+.outside {
+  display: flex;
+  flex-wrap: wrap;
+  justify-content: space-between;
+  margin: 15px;
+}
+
+.contentBox {
+  width: 330rpx;
+  height: 130rpx;
+  /* border: 1px #000 solid; */
+  margin: 10px 0;
+
+}
+
+image {
+  width: 100%;
+  height: 85%;
+}
+
+
+.textBox {
+
+  width: 320rpx;
+  font-size: 20rpx;
+  /* display: flex;
+  justify-content: center; */
+  overflow: hidden;
+  text-overflow: ellipsis;
+  display: -webkit-box;
+  -webkit-box-orient: vertical;
+  -webkit-line-clamp: 1;
+  text-align: center;
+
+}
+
+
+.example-search {
+  width: 300px;
+  background-color: #fff;
+  /* padding: 16rpx 32rpx; */
+}
+
+.iconBox {
+  transform: rotate(90deg);
+  /* margin: 10px;
+  margin-right: 20px; */
+  margin-left: 30rpx;
+}
+
+.swapRight {
+  /* margin-right: 10px; */
+
+}
+
+.swapLeft {
+  transform: rotate(180deg);
+}
+
+.sortBox {
+  display: flex;
+  border-bottom: 1px #ededed solid;
+  align-items: center;
+  height: 86rpx;
+  width: 195rpx;
+}
+
+
+
+.titleBox {
+  display: flex;
+  margin: 10px;
+  margin-left: 0;
+}
+
+.frameBox {
+  width: 13rpx;
+  height: 54rpx;
+  background: #FF6C00;
+  border-radius: 0rpx 9rpx 9rpx 0rpx;
+
+}
+
+.titleTextBox {
+  font-size: 20px;
+  font-weight: bolder;
+  margin-left: 10px;
+  font-family: JDLangZhengTi, JDLangZhengTi;
+}
+
+.classification {
+  width: 550rpx;
+}
+
+.menuBox {
+  display: flex;
+
+}
\ No newline at end of file
diff --git a/pages/bookServices/index.js b/pages/bookServices/index.js
index e1c47c7..0551214 100644
--- a/pages/bookServices/index.js
+++ b/pages/bookServices/index.js
@@ -62,5 +62,8 @@
    */
   onShareAppMessage() {
 
-  }
+  },
+
+
+
 })
\ No newline at end of file
diff --git a/pages/bookServices/index.json b/pages/bookServices/index.json
index 8835af0..da897b1 100644
--- a/pages/bookServices/index.json
+++ b/pages/bookServices/index.json
@@ -1,3 +1,5 @@
 {
-  "usingComponents": {}
+  "usingComponents": {
+    "t-button": "tdesign-miniprogram/button/button"
+  }
 }
\ No newline at end of file
diff --git a/pages/bookServices/index.wxml b/pages/bookServices/index.wxml
index dc094eb..199529f 100644
--- a/pages/bookServices/index.wxml
+++ b/pages/bookServices/index.wxml
@@ -1 +1 @@
-<text>鍥句功鏈嶅姟</text>
\ No newline at end of file
+<text>鍥句功鏈嶅姟</text>
diff --git a/pages/home/home.js b/pages/home/home.js
index 108690b..cc74179 100644
--- a/pages/home/home.js
+++ b/pages/home/home.js
@@ -29,6 +29,7 @@
     this.getTabBar().init();
     this.loadHomePage();
     this.getBannerList()
+
   },
 
   onLoad(options) {
@@ -161,20 +162,8 @@
     })
     console.log('杞挱鍥�', this.data.bannerList);
   },
-  //鎼滅储
-  navToSearchPage() {
-    wx.navigateTo({ url: '/pages/goods/search/index' });
-  },
-  //杞挱鍥捐烦杞�
-  navToActivityDetail({ detail }) {
-    const data = this.data.bannerList[detail.index]
-    console.log('璺宠浆', data.link);
-    // const { index: promotionID = 0 } = detail || {};
-    // wx.navigateTo({
-    //   url: `/pages/promotion-detail/index?promotion_id=${promotionID}`,
-    // });
-  },
-  //鑾峰彇鐩綍
+
+
   loadHomePage() {
     wx.stopPullDownRefresh();
     this.setData({
diff --git a/project.config.json b/project.config.json
index 941a45c..d702033 100644
--- a/project.config.json
+++ b/project.config.json
@@ -48,7 +48,7 @@
   },
   "compileType": "miniprogram",
   "libVersion": "2.23.1",
-  "appid": "wx1432ecb6d1b86ade",
+  "appid": "wx5461028c83fea0b3",
   "projectname": "tdesign-miniprogram-starter-retail",
   "simulatorType": "wechat",
   "simulatorPluginLibVersion": {},
diff --git a/static/images/bookExhibitionDetails/Parting.png b/static/images/bookExhibitionDetails/Parting.png
new file mode 100644
index 0000000..6c2d614
--- /dev/null
+++ b/static/images/bookExhibitionDetails/Parting.png
Binary files differ
diff --git a/static/images/bookExhibitionDetails/shuzha.png b/static/images/bookExhibitionDetails/shuzha.png
new file mode 100644
index 0000000..0ca7d7b
--- /dev/null
+++ b/static/images/bookExhibitionDetails/shuzha.png
Binary files differ

--
Gitblit v1.9.1