会员权益

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,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesTools/component/questionnaire/index"],{"216a":function(t,e,n){"use strict";n.r(e);var o=n("2f9d"),r=n("a43b");for(var i in r)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(i);n("6792");var a=n("828b"),u=Object(a["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);e["default"]=u.exports},"27c9":function(t,e,n){"use strict";var o=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=o(n("7ca3")),i=n("8f59"),a=o(n("f5e9"));function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}var c={name:"chains",props:["showData"],computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach((function(e){(0,r.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},(0,i.mapState)({questionnaireImg:function(t){return t.app.questionnaireImg},iconInvite:function(t){return a.default.svgToUrl("invite",t.app.themeColor)},iconPhone:function(t){return a.default.svgToUrl("phone",t.app.themeColor)}})),methods:{setShareData:function(t){this.$emit("setShareData",{title:t.title,path:"/pagesTools/questionnaire/details?id="+t.id,imageUrl:this.questionnaireImg})},toDetails:function(t,e){2==e?this.$util.toPage({mode:1,path:"/pagesTools/questionnaire/details?id="+t}):this.$util.toPage({mode:1,path:"/pagesTools/questionnaire/info?id="+t})},onContact:function(t){this.$util.toPage({mode:6,phone:t})}}};e.default=c},"2f9d":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var o=function(){var t=this.$createElement;this._self._c},r=[]},6792:function(t,e,n){"use strict";var o=n("e81d"),r=n.n(o);r.a},a43b:function(t,e,n){"use strict";n.r(e);var o=n("27c9"),r=n.n(o);for(var i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i);e["default"]=r.a},e81d:function(t,e,n){}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'pagesTools/component/questionnaire/index-create-component',
{
'pagesTools/component/questionnaire/index-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("216a"))
})
},
[['pagesTools/component/questionnaire/index-create-component']]
]);

View File

@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="component-chains"><block wx:for="{{showData}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><view data-event-opts="{{[['tap',[['toDetails',['$0','$1'],[[['showData','id',item.id,'id']],[['showData','id',item.id,'state']]]]]]]}}" class="chains-item" bindtap="__e"><view class="item-title text-ellipsis">{{item.title}}</view><view class="item-tag flex"><view class="tag-box flex-item"><text class="text">{{item.end_time}}</text><text class="text flex-item text-ellipsis">{{item.category_name||""}}</text></view><view class="tag-box"><text class="text">{{"浏览"+item.page_view}}</text><text class="text">{{"参与"+item.part_total}}</text></view></view><view class="item-btn flex align-items-center"><button class="btn-box clear flex align-items-center" open-type="share" data-event-opts="{{[['tap',[['setShareData',['$0'],[[['showData','id',item.id]]]]]]]}}" catchtap="__e"><block wx:if="{{iconInvite}}"><view class="icon" style="{{'background-image:'+('url('+iconInvite+')')+';'}}"></view></block><text class="text">邀请填写</text></button><view class="btn-line"></view><view data-event-opts="{{[['tap',[['onContact',['$0'],[[['showData','id',item.id,'mobile']]]]]]]}}" class="btn-box justify-content-end flex align-items-center" catchtap="__e"><block wx:if="{{iconPhone}}"><view class="icon" style="{{'background-image:'+('url('+iconPhone+')')+';'}}"></view></block><text class="text">联系电话</text></view></view></view></block></view>

View File

@@ -0,0 +1 @@
.component-chains .chains-item{margin-top:32rpx;padding:32rpx;border-radius:10rpx;background:#fff}.component-chains .chains-item:first-child{margin-top:0}.component-chains .chains-item .item-title{color:#5a5b6e;font-size:28rpx;line-height:40rpx}.component-chains .chains-item .item-tag{margin-top:16rpx;-webkit-column-gap:16rpx;column-gap:16rpx}.component-chains .chains-item .item-tag .tag-box{display:flex;-webkit-column-gap:16rpx;column-gap:16rpx}.component-chains .chains-item .item-tag .tag-box .text{color:#999;font-size:24rpx;line-height:34rpx}.component-chains .chains-item .item-btn{margin-top:32rpx;border-top:1rpx solid #e8e8e8;padding-top:32rpx}.component-chains .chains-item .item-btn .btn-box{flex:1;padding:0 48rpx}.component-chains .chains-item .item-btn .btn-box .icon{width:32rpx;height:32rpx;background-size:32rpx}.component-chains .chains-item .item-btn .btn-box .text{margin-left:8rpx;color:#5a5b6e;font-size:28rpx;line-height:34rpx}.component-chains .chains-item .item-btn .btn-line{width:0;height:32rpx;border-left:1rpx solid #e8e8e8}

View File

@@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesTools/component/questionnaire/info"],{"0982":function(e,t,n){"use strict";var o=n("dde3"),r=n.n(o);r.a},"59bc":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o={name:"questionProblem",props:["showData"],components:{selectPicker:function(){n.e("pages/component/picker/select").then(function(){return resolve(n("519f"))}.bind(null,n)).catch(n.oe)},datePicker:function(){n.e("pages/component/picker/date").then(function(){return resolve(n("8887"))}.bind(null,n)).catch(n.oe)}},data:function(){return{problemField:[]}},watch:{showData:{handler:function(e){this.problemField=e||[]},immediate:!0,deep:!0}},methods:{previewImage:function(t,n){e.previewImage({urls:this.problemField[t].content,current:n})},getContent:function(e){try{var t=e?e.split(","):[];return Array.isArray(t)?t:[]}catch(n){return[]}}}};t.default=o}).call(this,n("df3c")["default"])},"61d8":function(e,t,n){"use strict";n.r(t);var o=n("889f"),r=n("e10f");for(var c in r)["default"].indexOf(c)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(c);n("0982");var i=n("828b"),u=Object(i["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);t["default"]=u.exports},"889f":function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){}));var o=function(){var e=this,t=e.$createElement,n=(e._self._c,e.__map(e.problemField,(function(t,n){var o=e.__get_orig(t),r="checkbox"==t.type?e.getContent(t.content):null,c="checkbox"!=t.type&&"datetime"!=t.type&&"images"==t.type?t.content&&t.content.length:null;return{$orig:o,l0:r,g0:c}})));e.$mp.data=Object.assign({},{$root:{l1:n}})},r=[]},dde3:function(e,t,n){},e10f:function(e,t,n){"use strict";n.r(t);var o=n("59bc"),r=n.n(o);for(var c in o)["default"].indexOf(c)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(c);t["default"]=r.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'pagesTools/component/questionnaire/info-create-component',
{
'pagesTools/component/questionnaire/info-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("61d8"))
})
},
[['pagesTools/component/questionnaire/info-create-component']]
]);

View File

@@ -0,0 +1,7 @@
{
"component": true,
"usingComponents": {
"select-picker": "/pages/component/picker/select",
"date-picker": "/pages/component/picker/date"
}
}

View File

@@ -0,0 +1 @@
<view class="component-problem"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="problem-item"><view class="item-title">{{''+item.$orig.topic}}<block wx:if="{{item.$orig.must==1}}"><text style="color:#E60012;">*</text></block></view><block wx:if="{{item.$orig.type=='checkbox'}}"><block><block wx:for="{{item.l0}}" wx:for-item="checkboxItem" wx:for-index="checkboxIndex" wx:key="checkboxIndex"><view class="item-content"><text class="text">{{checkboxItem}}</text></view></block><block wx:if="{{!item.$orig.content}}"><view class="item-content"><text class="text"></text></view></block></block></block><block wx:else><block wx:if="{{item.$orig.type=='datetime'}}"><block><view class="item-content"><text class="text">{{item.$orig.content}}</text><image class="icon" src="/static/date.png" mode="aspectFit"></image></view></block></block><block wx:else><block wx:if="{{item.$orig.type=='images'}}"><block><block wx:if="{{item.g0}}"><view class="item-upload"><block wx:for="{{item.$orig.content}}" wx:for-item="itemImages" wx:for-index="imgIndex" wx:key="imgIndex"><view data-event-opts="{{[['tap',[['previewImage',[index,imgIndex]]]]]}}" class="upload-image" bindtap="__e"><image class="image" src="{{itemImages}}" mode="aspectFill"></image></view></block></view></block><block wx:else><view class="item-empty">未上传相关图片</view></block></block></block><block wx:else><block><view class="item-content"><text class="text">{{item.$orig.content}}</text></view></block></block></block></block><block wx:if="{{(item.$orig.type=='radio'||item.$orig.type=='checkbox')&&item.$orig.is_explain==1}}"><block><view class="item-content"><text class="text">{{item.$orig.explain}}</text></view></block></block></view></block></view>

View File

@@ -0,0 +1 @@
.component-problem .problem-item{margin-top:32rpx}.component-problem .problem-item:first-child{margin-top:0}.component-problem .problem-item .item-title{font-size:32rpx;font-weight:600;color:#5a5b6e}.component-problem .problem-item .item-content{margin-top:32rpx;padding:36rpx 32rpx;border-radius:16rpx;background:#fff;display:flex;align-items:center}.component-problem .problem-item .item-content .text{flex:1;font-size:28rpx;line-height:40rpx;min-height:40rpx;color:#5a5b6e;word-break:break-all}.component-problem .problem-item .item-content .icon{width:48rpx;height:48rpx;margin-left:32rpx}.component-problem .problem-item .item-upload{display:flex;flex-wrap:wrap;margin-top:32rpx;-webkit-column-gap:3.5%;column-gap:3.5%;row-gap:24rpx}.component-problem .problem-item .item-upload .upload-image{position:relative;width:31%;height:0;padding-top:31%}.component-problem .problem-item .item-upload .upload-image .image{position:absolute;top:0;left:0;right:0;bottom:0;border-radius:10rpx}.component-problem .problem-item .item-empty{color:#5a5b6e;font-size:28rpx;line-height:40rpx;margin-top:24rpx}

View File

@@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesTools/component/questionnaire/problem"],{"2c12":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){}));var i=function(){var e=this,t=e.$createElement,n=(e._self._c,e.__map(e.problemField,(function(t,n){var i=e.__get_orig(t),r="text"!=t.type&&"number"!=t.type&&"radio"==t.type?e.getOptions(t.content):null,a="text"!=t.type&&"number"!=t.type&&"radio"!=t.type&&"checkbox"==t.type?e.__map(e.getOptions(t.content),(function(n,i){var r=e.__get_orig(n),a=t.value&&t.value.includes(n.title);return{$orig:r,g0:a}})):null,l="text"!=t.type&&"number"!=t.type&&"radio"!=t.type&&"checkbox"!=t.type&&"datetime"!=t.type&&"select"!=t.type&&"textarea"!=t.type&&"images"==t.type?e.__map(t.value,(function(n,i){var r=e.__get_orig(n),a=t.value&&t.value.length>0;return{$orig:r,g1:a}})):null,o="text"!=t.type&&"number"!=t.type&&"radio"!=t.type&&"checkbox"!=t.type&&"datetime"!=t.type&&"select"!=t.type&&"textarea"!=t.type&&"images"==t.type?!t.value||t.value.length<9:null;return{$orig:i,l0:r,l1:a,l2:l,g2:o}})));e._isMounted||(e.e0=function(t,n,i){var r=arguments[arguments.length-1].currentTarget.dataset,a=r.eventParams||r["event-params"];n=a.index,i=a.radioItem;return e.selectRadio(n,i.title)},e.e1=function(t,n,i){var r=arguments[arguments.length-1].currentTarget.dataset,a=r.eventParams||r["event-params"];n=a.index,i=a.checkboxItem;return e.toggleCheckbox(n,i.title)}),e.$mp.data=Object.assign({},{$root:{l3:n}})},r=[]},"533b":function(e,t,n){},"553c":function(e,t,n){"use strict";var i=n("533b"),r=n.n(i);r.a},8213:function(e,t,n){"use strict";n.r(t);var i=n("2c12"),r=n("a540");for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a);n("553c");var l=n("828b"),o=Object(l["a"])(r["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);t["default"]=o.exports},a540:function(e,t,n){"use strict";n.r(t);var i=n("ff5a"),r=n.n(i);for(var a in i)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(a);t["default"]=r.a},ff5a:function(e,t,n){"use strict";(function(e){var i=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("af34")),a={name:"questionProblem",props:["showData"],components:{selectPicker:function(){n.e("pages/component/picker/select").then(function(){return resolve(n("519f"))}.bind(null,n)).catch(n.oe)},datePicker:function(){n.e("pages/component/picker/date").then(function(){return resolve(n("8887"))}.bind(null,n)).catch(n.oe)}},data:function(){return{problemField:[]}},watch:{showData:{handler:function(e){this.problemField=e||[]},immediate:!0,deep:!0}},methods:{selectRadio:function(e,t){this.$set(this.problemField[e],"value",t)},toggleCheckbox:function(e,t){this.problemField[e].value?this.problemField[e].value.includes(t)?this.$delete(this.problemField[e].value,this.problemField[e].value.indexOf(t)):this.problemField[e].value.push(t):this.problemField[e].value=[t],this.$forceUpdate()},openSelectPicker:function(e){var t=this.getOptions(this.problemField[e].content);t=t.map((function(e){return e.title})),this.$refs.selectPicker.open(t,this.problemField[e].value,e)},changeSelectPicker:function(e,t){this.$set(this.problemField[t],"value",e)},openDatePicker:function(e){this.$refs.datePicker.open(this.problemField[e].value,e)},changeDatePicker:function(e,t){this.$set(this.problemField[t],"value",e)},getApplyField:function(e){e(JSON.parse(JSON.stringify(this.problemField)))},getOptions:function(e){try{var t=JSON.parse(e);return Array.isArray(t)?t:[]}catch(n){return[]}},getSelectData:function(e){try{var t=e?e.split(","):[];return Array.isArray(t)?t:[]}catch(n){return[]}},chooseImage:function(t){var n=this,i=this.problemField[t].value?9-this.problemField[t].value.length:9;e.chooseMedia({count:i,mediaType:["image"],sourceType:["album","camera"],sizeType:["compressed"],success:function(e){var i=e.tempFiles.map((function(e){return e.tempFilePath}));n.problemField[t].value||(n.problemField[t].value=[]),n.problemField[t].value=[].concat((0,r.default)(n.problemField[t].value),(0,r.default)(i)),n.$forceUpdate()}})},deleteImage:function(e,t){this.$delete(this.problemField[e].value,t),this.$forceUpdate()},previewImage:function(t,n){var i=[];i=1==this.problemField[t].status?this.problemField[t].content||[]:this.problemField[t].value||[],e.previewImage({urls:i,current:n})},pageChange:function(e){this.$emit("onChange",e)}}};t.default=a}).call(this,n("df3c")["default"])}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'pagesTools/component/questionnaire/problem-create-component',
{
'pagesTools/component/questionnaire/problem-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("8213"))
})
},
[['pagesTools/component/questionnaire/problem-create-component']]
]);

View File

@@ -0,0 +1,7 @@
{
"component": true,
"usingComponents": {
"select-picker": "/pages/component/picker/select",
"date-picker": "/pages/component/picker/date"
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long