会员权益

This commit is contained in:
2026-04-29 15:33:58 +08:00
commit 54965243da
2787 changed files with 242809 additions and 0 deletions

View File

@@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/diy/index"],{"0442":function(t,e,a){"use strict";(function(t,e){var n=a("47a9");a("aa6c");n(a("3240"));var i=n(a("348e"));t.__webpack_require_UNI_MP_PLUGIN__=a,e(i.default)}).call(this,a("3223")["default"],a("df3c")["createPage"])},"2ca1":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,a=(t._self._c,t.loadEnd&&t.diyData&&t.diyData.page&&t.diyData.page.style&&t.diyData.page.style.backgroundImage?t.getImagePath(t.diyData.page.style.backgroundImage):null);t.$mp.data=Object.assign({},{$root:{m0:a}})},i=[]},"348e":function(t,e,a){"use strict";a.r(e);var n=a("2ca1"),i=a("84ef");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("7dcf");var o=a("828b"),c=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=c.exports},"3cab":function(t,e,a){"use strict";(function(t){var n=a("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(a("7ca3")),r=a("8f59");function o(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}var c={components:{diyMode:function(){a.e("pages/component/diy/index").then(function(){return resolve(a("3f72"))}.bind(null,a)).catch(a.oe)}},data:function(){return{loadEnd:!1,pageId:null,diyData:null,shareData:{},spaceHeight:0}},computed:function(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?o(Object(a),!0).forEach((function(e){(0,i.default)(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):o(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}({},(0,r.mapState)({shareImage:function(t){return t.app.shareImage},shareTitle:function(t){return t.app.shareTitle}})),onLoad:function(e){var a=this;this.pageId=e.page_id,t.showLoading({title:"加载中"}),this.getDiyData((function(){t.hideLoading(),a.loadEnd=!0}))},onShow:function(){this.loadEnd&&this.getDiyData()},onPullDownRefresh:function(){this.getDiyData((function(){t.stopPullDownRefresh()}))},onShareAppMessage:function(t){return"button"==t.from?{title:this.shareData.title,path:this.shareData.path,imageUrl:this.shareData.imageUrl||this.shareImage}:{title:this.shareTitle,imageUrl:this.shareImage}},onShareTimeline:function(){return{title:this.shareTitle,imageUrl:this.shareImage}},methods:{getDiyData:function(e){var a=this;this.$util.request("main.diyData",{page_id:this.pageId}).then((function(n){if(1==n.code){var i,r;if(a.diyData=n.data,n.data&&n.data.page){var o=n.data.page;t.setNavigationBarColor({frontColor:"white"===o.style.titleTextColor?"#ffffff":"#000000",backgroundColor:o.style.titleBackgroundColor||""}),t.setNavigationBarTitle({title:o.params.title||""})}if(a.loadEnd&&a.$refs.diyMode.updateData(),e&&e(),null!==(i=n.data)&&void 0!==i&&null!==(r=i.items)&&void 0!==r&&r.length){var c=n.data.items.some((function(t){return"memberMapDiy"==t.type}));c&&setTimeout((function(){try{var e,n,i=t.createSelectorQuery().in(a);i.select(".container-header").boundingClientRect((function(t){e=(null===t||void 0===t?void 0:t.height)||0})).select(".container-footer").boundingClientRect((function(t){n=(null===t||void 0===t?void 0:t.height)||0})).exec((function(){a.spaceHeight=Number(Number(e)+Number(n))}))}catch(r){a.spaceHeight=0}}),200)}}else e&&e(),t.showToast({title:n.msg,icon:"none"})})).catch((function(t){e&&e(),console.error("获取自定义数据 ",t)}))},getImagePath:function(t){return t.indexOf("http")>-1?t:this.diyData.domain+t},setShareData:function(t){this.shareData=t}}};e.default=c}).call(this,a("df3c")["default"])},"7dcf":function(t,e,a){"use strict";var n=a("f6ba"),i=a.n(n);i.a},"84ef":function(t,e,a){"use strict";a.r(e);var n=a("3cab"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},f6ba:function(t,e,a){}},[["0442","common/runtime","common/vendor"]]]);

View File

@@ -0,0 +1,7 @@
{
"enablePullDownRefresh": true,
"navigationBarTitleText": "",
"usingComponents": {
"diy-mode": "/pages/component/diy/index"
}
}

View File

@@ -0,0 +1 @@
<block wx:if="{{loadEnd}}"><view><block wx:if="{{diyData&&diyData.page&&diyData.page.style}}"><view class="container" style="{{'background-color:'+(diyData.page.style.backgroundColor||'')+';'}}"><title-bar class="container-header" vue-id="7004ca50-1" frontColor="{{diyData.page.style.titleTextColor}}" backgroundColor="{{diyData.page.style.titleBackgroundColor||''}}" title="{{diyData.page.params.title||''}}" bind:__l="__l"></title-bar><block wx:if="{{diyData.page.style.backgroundImage}}"><image class="container-background" src="{{$root.m0}}" mode="aspectFill"></image></block><view class="container-main"><diy-mode class="vue-ref" vue-id="7004ca50-2" show-data="{{diyData}}" spaceHeight="{{spaceHeight}}" data-ref="diyMode" data-event-opts="{{[['^setShareData',[['setShareData']]]]}}" bind:setShareData="__e" bind:__l="__l"></diy-mode></view><view class="container-footer safe-padding"><tab-bar vue-id="7004ca50-3" bind:__l="__l"></tab-bar></view></view></block><block wx:else><view class="container"><view class="container-header"><title-bar vue-id="7004ca50-4" bind:__l="__l"></title-bar></view><view class="container-error">未配置首页样式,请于后台进行首页装修</view><view class="container-footer safe-padding"><tab-bar vue-id="7004ca50-5" bind:__l="__l"></tab-bar></view></view></block></view></block>

View File

@@ -0,0 +1 @@
page{padding:0}.container{position:relative;z-index:9;min-height:100vh}.container .container-background{position:fixed;top:0;left:0;right:0;bottom:0;z-index:-1}.container .container-error{padding:64rpx 32rpx;font-size:32rpx;line-height:48rpx;color:#5a5b6e;text-align:center}

View File

@@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/diy/richText"],{"15e2":function(t,e,n){"use strict";var r=n("69c3"),o=n.n(r);o.a},4156:function(t,e,n){"use strict";n.r(e);var r=n("b236"),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(i);e["default"]=o.a},"63f1":function(t,e,n){"use strict";n.r(e);var r=n("9eac"),o=n("4156");for(var i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i);n("15e2");var a=n("828b"),c=Object(a["a"])(o["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],void 0);e["default"]=c.exports},6496:function(t,e,n){"use strict";(function(t,e){var r=n("47a9");n("aa6c");r(n("3240"));var o=r(n("63f1"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(o.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},"69c3":function(t,e,n){},"9eac":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return r}));var r={mpHtml:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/mp-html/components/mp-html/mp-html")]).then(n.bind(null,"7717"))}},o=function(){var t=this.$createElement;this._self._c},i=[]},b236:function(t,e,n){"use strict";var r=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n("7ca3")),i=n("8f59");function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var c={data:function(){return{navigationBarTitle:"详情",loadEnd:!1}},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach((function(e){(0,o.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},(0,i.mapState)({shareInfo:function(t){return t.app.shareInfo},editorContent:function(t){return t.app.editorContent}})),onLoad:function(t){var e=this;this.navigationBarTitle=t.name?decodeURIComponent(t.name):"详情",this.$nextTick((function(){e.loadEnd=!0}))},onShareAppMessage:function(){return{title:this.shareInfo.title,imageUrl:this.shareInfo.image}},onShareTimeline:function(){return{title:this.shareInfo.title,imageUrl:this.shareInfo.image}},methods:{}};e.default=c}},[["6496","common/runtime","common/vendor"]]]);

View File

@@ -0,0 +1,6 @@
{
"navigationBarTitleText": "",
"usingComponents": {
"mp-html": "/uni_modules/mp-html/components/mp-html/mp-html"
}
}

View File

@@ -0,0 +1 @@
<view class="container"><title-bar vue-id="47c3de69-1" title="{{navigationBarTitle}}" bind:__l="__l"></title-bar><block wx:if="{{loadEnd}}"><view class="container-main"><mp-html vue-id="47c3de69-2" content="{{editorContent}}" bind:__l="__l"></mp-html></view></block></view>

View File

@@ -0,0 +1 @@
page{background:#fff}.container .container-main{padding:32rpx;font-size:32rpx;line-height:60rpx;color:#666}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,10 @@
{
"navigationBarTitleText": "搜索结果",
"usingComponents": {
"member-item": "/pages/component/member/index",
"member-units": "/pages/component/member/units",
"activity-item": "/pages/component/activity/index",
"article-item": "/pages/component/article/index",
"goods-item": "/pages/component/mall/goods"
}
}

View File

@@ -0,0 +1 @@
<view class="container" style="{{'--theme-color:'+(themeColor)+';'}}"><title-bar vue-id="03c2f54a-1" showBack="{{true}}" title="搜索结果" bind:__l="__l"></title-bar><block wx:if="{{loadEnd}}"><view class="container-main"><block wx:if="{{$root.g0}}"><view class="main-column"><view class="column-title">会员列表</view><member-item vue-id="03c2f54a-2" show-data="{{memberList}}" bind:__l="__l"></member-item><block wx:if="{{$root.m0}}"><view data-event-opts="{{[['tap',[['memberLoadMore']]]]}}" class="column-more" bindtap="__e"><view class="more-bg"></view><view class="more-text">加载更多</view></view></block></view></block><block wx:if="{{$root.g1}}"><view class="main-column"><view class="column-title">会员单位列表</view><member-units vue-id="03c2f54a-3" show-data="{{unitsList}}" bind:__l="__l"></member-units><block wx:if="{{$root.m1}}"><view data-event-opts="{{[['tap',[['unitsLoadMore']]]]}}" class="column-more" bindtap="__e"><view class="more-bg"></view><view class="more-text">加载更多</view></view></block></view></block><block wx:if="{{$root.g2}}"><view class="main-column"><view class="column-title">活动列表</view><activity-item vue-id="03c2f54a-4" show-data="{{activityList}}" bind:__l="__l"></activity-item><block wx:if="{{$root.m2}}"><view data-event-opts="{{[['tap',[['activityLoadMore']]]]}}" class="column-more" bindtap="__e"><view class="more-bg"></view><view class="more-text">加载更多</view></view></block></view></block><block wx:if="{{$root.g3}}"><view class="main-column"><view class="column-title">资讯列表</view><article-item vue-id="03c2f54a-5" show-data="{{articleList}}" bind:__l="__l"></article-item><block wx:if="{{$root.m3}}"><view data-event-opts="{{[['tap',[['articleLoadMore']]]]}}" class="column-more" bindtap="__e"><view class="more-bg"></view><view class="more-text">加载更多</view></view></block></view></block><block wx:if="{{$root.g4}}"><view class="main-column"><view class="column-title">商品列表</view><goods-item vue-id="03c2f54a-6" show-data="{{goodsList}}" bind:__l="__l"></goods-item><block wx:if="{{$root.m4}}"><view data-event-opts="{{[['tap',[['goodsLoadMore']]]]}}" class="column-more" bindtap="__e"><view class="more-bg"></view><view class="more-text">加载更多</view></view></block></view></block><block wx:if="{{$root.g5}}"><empty vue-id="03c2f54a-7" top="30%" title="暂无相关内容~" bind:__l="__l"></empty></block></view></block></view>

View File

@@ -0,0 +1 @@
.container .container-main{padding:32rpx}.container .container-main .main-column{margin-top:32rpx}.container .container-main .main-column:first-child{margin-top:0}.container .container-main .main-column .column-title{color:#5a5b6e;font-size:32rpx;font-weight:600;line-height:44rpx;margin-bottom:32rpx}.container .container-main .main-column .column-more{position:relative;width:100%;height:72rpx;border-radius:16rpx;overflow:hidden;background:#fff;margin-top:32rpx}.container .container-main .main-column .column-more .more-bg{position:absolute;top:0;right:0;bottom:0;left:0;background:var(--theme-color);opacity:.1}.container .container-main .main-column .column-more .more-text{position:relative;z-index:1;color:var(--theme-color);font-size:12px;line-height:72rpx;text-align:center}