From 613122558aa5be39b66d626daad89aa4c9be5d8d Mon Sep 17 00:00:00 2001
From: 77 <270260644@qq.com>
Date: Fri, 27 Sep 2024 18:36:26 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages.json | 11 +
pages/activity/groupon/detail.vue | 941 +++++++++---------
pages/activity/groupon/list.vue | 2 +-
pages/goods/groupon.vue | 13 +-
pages/goods/sales.vue | 295 ++++++
pages/subscribe/subscribe.vue | 596 +++++++----
pages/user/user_vip/index.vue | 211 ++--
sheep/api/member/level.js | 4 +-
sheep/api/product/spu.js | 108 +-
.../s-coupon-block/s-coupon-block.vue | 15 +-
.../s-groupon-block/s-groupon-block.vue | 274 ++---
sheep/ui/su-coupon/su-coupon.vue | 41 +-
uni_modules/zmxy-slideshow/changelog.md | 14 +
.../zmxy-slideshow/zmxy-slideshow.vue | 147 +++
uni_modules/zmxy-slideshow/package.json | 85 ++
uni_modules/zmxy-slideshow/readme.md | 65 ++
16 files changed, 1836 insertions(+), 986 deletions(-)
create mode 100644 pages/goods/sales.vue
create mode 100644 uni_modules/zmxy-slideshow/changelog.md
create mode 100644 uni_modules/zmxy-slideshow/components/zmxy-slideshow/zmxy-slideshow.vue
create mode 100644 uni_modules/zmxy-slideshow/package.json
create mode 100644 uni_modules/zmxy-slideshow/readme.md
diff --git a/pages.json b/pages.json
index 2085d81..ef6fdec 100644
--- a/pages.json
+++ b/pages.json
@@ -177,6 +177,17 @@
"group": "商品"
}
},
+ {
+ "path": "sales",
+ "style": {
+ "navigationBarTitleText": "促销商品"
+ },
+ "meta": {
+ "sync": true,
+ "title": "促销商品",
+ "group": "商品"
+ }
+ },
{
"path": "list",
"style": {
diff --git a/pages/activity/groupon/detail.vue b/pages/activity/groupon/detail.vue
index 0cf22f1..bade0a3 100644
--- a/pages/activity/groupon/detail.vue
+++ b/pages/activity/groupon/detail.vue
@@ -1,516 +1,531 @@
-
-
-
-
-
+
+
+
+
+
-
+
-
-
- {{ state.data.headRecord.userSize }}人团
- 已拼{{ state.data.headRecord.userCount }}件
-
-
-
-
+ " :style="[{ top: Number(statusBarHeight + 108) + 'rpx' }]">
+
+
+ {{ state.data.headRecord.userSize }}人团
+ 已拼{{ state.data.headRecord.userCount }}件
+
+
+
+
+
+
+
+
+
+
+
+ 恭喜您~拼团成功
+
+
+
+
+
+ 抱歉~该团已满员
+
+
+
-
-
-
-
-
-
- 恭喜您~拼团成功
-
-
-
-
-
- 抱歉~该团已满员
-
-
-
+
+
+
+
+ {{ state.data.orderId ? '拼团超时,已自动退款' : '该团已解散' }}
+
+
-
-
-
-
- {{ state.data.orderId ? '拼团超时,已自动退款' : '该团已解散' }}
-
-
+
+
+
+
+
+ 拼团已结束,请关注下次活动
+
+
+
+ 还差
+ {{ state.data.headRecord.userSize - state.data.headRecord.userCount }}人
+ 拼团成功
+
+ {{ endTime.h }}
+ :
+
+ {{ endTime.m }}
+
+ :
+
+ {{ endTime.s }}
+
+
+
+
-
-
-
-
-
- 拼团已结束,请关注下次活动
-
-
-
- 还差
- {{ state.data.headRecord.userSize - state.data.headRecord.userCount }}人
- 拼团成功
-
- {{ endTime.h }}
- :
-
- {{ endTime.m }}
-
- :
-
- {{ endTime.s }}
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
-
-
-
-
-
-
-
-
+
+
+ .order-btn {
+ width: 668rpx;
+ height: 70rpx;
+ border: 2rpx solid #dfdfdf;
+ border-radius: 35rpx;
+ color: #999999;
+ font-weight: 500;
+ font-size: 26rpx;
+ line-height: normal;
+ }
+
+ .disabled-btn {
+ width: 668rpx;
+ height: 70rpx;
+ background: #dddddd;
+ border-radius: 35rpx;
+ color: #999999;
+ font-weight: 500;
+ font-size: 28rpx;
+ line-height: normal;
+ }
+
+ .join-btn {
+ width: 668rpx;
+ height: 70rpx;
+ background: linear-gradient(90deg, #ff6000 0%, #fe832a 100%);
+ box-shadow: 0px 8rpx 6rpx 0px rgba(255, 104, 4, 0.22);
+ border-radius: 35rpx;
+ color: #fff;
+ font-weight: 500;
+ font-size: 28rpx;
+ line-height: normal;
+ }
+
+ .detail-cell-wrap {
+ width: 100%;
+ padding: 10rpx 20rpx;
+ box-sizing: border-box;
+ border-top: 2rpx solid #dfdfdf;
+ background-color: #fff;
+ // min-height: 60rpx;
+
+ .label-text {
+ font-size: 28rpx;
+ font-weight: 400;
+ }
+
+ .cell-content {
+ font-size: 28rpx;
+ font-weight: 500;
+ color: $dark-6;
+ }
+
+ .right-forwrad-icon {
+ font-size: 28rpx;
+ font-weight: 500;
+ color: $dark-9;
+ }
+ }
+
\ No newline at end of file
diff --git a/pages/activity/groupon/list.vue b/pages/activity/groupon/list.vue
index b5a2746..08aee39 100644
--- a/pages/activity/groupon/list.vue
+++ b/pages/activity/groupon/list.vue
@@ -119,7 +119,7 @@
width: 100%;
height: 458rpx;
margin-top: -88rpx;
- background: v-bind(headerBg) no-repeat;
+ background: url('https://zysc.fjptzykj.com:3000/shangcheng/fea9ad54f32d4705a633874efd534e70e507030ea5a7604b0110fdf7292f1f4d.png');
background-size: 100% 100%;
}
.list-content {
diff --git a/pages/goods/groupon.vue b/pages/goods/groupon.vue
index 97c5851..aa8cb12 100644
--- a/pages/goods/groupon.vue
+++ b/pages/goods/groupon.vue
@@ -85,7 +85,12 @@
-
+
+
+
+
+
+
diff --git a/pages/goods/sales.vue b/pages/goods/sales.vue
new file mode 100644
index 0000000..811f198
--- /dev/null
+++ b/pages/goods/sales.vue
@@ -0,0 +1,295 @@
+
+
+
+ ssss
+
+
+
+
+
+
diff --git a/pages/subscribe/subscribe.vue b/pages/subscribe/subscribe.vue
index c41de5f..0a024d9 100644
--- a/pages/subscribe/subscribe.vue
+++ b/pages/subscribe/subscribe.vue
@@ -1,35 +1,36 @@
-
+
-
-
+
+
-
-
+
+
- 医馆地址:
- {{ brandList[selectedClinicIndex].address }}
-
-
-
-
+ 医馆地址:
+ {{ brandList.list[selectedClinicIndex].address }}
+
+
+
+
-
+
医馆选择
-
+
- {{ brandList[selectedClinicIndex].name}}
+ {{ brandList.list[selectedClinicIndex].name}}
预约类型
-
+
- {{ typeList[selecttypeIndex].dictLabel}}
+ {{ typeList[selecttypeIndex].label}}
@@ -52,12 +53,12 @@
-
+
{{ item.formattedDate }}
{{ item.weekday }}
-
+
{{ item.formattedDate }}
{{ item.weekday }}
@@ -76,13 +77,15 @@
-
+
+
{{ item.technicianName }}
{{item.typeName}}
-
+
-
+
+
服务范围
@@ -90,7 +93,7 @@
-
+
@@ -99,20 +102,20 @@
{{ item.str }}
-
+
-
- 约满
- {{ item.str }}
-
+
+ 约满
+ {{ item.str }}
+
-
- {{ item.str }}
+
+ {{ item.str }}
-
+
@@ -127,24 +130,33 @@
diff --git a/sheep/components/s-groupon-block/s-groupon-block.vue b/sheep/components/s-groupon-block/s-groupon-block.vue
index 1345483..0bc5e21 100644
--- a/sheep/components/s-groupon-block/s-groupon-block.vue
+++ b/sheep/components/s-groupon-block/s-groupon-block.vue
@@ -1,154 +1,164 @@
-
-
-
+
-
+
-
-
-
-
-
-
+
+ -->
+
+
+
+
+
+
+
+
+
+
+
+ .goods-list {
+ position: relative;
+
+ .cart-btn {
+ position: absolute;
+ bottom: 10rpx;
+ right: 20rpx;
+ z-index: 11;
+ height: 50rpx;
+ line-height: 50rpx;
+ padding: 0 20rpx;
+ border-radius: 25rpx;
+ font-size: 24rpx;
+ color: #fff;
+ }
+ }
+
+ .goods-list {
+ &:nth-last-of-type(1) {
+ margin-bottom: 0 !important;
+ }
+ }
+
+ .goods-sm-box {
+ margin: 0 auto;
+ box-sizing: border-box;
+
+ .goods-card-box {
+ flex-shrink: 0;
+ overflow: hidden;
+ width: 33.3%;
+ box-sizing: border-box;
+ }
+ }
+
\ No newline at end of file
diff --git a/sheep/ui/su-coupon/su-coupon.vue b/sheep/ui/su-coupon/su-coupon.vue
index 472d17f..c94806c 100644
--- a/sheep/ui/su-coupon/su-coupon.vue
+++ b/sheep/ui/su-coupon/su-coupon.vue
@@ -1,7 +1,7 @@
- {{ state.stateMap[props.state] }}
-
+ -->
-
-
+ -->
-
仅剩:{{ props.surplus }}张
-
+ -->
+
+
+
+ {{ type === 'reduce' ? value : Number(value) }}
+ {{ type === 'reduce' ? '元' : '折' }}
+
+
+ {{ props.title }}
+ 仅剩:{{ props.surplus }}张
+
+
+
+
+
+
+
+
@@ -175,6 +203,7 @@
\ No newline at end of file
diff --git a/uni_modules/zmxy-slideshow/package.json b/uni_modules/zmxy-slideshow/package.json
new file mode 100644
index 0000000..85db18b
--- /dev/null
+++ b/uni_modules/zmxy-slideshow/package.json
@@ -0,0 +1,85 @@
+{
+ "id": "zmxy-slideshow",
+ "displayName": "zmxy-slideshow-个性化幻灯片",
+ "version": "1.0.3",
+ "description": "zmxy-slideshow-个性化幻灯片,常用于轮播图,广告播放",
+ "keywords": [
+ "幻灯片",
+ "轮播图",
+ "广告横幅",
+ "渐变",
+ "放大"
+],
+ "repository": "",
+ "engines": {
+ "HBuilderX": "^3.8.0"
+ },
+ "dcloudext": {
+ "type": "component-vue",
+ "sale": {
+ "regular": {
+ "price": "0.00"
+ },
+ "sourcecode": {
+ "price": "0.00"
+ }
+ },
+ "contact": {
+ "qq": ""
+ },
+ "declaration": {
+ "ads": "无",
+ "data": "无",
+ "permissions": "无"
+ },
+ "npmurl": ""
+ },
+ "uni_modules": {
+ "dependencies": [],
+ "encrypt": [],
+ "platforms": {
+ "cloud": {
+ "tcb": "y",
+ "aliyun": "y"
+ },
+ "client": {
+ "Vue": {
+ "vue2": "y",
+ "vue3": "y"
+ },
+ "App": {
+ "app-vue": "y",
+ "app-nvue": "n"
+ },
+ "H5-mobile": {
+ "Safari": "y",
+ "Android Browser": "y",
+ "微信浏览器(Android)": "y",
+ "QQ浏览器(Android)": "y"
+ },
+ "H5-pc": {
+ "Chrome": "y",
+ "IE": "y",
+ "Edge": "y",
+ "Firefox": "y",
+ "Safari": "y"
+ },
+ "小程序": {
+ "微信": "y",
+ "阿里": "y",
+ "百度": "y",
+ "字节跳动": "n",
+ "QQ": "y",
+ "钉钉": "y",
+ "快手": "y",
+ "飞书": "n",
+ "京东": "n"
+ },
+ "快应用": {
+ "华为": "u",
+ "联盟": "u"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/uni_modules/zmxy-slideshow/readme.md b/uni_modules/zmxy-slideshow/readme.md
new file mode 100644
index 0000000..21ee561
--- /dev/null
+++ b/uni_modules/zmxy-slideshow/readme.md
@@ -0,0 +1,65 @@
+# zmxy-slideshow 幻灯片
+
+> 该组件是对原生
+> [swiper](https://uniapp.dcloud.net.cn/component/swiper.html)
+> 进行封装,继承了原组件部分属性及功能。
+
+## 属性说明
+
+| 属性名 | 类型 | 默认值 | 说明 | 平台差异说明 |
+|:-------------------:|:-----------:|:--------:|:----------------------------------------------------------------------------------------------------:|:------------------------------------------------:|
+| autoplay | Boolean | true | 是否自动切换 | |
+| interval | Number | 5000 | 自动切换时间间隔 | |
+| vertical | Boolean | false | 滑动方向是否为纵向 | |
+| margin | String | 60rpx | 前后边距,接受 px 和 rpx 值 | app-nvue、抖音小程序、飞书小程序不支持 |
+| easing-function | String | default | 指定 swiper 切换缓动动画类型,有效值:default、linear、easeInCubic、easeOutCubic、easeInOutCubic | 微信小程序、快手小程序、京东小程序 |
+| height | String | 300rpx | 组件整体高度,接受 px 和 rpx 值 | |
+| items | Array | [] | 图片地址、标题、链接等数据组成的对象数组([{url,title,link,...},{url,title,link,...},...]),也支持字符串数组([url1,url2,url3,...]) | |
+| @clickItem | EventHandle | | 点击幻灯片触发 clickItem 事件,item = {url,title,link,...} 或者 item = url |
+
+### easing-function 属性
+
+| 值 | 说明 |
+|:---------------:|:-------:|
+| default | 默认缓动函数 |
+| linear | 线性动画 |
+| easeInCubic | 缓入动画 |
+| easeOutCubic | 缓出动画 |
+| easeInOutCubic | 缓入缓出动画 |
+
+### 案例代码
+
+```vue
+# 基础使用
+
+# 字符串数组,线性动画
+
+```
+```javascript
+export default {
+ data() {
+ return {
+ items: [{
+ url: 'https://web-assets.dcloud.net.cn/unidoc/zh/shuijiao.jpg',
+ title: '内容标题',
+ }, {
+ url: 'https://web-assets.dcloud.net.cn/unidoc/zh/shuijiao.jpg',
+ title: '内容标题',
+ }, {
+ url: 'https://web-assets.dcloud.net.cn/unidoc/zh/shuijiao.jpg',
+ title: '内容标题',
+ }, ],
+ items2: [
+ 'https://web-assets.dcloud.net.cn/unidoc/zh/shuijiao.jpg',
+ 'https://web-assets.dcloud.net.cn/unidoc/zh/shuijiao.jpg',
+ 'https://web-assets.dcloud.net.cn/unidoc/zh/shuijiao.jpg',
+ ],
+ };
+ },
+ methods: {
+ clickItem(item) {
+ console.log(item);
+ }
+ }
+}
+```