From 6d5ab575a3be47f1411ca586dc08218c52383eae Mon Sep 17 00:00:00 2001 From: gongfuxiang Date: Thu, 10 Feb 2022 11:31:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=97=A8=E5=BA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/plugins/express/detail/detail.vue | 7 +- .../batchorder-list/batchorder-list.css | 6 + .../batchorder-list/batchorder-list.vue | 245 ++++ pages/plugins/realstore/detail/detail.css | 223 ++++ pages/plugins/realstore/detail/detail.vue | 1002 +++++++++++++++++ .../frequencycard-list/frequencycard-list.css | 6 + .../frequencycard-list/frequencycard-list.vue | 251 +++++ .../frequencycard-used/frequencycard-used.vue | 194 ++++ pages/plugins/realstore/index/index.css | 0 pages/plugins/realstore/index/index.vue | 13 + .../orderallot-detail/orderallot-detail.css | 73 ++ .../orderallot-detail/orderallot-detail.vue | 227 ++++ .../orderallot-list/orderallot-list.css | 18 + .../orderallot-list/orderallot-list.vue | 308 +++++ pages/plugins/shop/detail/detail.vue | 4 +- 15 files changed, 2571 insertions(+), 6 deletions(-) create mode 100644 pages/plugins/realstore/batchorder-list/batchorder-list.css create mode 100644 pages/plugins/realstore/batchorder-list/batchorder-list.vue create mode 100644 pages/plugins/realstore/detail/detail.css create mode 100644 pages/plugins/realstore/detail/detail.vue create mode 100644 pages/plugins/realstore/frequencycard-list/frequencycard-list.css create mode 100644 pages/plugins/realstore/frequencycard-list/frequencycard-list.vue create mode 100644 pages/plugins/realstore/frequencycard-used/frequencycard-used.vue create mode 100644 pages/plugins/realstore/index/index.css create mode 100644 pages/plugins/realstore/index/index.vue create mode 100644 pages/plugins/realstore/orderallot-detail/orderallot-detail.css create mode 100644 pages/plugins/realstore/orderallot-detail/orderallot-detail.vue create mode 100644 pages/plugins/realstore/orderallot-list/orderallot-list.css create mode 100644 pages/plugins/realstore/orderallot-list/orderallot-list.vue diff --git a/pages/plugins/express/detail/detail.vue b/pages/plugins/express/detail/detail.vue index ccd0f971..e5a07709 100644 --- a/pages/plugins/express/detail/detail.vue +++ b/pages/plugins/express/detail/detail.vue @@ -80,13 +80,12 @@ } uni.showLoading({ title: "加载中..." - }); + }); + // 是否指定方法 uni.request({ url: app.globalData.get_request_url("index", "index", "express"), method: "POST", - data: { - id: this.params.id || 0, - }, + data: this.params, dataType: "json", success: res => { uni.hideLoading(); diff --git a/pages/plugins/realstore/batchorder-list/batchorder-list.css b/pages/plugins/realstore/batchorder-list/batchorder-list.css new file mode 100644 index 00000000..842a0fa8 --- /dev/null +++ b/pages/plugins/realstore/batchorder-list/batchorder-list.css @@ -0,0 +1,6 @@ +/* +* 导航 +*/ +.nav-base .item { + width: 20%; +} \ No newline at end of file diff --git a/pages/plugins/realstore/batchorder-list/batchorder-list.vue b/pages/plugins/realstore/batchorder-list/batchorder-list.vue new file mode 100644 index 00000000..df34b68e --- /dev/null +++ b/pages/plugins/realstore/batchorder-list/batchorder-list.vue @@ -0,0 +1,245 @@ + + + \ No newline at end of file diff --git a/pages/plugins/realstore/detail/detail.css b/pages/plugins/realstore/detail/detail.css new file mode 100644 index 00000000..d39befc2 --- /dev/null +++ b/pages/plugins/realstore/detail/detail.css @@ -0,0 +1,223 @@ +/** + * 头部 + */ +.header { + background-repeat: no-repeat; + background-position: center; + background-size: cover; + border-bottom-left-radius: 100rpx; + border-bottom-right-radius: 100rpx; + height: 310rpx; + /* #ifdef MP-WEIXIN || MP-BAIDU || MP-QQ || MP-TOUTIAO */ + height: 360rpx; + /* #endif */ +} +/** + * 顶部 + */ +.header-top { + padding-right: 250rpx; + /* #ifdef MP-ALIPAY */ + padding-right: 255rpx; + /* #endif */ + /* #ifdef H5 || APP */ + padding-right: 20rpx; + /* #endif */ + padding-bottom: 10px; +} +.nav-location { + width: 180rpx; + background: rgb(0 0 0 / 60%); + height: 30px; + line-height: 30px; + font-size: 12px; + padding: 0 10rpx; +} +.nav-search { + width: calc(100% - 220rpx); +} + +/** + * 头部内容 + */ +.header-content { + top: 140rpx; + /* #ifdef MP-WEIXIN || MP-BAIDU || MP-QQ || MP-TOUTIAO */ + top: 200rpx; + /* #endif */ + width: calc(100% - 80rpx); + box-shadow: 0 0 8px rgb(0 0 0 / 6%); +} +.header-content .address-content { + width: calc(100% - 220rpx); +} +.header-content .icon-list { + right: 20rpx; + bottom: 20rpx; +} +.header-content .icon-list .icon-item { + width: 50rpx; + height: 50rpx; + line-height: 50rpx; +} +.header-content .icon-item .badge-icon { + top: -10px; + right: 2px; +} +.header-content .icon-list .icon-item:not(:last-child) { + margin-right: 15rpx; +} +.header-content .logo { + width: 110rpx; + height: 110rpx !important; +} +.header-content .base-right { + width: calc(100% - 130rpx); +} +.header-content .base-right .title-length-limit { + width: calc(100% - 110rpx); +} +.header-content .base-right .use-type-icon { + border-top-left-radius: 50rpx; + border-bottom-left-radius: 50rpx; + top: 20rpx; + right: -1px; + padding: 5rpx 20rpx; + box-shadow: -1px 1px 3px rgb(0 0 0 / 10%); +} + +/** + * 桌码 + */ +.tablecode { + background: rgb(255 255 255 / 60%); + padding: 2rpx 20rpx; +} + +/** + * 中间内容 + */ +.content { + margin-top: 80rpx; + height: calc(100vh - 440rpx); + /* #ifdef H5 || APP */ + height: calc(100vh - 390rpx); + /* #endif */ +} + +/** +* 左侧导航 +*/ +.left-content { + width: 180rpx; + height: calc(100% - 120rpx); + padding-bottom: 120rpx; + overflow-x: hidden; + overflow-y: auto; +} +.left-content .item { + height: 80rpx; + line-height: 80rpx; + padding: 0 10rpx; + border-left: 3px solid #fff; + border-right: 3px solid #fff; + overflow: hidden; +} +.left-content .item:not(:last-child) { + border-bottom: 1px solid #f1f1f1 !important; +} +.left-content .active { + background: #f5f5f5; + border-width: 0 0 0 3px; + border-right: 3px solid #f5f5f5 !important; +} +.left-content .badge-icon { + top: -16rpx; + right: 26rpx; +} + +/** +* 右侧内容 +*/ +.right-content { + width: calc(100% - 220rpx); + height: calc(100% - 110rpx); + padding-bottom: 110rpx; + overflow-x: hidden; + overflow-y: auto; +} +.goods-list .goods-img { + width: 160rpx; + height: 160rpx !important; +} +.goods-list .goods-base { + width: calc(100% - 180rpx); +} +.goods-list .goods-base-content { + min-height: 100rpx; +} +.goods-list .goods-base .simple-desc { + line-height: 30rpx; + min-height: 30rpx; + max-height: 58rpx; +} +.goods-list .goods-base .sales-price { + width: calc(100% - 160rpx); +} +.goods-list .goods-base .buy-number { + min-width: 32rpx; +} + +/** + * 底部导航 + */ +.botton-nav { + width: calc(100% - 40rpx); + left: 20rpx; + bottom: 20rpx; + line-height: 80rpx; + z-index: 2; +} +.botton-nav .cart .badge-icon { + top: -20rpx; + right: -2rpx; +} +.botton-nav .cart-total-price { + width: calc(100% - 260rpx); +} +.botton-nav button { + top: 0; + right: 0; + line-height: 88rpx; +} + +/** + * 购物车 + */ +.cart-mask { + left: 0; + top: 0; + background: rgb(0, 0, 0, 0.6); + z-index: 1; +} +.cart-content { + left: 20rpx; + bottom: 130rpx; + width: calc(100% - 40rpx); + z-index: 2; +} +.cart-content .cart-list { + overflow-x: hidden; + overflow-y: auto; + max-height: 60vh; +} +.cart-content .cart-list .goods-img { + width: 120rpx; + height: 120rpx !important; +} +.cart-content .cart-list .goods-base { + width: calc(100% - 140rpx); +} +.cart-content .cart-list .goods-base-content { + min-height: 60rpx; +} \ No newline at end of file diff --git a/pages/plugins/realstore/detail/detail.vue b/pages/plugins/realstore/detail/detail.vue new file mode 100644 index 00000000..b20f2cef --- /dev/null +++ b/pages/plugins/realstore/detail/detail.vue @@ -0,0 +1,1002 @@ + + + \ No newline at end of file diff --git a/pages/plugins/realstore/frequencycard-list/frequencycard-list.css b/pages/plugins/realstore/frequencycard-list/frequencycard-list.css new file mode 100644 index 00000000..842a0fa8 --- /dev/null +++ b/pages/plugins/realstore/frequencycard-list/frequencycard-list.css @@ -0,0 +1,6 @@ +/* +* 导航 +*/ +.nav-base .item { + width: 20%; +} \ No newline at end of file diff --git a/pages/plugins/realstore/frequencycard-list/frequencycard-list.vue b/pages/plugins/realstore/frequencycard-list/frequencycard-list.vue new file mode 100644 index 00000000..b4824f26 --- /dev/null +++ b/pages/plugins/realstore/frequencycard-list/frequencycard-list.vue @@ -0,0 +1,251 @@ + + + \ No newline at end of file diff --git a/pages/plugins/realstore/frequencycard-used/frequencycard-used.vue b/pages/plugins/realstore/frequencycard-used/frequencycard-used.vue new file mode 100644 index 00000000..ba4757a2 --- /dev/null +++ b/pages/plugins/realstore/frequencycard-used/frequencycard-used.vue @@ -0,0 +1,194 @@ + + + \ No newline at end of file diff --git a/pages/plugins/realstore/index/index.css b/pages/plugins/realstore/index/index.css new file mode 100644 index 00000000..e69de29b diff --git a/pages/plugins/realstore/index/index.vue b/pages/plugins/realstore/index/index.vue new file mode 100644 index 00000000..78a8b923 --- /dev/null +++ b/pages/plugins/realstore/index/index.vue @@ -0,0 +1,13 @@ + + + + + diff --git a/pages/plugins/realstore/orderallot-detail/orderallot-detail.css b/pages/plugins/realstore/orderallot-detail/orderallot-detail.css new file mode 100644 index 00000000..52848c0d --- /dev/null +++ b/pages/plugins/realstore/orderallot-detail/orderallot-detail.css @@ -0,0 +1,73 @@ +/* +* 地址信息 +*/ +.address-base, +.address-detail { + padding: 10rpx 0; +} +.address-detail .icon { + width: 30rpx; + height: 35rpx !important; +} +.address-detail .text { + width: calc(100% - 40rpx); +} +.address-detail .text { + line-height: 36rpx; +} +.no-address { + height: 85rpx; + line-height: 85rpx; +} +.address-alias, +.address-map-submit { + padding: 0 15rpx; + line-height: 40rpx; +} +.address-map-submit { + +} + +/* +* 商品信息 +*/ +.goods-base { + min-height: 160rpx; + margin-left: 180rpx; +} +.goods .goods-item:last-child { + border-bottom: 0; +} +.goods-image { + width: 160rpx; + height: 160rpx; +} +.orderaftersale-btn-text { + right: 0; + bottom: 0; + z-index: 1; +} + +/* +* 虚拟销售信息 +*/ +.site-fictitious .panel-content .tips-value { + color: #f37b1d; + background-color: #fff2e9; + border-color: #ffebdb; +} +.site-fictitious .panel-content .left-image { + width: 80rpx; + height: 80rpx; +} +.site-fictitious .panel-content .right-value { + width: calc(100% - 100rpx); +} + +/* +* 自提信息 +*/ +.site-extraction .panel-content .qrcode { + width: 260rpx; + height: 260rpx; +} \ No newline at end of file diff --git a/pages/plugins/realstore/orderallot-detail/orderallot-detail.vue b/pages/plugins/realstore/orderallot-detail/orderallot-detail.vue new file mode 100644 index 00000000..f9706857 --- /dev/null +++ b/pages/plugins/realstore/orderallot-detail/orderallot-detail.vue @@ -0,0 +1,227 @@ + + + \ No newline at end of file diff --git a/pages/plugins/realstore/orderallot-list/orderallot-list.css b/pages/plugins/realstore/orderallot-list/orderallot-list.css new file mode 100644 index 00000000..44ada037 --- /dev/null +++ b/pages/plugins/realstore/orderallot-list/orderallot-list.css @@ -0,0 +1,18 @@ +/* +* 导航 +*/ +.nav-base .item { + width: 16.66%; +} + +/* +* 列表 +*/ +.goods-base { + min-height: 160rpx; + margin-left: 180rpx; +} +.goods-image { + width: 160rpx; + height: 160rpx; +} \ No newline at end of file diff --git a/pages/plugins/realstore/orderallot-list/orderallot-list.vue b/pages/plugins/realstore/orderallot-list/orderallot-list.vue new file mode 100644 index 00000000..c84f55e2 --- /dev/null +++ b/pages/plugins/realstore/orderallot-list/orderallot-list.vue @@ -0,0 +1,308 @@ + + + \ No newline at end of file diff --git a/pages/plugins/shop/detail/detail.vue b/pages/plugins/shop/detail/detail.vue index 0ea34cf3..73bd9dab 100644 --- a/pages/plugins/shop/detail/detail.vue +++ b/pages/plugins/shop/detail/detail.vue @@ -242,8 +242,8 @@ // 基础自定义分享 this.setData({ share_info: { - title: this.data.seo_title || this.shop.name, - desc: this.data.seo_desc || this.shop.describe, + title: this.shop.seo_title || this.shop.name, + desc: this.shop.seo_desc || this.shop.describe, path: '/pages/plugins/shop/detail/detail', query: 'id='+this.shop.id, img: this.shop.logo