From 19e734d2ea7d2831cc6382b8d74041bf5504c29e Mon Sep 17 00:00:00 2001 From: Joker_Yxin <2509699647@qq.com> Date: Thu, 17 Oct 2024 14:18:52 +0800 Subject: [PATCH] 场地,登录页,隐私政策 --- components/EditorBox/EditorBox.vue | 616 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ components/tabbar/tabbar.vue | 4 +++- manifest.json | 9 ++++++++- pages.json | 39 ++++++++++++++++++++++++++++++++++++++- pages/advertisementAdd/advertisementAdd - 副本.scss | 152 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ pages/advertisementAdd/advertisementAdd - 副本.vue | 152 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ pages/advertisementApply/advertisementApply.scss | 158 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ pages/advertisementApply/advertisementApply.vue | 189 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ pages/advertisementDetail/advertisementDetail.vue | 6 +++--- pages/details/details - 副本.scss | 146 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ pages/details/details - 副本.vue | 114 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ pages/details/details.vue | 2 +- pages/field/field.vue | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- pages/home/home - 副本.scss | 348 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ pages/home/home - 副本.vue | 401 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ pages/home/home.scss | 87 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---- pages/home/home.vue | 205 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------- pages/leaseAdd/leaseAdd - 副本.scss | 122 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ pages/leaseAdd/leaseAdd - 副本.vue | 140 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ pages/login/login.vue | 38 +++++++++++++++++++++++++++++++++++--- pages/my/my - 副本.scss | 307 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ pages/my/my - 副本.vue | 434 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ pages/my/my.vue | 41 ++++++++++------------------------------- pages/mycreated/mycreated.vue | 4 ++-- pages/participation/participation - 副本.scss | 148 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ pages/participation/participation - 副本.vue | 100 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ pages/privacy/privacy.vue | 36 ++++++++++++++++++++++++++++++++++++ pages/questionnaire/questionnaire.scss | 22 ++++++++++++++++++++++ pages/questionnaire/questionnaire.vue | 8 +++++++- pages/record/record - 副本.scss | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ pages/record/record - 副本.vue | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ pages/record/record.scss | 68 +++++++++++++++++++++++++++++++++++++++++--------------------------- pages/record/record.vue | 9 ++++----- pages/workbench/workbench-副.vue | 249 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ pages/workbench/workbench.vue | 62 +++++++++++++++++++++++++++++++------------------------------- utils/request.js | 3 +++ 36 files changed, 4470 insertions(+), 170 deletions(-) create mode 100644 components/EditorBox/EditorBox.vue create mode 100644 pages/advertisementAdd/advertisementAdd - 副本.scss create mode 100644 pages/advertisementAdd/advertisementAdd - 副本.vue create mode 100644 pages/advertisementApply/advertisementApply.scss create mode 100644 pages/advertisementApply/advertisementApply.vue create mode 100644 pages/details/details - 副本.scss create mode 100644 pages/details/details - 副本.vue create mode 100644 pages/home/home - 副本.scss create mode 100644 pages/home/home - 副本.vue create mode 100644 pages/leaseAdd/leaseAdd - 副本.scss create mode 100644 pages/leaseAdd/leaseAdd - 副本.vue create mode 100644 pages/my/my - 副本.scss create mode 100644 pages/my/my - 副本.vue create mode 100644 pages/participation/participation - 副本.scss create mode 100644 pages/participation/participation - 副本.vue create mode 100644 pages/privacy/privacy.vue create mode 100644 pages/record/record - 副本.scss create mode 100644 pages/record/record - 副本.vue create mode 100644 pages/workbench/workbench-副.vue diff --git a/components/EditorBox/EditorBox.vue b/components/EditorBox/EditorBox.vue new file mode 100644 index 0000000..9ac79bd --- /dev/null +++ b/components/EditorBox/EditorBox.vue @@ -0,0 +1,616 @@ + + + + + \ No newline at end of file diff --git a/components/tabbar/tabbar.vue b/components/tabbar/tabbar.vue index 01aafad..1d626b7 100644 --- a/components/tabbar/tabbar.vue +++ b/components/tabbar/tabbar.vue @@ -2,7 +2,7 @@ @@ -85,7 +85,9 @@ */ onTabBar(item,index){ // this.tabBarShow = index; + console.log(index) switch (index){ + case 0: wx.switchTab({ url:'/pages/home/home' diff --git a/manifest.json b/manifest.json index ac1fc7c..1261014 100644 --- a/manifest.json +++ b/manifest.json @@ -122,6 +122,13 @@ "devServer" : { "https" : false }, - "domain" : "" + "domain" : "", + "sdkConfigs" : { + "maps" : { + "qqmap" : { + "key" : "6YVBZ-Z6EC4-JYNUH-FGQKA-G6PAE-JVF3U" + } + } + } } } diff --git a/pages.json b/pages.json index 879c31e..fad294a 100644 --- a/pages.json +++ b/pages.json @@ -125,7 +125,7 @@ "path": "pages/questionnaire/questionnaire", "style": { "navigationBarTitleText": "问卷调查", - "navigationBarBackgroundColor": "#E0E0E0" + "navigationBarBackgroundColor": "#FFFFFF" } }, { @@ -226,6 +226,43 @@ "navigationBarTitleText": "招商方案", "navigationBarBackgroundColor": "#FFFFFF" } + }, + // 营销推广活动 + { + "path": "pages/marketing/marketingList/marketingList", + "style": { + "navigationBarTitleText": "营销推广活动", + "navigationBarBackgroundColor": "#FFFFFF" + } + }, + { + "path": "pages/marketing/marketingDetail/marketingDetail", + "style": { + "navigationBarTitleText": "详情", + "navigationBarBackgroundColor": "#FFFFFF" + } + }, + // 商务合作 + { + "path": "pages/business/businessList/businessList", + "style": { + "navigationBarTitleText": "商务合作", + "navigationBarBackgroundColor": "#FFFFFF" + } + }, + { + "path": "pages/business/businessDetail/businessDetail", + "style": { + "navigationBarTitleText": "详情", + "navigationBarBackgroundColor": "#FFFFFF" + } + }, + { + "path": "pages/privacy/privacy", + "style": { + "navigationBarTitleText": "绿道用户隐私政策", + "navigationBarBackgroundColor": "#FFFFFF" + } } ], "globalStyle": { diff --git a/pages/advertisementAdd/advertisementAdd - 副本.scss b/pages/advertisementAdd/advertisementAdd - 副本.scss new file mode 100644 index 0000000..0143cde --- /dev/null +++ b/pages/advertisementAdd/advertisementAdd - 副本.scss @@ -0,0 +1,152 @@ +.page{ + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; + background-color: #f6f6f6; +} + +.add-list{ + padding: 0 4%; + background-color: #FFFFFF; + border-radius: 20rpx; + margin-top: 20rpx; + width: 100%; + .list{ + display: flex; + justify-content: space-between; + align-items: center; + width: 100%; + height: 100rpx; + border-bottom: 2rpx solid #f6f6f6; + .title{ + display: flex; + align-items: center; + height: 100%; + text{ + font-size: 26rpx; + color: #222222; + } + .star{ + color: red; + } + } + .content{ + display: flex; + align-items: center; + text-align: right; + input{ + width: 100%; + color: #222222; + font-size: 26rpx; + padding-top: 6rpx; + /* #ifdef MP */ + padding-top: 5rpx; + /* #endif */ + } + image { + width: 20rpx; + height: 20rpx; + margin-left: 10rpx; + /* #ifdef MP */ + margin-top: 5rpx; + /* #endif */ + } + } + } +} + +/* 保存按钮 */ +.page-footer{ + position: fixed; + left: 0; + bottom: 0; + display: flex; + width: 100%; + height: 100rpx; + background-color: #FFFFFF; + padding-bottom: constant(safe-area-inset-bottom); + padding-bottom: env(safe-area-inset-bottom); + .footer-buy{ + display: flex; + align-items: center; + justify-content: space-between; + width: 100%; + height: 100%; + .cart-add{ + display: flex; + align-items: center; + justify-content: center; + width: 100%; + height: 100rpx; + background-color: #3f9b6a; + text{ + font-size: 28rpx; + color: #FFFFFF; + } + } + } +} + +.page-footera { + position: fixed; + left: 0; + bottom: 100rpx; + display: flex; + width: 100%; + height: 100rpx; + background-color: #FFFFFF; + .footer-buya{ + display: flex; + align-items: center; + justify-content: space-between; + width: 100%; + padding: 0 30rpx; + .cart-adda{ + display: flex; + align-items: center; + justify-content: center; + text{ + font-size: 28rpx; + } + } + .cart-addb { + text{ + font-size: 28rpx; + font-weight: bold; + } + } + } +} + +.feedback-data{ + width: 100%; + padding-bottom: 20rpx; + border-bottom: 2rpx solid #f6f6f6; + .title{ + display: flex; + align-items: center; + height: 100rpx; + text{ + font-size: 26rpx; + color: #222222; + } + .star{ + color: red; + } + } + .voucher-img{ + display: flex; + align-items: center; + .voucher-list { + width: 33%; + height: 100%; + image{ + width: 160rpx; + height: 160rpx; + border-radius: 10rpx; + } + } + } +} \ No newline at end of file diff --git a/pages/advertisementAdd/advertisementAdd - 副本.vue b/pages/advertisementAdd/advertisementAdd - 副本.vue new file mode 100644 index 0000000..56e63a5 --- /dev/null +++ b/pages/advertisementAdd/advertisementAdd - 副本.vue @@ -0,0 +1,152 @@ + + + + + diff --git a/pages/advertisementApply/advertisementApply.scss b/pages/advertisementApply/advertisementApply.scss new file mode 100644 index 0000000..d50de53 --- /dev/null +++ b/pages/advertisementApply/advertisementApply.scss @@ -0,0 +1,158 @@ +.page{ + position: absolute; + left: 0; + top: 0; + width: 100%; + overflow-y: scroll; + height: calc(100% - 120rpx); + background-color: #f6f6f6; +} +.steps-box { + padding-top: 40rpx; +} + +.add-list{ + padding: 0 4%; + background-color: #FFFFFF; + border-radius: 20rpx; + margin-top: 20rpx; + width: 100%; + .list{ + display: flex; + justify-content: space-between; + align-items: center; + width: 100%; + height: 100rpx; + border-bottom: 2rpx solid #f6f6f6; + .title{ + display: flex; + align-items: center; + height: 100%; + text{ + font-size: 26rpx; + color: #222222; + } + .star{ + color: red; + } + } + .content{ + display: flex; + align-items: center; + text-align: right; + input{ + width: 100%; + color: #222222; + font-size: 26rpx; + padding-top: 6rpx; + /* #ifdef MP */ + padding-top: 5rpx; + /* #endif */ + } + image { + width: 20rpx; + height: 20rpx; + margin-left: 10rpx; + /* #ifdef MP */ + margin-top: 5rpx; + /* #endif */ + } + } + } + .deom-box { + width: 100vw; + display: flex !important; + padding: 14rpx 0; + background-color: #FFFFFF; + border-radius: 9px; + // margin-top: 9px; + width: 100%; + // .u-upload { + // .u-add-wrap { + // width: 304rpx !important; + // height: 182rpx !important; + // } + // } + // .u-upload { + // height: 88px; + // width: 155px; + // background: url(/static/images/uploadID1.png); + // background-size:134rpx 188rpx; + // background-repeat:no-repeat; + // } + .img-deom { + flex: 1; + display: flex; + flex-direction: column; + align-items: center; + padding: 20rpx; + text { + margin-top: 18rpx; + } + } + } +} + +/* 保存按钮 */ +.page-footer{ + position: fixed; + left: 0; + bottom: 0; + display: flex; + align-items: center; + width: 100%; + height: 125rpx; + background-color: #FFFFFF; + padding-bottom: constant(safe-area-inset-bottom); + padding-bottom: env(safe-area-inset-bottom); + .footer-buy{ + display: flex; + align-items: center; + justify-content: space-between; + width: 100%; + height: 100%; + .cart-add{ + display: flex; + align-items: center; + justify-content: center; + width: 100%; + height: 100rpx; + background-color: #3f9b6a; + text{ + font-size: 28rpx; + color: #FFFFFF; + } + } + } +} + +.feedback-data{ + width: 100%; + padding-bottom: 20rpx; + border-bottom: 2rpx solid #f6f6f6; + .title{ + display: flex; + align-items: center; + height: 100rpx; + text{ + font-size: 26rpx; + color: #222222; + } + .star{ + color: red; + } + } + .voucher-img{ + display: flex; + align-items: center; + .voucher-list { + width: 33%; + height: 100%; + image{ + width: 160rpx; + height: 160rpx; + border-radius: 10rpx; + } + } + } +} \ No newline at end of file diff --git a/pages/advertisementApply/advertisementApply.vue b/pages/advertisementApply/advertisementApply.vue new file mode 100644 index 0000000..53eaee5 --- /dev/null +++ b/pages/advertisementApply/advertisementApply.vue @@ -0,0 +1,189 @@ + + + + + diff --git a/pages/advertisementDetail/advertisementDetail.vue b/pages/advertisementDetail/advertisementDetail.vue index e61be6e..6797f84 100644 --- a/pages/advertisementDetail/advertisementDetail.vue +++ b/pages/advertisementDetail/advertisementDetail.vue @@ -7,8 +7,8 @@ {{tableData.shopDescription}} - 1000元/月 - 2456人有意向 + 4800元/月 + 10人有意向 - - + - + + {{ item.shopName || item.advertisingName || ''}} @@ -201,7 +198,7 @@ /m² - + {{item.detailedLocation || ''}} @@ -209,9 +206,100 @@ + --> + + + 热点租赁信息 + + + + + + + + + + + + + {{ item.shopName || item.advertisingName || item.venueName}} + + 租金:¥{{zujin[index].price}}/月 + 面积:{{item.actualUsableArea?item.actualUsableArea:'55.4'}}/m2 + + + {{item.detailedLocation}} + + + + + + + + + + 商家活动信息 + 查看更多 > + + + + + + + + 标题 + + 活动日期:04-13至05-10 + 举办方:咖啡厅 + + + + + + + + + + 营销推广活动 + 查看更多 > + + + + + + + + 标题 + + 活动日期:04-13至05-10 + 举办方:咖啡厅 + + + + + + + + + + 商务合作 + 查看更多 > + + + + + + + + 标题 + + + + + - + @@ -248,14 +336,16 @@ xuanval:0, xuanList:['区域','租金','默认排序','筛选'], list: [{ - value: '1', - label: '江' + name: '商铺' + }, + { + name: '场地' }, { - value: '2', - label: '湖' + name: '广告位' } ], + current:0 } }, onLoad() { @@ -266,6 +356,7 @@ }, mounted() { this.getALL() + this.onCouponTab(0) }, methods: { getALL(){ @@ -273,39 +364,19 @@ pageNumber: 1, pageSize: 2 } - this.$http.sendRequest('/cereAnnouncement/queryByPage', 'POST', pagesize,1).then(res => { - //成功回调 - - this.procedureData = res.data.data.content.slice(-2) - }) - - this.$http.sendRequest('/cereBasicInformationShop/queryByPage', 'POST', this.pageindex,1).then(res => { - //成功回调 - console.log(res.data.data.content) - this.tableData = res.data.data.content - }) - this.$http.sendRequest('/cereCarouselImage/queryByPage', 'POST', this.pageindex,1).then(res => { - //成功回调 - this.swiperList =res.data.data.content - }) - - setTimeout(bss =>{ - this.$http.sendRequest('/cereAdvertisingInformation/likeGet', 'POST', {pageNumber:1,pageSize:10,advertisingType:"线上广告位"},1).then(res => { - //成功回调 - let reslist = res.data.data.content - reslist.forEach(item => { - this.tableData.push(item) - }) - - }) - },500) + this.$http.sendRequest('/cereAnnouncement/queryByPage', 'POST', pagesize,1).then(res => { + //成功回调 + + this.procedureData = res.data.data.content.slice(-2) + }) + this.$http.sendRequest('/cereCarouselImage/queryByPage', 'POST', this.pageindex,1).then(res => { + //成功回调 + this.swiperList =res.data.data.content + }) }, onCouponTab(type) { - this.OrderType = type; - if(type == 0){ - this.getALL() - } - if (type == 1) { + this.current = type; + if (type == 0) { this.$http.sendRequest('/cereBasicInformationShop/queryByPage', 'POST', this.pageindex,1).then(res => { //成功回调 this.tableData = res.data.data.content @@ -313,9 +384,16 @@ console.log(err) //请求失败 }) + } else if (type == 1) { + this.$http.sendRequest('/cereBasicInformationVenue/queryByPage', 'POST', this.pageindex,1).then(res => { + //成功回调 + this.tableData = res.data.data.content + }).catch(err => { + console.log(err) + //请求失败 + }) + } else if (type == 2) { - this.tableData = [] - } else if (type == 3) { this.pageindex.advertisingType = '线上广告位' this.$http.sendRequest('/cereAdvertisingInformation/likeGet', 'POST', this.pageindex,1).then(res => { //成功回调 @@ -324,10 +402,6 @@ console.log(err) //请求失败 }) - } else if (type == 4) { - this.tableData = [] - } else if (type == 5) { - this.tableData = [] } }, @@ -341,6 +415,12 @@ url: '/pages/field/field' }) }, + toDetail(item, path) { + let items = JSON.stringify(item); + uni.navigateTo({ + url: `${path}?item=${items}` + }) + }, advertisement() { uni.navigateTo({ url: '/pages/advertisement/advertisement' @@ -352,12 +432,19 @@ url: `/pages/procedure/procedure?item=${items}` }) }, - details(item) { - let items = JSON.stringify(item) - uni.navigateTo({ - url: `/pages/details/details?item=${items}` - }) - }, + details(item) { + let items = JSON.stringify(item) + if(this.current == 0 || this.current == 1){ + uni.navigateTo({ + url: `/pages/details/details?item=${items}` + }) + }else{ + uni.navigateTo({ + url: `/pages/advertisementDetail/advertisementDetail?item=${items}` + }) + } + + }, setList(val){ this.xuanval = val @@ -391,6 +478,10 @@ this.tableData = res.data.data.content }) + }, + tabsChange(itme){ + console.log(itme) + this.onCouponTab(itme) } } }; diff --git a/pages/leaseAdd/leaseAdd - 副本.scss b/pages/leaseAdd/leaseAdd - 副本.scss new file mode 100644 index 0000000..a9722a7 --- /dev/null +++ b/pages/leaseAdd/leaseAdd - 副本.scss @@ -0,0 +1,122 @@ +.page{ + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; + background-color: #f6f6f6; +} + +.add-list{ + padding: 0 4%; + background-color: #FFFFFF; + border-radius: 20rpx; + margin-top: 20rpx; + width: 100%; + padding-bottom: 150rpx; + .list{ + display: flex; + justify-content: space-between; + align-items: center; + width: 100%; + height: 100rpx; + border-bottom: 2rpx solid #f6f6f6; + .title{ + display: flex; + align-items: center; + height: 100%; + text{ + font-size: 26rpx; + color: #222222; + } + .star{ + color: red; + } + } + .content{ + display: flex; + align-items: center; + text-align: right; + input{ + width: 100%; + color: #222222; + font-size: 26rpx; + padding-top: 6rpx; + /* #ifdef MP */ + padding-top: 5rpx; + /* #endif */ + } + image { + width: 20rpx; + height: 20rpx; + margin-left: 10rpx; + /* #ifdef MP */ + margin-top: 5rpx; + /* #endif */ + } + } + } +} + +/* 保存按钮 */ +.page-footer{ + position: fixed; + left: 0; + bottom: 0; + display: flex; + width: 100%; + height: 100rpx; + background-color: #FFFFFF; + padding-bottom: constant(safe-area-inset-bottom); + padding-bottom: env(safe-area-inset-bottom); + .footer-buy{ + display: flex; + align-items: center; + justify-content: space-between; + width: 100%; + height: 100%; + .cart-add{ + display: flex; + align-items: center; + justify-content: center; + width: 100%; + height: 100rpx; + background-color: #3f9b6a; + text{ + font-size: 28rpx; + color: #FFFFFF; + } + } + } +} + +.feedback-data{ + width: 100%; + padding-bottom: 20rpx; + border-bottom: 2rpx solid #f6f6f6; + .title{ + display: flex; + align-items: center; + height: 100rpx; + text{ + font-size: 26rpx; + color: #222222; + } + .star{ + color: red; + } + } + .voucher-img{ + display: flex; + align-items: center; + .voucher-list { + width: 33%; + height: 100%; + image{ + width: 160rpx; + height: 160rpx; + border-radius: 10rpx; + } + } + } +} \ No newline at end of file diff --git a/pages/leaseAdd/leaseAdd - 副本.vue b/pages/leaseAdd/leaseAdd - 副本.vue new file mode 100644 index 0000000..509ae89 --- /dev/null +++ b/pages/leaseAdd/leaseAdd - 副本.vue @@ -0,0 +1,140 @@ + + + + + diff --git a/pages/login/login.vue b/pages/login/login.vue index d8e3de8..35b585b 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -18,9 +18,18 @@ 手机号登录 - + + + + 我已阅读并同意《隐私政策》 + @@ -74,6 +83,8 @@ num: 60, time: null, // cid + checked:null, + showTong:'', push_clientid:'' }; }, @@ -83,7 +94,24 @@ }, methods: { goLogin(){ - this.denglu = true + + if(this.showTong == 'tongyi'){ + this.denglu = true + }else{ + uni.showToast({ + icon: 'none', + title: '请阅读并同意隐私政策' + }) + } + }, + goRegister(){ + + }, + goyinsi(){ + console.log('1222222222222') + uni.navigateTo({ + url: '/pages/privacy/privacy' + }); }, register() { if (this.form.phone == '') { @@ -136,7 +164,11 @@ /** * 登录点击 */ - onLogin() {} + onLogin() {}, + checkboxGroupChange(val){ + this.showTong = val[0] + console.log(this.showTong) + } }, watch: { form: { diff --git a/pages/my/my - 副本.scss b/pages/my/my - 副本.scss new file mode 100644 index 0000000..0e93560 --- /dev/null +++ b/pages/my/my - 副本.scss @@ -0,0 +1,307 @@ +.page{ + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; +} +.my-top{ + position: absolute; + width: 100%; + height: 300rpx; + /* #ifdef MP */ + height: 360rpx; + /* #endif */ + overflow: hidden; + .head{ + position: fixed; + left: 0; + top: 0; + z-index: 100; + display: flex; + align-items: center; + justify-content: space-between; + width: 100%; + height: 100rpx; + /* #ifdef APP-PLUS */ + height: calc(100rpx + var(--status-bar-height)); + padding-top: var(--status-bar-height); + /* #endif */ + /* #ifdef MP */ + height: calc(120rpx + var(--status-bar-height)); + padding-top: calc(40rpx + var(--status-bar-height)); + /* #endif */ + background-color: rgba(255,255,255,0); + .logo-title{ + width: 40%; + color: #fff; + padding-left: 20rpx; + image { + width: 169rpx; + height: 40rpx; + margin-left: 10rpx; + } + } + .setting-mess{ + width: 20%; + display: flex; + align-items: center; + height: 100%; + margin-right: 20rpx; + .setting{ + display: flex; + justify-content: center; + align-items: center; + width: 80rpx; + height: 100%; + text{ + font-size: 38rpx; + } + } + .mess{ + display: flex; + justify-content: center; + align-items: center; + width: 80rpx; + height: 100%; + text{ + font-size: 38rpx; + } + } + } + } +} +.main { + position: relative; + top: 90rpx; + /* #ifdef MP */ + top: 170rpx; + /* #endif */ + margin: 0 20rpx; + padding-bottom: 150rpx; +} + /* 用户信息 */ + .user-info{ + display: flex; + align-items: center; + padding: 0 0 10rpx 10rpx; + .portrait{ + width: 120rpx; + height: 120rpx; + margin-right: 20rpx; + box-sizing: border-box; + image{ + width: 120rpx; + height: 120rpx; + border-radius: 30rpx; + border: 4rpx solid #FFFFFF; + box-sizing: border-box; + } + } + .info{ + display: flex; + flex-direction: column; + justify-content: center; + width: 74%; + height: 100%; + .nickname{ + width: 100%; + margin-bottom: 20rpx; + text{ + font-size: 28rpx; + font-weight: bold; + color: #fff; + } + } + .rank{ + .rank-box { + display: inline-block; + background-color:#FFF9EC; + border: 2rpx solid #C6A45A; + border-radius: 100rpx; + padding: 5rpx 20rpx; + } + image { + width: 24rpx; + height: 24rpx; + margin-right: 4rpx; + position: relative; + top: 2rpx; + } + text{ + font-size: 24rpx; + color: #C6A45A; + } + } + } + } + + .user-right { + display: flex; + image { + width: 28rpx; + height: 28rpx; + } + } +.main { + position: relative; + top: 120rpx; + padding-bottom: 150rpx; + /* #ifdef MP */ + top: 190rpx; + padding-bottom: 200rpx; + /* #endif */ +} +.titleall-box { + display: flex; + justify-content: space-between; + padding: 30rpx 0; + .titleall-left { + font-size: 32rpx; + font-weight: bold; + display: flex; + align-items: center; + .titleall-left-line { + width: 16rpx; + height: 36rpx; + border-radius: 100rpx; + background: -webkit-gradient(linear, top top, bottom top, from(#30a738), to(#4dcc56)); + background: -o-linear-gradient(top, #30a738, #4dcc56); + background: linear-gradient(to top, #30a738, #4dcc56); + margin-right: 20rpx; + box-shadow: 0 5rpx 10rpx #ace2b0; + } + } + .titleall-right { + color: #C1C1C1; + image { + width: 20rpx; + height: 20rpx; + margin-left: 10rpx; + } + } +} +.message-list{ + padding: 0 4%; + background-color: #FFFFFF; + border-radius: 0 0 20rpx 20rpx; + margin: 20rpx 0; + border-radius: 20rpx; + .list{ + display: flex; + align-items: center; + justify-content: space-between; + width: 100%; + height: 100rpx; + border-bottom: 2rpx solid #f6f6f6; + .icon-data{ + display: flex; + align-items: center; + width: 80%; + height: 100%; + .icon{ + display: flex; + align-items: center; + justify-content: center; + width: 40rpx; + height: 40rpx; + image{ + width: 40rpx; + height: 40rpx; + } + } + .data{ + margin-left: 20rpx; + .title{ + display: flex; + width: 100%; + text{ + font-size: 30rpx; + color: #000; + } + } + } + } + .more{ + display: flex; + align-items: center; + image { + width: 20rpx; + height: 20rpx; + } + } + } +} +/* 我的服务 */ +.my-service-two { + padding: 10rpx 0 0 0; + .service-list-two{ + display: flex; + align-items: center; + text-align: center; + flex-wrap: wrap; + .service-list-list-two{ + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + width: 33.33%; + margin-bottom: 40rpx; + .thumb{ + font-size: 42rpx; + font-weight: bold; + margin-bottom: 10rpx; + image{ + width: 100%; + height: 100%; + } + } + .name{ + display: flex; + align-items: center; + justify-content: center; + text{ + color: #929292; + font-size: 28rpx; + } + } + } + } +} + +/* 我的服务 */ +.my-service { + padding: 20rpx 0 40rpx 0; + .service-list{ + display: flex; + align-items: center; + text-align: center; + flex-wrap: wrap; + .service-list-list{ + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + width: 25%; + .thumb{ + width: 60rpx; + font-size: 42rpx; + font-weight: bold; + margin-bottom: 10rpx; + image{ + width: 100%; + height: 100%; + } + } + .name{ + display: flex; + align-items: center; + justify-content: center; + text{ + color: #929292; + font-size: 28rpx; + } + } + } + } +} \ No newline at end of file diff --git a/pages/my/my - 副本.vue b/pages/my/my - 副本.vue new file mode 100644 index 0000000..e90451e --- /dev/null +++ b/pages/my/my - 副本.vue @@ -0,0 +1,434 @@ + + + + + diff --git a/pages/my/my.vue b/pages/my/my.vue index e90451e..f484ebc 100644 --- a/pages/my/my.vue +++ b/pages/my/my.vue @@ -62,7 +62,7 @@ 我的活动 - + + - + {{tongji.total}} @@ -117,14 +109,6 @@ 访客数 - {{tongji.rate || `0%`}} @@ -133,18 +117,10 @@ 转化率 - - + --> 我的服务 @@ -164,7 +140,7 @@ - + @@ -313,6 +289,9 @@ }) }, + toPage(url) { + uni.navigateTo({ url }); + }, recordService() { if(this.Islogin == false){ uni.navigateTo({ diff --git a/pages/mycreated/mycreated.vue b/pages/mycreated/mycreated.vue index 3502c0f..3ca2780 100644 --- a/pages/mycreated/mycreated.vue +++ b/pages/mycreated/mycreated.vue @@ -15,11 +15,11 @@ - 这里有标题这里有标题这里有标题这里有标题 + 绿道好物节 活动时间: - 2022.22.22 + 2024.10.20 参与商家: diff --git a/pages/participation/participation - 副本.scss b/pages/participation/participation - 副本.scss new file mode 100644 index 0000000..19ee78a --- /dev/null +++ b/pages/participation/participation - 副本.scss @@ -0,0 +1,148 @@ +.page{ + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; + padding: 0 40rpx; + background-color: #fff; +} +.head-search{ + display: flex; + align-items: center; + justify-content: space-between; + position: relative; + margin: 20rpx 0; + .search{ + + display: flex; + align-items: center; + width: 100%; + height: 72rpx; + + border: 2rpx solid #E8E8E8; + justify-content: space-between; + padding: 0 10rpx 0 30rpx; + .icon{ + display: flex; + align-items: center; + + margin-left: 20rpx; + margin-right: 15rpx; + image{ + width: 29rpx; + height: 29rpx; + } + } + + } + } +/* 订单列表 */ +.screen-list { + display: flex; + align-items: center; + width: 100%; + margin: 40rpx 0; + width: 100%; + .list { + display: flex; + justify-content: center; + align-items: center; + width: 25%; + height: 100%; + text { + font-size: 26rpx; + color: #555555; + } + image { + width: 30rpx; + height: 30rpx; + margin-left: 10rpx; + } + } + + + } + +.goods-data{ + width: 100%; + .goods-list{ + width: 100%; + + .list{ + display: flex; + margin-bottom: 40rpx; + .thumb{ + display: flex; + // align-items: center; + width: 36%; + image{ + width: 230rpx; + height: 190rpx; + border-radius: 10rpx; + } + } + + .item{ + width: 60%; + margin-left: 4%; + .title{ + display: flex; + align-items: center; + width: 100%; + margin: 20rpx 0; + .color{ + color: #A8A8A8; + } + } + .canyu{ + width: 100%; + padding: 30rpx 20rpx; + background-color: #3F9B6A; + height: 70rpx; + text-align: center; + line-height: 15rpx; + color: #fff; + } + text{ + font-size: 30rpx; + // font-weight: bold; + color: #222222; + } + + } + + } + .goods-border{ + padding: 30rpx; + border: 1px solid #F3F3F3; + } + } +} +/* 保存按钮 */ +.page-footer{ + width: 100%; + background-color: #FFFFFF; + padding-bottom: constant(safe-area-inset-bottom); + padding-bottom: env(safe-area-inset-bottom); + margin:40rpx 0 80rpx 0; + .footer-buy{ + display: flex; + align-items: center; + justify-content: space-between; + width: 100%; + height: 100%; + .cart-add{ + display: flex; + align-items: center; + justify-content: center; + width: 100%; + height: 70rpx; + background-color: #3f9b6a; + text{ + font-size: 28rpx; + color: #FFFFFF; + } + } + } +} diff --git a/pages/participation/participation - 副本.vue b/pages/participation/participation - 副本.vue new file mode 100644 index 0000000..ef149cb --- /dev/null +++ b/pages/participation/participation - 副本.vue @@ -0,0 +1,100 @@ + + + + + diff --git a/pages/privacy/privacy.vue b/pages/privacy/privacy.vue new file mode 100644 index 0000000..61f7a60 --- /dev/null +++ b/pages/privacy/privacy.vue @@ -0,0 +1,36 @@ + + + + + \ No newline at end of file diff --git a/pages/questionnaire/questionnaire.scss b/pages/questionnaire/questionnaire.scss index 4498b27..d4774cf 100644 --- a/pages/questionnaire/questionnaire.scss +++ b/pages/questionnaire/questionnaire.scss @@ -6,6 +6,28 @@ height: 100%; background-color: #f6f6f6; } +.head-search{ + display: flex; + align-items: center; + justify-content: space-between; + position: relative; + margin: 20rpx 24rpx; + background-color: #FFFFFF; + border-radius: 35rpx; + padding: 0 10rpx; + border: 2rpx solid #E8E8E8; + .u-search { + position: relative; + } + .u-btn { + border: unset; + border: 0px transparent; + height: 46rpx; + width: 88rpx; + font-size: 24rpx; + border-radius: 35rpx; + } +} .screen-list { display: flex; align-items: center; diff --git a/pages/questionnaire/questionnaire.vue b/pages/questionnaire/questionnaire.vue index 86be7ba..ebcb63f 100644 --- a/pages/questionnaire/questionnaire.vue +++ b/pages/questionnaire/questionnaire.vue @@ -1,5 +1,9 @@