From 414da254b2dce3e5c1c5068c79a9cdb6e57b694e Mon Sep 17 00:00:00 2001 From: wangzimeng <3297159934@qq.com> Date: Tue, 22 Jul 2025 18:19:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=AD=E5=9B=A2=E9=A4=90=E9=A5=AE=EF=BC=88?= =?UTF-8?q?=E8=BF=9B=E5=BA=A624%=EF=BC=89=EF=BC=9A=201=E3=80=81=E9=A6=96?= =?UTF-8?q?=E9=A1=B5=E7=9A=84=E9=A3=9F=E5=A0=82=E6=8B=9B=E7=A7=9F=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC=E9=A1=B5=E9=9D=A2=E7=9A=84=E9=9D=99=E6=80=81=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=B7=B2=E5=AE=8C=E6=88=90=EF=BC=8C=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=B7=B2=E5=AF=B9=E6=8E=A5=EF=BC=8C=E5=89=A9?= =?UTF-8?q?=E4=BD=99=E6=90=9C=E7=B4=A2=E5=8A=9F=E8=83=BD=E7=9A=84=E5=AE=9E?= =?UTF-8?q?=E7=8E=B0=EF=BC=9B=202=E3=80=81=E4=B8=AA=E4=BA=BA=E4=B8=AD?= =?UTF-8?q?=E5=BF=83=E7=9A=84=E7=AD=BE=E5=88=B0=E9=A1=B5=E9=9D=A2=EF=BC=9A?= =?UTF-8?q?=E9=9D=99=E6=80=81=E9=A1=B5=E9=9D=A2=E5=B7=B2=E5=AE=8C=E6=88=90?= =?UTF-8?q?=EF=BC=8C=E5=89=A9=E4=BD=99=E5=BA=95=E9=83=A8=E5=9B=9B=E8=A1=8C?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E6=8C=89=E9=92=AE=E7=9A=84=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E5=92=8C=E5=AE=9E=E7=8E=B0=EF=BC=9B=203=E3=80=81=E4=B8=AA?= =?UTF-8?q?=E4=BA=BA=E4=B8=AD=E5=BF=83=E7=9A=84=E9=87=87=E7=94=A8=E5=8E=9F?= =?UTF-8?q?=E5=95=86=E5=9F=8E=E7=9A=84=E9=A1=B5=E9=9D=A2=E8=83=BD=E6=AD=A3?= =?UTF-8?q?=E5=B8=B8=E8=B7=B3=E8=BD=AC=EF=BC=8C=E5=89=A9=E4=BD=99=E9=83=A8?= =?UTF-8?q?=E5=88=86=E9=9C=80=E8=A6=81=E4=B8=8EUI=E8=AE=BE=E8=AE=A1?= =?UTF-8?q?=E5=9B=BE=E5=AF=B9=E6=AF=94=E8=BF=9B=E8=A1=8C=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 59 +- pages/app/sign.vue | 1097 ++++++++++------- pages/canteenRent/rentDetail.vue | 9 + pages/canteenRent/rentList.vue | 398 ++++++ pages/index/index.vue | 70 +- pages/index/user.vue | 63 +- pages/school/schoolIndex.vue | 178 +++ pages/user/myRelease/list.vue | 9 + sheep/api/index.js | 2 + sheep/api/rent.js | 34 + .../su-regionCity-picker.vue | 262 ++++ 11 files changed, 1690 insertions(+), 491 deletions(-) create mode 100644 pages/canteenRent/rentDetail.vue create mode 100644 pages/canteenRent/rentList.vue create mode 100644 pages/school/schoolIndex.vue create mode 100644 pages/user/myRelease/list.vue create mode 100644 sheep/api/rent.js create mode 100644 sheep/ui/su-regionCity-picker/su-regionCity-picker.vue diff --git a/pages.json b/pages.json index 48724ef..175851e 100644 --- a/pages.json +++ b/pages.json @@ -23,7 +23,8 @@ { "path": "pages/index/fabu", "style": { - "navigationBarTitleText": "发布" + "navigationBarTitleText": "发布", + "enablePullDownRefresh": true }, "meta": { "sync": true, @@ -95,7 +96,49 @@ } } ], - "subPackages": [{ + "subPackages": [ + { + "root": "pages/canteenRent", + "pages": [{ + "path": "rentList", + "style": { + "navigationBarTitleText": "食堂招租" + }, + "meta": { + "auth": true, + "title": "食堂招租" + } + }, + { + "path": "rentDetail", + "style": { + "navigationBarTitleText": "招租详情" + }, + "meta": { + "sync": true, + "title": "招租详情", + "group": "食堂招租" + } + } + + ] + }, + { + "root": "pages/school", + "pages": [{ + "path": "schoolIndex", + "style": { + "navigationBarTitleText": "平台学院" + }, + "meta": { + "auth": true, + "title": "平台学院" + } + } + + ] + }, + { "root": "pages/goods", "pages": [{ "path": "index", @@ -304,6 +347,18 @@ "group": "用户中心" } }, + { + "path": "myRelease/list", + "style": { + "navigationBarTitleText": "我的发布" + }, + "meta": { + "auth": true, + "sync": true, + "title": "我的发布", + "group": "用户中心" + } + }, { "path": "goods-collect", "style": { diff --git a/pages/app/sign.vue b/pages/app/sign.vue index 747a6e2..ae87dd9 100644 --- a/pages/app/sign.vue +++ b/pages/app/sign.vue @@ -1,69 +1,155 @@ + .activity-des { + font-size: 26rpx; + font-weight: 500; + color: #666666; + line-height: 40rpx; + } + + .topInfo { + background-image: url('https://jiangxiaoxian.0rui.cn/signBanner.png'); + background-size: 100%; + width: 100%; + height: 400rpx; + + .sroceShopBtn { + width: 164rpx; + height: 60rpx; + border-radius: 169rpx; + background-color: #333333; + color: #fcc74e; + display: flex; + justify-content: center; + align-items: center; + position: relative; + top: 218rpx; + left: 30rpx; + } + + } + + .signList { + width: 634rpx; + // height: 470rpx; + border-radius: 18rpx; + padding: 30rpx; + margin: 0 auto; + position: relative; + bottom: 50rpx; + + .obtainSign { + display: flex; + justify-content: space-between; + align-items: center; + + .signTask-text { + margin-left: 20rpx; + + .textFir { + font-weight: bold; + font-size: 30rpx; + line-height: 30rpx; + color: #333333; + } + + .textSec { + margin-top: 20rpx; + font-weight: 400; + font-size: 24rpx; + line-height: 24rpx; + color: #999999; + } + + } + + .signBtn { + width: 127rpx; + height: 56rpx; + border: 2rpx solid #333333; + border-radius: 12rpx; + display: flex; + justify-content: center; + align-items: center; + color: #333333; + } + + .signedBtn { + width: 127rpx; + height: 56rpx; + border: 2rpx solid #999999; + border-radius: 12rpx; + display: flex; + justify-content: center; + align-items: center; + color: #999999; + } + + } + + .line-row { + width: 630rpx; + height: 1rpx; + background: #EEEEEE; + border-radius: 0rpx 0rpx 0rpx 0rpx; + margin: 30rpx 0; + } + + } + \ No newline at end of file diff --git a/pages/canteenRent/rentDetail.vue b/pages/canteenRent/rentDetail.vue new file mode 100644 index 0000000..907e06e --- /dev/null +++ b/pages/canteenRent/rentDetail.vue @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/pages/canteenRent/rentList.vue b/pages/canteenRent/rentList.vue new file mode 100644 index 0000000..eb3b172 --- /dev/null +++ b/pages/canteenRent/rentList.vue @@ -0,0 +1,398 @@ + + + + + \ No newline at end of file diff --git a/pages/index/index.vue b/pages/index/index.vue index adc2940..9bd10c4 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -7,10 +7,10 @@ - + - 全国 + {{state.model.city_name ? proCity:'全国' }} @@ -24,12 +24,12 @@ - + 食堂招租 味揽商机 食载未来 - + 平台学院 学知赋能成长 @@ -110,7 +110,15 @@ - + + + + + @@ -119,7 +127,8 @@ \ No newline at end of file diff --git a/pages/user/myRelease/list.vue b/pages/user/myRelease/list.vue new file mode 100644 index 0000000..4631799 --- /dev/null +++ b/pages/user/myRelease/list.vue @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/sheep/api/index.js b/sheep/api/index.js index 018d5aa..4f6ff4b 100644 --- a/sheep/api/index.js +++ b/sheep/api/index.js @@ -12,6 +12,7 @@ import pay from "./pay" import third from "./third" import trade from "./trade" import user from "./user" +import rent from "./rent" export default { activity, @@ -28,5 +29,6 @@ export default { third, trade, user, + rent, } diff --git a/sheep/api/rent.js b/sheep/api/rent.js new file mode 100644 index 0000000..2637460 --- /dev/null +++ b/sheep/api/rent.js @@ -0,0 +1,34 @@ +import request from '@/sheep/request'; + +export default { + // 招租列表 + rentlist: (params) => + request({ + url: 'meal.information/information_list', + method: 'GET', + params, + custom: { + showLoading: false, + }, + }), + // 标签列表 + tagsList: (params) => + request({ + url: 'meal.information/cate_list', + method: 'GET', + params, + custom: { + showLoading: false, + }, + }), + // detail: (id, user_coupon_id) => + // request({ + // url: 'coupon/detail', + // method: 'GET', + // params: { + // id: id, + // user_coupon_id, + // }, + // }), + +}; \ No newline at end of file diff --git a/sheep/ui/su-regionCity-picker/su-regionCity-picker.vue b/sheep/ui/su-regionCity-picker/su-regionCity-picker.vue new file mode 100644 index 0000000..33d5d73 --- /dev/null +++ b/sheep/ui/su-regionCity-picker/su-regionCity-picker.vue @@ -0,0 +1,262 @@ + + + + +