diff --git a/app.json b/app.json index 0f8e064..353f323 100644 --- a/app.json +++ b/app.json @@ -2,7 +2,8 @@ "pages": [ "pages/index/index", "pages/explore/index", - "pages/my/index" + "pages/my/index", + "pages/activitydetail/index" ], "window": { "backgroundTextStyle": "light", @@ -30,6 +31,7 @@ } ] }, - "style": "v2", + "usingComponents": {}, + "sitemapLocation": "sitemap.json" } \ No newline at end of file diff --git a/app.less b/app.less index 06c6fc9..5ac1dc0 100644 --- a/app.less +++ b/app.less @@ -8,3 +8,31 @@ padding: 200rpx 0; box-sizing: border-box; } + +.note{ + color: #00000099; + font-size: 12px; + font-weight: 400; +} + +.font-normal{ + font-size: 14px; +} + +.font-normal-bold{ + font-size: 14px; + font-weight: 600; +} + +.font-h2{ + font-size: 16px; + font-weight: 600; +} + +page{ + --color-brand-blue:#0052D9; + --color-lightblue:#F2F3FF; + --color-red:#d54941; + --color-orange:#E37318; + --color-black-60:#00000099; +} diff --git a/custom-tab-bar/index.json b/custom-tab-bar/index.json index df5bd1d..31f8169 100644 --- a/custom-tab-bar/index.json +++ b/custom-tab-bar/index.json @@ -2,6 +2,6 @@ "component": true, "usingComponents": { "t-tab-bar": "tdesign-miniprogram/tab-bar/tab-bar", - "t-tab-bar-item": "tdesign-miniprogram/tab-bar/tab-bar-item" + "t-tab-bar-item": "tdesign-miniprogram/tab-bar-item/tab-bar-item" } } \ No newline at end of file diff --git a/custom-tab-bar/index.wxml b/custom-tab-bar/index.wxml index 69a9b7b..9d019a4 100644 --- a/custom-tab-bar/index.wxml +++ b/custom-tab-bar/index.wxml @@ -1,5 +1,5 @@ - + {{item.label}} - \ No newline at end of file + diff --git "a/images/activitydetail/Image \345\233\276\347\211\207(1).png" "b/images/activitydetail/Image \345\233\276\347\211\207(1).png" new file mode 100644 index 0000000..d0ca790 Binary files /dev/null and "b/images/activitydetail/Image \345\233\276\347\211\207(1).png" differ diff --git "a/images/activitydetail/Image \345\233\276\347\211\207.png" "b/images/activitydetail/Image \345\233\276\347\211\207.png" new file mode 100644 index 0000000..cabd74d Binary files /dev/null and "b/images/activitydetail/Image \345\233\276\347\211\207.png" differ diff --git "a/images/activitydetail/Image \345\233\276\347\211\207@2x(1).png" "b/images/activitydetail/Image \345\233\276\347\211\207@2x(1).png" new file mode 100644 index 0000000..9970a07 Binary files /dev/null and "b/images/activitydetail/Image \345\233\276\347\211\207@2x(1).png" differ diff --git "a/images/activitydetail/Image \345\233\276\347\211\207@2x.png" "b/images/activitydetail/Image \345\233\276\347\211\207@2x.png" new file mode 100644 index 0000000..a9874b7 Binary files /dev/null and "b/images/activitydetail/Image \345\233\276\347\211\207@2x.png" differ diff --git a/images/activitydetail/Image(1).png b/images/activitydetail/Image(1).png new file mode 100644 index 0000000..e32d0e6 Binary files /dev/null and b/images/activitydetail/Image(1).png differ diff --git a/images/activitydetail/Image(2).png b/images/activitydetail/Image(2).png new file mode 100644 index 0000000..58dfb2d Binary files /dev/null and b/images/activitydetail/Image(2).png differ diff --git a/images/activitydetail/Image(3).png b/images/activitydetail/Image(3).png new file mode 100644 index 0000000..cad770f Binary files /dev/null and b/images/activitydetail/Image(3).png differ diff --git a/images/activitydetail/Image(4).png b/images/activitydetail/Image(4).png new file mode 100644 index 0000000..92f87a2 Binary files /dev/null and b/images/activitydetail/Image(4).png differ diff --git a/images/activitydetail/Image(5).png b/images/activitydetail/Image(5).png new file mode 100644 index 0000000..d20f57f Binary files /dev/null and b/images/activitydetail/Image(5).png differ diff --git a/images/activitydetail/Image.png b/images/activitydetail/Image.png new file mode 100644 index 0000000..fbf550e Binary files /dev/null and b/images/activitydetail/Image.png differ diff --git a/images/activitydetail/Image@2x(1).png b/images/activitydetail/Image@2x(1).png new file mode 100644 index 0000000..a86c367 Binary files /dev/null and b/images/activitydetail/Image@2x(1).png differ diff --git a/images/activitydetail/Image@2x(2).png b/images/activitydetail/Image@2x(2).png new file mode 100644 index 0000000..5db5976 Binary files /dev/null and b/images/activitydetail/Image@2x(2).png differ diff --git a/images/activitydetail/Image@2x(3).png b/images/activitydetail/Image@2x(3).png new file mode 100644 index 0000000..4c46ed3 Binary files /dev/null and b/images/activitydetail/Image@2x(3).png differ diff --git a/images/activitydetail/Image@2x(4).png b/images/activitydetail/Image@2x(4).png new file mode 100644 index 0000000..3b80089 Binary files /dev/null and b/images/activitydetail/Image@2x(4).png differ diff --git a/images/activitydetail/Image@2x(5).png b/images/activitydetail/Image@2x(5).png new file mode 100644 index 0000000..1455a46 Binary files /dev/null and b/images/activitydetail/Image@2x(5).png differ diff --git a/images/activitydetail/Image@2x.png b/images/activitydetail/Image@2x.png new file mode 100644 index 0000000..4dbd09d Binary files /dev/null and b/images/activitydetail/Image@2x.png differ diff --git a/images/activitydetail/Mask.png b/images/activitydetail/Mask.png new file mode 100644 index 0000000..19c3eb3 Binary files /dev/null and b/images/activitydetail/Mask.png differ diff --git a/images/activitydetail/Mask@2x.png b/images/activitydetail/Mask@2x.png new file mode 100644 index 0000000..a1644d7 Binary files /dev/null and b/images/activitydetail/Mask@2x.png differ diff --git a/images/activitydetail/Union.png b/images/activitydetail/Union.png new file mode 100644 index 0000000..cb6a9f9 Binary files /dev/null and b/images/activitydetail/Union.png differ diff --git a/images/activitydetail/Union@2x.png b/images/activitydetail/Union@2x.png new file mode 100644 index 0000000..5695ad2 Binary files /dev/null and b/images/activitydetail/Union@2x.png differ diff --git a/images/activitydetail/image 15.png b/images/activitydetail/image 15.png new file mode 100644 index 0000000..a4387b7 Binary files /dev/null and b/images/activitydetail/image 15.png differ diff --git a/images/activitydetail/image 15@2x.png b/images/activitydetail/image 15@2x.png new file mode 100644 index 0000000..0b5a1aa Binary files /dev/null and b/images/activitydetail/image 15@2x.png differ diff --git "a/images/activitydetail/\345\215\212\345\234\206.png" "b/images/activitydetail/\345\215\212\345\234\206.png" new file mode 100644 index 0000000..d393e13 Binary files /dev/null and "b/images/activitydetail/\345\215\212\345\234\206.png" differ diff --git a/mock/mockData.js b/mock/mockData.js new file mode 100644 index 0000000..193f273 --- /dev/null +++ b/mock/mockData.js @@ -0,0 +1,59 @@ +module.exports = { + // 模拟接口 + '/api/detailBasic': { + code: 200, + message: 'success', + data: { + ifLiked:false, + posterImage:"/images/activitydetail/image 15@2x.png", + guestImage:[ + `/images/activitydetail/Image 图片.png`, + `/images/activitydetail/Image 图片.png`, + `/images/activitydetail/Image 图片.png` + ], + venueImage:[ + "/images/activitydetail/Image 图片(1).png", + "/images/activitydetail/Image 图片(1).png", + "/images/activitydetail/Image 图片(1).png" + ], + activityTitleText:"2021 SICC服装设计创新大会", + interestedPeopleAvatar:[ + "/images/activitydetail/Image.png", + "/images/activitydetail/Image(1).png", + "/images/activitydetail/Image(2).png", + "/images/activitydetail/Image(3).png", + "/images/activitydetail/Image(4).png", + "/images/activitydetail/Image(5).png" + ], + interestedPeopleNum:236, + beginTime:"2021年3月16日", + location:"深圳市腾讯滨海大厦", + evaluationScore:4.5, + evaluation:[ + { + userAvatar:"/images/activitydetail/Image.png", + username:"小小轩", + text:"我已经是第三次参加SICC大会了,作为一名服务体验行业的设计者,每次参与都受益匪浅。我已经是第三次参加SICC大会了,作为一名服务体验行业的设计者,每次参与都受益匪浅。" + }, + { + userAvatar:"/images/activitydetail/Image.png", + username:"小小轩", + text:"我已经是第三次参加SICC大会了,作为一名服务体验行业的设计者,每次参与都受益匪浅。我已经是第三次参加SICC大会了,作为一名服务体验行业的设计者,每次参与都受益匪浅。" + }, + { + userAvatar:"/images/activitydetail/Image.png", + username:"小小轩", + text:"我已经是第三次参加SICC大会了,作为一名服务体验行业的设计者,每次参与都受益匪浅。我已经是第三次参加SICC大会了,作为一名服务体验行业的设计者,每次参与都受益匪浅。" + }, + { + userAvatar:"/images/activitydetail/Image.png", + username:"小小轩", + text:"我已经是第三次参加SICC大会了,作为一名服务体验行业的设计者,每次参与都受益匪浅。我已经是第三次参加SICC大会了,作为一名服务体验行业的设计者,每次参与都受益匪浅。" + } + ], + introduction:"在数字化时代背景下,如何抓住机遇,构建“数字”+“文化”更高效、宽领域、深覆盖的新时代文化创新之路,让优秀传统文化得以延续和新生,被更多人认可和接受,也是我们服务设计探索的方向。2021年5月16日,由腾讯用户研究与体验设计部(简称CDC)主办的第三届服务创新大会,将在深圳腾讯滨海大厦召开。近年来数字化正在赋能传统文化的传承和传播,而传统文化也同样在启发新的服务设计理念和思路,两者之间的界限越来越模糊,相互融合。本次大会将围绕文化保育和文化创新,邀请7位传统文物、建筑、服饰、工艺等不同艺术领域的行业专家,为我们分享最新发展趋势和实践经验,开拓来宾在传统文化与数字科技间的碰撞思路,探索新的服务设计课题,让我们先睹为快,了解这些专家们将会分享哪些主题。", + pricemin:88, + pricemax:288 + }, + }, +}; \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index b0dbc76..59e2252 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,15 @@ { "name": "miniprogram-starter", + "version": "0.0.2", "lockfileVersion": 2, "requires": true, "packages": { "": { + "name": "miniprogram-starter", + "version": "0.0.2", + "license": "MIT", "dependencies": { - "tdesign-miniprogram": "^0.12.1" + "tdesign-miniprogram": "^1.1.15" } }, "node_modules/dayjs": { @@ -14,9 +18,9 @@ "integrity": "sha512-F4LXf1OeU9hrSYRPTTj/6FbO4HTjPKXvEIC1P2kcnFurViINCVk3ZV0xAS3XVx9MkMsXbbqlK6hjseaYbgKEHw==" }, "node_modules/tdesign-miniprogram": { - "version": "0.12.1", - "resolved": "https://registry.npmmirror.com/tdesign-miniprogram/-/tdesign-miniprogram-0.12.1.tgz", - "integrity": "sha512-nRQu3us411XbFz7AFa1o/ZffZtc+jxRLYhLCALzivsqFDQt0YaxBQbtRNxg7fwKtaKezg/wl+IFSymm4OfgiCQ==", + "version": "1.1.15", + "resolved": "https://registry.npmjs.org/tdesign-miniprogram/-/tdesign-miniprogram-1.1.15.tgz", + "integrity": "sha512-dFGA5fQnObN6bjer3CIcRhNOsjz9VwV2oBC+EEz2bFMYMQQZ0A754TWQzHr/UkW/q+qEMakfxGxlKTa19YSwzw==", "dependencies": { "dayjs": "^1.10.7" } @@ -29,9 +33,9 @@ "integrity": "sha512-F4LXf1OeU9hrSYRPTTj/6FbO4HTjPKXvEIC1P2kcnFurViINCVk3ZV0xAS3XVx9MkMsXbbqlK6hjseaYbgKEHw==" }, "tdesign-miniprogram": { - "version": "0.12.1", - "resolved": "https://registry.npmmirror.com/tdesign-miniprogram/-/tdesign-miniprogram-0.12.1.tgz", - "integrity": "sha512-nRQu3us411XbFz7AFa1o/ZffZtc+jxRLYhLCALzivsqFDQt0YaxBQbtRNxg7fwKtaKezg/wl+IFSymm4OfgiCQ==", + "version": "1.1.15", + "resolved": "https://registry.npmjs.org/tdesign-miniprogram/-/tdesign-miniprogram-1.1.15.tgz", + "integrity": "sha512-dFGA5fQnObN6bjer3CIcRhNOsjz9VwV2oBC+EEz2bFMYMQQZ0A754TWQzHr/UkW/q+qEMakfxGxlKTa19YSwzw==", "requires": { "dayjs": "^1.10.7" } diff --git a/package.json b/package.json index fa434e8..512b597 100644 --- a/package.json +++ b/package.json @@ -5,12 +5,15 @@ "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, - "keywords": ["wechat", "miniprogram", "starter"], + "keywords": [ + "wechat", + "miniprogram", + "starter" + ], "author": "leejim", "license": "MIT", "description": "a start-kit for wechat miniprogram powerby TDesign miniprogram", "dependencies": { - "tdesign-miniprogram": "^0.12.1" - }, - "devDependencies": {} + "tdesign-miniprogram": "^1.1.15" + } } diff --git a/pages/activitydetail/index.js b/pages/activitydetail/index.js new file mode 100644 index 0000000..9cec470 --- /dev/null +++ b/pages/activitydetail/index.js @@ -0,0 +1,169 @@ +// pages/activitydetail/index.js +const mockData = require('../../mock/mockData.js'); +import Toast from 'tdesign-miniprogram/toast/index'; + + +Page({ + /** + * 页面的初始数据 + */ + data: { + ifShowDetail:true, + animationShowHide:{}, + screenHeight:0, + imageProps:{ + width:"566rpx" + }, + swiperNextMargin:0 + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function () { + // 导入初始数据 + this.setData({ + pageData:mockData['/api/detailBasic'].data, + + }) + // 判断感兴趣的人数 + if(this.data.pageData.interestedPeopleNum > 99){ + this.setData({ + avatarnum:99 + }) + }else{ + this.setData({ + avatarnum:this.data.pageData.interestedPeopleNum + }) + } + + const that = this; + wx.getSystemInfo({ + success: function (res) { + that.setData({ + screenHeight: res.windowHeight, + swiperNextMargin: (res.windowWidth-311)*2 + }); + } + }); + }, + + // 点击收藏按钮 + onLikeTap(){ + this.data.pageData.ifLiked = !this.data.pageData.ifLiked + this.setData({ + pageData:this.data.pageData + }) + }, + + // 点击导航 + navigateToLocation(){ + Toast({ + context: this, + selector: '#t-toast', + message: '导航到'+this.data.pageData.location, + }); + }, + + // 点击分享 + onShareTap(){ + Toast({ + context: this, + selector: '#t-toast', + message: '分享该活动', + }); + }, + + // 点击购买 + buyTicket(){ + Toast({ + context: this, + selector: '#t-toast', + message: '购买活动门票', + }); + }, + + // 展示或者隐藏详细信息 + showOrHideDetail(){ + this.setData({ + ifShowDetail : !this.data.ifShowDetail + }) + // 创建动画 + var animation = wx.createAnimation({ + duration: 400, // 动画持续时间,单位ms,默认值为0 + timingFunction: 'ease', // 动画的时间曲线,默认值为'linear' + delay: 0, // 动画延迟时间,单位ms,默认值为0 + transformOrigin: '50% 50% 0' + }) + var animationFlip = wx.createAnimation({ + duration: 400, // 动画持续时间,单位ms,默认值为0 + timingFunction: 'ease', // 动画的时间曲线,默认值为'linear' + delay: 0, // 动画延迟时间,单位ms,默认值为0 + transformOrigin: '50% 50% 0' + }) + if(!this.data.ifShowDetail){ + // console.log("下拉") + animation.height(0).step() + this.setData({ + animationShowHide: animation, + }); + }else{ + // console.log("上拉") + let _height = this.data.screenHeight - 250; // 计算新的高度值 + // console.log(_height) + animation.height(_height).step() + this.setData({ + animationShowHide: animation, + }); + } + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady: function () { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow: function () { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide: function () { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload: function () { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh: function () { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom: function () { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage: function () { + + } +}) \ No newline at end of file diff --git a/pages/activitydetail/index.json b/pages/activitydetail/index.json new file mode 100644 index 0000000..95c3cdf --- /dev/null +++ b/pages/activitydetail/index.json @@ -0,0 +1,18 @@ +{ + + "usingComponents": { + "t-avatar": "tdesign-miniprogram/avatar/avatar", + "t-avatar-group": "tdesign-miniprogram/avatar-group/avatar-group", + "t-divider": "tdesign-miniprogram/divider/divider", + "t-icon": "tdesign-miniprogram/icon/icon", + "t-button": "tdesign-miniprogram/button/button", + "t-rate": "tdesign-miniprogram/rate/rate", + "t-toast": "tdesign-miniprogram/toast/toast", + "t-swiper": "tdesign-miniprogram/swiper/swiper", + "t-swiper-nav": "tdesign-miniprogram/swiper-nav/swiper-nav" + }, + "navigationBarTextStyle": "white", + "navigationBarTitleText": "详情", + "navigationBarBackgroundColor": "#000" + +} \ No newline at end of file diff --git a/pages/activitydetail/index.wxml b/pages/activitydetail/index.wxml new file mode 100644 index 0000000..460f4d4 --- /dev/null +++ b/pages/activitydetail/index.wxml @@ -0,0 +1,141 @@ + + + + + + + + + + 活动嘉宾 + + + + + + + + + 活动会场 + + + + + + + + + + + + + + + + + + + + + + + {{pageData.activityTitleText}} + + + + + + + + {{pageData.interestedPeopleNum}}人感兴趣 + + + + + + + + + + 时间:{{pageData.beginTime}} + + + + + + 地点:{{pageData.location}} + + 导航 + + + + + + + + 活动评价({{pageData.evaluation.length}}) + + + + {{pageData.evaluationScore}}分 + + + + + + + + + {{item.username}} + {{item.text}} + + + + + + + 活动介绍 + {{pageData.introduction}} + + + + + + + + 收藏 + + + + 分享 + + + + + + + + + diff --git a/pages/activitydetail/index.wxss b/pages/activitydetail/index.wxss new file mode 100644 index 0000000..2e09d4f --- /dev/null +++ b/pages/activitydetail/index.wxss @@ -0,0 +1,124 @@ +/* pages/activitydetail/index.wxss */ +page{ + background-color: black; +} + +.infoContainer{ + background-color: white; + border-radius: 24rpx 24rpx 0 0; + box-shadow: 0 -4rpx 88rpx#000000 ; + width: 100%; +} + +.titleContainer{ + padding: 0 32rpx 32rpx 32rpx; + +} + +.titleText{ + font-size: 20px; + font-weight: 600; +} + +.timeContainer{ + padding: 10rpx 32rpx 0rpx 32rpx; +} + +.navigatebtn{ + background-color: var(--color-lightblue); + color: var(--color-brand-blue); + font-size: 14px; + font-weight: 600; + padding: 0; + width: 88rpx; +} + +.rateContainer{ + padding: 12rpx 32rpx 24rpx 32rpx; +} + +.evaluationContainer{ + padding: 0 0 12rpx 16rpx; + white-space: nowrap; + overflow-x: scroll; /* 横向滚动 */ +} + +.evaluationItem{ + display: inline-block; /* 横向排列 */ + margin-left: 16rpx; + border-radius: 18rpx; + opacity: 1; + background: #f3f3f3; + padding: 24rpx 32rpx; + width: 83%; +} + +.evaluationText{ + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 2; /* 设置显示的行数 */ + overflow: hidden; + text-overflow: ellipsis; +} + +.introductionContainer{ + padding: 12rpx 32rpx 32rpx 32rpx; +} + +.detailContainer{ + height: calc(100vh - 500rpx); + overflow-y: scroll; + overflow-x: hidden; +} + +.actionContainer{ + background-color: white; + padding: 32rpx; +} + +.iconContainer{ + width: 100rpx; + height: 100rpx; +} + +.buybtn{ + color: white; + background-color: var(--color-brand-blue); + height: 88rpx; + line-height: 88rpx; + width: calc(100vw - 296rpx); +} + +.pullUpHandle{ + background-repeat: no-repeat; + background-position: center; + background-size: 152rpx 22rpx; + position: relative; + bottom: 34rpx; +} + +.guestContainer{ + padding: 20rpx 0 0rpx 32rpx; +} + +.guestImg{ + width: 566rpx; + height: 320rpx; +} + +.card-theme { + --td-swiper-radius: 0; + --td-swiper-item-padding: 0 12rpx; + --td-swiper-nav-dot-color: #e7e7e7; + --td-swiper-nav-dot-active-color: #0052d9; + + padding-bottom: 18px; +} + +.card-theme .card-theme-nav { + bottom: -18px; +} + +.venueContainer{ + padding: 48rpx 0 0 32rpx; +} \ No newline at end of file diff --git a/project.config.json b/project.config.json index 6f5b5d1..71b63c6 100644 --- a/project.config.json +++ b/project.config.json @@ -5,53 +5,52 @@ "include": [] }, "setting": { - "bundle": false, - "userConfirmedBundleSwitch": false, - "urlCheck": true, - "scopeDataCheck": false, - "coverView": true, + "urlCheck": false, "es6": true, + "enhance": true, "postcss": true, - "compileHotReLoad": false, - "lazyloadPlaceholderEnable": false, "preloadBackgroundData": false, "minified": true, - "autoAudits": false, "newFeature": false, + "coverView": true, + "nodeModules": false, + "autoAudits": false, + "showShadowRootInWxmlPanel": true, + "scopeDataCheck": false, "uglifyFileName": false, + "checkInvalidKey": true, + "checkSiteMap": true, "uploadWithSourceMap": true, - "useIsolateContext": true, - "nodeModules": false, - "enhance": true, + "compileHotReLoad": false, + "lazyloadPlaceholderEnable": false, "useMultiFrameRuntime": true, "useApiHook": true, "useApiHostProcess": true, - "showShadowRootInWxmlPanel": true, - "packNpmManually": false, - "enableEngineNative": false, - "packNpmRelationList": [], - "minifyWXSS": true, - "showES6CompileOption": false, - "minifyWXML": true, - "useStaticServer": true, - "checkInvalidKey": true, "babelSetting": { "ignore": [], "disablePlugins": [], "outputPath": "" }, + "enableEngineNative": false, + "useIsolateContext": true, + "userConfirmedBundleSwitch": false, + "packNpmManually": false, + "packNpmRelationList": [], + "minifyWXSS": true, "disableUseStrict": false, + "minifyWXML": true, + "showES6CompileOption": false, "useCompilerPlugins": [ "less" ] }, "compileType": "miniprogram", "libVersion": "2.19.4", - "appid": "wxcdfa13a58381f0fc", + "appid": "wx54f1358b5273b447", "projectname": "miniprogram-starter", - "condition": {}, "editorSetting": { "tabIndent": "insertSpaces", "tabSize": 2 - } + }, + "condition": {} } \ No newline at end of file diff --git a/project.private.config.json b/project.private.config.json index 48b9b50..ffdc5f2 100644 --- a/project.private.config.json +++ b/project.private.config.json @@ -3,5 +3,26 @@ "setting": { "compileHotReLoad": true }, - "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html" + "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html", + "condition": { + "plugin": { + "list": [] + }, + "game": { + "list": [] + }, + "gamePlugin": { + "list": [] + }, + "miniprogram": { + "list": [ + { + "name": "pages/activitydetail/index", + "pathName": "pages/activitydetail/index", + "query": "", + "scene": null + } + ] + } + } } \ No newline at end of file