diff --git a/components/fui-icon/fui-icon.js b/components/fui-icon/fui-icon.js new file mode 100644 index 0000000..5f5557f --- /dev/null +++ b/components/fui-icon/fui-icon.js @@ -0,0 +1,165 @@ +export default { + "addressbook":"\ue80c", + "addfriends-fill": "\ue80a", + "addfriends": "\ue80b", + "backspace-fill": "\ue808", + "backspace": "\ue809", + "bankcard-fill": "\ue806", + "bankcard": "\ue807", + "camera-fill": "\ue804", + "camera": "\ue805", + "captcha-fill": "\ue802", + "captcha": "\ue803", + "cart-fill": "\ue800", + "cart": "\ue801", + "classify": "\ue7fe", + "classify-fill": "\ue7ff", + "comment-fill": "\ue7fc", + "comment": "\ue7fd", + "community-fill": "\ue7fa", + "community": "\ue7fb", + "coupon-fill": "\ue7f8", + "coupon": "\ue7f9", + "delete": "\ue7f6", + "delete-fill": "\ue7f7", + "edit": "\ue7f4", + "edit-fill": "\ue7f5", + "fabulous-fill": "\ue7f2", + "fabulous": "\ue7f3", + "find": "\ue7f0", + "find-fill": "\ue7f1", + "help-fill": "\ue7ee", + "help": "\ue7ef", + "home-fill": "\ue7ec", + "home": "\ue7ed", + "idcard-fill": "\ue7ea", + "idcard": "\ue7eb", + "info": "\ue7e8", + "info-fill": "\ue7e9", + "invite-fill": "\ue7e6", + "invite": "\ue7e7", + "kefu-fill": "\ue7e4", + "kefu": "\ue7e5", + "like-fill": "\ue7e2", + "like": "\ue7e3", + "location": "\ue7e0", + "location-fill": "\ue7e1", + "lock": "\ue7de", + "lock-fill": "\ue7df", + "mail-fill": "\ue7dc", + "mail": "\ue7dd", + "message": "\ue7da", + "message-fill": "\ue7db", + "mobile-fill": "\ue7d8", + "mobile": "\ue7d9", + "more": "\ue7d6", + "more-fill": "\ue7d7", + "my-fill": "\ue7d4", + "my": "\ue7d5", + "principal":"\ue80d", + "notice-fill": "\ue7d2", + "notice": "\ue7d3", + "order": "\ue7d0", + "order-fill": "\ue7d1", + "picture": "\ue7ce", + "picture-fill": "\ue7cf", + "setup-fill": "\ue7cc", + "setup": "\ue7cd", + "share": "\ue7ca", + "share-fill": "\ue7cb", + "shop": "\ue7c8", + "shop-fill": "\ue7c9", + "star-fill": "\ue7c5", + "star": "\ue7c6", + "starhalf": "\ue7c7", + "stepon-fill": "\ue7c3", + "stepon": "\ue7c4", + "wait-fill": "\ue7c1", + "wait": "\ue7c2", + "warning": "\ue7bf", + "warning-fill": "\ue7c0", + "plus": "\ue7bc", + "plussign-fill": "\ue7bd", + "plussign": "\ue7be", + "minus": "\ue7b9", + "minussign": "\ue7ba", + "minussign-fill": "\ue7bb", + "close": "\ue7b8", + "clear": "\ue7b6", + "clear-fill": "\ue7b7", + "checkbox-fill": "\ue7b5", + "checkround": "\ue7b4", + "checkbox": "\ue7b3", + "check": "\ue7b2", + "pulldown-fill": "\ue7ae", + "pullup": "\ue7af", + "pullup-fill": "\ue7b0", + "pulldown": "\ue7b1", + "roundright-fill": "\ue7ac", + "roundright": "\ue7ad", + "arrowright": "\ue7a9", + "arrowleft": "\ue7aa", + "arrowdown": "\ue7ab", + "left": "\ue7a6", + "up": "\ue7a7", + "right": "\ue7a8", + "back": "\ue7a3", + "top": "\ue7a4", + "dropdown": "\ue7a5", + "turningleft": "\ue79f", + "turningup": "\ue7a0", + "turningright": "\ue7a1", + "turningdown": "\ue7a2", + "refresh": "\ue79c", + "loading": "\ue79d", + "search": "\ue79e", + "rotate": "\ue79b", + "screen": "\ue79a", + "signin": "\ue799", + "calendar": "\ue798", + "scan": "\ue797", + "qrcode": "\ue796", + "wallet": "\ue795", + "telephone": "\ue794", + "visible": "\ue793", + "invisible": "\ue792", + "menu": "\ue78e", + "operate": "\ue78f", + "slide": "\ue790", + "list": "\ue791", + "nonetwork": "\ue78d", + "partake": "\ue78c", + "qa": "\ue78b", + "barchart": "\ue788", + "piechart": "\ue789", + "linechart": "\ue78a", + "at": "\ue787", + "face": "\ue77f", + "redpacket": "\ue780", + "suspend": "\ue781", + "link": "\ue782", + "keyboard": "\ue783", + "play": "\ue784", + "video": "\ue785", + "voice": "\ue786", + "sina": "\ue77a", + "browser": "\ue77b", + "moments": "\ue77c", + "qq": "\ue77d", + "wechat": "\ue77e", + "balance": "\ue779", + "bankcardpay": "\ue778", + "wxpay": "\ue777", + "alipay": "\ue776", + "payment":"\ue818", + "receive":"\ue817", + "sendout":"\ue816", + "evaluate":"\ue815", + "aftersale":"\ue814", + "warehouse":"\ue813", + "transport":"\ue812", + "delivery":"\ue811", + "switch":"\ue810", + "goods":"\ue80f", + "goods-fill":"\ue80e" +} diff --git a/components/fui-icon/fui-icon.ttf b/components/fui-icon/fui-icon.ttf new file mode 100644 index 0000000..8bbc644 Binary files /dev/null and b/components/fui-icon/fui-icon.ttf differ diff --git a/components/fui-icon/fui-icon.vue b/components/fui-icon/fui-icon.vue new file mode 100644 index 0000000..08ce7af --- /dev/null +++ b/components/fui-icon/fui-icon.vue @@ -0,0 +1,150 @@ + + + + + \ No newline at end of file diff --git a/components/fui-toast/fui-toast.vue b/components/fui-toast/fui-toast.vue new file mode 100644 index 0000000..19f1c70 --- /dev/null +++ b/components/fui-toast/fui-toast.vue @@ -0,0 +1,206 @@ + + + + + diff --git a/package.json b/package.json index be8b7b8..d0b28c0 100644 --- a/package.json +++ b/package.json @@ -1,105 +1,20 @@ { - "id": "shopro", - "name": "shopro", - "displayName": "芋道商城", - "version": "2.1.0", - "description": "芋道商城,一套代码,同时发行到iOS、Android、H5、微信小程序多个平台,请使用手机扫码快速体验强大功能", - "scripts": { - "prettier": "prettier --write \"{pages,sheep}/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"", - "build:prod": "vue-cli-service build --mode prod", - "build:dev": "vue-cli-service build --mode dev" - }, - "repository": "https://github.com/sheepjs/shop.git", - "keywords": [ - "商城", - "B2C", - "商城模板" - ], - "author": "", - "license": "MIT", - "bugs": { - "url": "https://github.com/sheepjs/shop/issues" - }, - "homepage": "https://github.com/dcloudio/hello-uniapp#readme", - "dcloudext": { - "category": [ - "前端页面模板", - "uni-app前端项目模板" + "id": "fui-toast", + "name": "Toast 轻提示(fui-toast)", + "version": "v2.3.0", + "description": "FirstUI Toast 轻提示,一种轻量级反馈/提示,适合用于页面转场、数据交互的等场景中。", + "keywords": [ + "Toast", + "轻提示", + "组件", + "FirstUI", + "Nvue" ], - "sale": { - "regular": { - "price": "0.00" - }, - "sourcecode": { - "price": "0.00" - } + "dcloudext": { + "category": [ + "前端组件", + "通用组件" + ] }, - "contact": { - "qq": "" - }, - "declaration": { - "ads": "无", - "data": "无", - "permissions": "无" - }, - "npmurl": "" - }, - "uni_modules": { - "dependencies": [], - "encrypt": [], - "platforms": { - "cloud": { - "tcb": "u", - "aliyun": "u" - }, - "client": { - "App": { - "app-vue": "y", - "app-nvue": "u" - }, - "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", - "阿里": "u", - "百度": "u", - "字节跳动": "u", - "QQ": "u", - "京东": "u" - }, - "快应用": { - "华为": "u", - "联盟": "u" - }, - "Vue": { - "vue2": "u", - "vue3": "y" - } - } - } - }, - "dependencies": { - "dayjs": "^1.11.7", - "lodash": "^4.17.21", - "lodash-es": "^4.17.21", - "luch-request": "^3.0.8", - "pinia": "^2.0.33", - "pinia-plugin-persist-uni": "^1.2.0", - "weixin-js-sdk": "^1.6.0" - }, - "devDependencies": { - "prettier": "^2.8.7", - "vconsole": "^3.15.0" - } -} + "displayName": "Toast 轻提示(fui-toast)" +} \ No newline at end of file diff --git a/pages.json b/pages.json index 1bdfd09..8c09b65 100644 --- a/pages.json +++ b/pages.json @@ -46,6 +46,19 @@ "group": "商城" } }, + { + "path": "pages/subscribe/success_tolse", + "style": { + "navigationBarTitleText": "预约成功", + "enablePullDownRefresh": true + }, + "meta": { + "auth": false, + "sync": true, + "title": "预约成功", + "group": "商城" + } + }, { "path": "pages/reservation_record/reservation_record", "style": { @@ -366,6 +379,18 @@ "group": "用户中心" } }, + { + "path": "user_vip/agreement", + "style": { + "navigationBarTitleText": "会员协议" + }, + "meta": { + "auth": true, + "sync": true, + "title": "会员协议", + "group": "用户中心" + } + }, { "path": "user_vip/index", "style": { diff --git a/pages/activity/seckill/list.vue b/pages/activity/seckill/list.vue index 81edf7c..65ba5a1 100644 --- a/pages/activity/seckill/list.vue +++ b/pages/activity/seckill/list.vue @@ -1,419 +1,426 @@ + // 时间段列表 + .time-list { + width: 596rpx; + white-space: nowrap; + + // 时间段 + .item { + display: inline-block; + font-size: 20rpx; + color: #666; + text-align: center; + box-sizing: border-box; + margin-right: 30rpx; + width: 130rpx; + + // 开始时间 + .time { + font-size: 36rpx; + font-weight: 600; + color: #333; + } + + // 选中的时间段 + &.active { + .time { + color: var(--ui-BG-Main); + } + + // 状态 + .status { + height: 30rpx; + line-height: 30rpx; + border-radius: 15rpx; + width: 128rpx; + background: linear-gradient(90deg, var(--ui-BG-Main) 0%, var(--ui-BG-Main-gradient) 100%); + color: #fff; + } + } + } + } + + // 内容区 + .list-content { + position: relative; + z-index: 3; + margin: 0 20rpx 0 20rpx; + // background: #fff; + border-radius: 20rpx 20rpx 0 0; + + .content-header { + width: 100%; + border-radius: 20rpx 20rpx 0 0; + height: 150rpx; + background: linear-gradient(180deg, #fff4f7, #ffe6ec); + + .content-header-box { + width: 678rpx; + height: 64rpx; + background: rgba($color: #fff, $alpha: 0.66); + border-radius: 32px; + + // 场次倒计时内容 + .countdown-title { + font-size: 28rpx; + font-weight: 500; + color: #333333; + line-height: 28rpx; + } + + // 场次倒计时 + .countdown-time { + font-size: 28rpx; + color: rgba(#ed3c30, 0.23); + + // 场次倒计时:小时部分 + .countdown-h { + font-size: 24rpx; + font-family: OPPOSANS; + font-weight: 500; + color: #ffffff; + padding: 0 4rpx; + height: 40rpx; + background: rgba(#ed3c30, 0.23); + border-radius: 6rpx; + } + + // 场次倒计时:分钟、秒 + .countdown-num { + font-size: 24rpx; + font-family: OPPOSANS; + font-weight: 500; + color: #ffffff; + width: 40rpx; + height: 40rpx; + background: rgba(#ed3c30, 0.23); + border-radius: 6rpx; + } + } + } + } + + // 活动列表 + .scroll-box { + height: 900rpx; + + // 活动 + .goods-box { + position: relative; + + // 抢购按钮 + .cart-btn { + position: absolute; + bottom: 10rpx; + right: 20rpx; + z-index: 11; + height: 44rpx; + line-height: 50rpx; + padding: 0 20rpx; + border-radius: 25rpx; + font-size: 24rpx; + color: #fff; + background: linear-gradient(90deg, #ff6600 0%, #fe832a 100%); + + &.disabled { + background: $gray-b; + color: #fff; + } + } + + // 秒杀限量商品数 + .limit { + font-size: 22rpx; + color: $dark-9; + margin-bottom: 5rpx; + } + } + } + } + \ No newline at end of file diff --git a/pages/goods/components/detail/detail-tabbar.vue b/pages/goods/components/detail/detail-tabbar.vue index 36ed2b6..a9ae00e 100644 --- a/pages/goods/components/detail/detail-tabbar.vue +++ b/pages/goods/components/detail/detail-tabbar.vue @@ -32,7 +32,7 @@ > 客服 diff --git a/pages/index/category.vue b/pages/index/category.vue index 03ff459..bc972c6 100644 --- a/pages/index/category.vue +++ b/pages/index/category.vue @@ -1,236 +1,272 @@ + .goods-list-box { + background-color: #fff; + width: calc(100vw - 100px); + padding: 10px; + .top_class{ + position:relative; + .scroll{ + white-space: nowrap; + margin-bottom: 10px; + .list{ + padding:3px 15px; + background:rgba(248,248,248); + color:rgba(179,179,179); + display: inline-block; + border-radius: 13px; + margin-right:10px; + &.on{ + background:rgba(255,235,234); + color:rgba(223,47,41); + } + } + } + .rit{ + position:absolute; + right:0; + top:0; + width:40px; + height:100%; + background-color: white; + display: flex; + align-items: center; + text-align: center; + justify-content: center; + .img{ + width:15px; + height:15px; + } + } + } + } + + .banner-img { + width: calc(100vw - 130px); + border-radius: 5px; + margin-bottom: 20rpx; + } + } + } + \ No newline at end of file diff --git a/pages/index/index.vue b/pages/index/index.vue index 3a9985e..1c0cf29 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1,106 +1,100 @@ + + + \ No newline at end of file diff --git a/pages/pay/result.vue b/pages/pay/result.vue index 5af8634..9d44f70 100644 --- a/pages/pay/result.vue +++ b/pages/pay/result.vue @@ -59,11 +59,11 @@ - + diff --git a/pages/reservation_record/reservation_record.vue b/pages/reservation_record/reservation_record.vue index 5c2d75d..71c8046 100644 --- a/pages/reservation_record/reservation_record.vue +++ b/pages/reservation_record/reservation_record.vue @@ -11,7 +11,7 @@ 预约姓名:{{ item.name }} 预约电话:{{ item.phone }} 预约时间:{{ item.days }} + class="title">{{ item.timeQuantum }} 项目名称:{{ item.projectName }} 项目套餐:{{ item.technicianName }} + + + \ No newline at end of file diff --git a/pages/user/user_vip/list.vue b/pages/user/user_vip/list.vue index 24d0b24..6ded13a 100644 --- a/pages/user/user_vip/list.vue +++ b/pages/user/user_vip/list.vue @@ -17,7 +17,7 @@ 您与众悦e家商场的第101天 开通即享会员权益 - SVIP会员 {{userInfo.cardExpirationTime}} 到期 + SVIP会员 {{ sheep.$helper.timeFormat(userInfo.cardExpirationTime, 'yyyy-mm-dd') }} 到期 @@ -60,7 +60,7 @@ 开通会员 有效期至 - {{userInfo.cardExpirationTime}} + {{ sheep.$helper.timeFormat(userInfo.cardExpirationTime, 'yyyy-mm-dd') }} - 购买即视为同意《会员用户协议》 + 购买即视为同意《会员用户协议 - + @@ -45,6 +45,8 @@ + + @@ -121,6 +123,10 @@ type: Object, default () {}, }, + fl: { + type: Boolean, + default: false, + } }); function path(id) { diff --git a/sheep/components/s-goods-card/s-goods-card.vue b/sheep/components/s-goods-card/s-goods-card.vue index e1450be..c90394f 100644 --- a/sheep/components/s-goods-card/s-goods-card.vue +++ b/sheep/components/s-goods-card/s-goods-card.vue @@ -1,292 +1,300 @@ + .left-list { + &:nth-last-child(1) { + margin-bottom: 0 !important; + } + } + + .right-list { + &:nth-last-child(1) { + margin-bottom: 0 !important; + } + } + } + + .goods-box { + &:nth-last-of-type(1) { + margin-bottom: 0 !important; + } + } + + .goods-md-box, + .goods-sl-box, + .goods-lg-box { + position: relative; + + .cart-btn { + position: absolute; + bottom: 18rpx; + right: 20rpx; + z-index: 11; + height: 50rpx; + line-height: 50rpx; + padding: 0 20rpx; + border-radius: 25rpx; + font-size: 24rpx; + color: #fff; + } + } + \ No newline at end of file diff --git a/sheep/components/s-mof-block/s-mof-block.vue b/sheep/components/s-mof-block/s-mof-block.vue new file mode 100644 index 0000000..a237f34 --- /dev/null +++ b/sheep/components/s-mof-block/s-mof-block.vue @@ -0,0 +1,197 @@ + + + + + + \ No newline at end of file