会员权益
This commit is contained in:
10
unpackage/dist/build/mp-weixin/pagesTools/component/album/index.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/pagesTools/component/album/index.js
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesTools/component/album/index"],{"269a":function(t,e,n){"use strict";var r=n("98d5"),o=n.n(r);o.a},"950d":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")),a=n("8f59");function c(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 i={name:"componentAlbum",props:["showData"],computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?c(Object(n),!0).forEach((function(e){(0,o.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},(0,a.mapState)({themeColor:function(t){return t.app.themeColor}})),methods:{splitImages:function(t){try{return t?t.split(","):[]}catch(e){return[]}},toDetails:function(t){this.$util.toPage({mode:1,path:"/pagesTools/album/details?id="+t})}}};e.default=i},9571:function(t,e,n){"use strict";n.r(e);var r=n("fcb7"),o=n("dc00");for(var a in o)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("269a");var c=n("828b"),i=Object(c["a"])(o["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],void 0);e["default"]=i.exports},"98d5":function(t,e,n){},dc00:function(t,e,n){"use strict";n.r(e);var r=n("950d"),o=n.n(r);for(var a in r)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(a);e["default"]=o.a},fcb7:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var r=function(){var t=this,e=t.$createElement,n=(t._self._c,t.__map(t.showData,(function(e,n){var r=t.__get_orig(e),o=e.files&&1==e.type?t.splitImages(e.files).length:null,a=e.files&&1==e.type&&1!=o?e.files.length:null,c=e.files&&1==e.type&&1!=o&&a?t.splitImages(e.files):null;return{$orig:r,g0:o,g1:a,l0:c}})));t.$mp.data=Object.assign({},{$root:{l1:n}})},o=[]}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'pagesTools/component/album/index-create-component',
|
||||
{
|
||||
'pagesTools/component/album/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("9571"))
|
||||
})
|
||||
},
|
||||
[['pagesTools/component/album/index-create-component']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/pagesTools/component/album/index.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/pagesTools/component/album/index.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pagesTools/component/album/index.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pagesTools/component/album/index.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="component-album" style="{{'--theme-color:'+(themeColor)+';'}}"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><view data-event-opts="{{[['tap',[['toDetails',['$0'],[[['showData','id',item.$orig.id,'id']]]]]]]}}" class="album-item" bindtap="__e"><view class="item-date">{{item.$orig.release_date}}</view><view class="item-title">{{item.$orig.name}}</view><block wx:if="{{item.$orig.files}}"><view class="item-content flex"><view class="content-timeline"><view class="timeline-point"></view><view class="timeline-line"></view></view><view class="content-box flex-item"><block wx:if="{{item.$orig.type==1}}"><block><block wx:if="{{item.g0==1}}"><view class="box-single"><image class="image" src="{{item.$orig.files}}" mode="aspectFill"></image></view></block><block wx:else><block wx:if="{{item.g1}}"><view class="box-multiple"><block wx:for="{{item.l0}}" wx:for-item="img" wx:for-index="index" wx:key="index"><view class="multiple-image"><image class="image" src="{{img}}" mode="aspectFill"></image></view></block></view></block></block></block></block><block wx:else><block wx:if="{{item.$orig.type==2}}"><view class="box-cover"><image class="cover-image" src="{{item.$orig.image}}" mode="aspectFill"></image><image class="cover-play" src="/static/play.png" mode="aspectFit"></image><view class="cover-mask"></view></view></block></block></view></view></block></view></block></view>
|
||||
1
unpackage/dist/build/mp-weixin/pagesTools/component/album/index.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pagesTools/component/album/index.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.component-album .album-item{margin-top:32rpx}.component-album .album-item:first-child{margin-top:0}.component-album .album-item .item-date{color:#5a5b6e;font-size:28rpx;font-weight:600;line-height:32rpx}.component-album .album-item .item-title{margin-top:16rpx;color:#8d929c;font-size:28rpx;line-height:40rpx}.component-album .album-item .item-content{margin-top:16rpx}.component-album .album-item .item-content .content-timeline{display:flex;flex-direction:column}.component-album .album-item .item-content .content-timeline .timeline-point{width:20rpx;height:20rpx;border-radius:4rpx;background:var(--theme-color)}.component-album .album-item .item-content .content-timeline .timeline-line{width:2rpx;height:100%;flex:1;background:#f0f0f0}.component-album .album-item .item-content .content-box{margin-left:64rpx}.component-album .album-item .item-content .content-box .box-single{width:100%;height:240rpx;border-radius:16rpx;overflow:hidden}.component-album .album-item .item-content .content-box .box-multiple{display:flex;flex-wrap:wrap;-webkit-column-gap:2%;column-gap:2%;row-gap:16rpx}.component-album .album-item .item-content .content-box .box-multiple .multiple-image{width:32%;height:0;padding-top:32%;border-radius:16rpx;overflow:hidden;position:relative}.component-album .album-item .item-content .content-box .box-multiple .multiple-image .image{position:absolute;top:0;left:0;width:100%;height:100%}.component-album .album-item .item-content .content-box .box-cover{width:100%;height:240rpx;background:rgba(0,0,0,.3);border-radius:16rpx;overflow:hidden;position:relative}.component-album .album-item .item-content .content-box .box-cover .cover-image{width:100%;height:100%}.component-album .album-item .item-content .content-box .box-cover .cover-play{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:64rpx;height:64rpx;border-radius:50%}.component-album .album-item .item-content .content-box .box-cover .cover-mask{position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.3)}
|
||||
10
unpackage/dist/build/mp-weixin/pagesTools/component/publicize/poster.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/pagesTools/component/publicize/poster.js
vendored
Normal file
File diff suppressed because one or more lines are too long
6
unpackage/dist/build/mp-weixin/pagesTools/component/publicize/poster.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/pagesTools/component/publicize/poster.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"uni-popup": "/uni_modules/uni-popup/components/uni-popup/uni-popup"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pagesTools/component/publicize/poster.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pagesTools/component/publicize/poster.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="component-publicize-poster data-v-6093e5c4"><canvas class="poster-canvas data-v-6093e5c4" style="{{'width:'+(posterWidth+'px')+';'+('height:'+(posterHeight+'px')+';')}}" canvas-id="myCanvas" id="myCanvas"></canvas><uni-popup vue-id="727661c9-1" type="center" data-ref="popupModal" data-event-opts="{{[['^change',[['onChange']]]]}}" bind:change="__e" class="data-v-6093e5c4 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view class="poster-popup flex-direction-column align-items-center data-v-6093e5c4" style="{{'--theme-color:'+(themeColor)+';'+('padding-top:'+(titleBarHeight+'px')+';')}}"><view data-event-opts="{{[['tap',[['onClose']]]]}}" class="popup-close data-v-6093e5c4" bindtap="__e"><image class="icon data-v-6093e5c4" src="/static/closePopup.png" mode="aspectFit"></image></view><view class="popup-content flex justify-content-center data-v-6093e5c4"><image class="image data-v-6093e5c4" src="{{posterPath}}" mode="aspectFit"></image></view><view data-event-opts="{{[['tap',[['saveImage',['$event']]]]]}}" class="popup-btn data-v-6093e5c4" bindtap="__e">保存相册</view></view></uni-popup></view>
|
||||
1
unpackage/dist/build/mp-weixin/pagesTools/component/publicize/poster.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pagesTools/component/publicize/poster.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.component-publicize-poster.data-v-6093e5c4{position:relative;z-index:999}.component-publicize-poster .poster-canvas.data-v-6093e5c4{position:fixed;top:100vw;left:100vh;z-index:-1}.component-publicize-poster .poster-popup .popup-close.data-v-6093e5c4{width:100%;margin-top:-112rpx;margin-bottom:32rpx;display:flex;justify-content:flex-end}.component-publicize-poster .poster-popup .popup-close .icon.data-v-6093e5c4{width:80rpx;height:80rpx}.component-publicize-poster .poster-popup .popup-content .image.data-v-6093e5c4{width:80vw;height:65vh}.component-publicize-poster .poster-popup .popup-btn.data-v-6093e5c4{margin-top:32rpx;width:336rpx;font-size:28rpx;line-height:40rpx;padding:26rpx 32rpx;border-radius:16rpx;color:#fff;background:var(--theme-color);text-align:center}
|
||||
10
unpackage/dist/build/mp-weixin/pagesTools/component/questionnaire/index.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/pagesTools/component/questionnaire/index.js
vendored
Normal 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']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/pagesTools/component/questionnaire/index.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/pagesTools/component/questionnaire/index.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pagesTools/component/questionnaire/index.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pagesTools/component/questionnaire/index.wxml
vendored
Normal 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>
|
||||
1
unpackage/dist/build/mp-weixin/pagesTools/component/questionnaire/index.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pagesTools/component/questionnaire/index.wxss
vendored
Normal 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}
|
||||
10
unpackage/dist/build/mp-weixin/pagesTools/component/questionnaire/info.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/pagesTools/component/questionnaire/info.js
vendored
Normal 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']]
|
||||
]);
|
||||
7
unpackage/dist/build/mp-weixin/pagesTools/component/questionnaire/info.json
vendored
Normal file
7
unpackage/dist/build/mp-weixin/pagesTools/component/questionnaire/info.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"select-picker": "/pages/component/picker/select",
|
||||
"date-picker": "/pages/component/picker/date"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pagesTools/component/questionnaire/info.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pagesTools/component/questionnaire/info.wxml
vendored
Normal 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>
|
||||
1
unpackage/dist/build/mp-weixin/pagesTools/component/questionnaire/info.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pagesTools/component/questionnaire/info.wxss
vendored
Normal 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}
|
||||
10
unpackage/dist/build/mp-weixin/pagesTools/component/questionnaire/problem.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/pagesTools/component/questionnaire/problem.js
vendored
Normal 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']]
|
||||
]);
|
||||
7
unpackage/dist/build/mp-weixin/pagesTools/component/questionnaire/problem.json
vendored
Normal file
7
unpackage/dist/build/mp-weixin/pagesTools/component/questionnaire/problem.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"select-picker": "/pages/component/picker/select",
|
||||
"date-picker": "/pages/component/picker/date"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pagesTools/component/questionnaire/problem.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pagesTools/component/questionnaire/problem.wxml
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/mp-weixin/pagesTools/component/questionnaire/problem.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pagesTools/component/questionnaire/problem.wxss
vendored
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user