活动按钮状态流转
This commit is contained in:
1
unpackage/dist/build/mp-weixin/pages/article/details.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/article/details.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/article/details"],{1911: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(){return i}));var i={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},r=[]},"4b60":function(t,e,n){"use strict";n.r(e);var i=n("bd5d"),o=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=o.a},9143:function(t,e,n){"use strict";(function(t,e){var i=n("47a9");n("aa6c");i(n("3240"));var o=i(n("bbde"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(o.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},bbde:function(t,e,n){"use strict";n.r(e);var i=n("1911"),o=n("4b60");for(var r in o)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(r);n("d8eb");var a=n("828b"),c=Object(a["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=c.exports},bd5d:function(t,e,n){"use strict";(function(t){var i=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n("7ca3")),r=n("8f59");function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}var c={data:function(){return{loadEnd:!1,pageTitle:"",articleId:null,articleInfo:{},annexList:[]}},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,r.mapState)({themeColor:function(t){return t.app.themeColor},shareTitle:function(t){return t.app.shareTitle}})),onLoad:function(e){var n=this;this.articleId=e.id,e.title&&(this.pageTitle=decodeURIComponent(e.title)),t.showLoading({title:"加载中"}),this.getArticle((function(){n.loadEnd=!0,t.hideLoading()}))},onShareAppMessage:function(){return{title:this.articleInfo.title,imageUrl:this.articleInfo.image}},onShareTimeline:function(){return{title:this.articleInfo.title,imageUrl:this.articleInfo.image}},methods:{getArticle:function(e){var n=this;this.$util.request("main.article.details",{id:this.articleId}).then((function(i){var o;(e&&e(),1==i.code)?(n.articleInfo=i.data,n.annexList=(null===(o=i.data)||void 0===o?void 0:o.files)||[]):t.showToast({title:i.msg,icon:"none"})})).catch((function(t){e&&e(),console.error("获取文章详情 ",t)}))},handleDownload:function(e,n){e?(t.showLoading({mask:!0,title:"加载中"}),this.$util.downloadFile(e,2,n).then((function(){t.hideLoading()})).catch((function(e){t.hideLoading(),t.showToast({icon:"none",title:(null===e||void 0===e?void 0:e.errMsg)||"附件下载失败"})}))):t.showToast({icon:"none",title:"暂无可下载附件"})}}};e.default=c}).call(this,n("df3c")["default"])},bf4f:function(t,e,n){},d8eb:function(t,e,n){"use strict";var i=n("bf4f"),o=n.n(i);o.a}},[["9143","common/runtime","common/vendor"]]]);
|
||||
6
unpackage/dist/build/mp-weixin/pages/article/details.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/pages/article/details.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "平台动态",
|
||||
"usingComponents": {
|
||||
"mp-html": "/uni_modules/mp-html/components/mp-html/mp-html"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/article/details.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/article/details.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="container" style="{{'--theme-color:'+(themeColor)+';'}}"><title-bar vue-id="1caf36c6-1" title="{{pageTitle||'平台动态'}}" bind:__l="__l"></title-bar><block wx:if="{{loadEnd}}"><view class="container-main"><view class="main-title">{{articleInfo.title}}</view><view class="main-tag flex justify-content-between align-items-center"><view class="tag-item flex-item"><text class="item-name">{{articleInfo.release}}</text><text class="item-time">{{articleInfo.createtime}}</text></view><view class="tag-item flex align-items-center"><image class="item-icon" src="/static/see.png" mode="aspectFit"></image><text class="item-number">{{articleInfo.read_num}}</text></view></view><view class="main-content"><mp-html vue-id="1caf36c6-2" content="{{articleInfo.content}}" bind:__l="__l"></mp-html></view><view class="main-annex"><block wx:for="{{annexList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['handleDownload',['$0','$1'],[[['annexList','',index,'file']],[['annexList','',index,'name']]]]]]]}}" class="annex-file" bindtap="__e"><view class="file-name text-ellipsis">{{item.name}}</view><view class="file-btn">下载附件</view></view></block></view></view></block><tab-bar vue-id="1caf36c6-3" bind:__l="__l"></tab-bar></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/article/details.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/article/details.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
page{background:#fff}.container .container-main{padding:32rpx}.container .container-main .main-title{font-weight:600;font-size:36rpx;line-height:60rpx;color:#5a5b6e}.container .container-main .main-tag{margin-top:16rpx}.container .container-main .main-tag .tag-item .item-name{color:var(--theme-color);font-size:28rpx;line-height:40rpx}.container .container-main .main-tag .tag-item .item-time{font-size:28rpx;line-height:40rpx;color:#8d929c;margin-left:16rpx}.container .container-main .main-tag .tag-item .item-icon{width:32rpx;height:32rpx;margin-left:16rpx}.container .container-main .main-tag .tag-item .item-number{margin-left:8rpx;font-size:28rpx;line-height:40rpx;color:#8d929c}.container .container-main .main-content{margin-top:32rpx}.container .container-main .main-annex .annex-file{margin-top:32rpx;display:flex;align-items:center;-webkit-column-gap:32rpx;column-gap:32rpx;border-radius:16rpx;border:2rpx dashed var(--theme-color);padding:24rpx 32rpx}.container .container-main .main-annex .annex-file .file-name{flex:1;color:var(--theme-color);font-size:28rpx;line-height:44rpx}.container .container-main .main-annex .annex-file .file-btn{color:var(--theme-color);font-size:28rpx;line-height:44rpx}
|
||||
1
unpackage/dist/build/mp-weixin/pages/article/index.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/article/index.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/article/index"],{"0dde":function(t,e,n){"use strict";(function(t,e){var i=n("47a9");n("aa6c");i(n("3240"));var r=i(n("3129"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(r.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},"1ddd":function(t,e,n){"use strict";(function(t){var i=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n("af34")),a=i(n("7ca3")),c=n("8f59");function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}var s={components:{articleItem:function(){n.e("pages/component/article/index").then(function(){return resolve(n("6253"))}.bind(null,n)).catch(n.oe)}},data:function(){return{loadEnd:!1,titleBarHeight:0,showScreen:!0,screenList:[],selectScreen:0,pageTitle:"",articleList:[],page:1,limit:20,hasMore:!1}},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){(0,a.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},(0,c.mapState)({themeColor:function(t){return t.app.themeColor},shareImage:function(t){return t.app.shareImage},shareTitle:function(t){return t.app.shareTitle}})),mounted:function(){var e=t.getSystemInfoSync().statusBarHeight,n=t.getMenuButtonBoundingClientRect();this.titleBarHeight=e+2*(n.top-e)+n.height},onLoad:function(e){var n=this;t.showLoading({title:"加载中"}),e.id?(this.selectScreen=e.id,this.showScreen=!1):this.showScreen=!0,this.getArticleCategory(),e.title&&(this.pageTitle=decodeURIComponent(e.title)),this.getArticleList((function(){t.hideLoading(),n.loadEnd=!0}))},onPullDownRefresh:function(){this.page=1,this.getArticleList((function(){t.stopPullDownRefresh()}))},onReachBottom:function(){this.hasMore&&(this.page++,this.getArticleList())},onShareAppMessage:function(){return{title:this.shareTitle,imageUrl:this.shareImage}},onShareTimeline:function(){return{title:this.shareTitle,imageUrl:this.shareImage}},methods:{getPageTitle:function(){var t=this;if(this.pageTitle)return this.pageTitle||"平台动态";var e="平台动态";if(this.selectScreen){var n=this.screenList.findIndex((function(e){return e.id==t.selectScreen}));n>-1&&(e=this.screenList[n].name)}return e},getArticleCategory:function(){var e=this;this.$util.request("main.article.category").then((function(n){1==n.code?e.screenList=n.data:t.showToast({title:n.msg,icon:"none"})})).catch((function(t){console.error("获取文章列表 ",t)}))},getArticleList:function(e){var n=this,i={page:this.page,limit:this.limit};this.selectScreen&&(i.cat_id=this.selectScreen),this.$util.request("main.article.list",i).then((function(i){if(e&&e(),1==i.code){var a=i.data.data;n.hasMore=n.page<i.data.total/n.limit,n.articleList=1==n.page?a:[].concat((0,r.default)(n.articleList),(0,r.default)(a))}else t.showToast({title:i.msg,icon:"none"})})).catch((function(t){e&&e(),console.error("获取文章列表 ",t)}))},changeScreen:function(t){this.selectScreen=t,this.page=1,this.getArticleList()}}};e.default=s}).call(this,n("df3c")["default"])},3129:function(t,e,n){"use strict";n.r(e);var i=n("bf42"),r=n("bb17");for(var a in r)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(a);n("afa3");var c=n("828b"),o=Object(c["a"])(r["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=o.exports},"8c09":function(t,e,n){},afa3:function(t,e,n){"use strict";var i=n("8c09"),r=n.n(i);r.a},bb17:function(t,e,n){"use strict";n.r(e);var i=n("1ddd"),r=n.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=r.a},bf42:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=(t._self._c,t.getPageTitle()),i=t.loadEnd?t.showScreen&&t.screenList.length:null,r=t.loadEnd?t.articleList.length:null,a=t.loadEnd&&r?t.getPageTitle():null;t.$mp.data=Object.assign({},{$root:{m0:n,g0:i,g1:r,m1:a}})},r=[]}},[["0dde","common/runtime","common/vendor"]]]);
|
||||
7
unpackage/dist/build/mp-weixin/pages/article/index.json
vendored
Normal file
7
unpackage/dist/build/mp-weixin/pages/article/index.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"navigationBarTitleText": "平台动态",
|
||||
"enablePullDownRefresh": true,
|
||||
"usingComponents": {
|
||||
"article-item": "/pages/component/article/index"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/article/index.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/article/index.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="container" style="{{'--theme-color:'+(themeColor)+';'}}"><title-bar vue-id="287468b6-1" title="{{$root.m0}}" bind:__l="__l"></title-bar><block wx:if="{{loadEnd}}"><view class="container-main"><block wx:if="{{$root.g0}}"><scroll-view class="main-screen" style="{{'top:'+(titleBarHeight+'px')+';'}}" scroll-x="{{true}}"><view data-event-opts="{{[['tap',[['changeScreen',[0]]]]]}}" class="screen-item" bindtap="__e"><view class="{{['text',(selectScreen==0)?'active':'']}}">全部</view></view><block wx:for="{{screenList}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><view data-event-opts="{{[['tap',[['changeScreen',['$0'],[[['screenList','id',item.id,'id']]]]]]]}}" class="screen-item" bindtap="__e"><view class="{{['text',(selectScreen==item.id)?'active':'']}}">{{item.name}}</view></view></block></scroll-view></block><view class="main-list"><block wx:if="{{$root.g1}}"><article-item vue-id="287468b6-2" show-data="{{articleList}}" show-title="{{$root.m1}}" bind:__l="__l"></article-item></block><block wx:else><empty vue-id="287468b6-3" top="30%" title="暂无相关内容~" bind:__l="__l"></empty></block></view></view></block><tab-bar vue-id="287468b6-4" bind:__l="__l"></tab-bar></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/article/index.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/article/index.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.container .container-main .main-screen{white-space:nowrap;background:#fff;position:-webkit-sticky;position:sticky;top:0;z-index:99}.container .container-main .main-screen .screen-item{padding:0 24rpx;display:inline-flex;justify-content:center;min-width:25%}.container .container-main .main-screen .screen-item .text{padding:36rpx 0;color:#5a5b6e;font-size:28rpx;line-height:40rpx;text-align:center;border-bottom:4rpx solid transparent}.container .container-main .main-screen .screen-item .text.active{color:var(--theme-color);border-color:var(--theme-color)}.container .container-main .main-list{padding:32rpx}
|
||||
10
unpackage/dist/build/mp-weixin/pages/component/activity/apply.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/pages/component/activity/apply.js
vendored
Normal file
File diff suppressed because one or more lines are too long
9
unpackage/dist/build/mp-weixin/pages/component/activity/apply.json
vendored
Normal file
9
unpackage/dist/build/mp-weixin/pages/component/activity/apply.json
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"uni-datetime-picker": "/uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker",
|
||||
"select-picker": "/pages/component/picker/select",
|
||||
"date-picker": "/pages/component/picker/date",
|
||||
"time-picker": "/pages/component/picker/time"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/component/activity/apply.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/activity/apply.wxml
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/mp-weixin/pages/component/activity/apply.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/activity/apply.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.component-activity-apply .apply-form .form-item{margin-top:32rpx}.component-activity-apply .apply-form .form-item:first-child{margin-top:0}.component-activity-apply .apply-form .form-item .item-title{color:#5a5b6e;font-size:32rpx;font-weight:600;line-height:44rpx}.component-activity-apply .apply-form .form-item .item-title .required{color:#e60012}.component-activity-apply .apply-form .form-item .item-title .tips{font-size:28rpx;font-weight:400;color:#666}.component-activity-apply .apply-form .form-item .item-input{margin-top:32rpx;display:flex;align-items:center;border-radius:16rpx;background:#fff}.component-activity-apply .apply-form .form-item .item-input.disabled .input{color:#8d929c}.component-activity-apply .apply-form .form-item .item-input .input{color:#5a5b6e;font-size:28rpx;height:104rpx;line-height:104rpx;flex:1;padding:0 32rpx}.component-activity-apply .apply-form .form-item .item-input .textarea{color:#5a5b6e;font-size:28rpx;line-height:40rpx;flex:1;padding:32rpx;height:200rpx}.component-activity-apply .apply-form .form-item .item-input .placeholder{color:#8d929c;font-size:28rpx;line-height:104rpx}.component-activity-apply .apply-form .form-item .item-input .icon{width:32rpx;height:32rpx;padding-right:32rpx}.component-activity-apply .apply-form .form-item .item-radio{display:flex;flex-wrap:wrap;margin-left:-26rpx;padding-top:8rpx}.component-activity-apply .apply-form .form-item .item-radio .radio{border-radius:8rpx;background:#fff;padding:16rpx;margin-left:26rpx;margin-top:24rpx;display:flex;align-items:center}.component-activity-apply .apply-form .form-item .item-radio .radio image{width:24rpx;height:24rpx;margin-right:8rpx;display:none}.component-activity-apply .apply-form .form-item .item-radio .radio text{color:#8d929c;font-size:24rpx;line-height:34rpx}.component-activity-apply .apply-form .form-item .item-radio .radio.active{background:var(--theme-color)}.component-activity-apply .apply-form .form-item .item-radio .radio.active image{display:block}.component-activity-apply .apply-form .form-item .item-radio .radio.active text{color:#fff}.component-activity-apply .apply-form .form-item .item-upload{display:flex;flex-wrap:wrap;margin-top:32rpx;-webkit-column-gap:3.5%;column-gap:3.5%;row-gap:24rpx}.component-activity-apply .apply-form .form-item .item-upload .upload-image{position:relative;width:31%;height:0;padding-top:31%}.component-activity-apply .apply-form .form-item .item-upload .upload-image .image-select{position:absolute;top:0;left:0;right:0;bottom:0;border-radius:10rpx}.component-activity-apply .apply-form .form-item .item-upload .upload-image .image-video{position:absolute;top:0;left:0;right:0;bottom:0;border-radius:10rpx;background:var(--theme-color);padding:56rpx}.component-activity-apply .apply-form .form-item .item-upload .upload-image .image-delete{position:absolute;top:-16rpx;right:-16rpx;width:48rpx;height:48rpx}.component-activity-apply .apply-form .form-item .item-upload .upload-image .image-choose{position:absolute;top:20rpx;left:20rpx;right:20rpx;bottom:20rpx;z-index:6;display:flex;flex-direction:column;justify-content:center;align-items:center;background:#fff;border-radius:10rpx}.component-activity-apply .apply-form .form-item .item-upload .upload-image .image-choose .icon{width:80rpx;height:80rpx;padding:18rpx;background:var(--theme-color);border-radius:50%}.component-activity-apply .apply-form .form-item .item-upload .upload-image .image-choose .text{margin-top:16rpx;color:var(--theme-color);font-size:28rpx;line-height:40rpx}.component-activity-apply .apply-form .form-item .item-upload .upload-image .image-background{position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;background:var(--theme-color);opacity:.08}
|
||||
10
unpackage/dist/build/mp-weixin/pages/component/activity/certificate.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/pages/component/activity/certificate.js
vendored
Normal file
File diff suppressed because one or more lines are too long
6
unpackage/dist/build/mp-weixin/pages/component/activity/certificate.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/pages/component/activity/certificate.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/pages/component/activity/certificate.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/activity/certificate.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="component-activity-certificate data-v-825451c0"><canvas class="poster-canvas data-v-825451c0" style="{{'width:'+(posterWidth+'px')+';'+('height:'+(posterHeight+'px')+';')}}" canvas-id="myCanvas" id="myCanvas"></canvas><uni-popup vue-id="6f223aa4-1" type="center" data-ref="popupModal" data-event-opts="{{[['^change',[['onChange']]]]}}" bind:change="__e" class="data-v-825451c0 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view class="poster-popup flex-direction-column align-items-center data-v-825451c0" style="{{'--theme-color:'+(themeColor)+';'+('padding-top:'+(titleBarHeight+'px')+';')}}"><view data-event-opts="{{[['tap',[['onClose']]]]}}" class="popup-close data-v-825451c0" bindtap="__e"><image class="icon data-v-825451c0" src="/static/closePopup.png" mode="aspectFit"></image></view><scroll-view class="popup-content flex justify-content-center data-v-825451c0" scroll-y="{{true}}"><image class="image data-v-825451c0" src="{{posterPath}}" mode="widthFix"></image></scroll-view><view data-event-opts="{{[['tap',[['saveImage',['$event']]]]]}}" class="popup-btn data-v-825451c0" bindtap="__e">保存相册</view></view></uni-popup></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/component/activity/certificate.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/activity/certificate.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.component-activity-certificate.data-v-825451c0{position:relative;z-index:999}.component-activity-certificate .poster-canvas.data-v-825451c0{position:fixed;top:100vw;left:100vh;z-index:-1}.component-activity-certificate .poster-popup .popup-close.data-v-825451c0{width:100%;margin-top:-112rpx;margin-bottom:32rpx;display:flex;justify-content:flex-end}.component-activity-certificate .poster-popup .popup-close .icon.data-v-825451c0{width:80rpx;height:80rpx}.component-activity-certificate .poster-popup .popup-content.data-v-825451c0{max-height:55vh}.component-activity-certificate .poster-popup .popup-content .image.data-v-825451c0{width:92vw;height:auto}.component-activity-certificate .poster-popup .popup-btn.data-v-825451c0{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/pages/component/activity/index.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/pages/component/activity/index.js
vendored
Normal file
File diff suppressed because one or more lines are too long
7
unpackage/dist/build/mp-weixin/pages/component/activity/index.json
vendored
Normal file
7
unpackage/dist/build/mp-weixin/pages/component/activity/index.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"activity-poster": "/pages/component/activity/poster",
|
||||
"activity-certificate": "/pages/component/activity/certificate"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/component/activity/index.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/activity/index.wxml
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/mp-weixin/pages/component/activity/index.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/activity/index.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.component-activity .activity-item{margin-top:32rpx;background:#fff;border-radius:10rpx;padding:32rpx}.component-activity .activity-item:first-child{margin-top:0}.component-activity .activity-item.special{background:transparent;border-radius:0;padding:0}.component-activity .activity-item .item-header{padding-bottom:32rpx;border-bottom:1rpx solid #e4e4e4;margin-bottom:32rpx}.component-activity .activity-item .item-header .header-number{color:#999;font-size:28rpx;line-height:40rpx}.component-activity .activity-item .item-header .header-status{color:var(--theme-color);font-size:28rpx;line-height:40rpx}.component-activity .activity-item .item-info .info-image{width:220rpx;height:160rpx;border-radius:16rpx}.component-activity .activity-item .item-info .info-box{margin-left:32rpx;display:flex;flex-direction:column;justify-content:space-between}.component-activity .activity-item .item-info .info-box .box-title{color:#5a5b6e;font-size:28rpx;font-weight:600;line-height:40rpx}.component-activity .activity-item .item-info .info-box .box-tag .icon{width:32rpx;height:32rpx;background-size:32rpx;margin-right:10rpx}.component-activity .activity-item .item-info .info-box .box-tag .text{color:#8d929c;font-size:24rpx;line-height:34rpx}.component-activity .activity-item .item-footer{margin-top:32rpx}.component-activity .activity-item .item-footer .footer-label{color:var(--theme-color);font-size:24rpx;line-height:34rpx;padding:8rpx 16rpx;border-radius:8rpx;background:#f6f7fb}.component-activity .activity-item .item-footer .footer-price{margin-left:16rpx;color:var(--theme-color);font-size:36rpx;font-weight:600;line-height:50rpx}.component-activity .activity-item .item-footer .footer-price text{font-size:22rpx}.component-activity .activity-item .item-footer .footer-btn{margin-left:16rpx}.component-activity .activity-item .item-footer .footer-btn .btn{color:#fff;font-size:28rpx;line-height:40rpx;padding:14rpx 24rpx;border-radius:8rpx;background:var(--theme-color);margin-left:12rpx}.component-activity .activity-item .item-footer .footer-btn .btn:first-child{margin-left:0}
|
||||
10
unpackage/dist/build/mp-weixin/pages/component/activity/poster.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/pages/component/activity/poster.js
vendored
Normal file
File diff suppressed because one or more lines are too long
7
unpackage/dist/build/mp-weixin/pages/component/activity/poster.json
vendored
Normal file
7
unpackage/dist/build/mp-weixin/pages/component/activity/poster.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"uqrcode": "/uni_modules/Sansnn-uQRCode/components/uqrcode/uqrcode",
|
||||
"uni-popup": "/uni_modules/uni-popup/components/uni-popup/uni-popup"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/component/activity/poster.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/activity/poster.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="component-activity-poster data-v-62b614c8"><canvas class="poster-canvas data-v-62b614c8" style="{{'width:'+(posterWidth+'px')+';'+('height:'+(posterHeight+'px')+';')}}" canvas-id="myCanvas" id="myCanvas"></canvas><block wx:if="{{codeData}}"><uqrcode class="poster-canvas data-v-62b614c8 vue-ref" vue-id="d140b098-1" canvas-id="qrcode" value="{{codeData}}" options="{{({margin:4})}}" data-ref="qrcode" bind:__l="__l"></uqrcode></block><uni-popup vue-id="d140b098-2" type="center" data-ref="popupModal" data-event-opts="{{[['^change',[['onChange']]]]}}" bind:change="__e" class="data-v-62b614c8 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view class="poster-popup flex-direction-column align-items-center data-v-62b614c8" style="{{'--theme-color:'+(themeColor)+';'+('padding-top:'+(titleBarHeight+'px')+';')}}"><view data-event-opts="{{[['tap',[['onClose']]]]}}" class="popup-close data-v-62b614c8" bindtap="__e"><image class="icon data-v-62b614c8" src="/static/closePopup.png" mode="aspectFit"></image></view><view class="popup-content flex justify-content-center data-v-62b614c8"><image class="image data-v-62b614c8" src="{{posterPath}}" mode="aspectFit"></image></view><view data-event-opts="{{[['tap',[['saveImage',['$event']]]]]}}" class="popup-btn data-v-62b614c8" bindtap="__e">保存相册</view></view></uni-popup></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/component/activity/poster.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/activity/poster.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.component-activity-poster.data-v-62b614c8{position:relative;z-index:999}.component-activity-poster .poster-canvas.data-v-62b614c8{position:fixed;top:100vw;left:100vh;z-index:-1}.component-activity-poster .poster-popup .popup-close.data-v-62b614c8{width:100%;margin-top:-112rpx;margin-bottom:32rpx;display:flex;justify-content:flex-end}.component-activity-poster .poster-popup .popup-close .icon.data-v-62b614c8{width:80rpx;height:80rpx}.component-activity-poster .poster-popup .popup-content .image.data-v-62b614c8{width:80vw;height:65vh}.component-activity-poster .poster-popup .popup-btn.data-v-62b614c8{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/pages/component/article/index.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/pages/component/article/index.js
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/component/article/index"],{3894:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"articleIndex",props:["showData","showType","showTitle"],methods:{toDetails:function(t){2==t.type?(this.$util.toPage({mode:4,path:t.link}),this.$util.request("main.article.updateReadNum",{id:t.id})):this.$util.toPage({mode:1,path:"/pages/article/details?id=".concat(t.id,"&title=").concat(encodeURIComponent(this.showTitle||""))})}}};e.default=i},"4f07":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement;this._self._c},a=[]},6253:function(t,e,n){"use strict";n.r(e);var i=n("4f07"),a=n("8bcd");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("a090");var u=n("828b"),c=Object(u["a"])(a["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=c.exports},8405:function(t,e,n){},"8bcd":function(t,e,n){"use strict";n.r(e);var i=n("3894"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=a.a},a090:function(t,e,n){"use strict";var i=n("8405"),a=n.n(i);a.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'pages/component/article/index-create-component',
|
||||
{
|
||||
'pages/component/article/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("6253"))
|
||||
})
|
||||
},
|
||||
[['pages/component/article/index-create-component']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/pages/component/article/index.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/pages/component/article/index.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/component/article/index.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/article/index.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="component-article"><block wx:for="{{showData}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><view data-event-opts="{{[['tap',[['toDetails',['$0'],[[['showData','id',item.id]]]]]]]}}" class="{{['article-item','flex',(showType==1)?'special':'']}}" bindtap="__e"><image class="item-image" src="{{item.image}}" mode="aspectFill"></image><view class="item-box flex-item flex-direction-column justify-content-between"><view class="box-title text-ellipsis-more">{{item.title}}</view><view class="box-bottom flex justify-content-between align-items-center"><view class="bottom-view flex align-items-center"><image class="icon" src="/static/see.png" mode="aspectFit"></image><text class="number">{{item.read_num}}</text></view><view class="bottom-time">{{item.createtime}}</view></view></view></view></block></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/component/article/index.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/article/index.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.component-article .article-item{margin-top:32rpx;background:#fff;border-radius:10rpx;padding:32rpx}.component-article .article-item:first-child{margin-top:0}.component-article .article-item.special{background:transparent;border-radius:0;padding:0}.component-article .article-item .item-image{width:220rpx;height:192rpx;border-radius:10rpx}.component-article .article-item .item-box{margin-left:16rpx}.component-article .article-item .item-box .box-title{color:#5a5b6e;font-size:28rpx;line-height:40rpx}.component-article .article-item .item-box .box-bottom .bottom-view .icon{width:32rpx;height:32rpx}.component-article .article-item .item-box .box-bottom .bottom-view .number{margin-left:8rpx;color:#8d929c;font-size:24rpx;line-height:32rpx}.component-article .article-item .item-box .box-bottom .bottom-time{color:#8d929c;font-size:24rpx;line-height:32rpx}
|
||||
10
unpackage/dist/build/mp-weixin/pages/component/carousel/carousel.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/pages/component/carousel/carousel.js
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/component/carousel/carousel"],{"0a76":function(t,e,n){},"35a4":function(t,e,n){"use strict";n.r(e);var a=n("5c71"),r=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=r.a},"5c71":function(t,e,n){"use strict";(function(t){var a=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=a(n("7ca3")),o=n("8f59");function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}var u={name:"carouselIndex",props:{showData:{type:Array,default:function(){return[]}},height:{type:String,default:"334rpx"},radius:{type:String,default:"16rpx"},right:{type:String,default:"16rpx"},bottom:{type:String,default:"16rpx"},showType:{type:Number,default:1}},data:function(){return{imgIndex:0}},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){(0,r.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},(0,o.mapState)({themeColor:function(t){return t.app.themeColor}})),methods:{stringifyToParse:function(t){try{return JSON.parse(t)}catch(e){return{}}},imgChange:function(t){this.imgIndex=t.detail.current},toDetails:function(e){1==this.showData[e].jump_type?t.navigateTo({url:"/pages/webview/imageText?type=".concat(2==this.showType?3:1,"&id=").concat(this.showData[e].id)}):2==this.showData[e].jump_type?this.$util.toPage({path:this.showData[e].content,mode:1}):3==this.showData[e].jump_type?this.$util.toPage({path:this.showData[e].content,mode:4}):4==this.showData[e].jump_type&&this.$util.toPage({appId:JSON.parse(this.showData[e].content).appid,path:JSON.parse(this.showData[e].content).path,mode:5})}}};e.default=u}).call(this,n("df3c")["default"])},"68f8":function(t,e,n){"use strict";var a=n("0a76"),r=n.n(a);r.a},"6abb":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var a=function(){var t=this.$createElement;this._self._c},r=[]},b5fc:function(t,e,n){"use strict";n.r(e);var a=n("6abb"),r=n("35a4");for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);n("68f8");var i=n("828b"),u=Object(i["a"])(r["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);e["default"]=u.exports}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'pages/component/carousel/carousel-create-component',
|
||||
{
|
||||
'pages/component/carousel/carousel-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("b5fc"))
|
||||
})
|
||||
},
|
||||
[['pages/component/carousel/carousel-create-component']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/pages/component/carousel/carousel.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/pages/component/carousel/carousel.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/component/carousel/carousel.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/carousel/carousel.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="component-carousel" style="{{'height:'+(height)+';'}}"><swiper class="carousel-swiper" style="{{'border-radius:'+(radius)+';'}}" autoplay="{{true}}" circular="{{true}}" interval="{{4000}}" duration="{{800}}" data-event-opts="{{[['change',[['imgChange',['$event']]]]]}}" bindchange="__e"><block wx:for="{{showData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item><view data-event-opts="{{[['tap',[['toDetails',[index]]]]]}}" class="swiper-item" style="{{'border-radius:'+(radius)+';'}}" bindtap="__e"><image class="item-thumb" src="{{item.image||item}}" mode="aspectFill"></image></view></swiper-item></block></swiper><view class="carousel-dots" style="{{'right:'+(right)+';'+('bottom:'+(bottom)+';')+('--theme-color:'+(themeColor)+';')}}"><block wx:for="{{showData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['dots-item',(imgIndex==index)?'active':'']}}"></view></block></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/component/carousel/carousel.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/carousel/carousel.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.component-carousel{position:relative;width:100%}.component-carousel .carousel-swiper{width:100%;height:100%;overflow:hidden}.component-carousel .carousel-swiper .swiper-item{position:relative;width:100%;height:100%}.component-carousel .carousel-swiper .swiper-item .item-thumb{width:100%;height:100%;background-color:#f1f1f1}.component-carousel .carousel-swiper .swiper-item .item-absolute{display:block;position:absolute;top:0;left:0;right:0;bottom:0}.component-carousel .carousel-dots{position:absolute;z-index:1;display:flex}.component-carousel .carousel-dots .dots-item{width:24rpx;height:8rpx;border-radius:8rpx;background:#fff;margin-right:4rpx}.component-carousel .carousel-dots .dots-item:last-child{margin-right:0}.component-carousel .carousel-dots .dots-item.active{background:var(--theme-color)}
|
||||
10
unpackage/dist/build/mp-weixin/pages/component/chains/index.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/pages/component/chains/index.js
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/component/chains/index"],{"1a2f":function(e,t,n){"use strict";var o=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n("7ca3")),i=n("8f59"),a=o(n("f5e9"));function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}var u={name:"chainsIndex",props:["showData","showType"],computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,r.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},(0,i.mapState)({jielongImg:function(e){return e.app.jielongImg},themeColor:function(e){return e.app.themeColor},iconInvite:function(e){return a.default.svgToUrl("invite",e.app.themeColor)},iconPhone:function(e){return a.default.svgToUrl("phone",e.app.themeColor)}})),methods:{setShareData:function(e){this.$emit("setShareData",{title:e.name,path:"/pagesTools/sequence/details?id="+e.id,imageUrl:this.jielongImg})},toDetails:function(e){this.$util.toPage({mode:1,path:"/pagesTools/sequence/details?id="+e.id})},onContact:function(e){this.$util.toPage({mode:6,phone:e})}}};t.default=u},2074:function(e,t,n){},"27c5":function(e,t,n){"use strict";n.r(t);var o=n("1a2f"),r=n.n(o);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);t["default"]=r.a},"51ef":function(e,t,n){"use strict";n.r(t);var o=n("804c"),r=n("27c5");for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);n("b1e1");var a=n("828b"),c=Object(a["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);t["default"]=c.exports},"804c":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.$createElement;this._self._c},r=[]},b1e1:function(e,t,n){"use strict";var o=n("2074"),r=n.n(o);r.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'pages/component/chains/index-create-component',
|
||||
{
|
||||
'pages/component/chains/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("51ef"))
|
||||
})
|
||||
},
|
||||
[['pages/component/chains/index-create-component']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/pages/component/chains/index.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/pages/component/chains/index.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/component/chains/index.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/chains/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'],[[['showData','id',item.id]]]]]]]}}" class="{{['chains-item',(showType==1)?'chains-list-item':'']}}" bindtap="__e"><view class="item-title text-ellipsis">{{item.name}}</view><view class="item-tag flex justify-content-between"><view class="tag-box flex"><text style="margin-left:0;">{{item.expire_time}}</text><block wx:if="{{item.type==1}}"><text>自由接龙</text></block><block wx:else><text>限定接龙</text></block></view><view class="tag-box flex"><text>{{"浏览"+item.page_view}}</text><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/pages/component/chains/index.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/chains/index.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.component-chains .chains-item{margin-top:32rpx}.component-chains .chains-item.chains-list-item{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}.component-chains .chains-item .item-tag .tag-box text{color:#999;font-size:24rpx;line-height:34rpx;margin-left:16rpx}.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/pages/component/demand/index.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/pages/component/demand/index.js
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/component/demand/index"],{3521:function(e,t,n){},"68a2":function(e,t,n){"use strict";n.r(t);var o=n("bfa6"),a=n.n(o);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);t["default"]=a.a},9968:function(e,t,n){"use strict";var o=n("3521"),a=n.n(o);a.a},b36c:function(e,t,n){"use strict";n.r(t);var o=n("fac8"),a=n("68a2");for(var i in a)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(i);n("9968");var r=n("828b"),c=Object(r["a"])(a["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);t["default"]=c.exports},bfa6:function(e,t,n){"use strict";(function(e){var o=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n("7ca3")),i=n("8f59"),r=o(n("f5e9"));function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}var s={name:"componentDemand",props:["showData","showType"],computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},(0,i.mapState)({themeColor:function(e){return e.app.themeColor},iconAddress:function(e){return r.default.svgToUrl("address",e.app.themeColor)}})),methods:{toDetails:function(e){2==this.showType?this.$util.toPage({mode:1,path:"/pagesDemand/demand/publish?id=".concat(e)}):this.$util.toPage({mode:1,path:"/pagesDemand/demand/details?id=".concat(e)})},onContact:function(t){var n=this;this.$util.request("demand.businessLimit",{type:2}).then((function(o){1==o.code?1==o.data.show_status?n.$util.toPage({mode:6,phone:t}):e.getStorageSync("token")?e.showModal({title:"系统提示",content:"联系电话需成为会员后可拨打!",confirmColor:n.themeColor,confirmText:"去加入",success:function(t){t.confirm&&e.switchTab({url:"/pages/mine/index"})}}):e.navigateTo({url:"/pages/login/index",animationType:"fade-in"}):e.showToast({title:o.msg,icon:"none"})})).catch((function(e){console.error("获取商圈分类",e)}))},previewImage:function(t,n){e.previewImage({urls:t,current:n})},setShareData:function(e){this.$emit("setShareData",{title:e.title,path:"/pagesDemand/demand/details?id="+e.id,imageUrl:e.images.length?e.images[0]:e.member.avatar})},handleEdit:function(e){this.$util.toPage({mode:1,path:"/pagesDemand/demand/edit?id="+e})},handleDelete:function(t){var n=this;e.showModal({title:"提示",content:"确认删除此条吗?",confirmText:"确认删除",confirmColor:"#E50002",cancelText:"我再想想",cancelColor:"#999999",success:function(o){o.confirm&&(e.showLoading({title:"加载中",mask:!0}),n.$util.request("demand.businessDel",{id:t}).then((function(t){e.hideLoading(),1==t.code?(e.showToast({title:"删除成功"}),n.$emit("onReset")):e.showToast({title:t.msg,icon:"none"})})).catch((function(t){e.hideLoading(),console.error("删除发布",t)})))}})}}};t.default=s}).call(this,n("df3c")["default"])},fac8:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){}));var o=function(){var e=this,t=e.$createElement,n=(e._self._c,e.__map(e.showData,(function(t,n){var o=e.__get_orig(t),a=t.images.length,i=a?t.images.length<3||4===t.images.length:null;return{$orig:o,g0:a,g1:i}})));e.$mp.data=Object.assign({},{$root:{l0:n}})},a=[]}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'pages/component/demand/index-create-component',
|
||||
{
|
||||
'pages/component/demand/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("b36c"))
|
||||
})
|
||||
},
|
||||
[['pages/component/demand/index-create-component']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/pages/component/demand/index.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/pages/component/demand/index.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/component/demand/index.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/demand/index.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="component-demand" style="{{'--theme-color:'+(themeColor)+';'}}"><block wx:for="{{$root.l0}}" 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="demand-item" bindtap="__e"><view class="item-top"><block wx:if="{{showType==2}}"><view class="top-order flex align-items-center"><view class="order-number flex-item">{{"编号:"+item.$orig.number}}</view><view class="order-status"><block wx:if="{{item.$orig.state==1}}"><view class="status-label" style="color:#FF9100;">审核中</view></block><block wx:else><block wx:if="{{item.$orig.state==2}}"><view class="status-label" style="{{'color:'+(themeColor)+';'}}">发布中</view></block><block wx:else><block wx:if="{{item.$orig.state==3}}"><view class="status-label" style="color:#FF626E;">已驳回</view></block></block></block></view></view></block><block wx:else><view class="top-info flex align-items-center"><image class="info-avatar" src="{{item.$orig.member.avatar}}" mode="aspectFill"></image><view class="info-box flex-item"><view class="title text-ellipsis">{{item.$orig.member.name}}</view><view class="subtitle text-ellipsis">{{item.$orig.member.level_name+" | "+item.$orig.time}}</view></view><view data-event-opts="{{[['tap',[['onContact',['$0'],[[['showData','id',item.$orig.id,'member.mobile']]]]]]]}}" class="info-btn" catchtap="__e">联系TA</view></view></block></view><view class="item-center"><view class="center-title text-ellipsis">{{item.$orig.title}}</view><view class="center-content text-ellipsis-more">{{item.$orig.content}}</view><block wx:if="{{item.g0}}"><view class="{{['center-image',(item.g1)?'special-image':'']}}"><block wx:for="{{item.$orig.images}}" wx:for-item="img" wx:for-index="num" wx:key="num"><view data-event-opts="{{[['tap',[['previewImage',['$0',num],[[['showData','id',item.$orig.id,'images']]]]]]]}}" class="image-box" catchtap="__e"><image class="image" src="{{img}}" mode="aspectFill"></image></view></block></view></block></view><view class="item-bottom"><block wx:if="{{showType==2}}"><view class="bottom-order"><block wx:if="{{item.$orig.address||item.$orig.page_view}}"><view class="order-box flex justify-content-between align-items-center"><view class="box-label flex-item"><block wx:if="{{item.$orig.address}}"><view class="label-box inline-flex align-items-center"><block wx:if="{{iconAddress}}"><view class="box-icon" style="{{'background-image:'+('url('+iconAddress+')')+';'}}"></view></block><text class="box-text flex-item text-ellipsis">{{item.$orig.address}}</text><view class="box-bg"></view></view></block></view><view class="box-btn flex align-items-center"><image class="icon" src="/static/see.png" mode="aspectFit"></image><text class="text">{{item.$orig.page_view}}</text></view></view></block><view class="order-btn flex justify-content-end"><view data-event-opts="{{[['tap',[['handleEdit',['$0'],[[['showData','id',item.$orig.id,'id']]]]]]]}}" class="btn" style="background:#FFB656;" catchtap="__e">修改</view><view data-event-opts="{{[['tap',[['handleDelete',['$0'],[[['showData','id',item.$orig.id,'id']]]]]]]}}" class="btn" style="background:#FF626E;" catchtap="__e">删除</view></view></view></block><block wx:else><view class="bottom-info flex justify-content-between align-items-center"><view class="info-label flex-item"><block wx:if="{{item.$orig.address}}"><view class="label-box inline-flex align-items-center"><block wx:if="{{iconAddress}}"><view class="box-icon" style="{{'background-image:'+('url('+iconAddress+')')+';'}}"></view></block><text class="box-text flex-item text-ellipsis">{{item.$orig.address}}</text><view class="box-bg"></view></view></block></view><view class="info-other flex align-items-center"><view class="other-item flex align-items-center"><image class="icon" src="/static/see.png" mode="aspectFit"></image><text class="text">{{item.$orig.page_view}}</text></view><button class="other-item clear flex align-items-center" open-type="share" data-event-opts="{{[['tap',[['setShareData',['$0'],[[['showData','id',item.$orig.id]]]]]]]}}" catchtap="__e"><image class="icon" src="/static/share.png" mode="aspectFit"></image><text class="text">分享</text></button></view></view></block></view></view></block></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/component/demand/index.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/demand/index.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.component-demand .demand-item{margin-top:32rpx;padding:32rpx 32rpx 24rpx;border-radius:16rpx;background:#fff}.component-demand .demand-item:first-child{margin-top:0}.component-demand .demand-item .item-top .top-info .info-avatar{width:96rpx;height:96rpx;border-radius:50%}.component-demand .demand-item .item-top .top-info .info-box{margin-left:24rpx}.component-demand .demand-item .item-top .top-info .info-box .title{color:#5a5b6e;font-size:32rpx;font-weight:600;line-height:44rpx}.component-demand .demand-item .item-top .top-info .info-box .subtitle{margin-top:12rpx;color:#666;font-size:28rpx;line-height:40rpx}.component-demand .demand-item .item-top .top-info .info-btn{margin-left:24rpx;padding:8rpx 16rpx;color:#fff;text-align:center;font-size:24rpx;line-height:34rpx;background:var(--theme-color);border-radius:8rpx}.component-demand .demand-item .item-top .top-order{padding-bottom:32rpx;border-bottom:1px solid #e4e4e4}.component-demand .demand-item .item-top .top-order .order-number{color:#979797;font-size:28rpx;line-height:40rpx}.component-demand .demand-item .item-top .top-order .order-status .status-label{font-size:28rpx;line-height:40rpx}.component-demand .demand-item .item-center{margin-top:32rpx}.component-demand .demand-item .item-center .center-title{color:#5a5b6e;font-size:32rpx;font-weight:600;line-height:44rpx}.component-demand .demand-item .item-center .center-content{margin-top:24rpx;color:#5a5b6e;font-size:28rpx;line-height:40rpx}.component-demand .demand-item .item-center .center-image{display:flex;flex-wrap:wrap;margin-top:16rpx;-webkit-column-gap:2%;column-gap:2%;row-gap:14rpx}.component-demand .demand-item .item-center .center-image .image-box{width:32%;height:0;padding-top:32%;position:relative;border-radius:16rpx;overflow:hidden}.component-demand .demand-item .item-center .center-image .image-box .image{position:absolute;top:0;left:0;right:0;bottom:0}.component-demand .demand-item .item-center .center-image.special-image{justify-content:space-between;-webkit-column-gap:0;column-gap:0}.component-demand .demand-item .item-center .center-image.special-image .image-box{width:calc(50% - 8rpx);padding-top:calc(50% - 8rpx)}.component-demand .demand-item .item-bottom .bottom-info{margin-top:24rpx}.component-demand .demand-item .item-bottom .bottom-info .info-label{max-width:280rpx}.component-demand .demand-item .item-bottom .bottom-info .info-label .label-box{max-width:100%;padding:6rpx 18rpx 6rpx 8rpx;position:relative;z-index:1;border-radius:8rpx;overflow:hidden}.component-demand .demand-item .item-bottom .bottom-info .info-label .label-box .box-bg{position:absolute;top:0;left:0;right:0;bottom:0;background:var(--theme-color);z-index:-1;opacity:.1}.component-demand .demand-item .item-bottom .bottom-info .info-label .label-box .box-icon{width:24rpx;height:24rpx;background-size:24rpx}.component-demand .demand-item .item-bottom .bottom-info .info-label .label-box .box-text{margin-left:8rpx;color:var(--theme-color);font-size:20rpx;line-height:28rpx}.component-demand .demand-item .item-bottom .bottom-info .info-other .other-item{margin-left:32rpx}.component-demand .demand-item .item-bottom .bottom-info .info-other .other-item .icon{width:32rpx;height:32rpx}.component-demand .demand-item .item-bottom .bottom-info .info-other .other-item .text{margin-left:8rpx;color:#5a5b6e;font-size:28rpx;line-height:40rpx}.component-demand .demand-item .item-bottom .bottom-order .order-box{margin-top:24rpx}.component-demand .demand-item .item-bottom .bottom-order .order-box .box-label{max-width:280rpx}.component-demand .demand-item .item-bottom .bottom-order .order-box .box-label .label-box{max-width:100%;padding:6rpx 18rpx 6rpx 8rpx;position:relative;z-index:1;border-radius:8rpx;overflow:hidden}.component-demand .demand-item .item-bottom .bottom-order .order-box .box-label .label-box .box-bg{position:absolute;top:0;left:0;right:0;bottom:0;background:var(--theme-color);z-index:-1;opacity:.1}.component-demand .demand-item .item-bottom .bottom-order .order-box .box-label .label-box .box-icon{width:24rpx;height:24rpx;background-size:24rpx}.component-demand .demand-item .item-bottom .bottom-order .order-box .box-label .label-box .box-text{margin-left:8rpx;color:var(--theme-color);font-size:20rpx;line-height:28rpx}.component-demand .demand-item .item-bottom .bottom-order .order-box .box-btn{margin-left:32rpx}.component-demand .demand-item .item-bottom .bottom-order .order-box .box-btn .icon{width:32rpx;height:32rpx}.component-demand .demand-item .item-bottom .bottom-order .order-box .box-btn .text{margin-left:8rpx;color:#5a5b6e;font-size:28rpx;line-height:40rpx}.component-demand .demand-item .item-bottom .bottom-order .order-btn{margin-top:32rpx}.component-demand .demand-item .item-bottom .bottom-order .order-btn .btn{padding:16rpx 32rpx;border-radius:8rpx;color:#fff;text-align:center;font-size:28rpx;line-height:40rpx;margin-left:16rpx}
|
||||
10
unpackage/dist/build/mp-weixin/pages/component/diy/activityDiy.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/pages/component/diy/activityDiy.js
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/component/diy/activityDiy"],{"0031":function(t,e,i){},"1f70":function(t,e,i){"use strict";var n=i("0031"),o=i.n(n);o.a},"2eee":function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(i("7ca3")),r=i("8f59"),c=n(i("f5e9"));function u(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function s(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?u(Object(i),!0).forEach((function(e){(0,o.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):u(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var a={name:"activityDiy",props:["showStyle","showParams"],data:function(){return{activityList:[]}},computed:s(s({},(0,r.mapState)({themeColor:function(t){return t.app.themeColor}})),{},{titleFontSize:function(){return t.upx2px(2*this.showStyle.titleFontSize)+"px"},titleBtnSize:function(){return t.upx2px(2*this.showStyle.titleBtnSize)+"px"},titleIconMore:function(){return c.default.svgToUrl("more",this.showStyle.titleBtnColor)},titleIconSize:function(){return t.upx2px(2*this.showStyle.titleIconSize)+"px"},titleSpace:function(){return t.upx2px(2*this.showStyle.titleSpace)+"px"},itemBorderRadius:function(){return t.upx2px(2*this.showStyle.itemBorderRadius)+"px"},imgWidth:function(){return t.upx2px(2*this.showStyle.imgWidth)+"px"},imgHeight:function(){return t.upx2px(2*this.showStyle.imgHeight)+"px"},borderRadius:function(){return t.upx2px(2*this.showStyle.borderRadius)+"px"},nameSize:function(){return t.upx2px(2*this.showStyle.nameSize)+"px"},iconSize:function(){return t.upx2px(2*this.showStyle.iconSize)+"px"},iconTime:function(){return c.default.svgToUrl("time",this.showStyle.iconColor)},iconLocation:function(){return c.default.svgToUrl("location",this.showStyle.iconColor)},iconNetwork:function(){return c.default.svgToUrl("network",this.showStyle.iconColor)},contentSize:function(){return t.upx2px(2*this.showStyle.contentSize)+"px"},paddingTop:function(){return t.upx2px(2*this.showStyle.paddingTop)+"px"},paddingLeft:function(){return t.upx2px(2*this.showStyle.paddingLeft)+"px"},itemSpace:function(){return t.upx2px(2*this.showStyle.itemSpace)+"px"}}),watch:{showParams:{handler:function(t){t&&this.getActivityList()},immediate:!0,deep:!0}},methods:{getActivityList:function(){var e=this;this.$util.request("activity.list",{page:1,limit:this.showParams.count}).then((function(i){1==i.code?e.activityList=i.data.data:t.showToast({title:i.msg,icon:"none"})})).catch((function(t){console.error("获取活动列表 ",t)}))},toDetails:function(e,i){if(2==i){if(!t.getStorageSync("token"))return void t.showModal({title:"系统提示",content:"该活动为会员专属,请登录后查看",confirmColor:this.themeColor,confirmText:"前往登录",success:function(e){e.confirm&&t.navigateTo({url:"/pages/login/index"})}});this.$util.toPage({mode:1,path:"/pagesActivity/index/details?id="+e})}else this.$util.toPage({mode:1,path:"/pagesActivity/index/details?id="+e})},toMore:function(){this.$util.toPage({mode:1,path:"/pagesActivity/index/index"})}}};e.default=a}).call(this,i("df3c")["default"])},"5cc2":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=(this._self._c,this.activityList.length);this.$mp.data=Object.assign({},{$root:{g0:e}})},o=[]},e82f:function(t,e,i){"use strict";i.r(e);var n=i("2eee"),o=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=o.a},fd278:function(t,e,i){"use strict";i.r(e);var n=i("5cc2"),o=i("e82f");for(var r in o)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(r);i("1f70");var c=i("828b"),u=Object(c["a"])(o["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=u.exports}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'pages/component/diy/activityDiy-create-component',
|
||||
{
|
||||
'pages/component/diy/activityDiy-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("fd278"))
|
||||
})
|
||||
},
|
||||
[['pages/component/diy/activityDiy-create-component']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/pages/component/diy/activityDiy.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/pages/component/diy/activityDiy.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/component/diy/activityDiy.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/diy/activityDiy.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="diy-activity" style="{{'padding:'+(paddingTop+' '+paddingLeft)+';'+('background:'+(showStyle.background)+';')+('border-radius:'+(itemBorderRadius)+';')}}"><block wx:if="{{showParams.showTitle}}"><view class="activity-title" style="{{'margin-bottom:'+(titleSpace)+';'}}"><view style="{{'font-size:'+(titleFontSize)+';'+('font-weight:'+(showStyle.titleFontStyle)+';')+('color:'+(showStyle.titleColor)+';')}}">{{showParams.titleText}}</view><view data-event-opts="{{[['tap',[['toMore']]]]}}" style="{{'font-size:'+(titleBtnSize)+';'+('color:'+(showStyle.titleBtnColor)+';')}}" bindtap="__e"><block wx:if="{{showParams.titleBtnType=='text'}}"><text>{{showParams.titleBtnText}}</text></block><block wx:else><block wx:if="{{titleIconMore}}"><view style="{{'background-image:'+('url('+titleIconMore+')')+';'+('width:'+(titleIconSize)+';')+('height:'+(titleIconSize)+';')+('background-size:'+(titleIconSize)+';')}}"></view></block></block></view></view></block><block wx:if="{{$root.g0}}"><view class="activity-list" style="{{'row-gap:'+(itemSpace)+';'}}"><block wx:for="{{activityList}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><view data-event-opts="{{[['tap',[['toDetails',['$0','$1'],[[['activityList','id',item.id,'id']],[['activityList','id',item.id,'activity_auth']]]]]]]}}" class="list-item flex" bindtap="__e"><block wx:if="{{showParams.showImg}}"><image class="item-image" style="{{'width:'+(imgWidth)+';'+('height:'+(imgHeight)+';')+('border-radius:'+(borderRadius)+';')}}" src="{{item.images}}" mode="aspectFill"></image></block><view class="item-info flex-item" style="{{'height:'+(imgHeight)+';'}}"><view class="info-title text-ellipsis" style="{{'font-size:'+(nameSize)+';'+('font-weight:'+(showStyle.nameWeight)+';')}}">{{item.name}}</view><view class="info-tag flex align-items-center"><block wx:if="{{showStyle.showIcon&&iconTime}}"><view class="icon" style="{{'width:'+(iconSize)+';'+('height:'+(iconSize)+';')+('background-size:'+(iconSize)+';')+('background-image:'+('url('+iconTime+')')+';')}}"></view></block><text class="text flex-item text-ellipsis" style="{{'font-size:'+(contentSize)+';'}}">{{item.start_time+" | "+item.week}}</text></view><block wx:if="{{item.organizing_method==1}}"><view class="info-tag flex align-items-center"><block wx:if="{{showStyle.showIcon&&iconNetwork}}"><view class="icon" style="{{'width:'+(iconSize)+';'+('height:'+(iconSize)+';')+('background-size:'+(iconSize)+';')+('background-image:'+('url('+iconNetwork+')')+';')}}"></view></block><text class="text flex-item text-ellipsis" style="{{'font-size:'+(contentSize)+';'}}">报名成功后查看</text></view></block><block wx:else><block wx:if="{{item.organizing_method==2}}"><view class="info-tag flex align-items-center"><block wx:if="{{showStyle.showIcon&&iconLocation}}"><view class="icon" style="{{'width:'+(iconSize)+';'+('height:'+(iconSize)+';')+('background-size:'+(iconSize)+';')+('background-image:'+('url('+iconLocation+')')+';')}}"></view></block><text class="text flex-item text-ellipsis" style="{{'font-size:'+(contentSize)+';'}}">{{item.address}}</text></view></block></block></view></view></block></view></block><block wx:else><empty vue-id="3e9697d2-1" top="0" padding="0" width="200rpx" size="28rpx" title="暂无相关内容~" bind:__l="__l"></empty></block></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/component/diy/activityDiy.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/diy/activityDiy.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.diy-activity .activity-title{display:flex;align-items:center;justify-content:space-between}.diy-activity .activity-list{display:flex;flex-direction:column}.diy-activity .activity-list .list-item .item-image{margin-right:32rpx}.diy-activity .activity-list .list-item .item-info{display:flex;flex-direction:column;justify-content:space-between}.diy-activity .activity-list .list-item .item-info .info-title{color:#5a5b6e;line-height:1.3}.diy-activity .activity-list .list-item .item-info .info-tag .icon{margin-right:10rpx}.diy-activity .activity-list .list-item .item-info .info-tag .text{color:#8d929c;line-height:1.3}
|
||||
10
unpackage/dist/build/mp-weixin/pages/component/diy/albumDiy.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/pages/component/diy/albumDiy.js
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/component/diy/albumDiy"],{"305c":function(t,e,i){"use strict";var n=i("ea42"),u=i.n(n);u.a},"4b4d":function(t,e,i){"use strict";i.r(e);var n=i("b594"),u=i("d1b9");for(var o in u)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return u[t]}))}(o);i("305c");var s=i("828b"),a=Object(s["a"])(u["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=a.exports},b594:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return u})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=(t._self._c,t.albumList.length),n=i?t.__map(t.albumList,(function(e,i){var n=t.__get_orig(e),u=e.files&&1==e.type?e.showImages.length:null,o=e.files&&1==e.type&&1!=u?e.showImages.length:null;return{$orig:n,g1:u,g2:o}})):null;t.$mp.data=Object.assign({},{$root:{g0:i,l0:n}})},u=[]},d1b9:function(t,e,i){"use strict";i.r(e);var n=i("eb82"),u=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=u.a},ea42:function(t,e,i){},eb82:function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=n(i("f5e9")),o={name:"albumDiy",props:["showStyle","showParams"],data:function(){return{albumList:[]}},computed:{titleFontSize:function(){return t.upx2px(2*this.showStyle.titleFontSize)+"px"},titleBtnSize:function(){return t.upx2px(2*this.showStyle.titleBtnSize)+"px"},titleIconMore:function(){return u.default.svgToUrl("more",this.showStyle.titleBtnColor)},titleIconSize:function(){return t.upx2px(2*this.showStyle.titleIconSize)+"px"},titleSpace:function(){return t.upx2px(2*this.showStyle.titleSpace)+"px"},itemBorderRadius:function(){return t.upx2px(2*this.showStyle.itemBorderRadius)+"px"},timeSize:function(){return t.upx2px(2*this.showStyle.timeSize)+"px"},timeSizeSmall:function(){return t.upx2px(2*(this.showStyle.timeSize-4))+"px"},nameSize:function(){return t.upx2px(2*this.showStyle.nameSize)+"px"},borderRadius:function(){return t.upx2px(2*this.showStyle.borderRadius)+"px"},paddingTop:function(){return t.upx2px(2*this.showStyle.paddingTop)+"px"},paddingLeft:function(){return t.upx2px(2*this.showStyle.paddingLeft)+"px"},itemSpace:function(){return t.upx2px(2*this.showStyle.itemSpace)+"px"}},watch:{showParams:{handler:function(t){t&&this.getAlbumList()},immediate:!0,deep:!0}},methods:{getAlbumList:function(){var e=this;this.$util.request("album.albumDiyList",{limit:this.showParams.count}).then((function(i){if(1==i.code)for(var n in e.albumList=i.data,e.albumList)e.albumList[n].release_date&&(e.albumList[n].showTime=e.cutDate(e.albumList[n].release_date)),1==e.albumList[n].type&&e.albumList[n].files&&("string"==typeof e.albumList[n].files?e.albumList[n].showImages=e.albumList[n].files.split(","):e.albumList[n].showImages=e.albumList[n].files);else t.showToast({title:i.msg,icon:"none"})})).catch((function(t){console.error("获取相册列表",t)}))},cutDate:function(t){var e=t.split("/"),i={};return e&&3==e.length&&(i={month:e[1],day:e[2]}),i},toDetails:function(t){this.$util.toPage({mode:1,path:"/pagesTools/album/details?id="+t})},toMore:function(){this.$util.toPage({mode:1,path:"/pagesTools/album/index"})}}};e.default=o}).call(this,i("df3c")["default"])}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'pages/component/diy/albumDiy-create-component',
|
||||
{
|
||||
'pages/component/diy/albumDiy-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("4b4d"))
|
||||
})
|
||||
},
|
||||
[['pages/component/diy/albumDiy-create-component']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/pages/component/diy/albumDiy.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/pages/component/diy/albumDiy.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/component/diy/albumDiy.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/diy/albumDiy.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="component-album" style="{{'padding:'+(paddingTop+' '+paddingLeft)+';'+('background:'+(showStyle.background)+';')+('border-radius:'+(itemBorderRadius)+';')}}"><block wx:if="{{showParams.showTitle}}"><view class="album-title" style="{{'margin-bottom:'+(titleSpace)+';'}}"><view style="{{'font-size:'+(titleFontSize)+';'+('font-weight:'+(showStyle.titleFontStyle)+';')+('color:'+(showStyle.titleColor)+';')}}">{{showParams.titleText}}</view><view data-event-opts="{{[['tap',[['toMore']]]]}}" style="{{'font-size:'+(titleBtnSize)+';'+('color:'+(showStyle.titleBtnColor)+';')}}" bindtap="__e"><block wx:if="{{showParams.titleBtnType=='text'}}"><text>{{showParams.titleBtnText}}</text></block><block wx:else><block wx:if="{{titleIconMore}}"><view style="{{'background-image:'+('url('+titleIconMore+')')+';'+('width:'+(titleIconSize)+';')+('height:'+(titleIconSize)+';')+('background-size:'+(titleIconSize)+';')}}"></view></block></block></view></view></block><block wx:if="{{$root.g0}}"><view class="album-list" style="{{'row-gap:'+(itemSpace)+';'}}"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><view data-event-opts="{{[['tap',[['toDetails',['$0'],[[['albumList','id',item.$orig.id,'id']]]]]]]}}" class="list-item flex" bindtap="__e"><view class="item-timeline"><block wx:if="{{item.$orig.showTime.month&&item.$orig.showTime.day}}"><view class="timeline-time"><text style="{{'font-size:'+(timeSize)+';'}}">{{item.$orig.showTime.month+"/"}}</text><text style="{{'font-size:'+(timeSizeSmall)+';'}}">{{item.$orig.showTime.day}}</text></view></block><block wx:else><view class="timeline-time">{{item.$orig.release_date}}</view></block><view class="timeline-point" style="{{'background:'+(showStyle.iconColor)+';'}}"></view><view class="timeline-line"></view></view><view class="item-content flex-item"><view class="content-title text-ellipsis-more" style="{{'font-size:'+(nameSize)+';'+('font-weight:'+(showStyle.nameWeight)+';')}}">{{item.$orig.name}}</view><block wx:if="{{item.$orig.files}}"><view class="content-box"><block wx:if="{{item.$orig.type==1}}"><block><block wx:if="{{item.g1==1}}"><view class="box-single"><image class="image" style="{{'border-radius:'+(borderRadius)+';'}}" src="{{item.$orig.showImages[0]}}" mode="aspectFill"></image></view></block><block wx:else><block wx:if="{{item.g2}}"><view class="box-multiple"><block wx:for="{{item.$orig.showImages}}" wx:for-item="img" wx:for-index="index" wx:key="index"><view class="multiple-image"><image class="image" style="{{'border-radius:'+(borderRadius)+';'}}" 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></block></view></view></block></view></block><block wx:else><empty vue-id="bb28d5ca-1" top="0" padding="0" width="200rpx" size="28rpx" title="暂无相关内容~" bind:__l="__l"></empty></block></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/component/diy/albumDiy.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/diy/albumDiy.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.component-album .album-title{display:flex;align-items:center;justify-content:space-between}.component-album .album-list{display:flex;flex-direction:column}.component-album .album-list .list-item .item-timeline{display:flex;flex-direction:column}.component-album .album-list .list-item .item-timeline .timeline-time{color:#5a5b6e;font-size:32rpx;font-weight:600;line-height:44rpx}.component-album .album-list .list-item .item-timeline .timeline-point{width:20rpx;height:20rpx;border-radius:4rpx;background:var(--theme-color)}.component-album .album-list .list-item .item-timeline .timeline-line{width:2rpx;height:100%;flex:1;background:#f0f0f0}.component-album .album-list .list-item .item-content{margin-left:16rpx;position:relative}.component-album .album-list .list-item .item-content .content-title{color:#5a5b6e;font-size:28rpx;line-height:40rpx}.component-album .album-list .list-item .item-content .content-box{margin-top:16rpx}.component-album .album-list .list-item .item-content .content-box .box-single{width:100%;height:240rpx;border-radius:16rpx;overflow:hidden}.component-album .album-list .list-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-list .list-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-list .list-item .item-content .content-box .box-multiple .multiple-image .image{position:absolute;top:0;left:0;width:100%;height:100%}.component-album .album-list .list-item .item-content .content-box .box-cover{width:100%;height:240rpx;border-radius:16rpx;overflow:hidden;position:relative}.component-album .album-list .list-item .item-content .content-box .box-cover .cover-image{width:100%;height:100%}.component-album .album-list .list-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-list .list-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/pages/component/diy/articleDiy.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/pages/component/diy/articleDiy.js
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/component/diy/articleDiy"],{"5f85":function(t,i,e){"use strict";var n=e("acc2"),a=e.n(n);a.a},a70b:function(t,i,e){"use strict";(function(t){var n=e("47a9");Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var a=n(e("f5e9")),o={name:"articleDiy",props:["showStyle","showParams"],data:function(){return{articleList:[]}},computed:{titleFontSize:function(){return t.upx2px(2*this.showStyle.titleFontSize)+"px"},titleBtnSize:function(){return t.upx2px(2*this.showStyle.titleBtnSize)+"px"},titleIconMore:function(){return a.default.svgToUrl("more",this.showStyle.titleBtnColor)},titleIconSize:function(){return t.upx2px(2*this.showStyle.titleIconSize)+"px"},titleSpace:function(){return t.upx2px(2*this.showStyle.titleSpace)+"px"},itemBorderRadius:function(){return t.upx2px(2*this.showStyle.itemBorderRadius)+"px"},imgWidth:function(){return t.upx2px(2*this.showStyle.imgWidth)+"px"},imgHeight:function(){return t.upx2px(2*this.showStyle.imgHeight)+"px"},borderRadius:function(){return t.upx2px(2*this.showStyle.borderRadius)+"px"},nameSize:function(){return t.upx2px(2*this.showStyle.nameSize)+"px"},dateSize:function(){return t.upx2px(2*this.showStyle.dateSize)+"px"},viewSize:function(){return t.upx2px(2*(this.showStyle.dateSize+4))+"px"},paddingTop:function(){return t.upx2px(2*this.showStyle.paddingTop)+"px"},paddingLeft:function(){return t.upx2px(2*this.showStyle.paddingLeft)+"px"},itemSpace:function(){return t.upx2px(2*this.showStyle.itemSpace)+"px"}},watch:{showParams:{handler:function(t){t&&this.getArticleList()},immediate:!0,deep:!0}},methods:{getArticleList:function(){var i=this,e="";this.showParams.category?e=this.showParams.category:this.showParams.link&&"Article"==this.showParams.link.type&&(e=this.showParams.link.path.split("?id=")[1]),this.$util.request("main.article.list",{page:1,limit:this.showParams.count,cat_id:e}).then((function(e){1==e.code?i.articleList=e.data.data:t.showToast({title:e.msg,icon:"none"})})).catch((function(t){console.error("获取新闻列表 ",t)}))},toMore:function(){this.$util.toPage({mode:1,path:"/pages/article/index?id=".concat(this.showParams.category,"&title=").concat(encodeURIComponent(this.showParams.titleText||""))})},toDetails:function(t){if(2==t.type)this.$util.toPage({mode:4,path:t.link}),this.$util.request("main.article.updateReadNum",{id:t.id});else{var i="";i=this.showTitle?this.showParams.titleText||"":this.showParams.categoryName||"",this.$util.toPage({mode:1,path:"/pages/article/details?id=".concat(t.id,"&title=").concat(i||"")})}}}};i.default=o}).call(this,e("df3c")["default"])},acc2:function(t,i,e){},d522:function(t,i,e){"use strict";e.r(i);var n=e("f576"),a=e("fcc1");for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(o);e("5f85");var s=e("828b"),r=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);i["default"]=r.exports},f576:function(t,i,e){"use strict";e.d(i,"b",(function(){return n})),e.d(i,"c",(function(){return a})),e.d(i,"a",(function(){}));var n=function(){var t=this.$createElement,i=(this._self._c,this.articleList.length);this.$mp.data=Object.assign({},{$root:{g0:i}})},a=[]},fcc1:function(t,i,e){"use strict";e.r(i);var n=e("a70b"),a=e.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(o);i["default"]=a.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'pages/component/diy/articleDiy-create-component',
|
||||
{
|
||||
'pages/component/diy/articleDiy-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("d522"))
|
||||
})
|
||||
},
|
||||
[['pages/component/diy/articleDiy-create-component']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/pages/component/diy/articleDiy.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/pages/component/diy/articleDiy.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/component/diy/articleDiy.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/diy/articleDiy.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="diy-article" style="{{'padding:'+(paddingTop+' '+paddingLeft)+';'+('background:'+(showStyle.background)+';')+('border-radius:'+(itemBorderRadius)+';')}}"><block wx:if="{{showParams.showTitle}}"><view class="article-title" style="{{'margin-bottom:'+(titleSpace)+';'}}"><view style="{{'font-size:'+(titleFontSize)+';'+('font-weight:'+(showStyle.titleFontStyle)+';')+('color:'+(showStyle.titleColor)+';')}}">{{showParams.titleText}}</view><view data-event-opts="{{[['tap',[['toMore']]]]}}" style="{{'font-size:'+(titleBtnSize)+';'+('color:'+(showStyle.titleBtnColor)+';')}}" bindtap="__e"><block wx:if="{{showParams.titleBtnType=='text'}}"><text>{{showParams.titleBtnText}}</text></block><block wx:else><block wx:if="{{titleIconMore}}"><view style="{{'background-image:'+('url('+titleIconMore+')')+';'+('width:'+(titleIconSize)+';')+('height:'+(titleIconSize)+';')+('background-size:'+(titleIconSize)+';')}}"></view></block></block></view></view></block><block wx:if="{{$root.g0}}"><view class="article-list" style="{{'row-gap:'+(itemSpace)+';'}}"><block wx:for="{{articleList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toDetails',['$0'],[[['articleList','',index]]]]]]]}}" class="{{['list-item',(showStyle.imgFloat=='right')?'flex-row-reverse':'']}}" bindtap="__e"><block wx:if="{{showParams.showImg}}"><view class="item-left"><image style="{{'width:'+(imgWidth)+';'+('height:'+(imgHeight)+';')+('float:'+(showStyle.imgFloat||'left')+';')+('border-radius:'+(borderRadius)+';')}}" mode="aspectFill" src="{{item.image}}"></image></view></block><view class="item-right" style="{{'height:'+(imgHeight)+';'}}"><view class="right-title" style="{{'font-size:'+(nameSize)+';'+('font-weight:'+(showStyle.nameWeight)+';')}}">{{item.title}}</view><view class="right-group flex align-items-center"><block wx:if="{{showParams.showReadNum}}"><view class="group-view flex align-items-center"><image class="icon" style="{{'width:'+(viewSize)+';'+('height:'+(viewSize)+';')}}" src="/static/see.png" mode="aspectFit"></image><text class="number" style="{{'font-size:'+(dateSize)+';'}}">{{item.read_num}}</text></view></block><view class="group-date flex-item" style="{{'font-size:'+(dateSize)+';'+('text-align:'+(!showParams.showReadNum&&showStyle.imgFloat=='right'?'left':'right')+';')}}">{{item.createtime}}</view></view></view></view></block></view></block><block wx:else><empty vue-id="22362822-1" top="0" padding="0" width="200rpx" size="28rpx" title="暂无相关内容~" bind:__l="__l"></empty></block></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/component/diy/articleDiy.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/diy/articleDiy.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.diy-article .article-title{display:flex;align-items:center;justify-content:space-between}.diy-article .article-list{display:flex;flex-direction:column}.diy-article .article-list .list-item{overflow:hidden;display:flex;align-items:center;-webkit-column-gap:10px;column-gap:10px}.diy-article .article-list .list-item.flex-row-reverse{flex-direction:row-reverse}.diy-article .article-list .list-item .item-right{display:flex;flex-direction:column;justify-content:space-between;flex:1}.diy-article .article-list .list-item .item-right .right-title{line-height:1.3;color:#333;display:-webkit-box;word-break:break-all;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3}.diy-article .article-list .list-item .item-right .right-group{margin-top:16rpx;-webkit-column-gap:8px;column-gap:8px}.diy-article .article-list .list-item .item-right .right-group .group-view .icon{width:32rpx;height:32rpx}.diy-article .article-list .list-item .item-right .right-group .group-view .number{margin-left:8rpx;color:#5a5b6e;font-size:24rpx;line-height:1.2}.diy-article .article-list .list-item .item-right .right-group .group-date{color:#5a5b6e;line-height:1.2;text-align:right}
|
||||
10
unpackage/dist/build/mp-weixin/pages/component/diy/blankDiy.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/pages/component/diy/blankDiy.js
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/component/diy/blankDiy"],{"0445":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={name:"blankDiy",props:["showStyle"],computed:{itemBorderRadius:function(){return t.upx2px(2*this.showStyle.itemBorderRadius)+"px"},height:function(){return t.upx2px(2*this.showStyle.height)+"px"}}};n.default=e}).call(this,e("df3c")["default"])},"5b6d":function(t,n,e){"use strict";e.d(n,"b",(function(){return u})),e.d(n,"c",(function(){return i})),e.d(n,"a",(function(){}));var u=function(){var t=this.$createElement;this._self._c},i=[]},"9b1f":function(t,n,e){"use strict";e.r(n);var u=e("5b6d"),i=e("e777");for(var r in i)["default"].indexOf(r)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(r);var o=e("828b"),a=Object(o["a"])(i["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],void 0);n["default"]=a.exports},e777:function(t,n,e){"use strict";e.r(n);var u=e("0445"),i=e.n(u);for(var r in u)["default"].indexOf(r)<0&&function(t){e.d(n,t,(function(){return u[t]}))}(r);n["default"]=i.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'pages/component/diy/blankDiy-create-component',
|
||||
{
|
||||
'pages/component/diy/blankDiy-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("9b1f"))
|
||||
})
|
||||
},
|
||||
[['pages/component/diy/blankDiy-create-component']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/pages/component/diy/blankDiy.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/pages/component/diy/blankDiy.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/component/diy/blankDiy.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/diy/blankDiy.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="diy-blank" style="{{'height:'+(height)+';'+('background:'+(showStyle.background)+';')+('border-radius:'+(itemBorderRadius)+';')}}"></view>
|
||||
10
unpackage/dist/build/mp-weixin/pages/component/diy/carouselDiy.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/pages/component/diy/carouselDiy.js
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/component/diy/carouselDiy"],{3864:function(t,e,n){"use strict";var r=n("a94e"),i=n.n(r);i.a},"3cdc":function(t,e,n){"use strict";(function(t){var r=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n("7ca3")),o=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}function u(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,i.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}var a={name:"carouselDiy",props:["showStyle","showData","showParams","domain"],data:function(){return{current:0}},computed:u(u({},(0,o.mapState)({themeColor:function(t){return t.app.themeColor}})),{},{itemBorderRadius:function(){return t.upx2px(2*this.showStyle.itemBorderRadius)+"px"},height:function(){return t.upx2px(2*this.showStyle.height)+"px"},borderRadius:function(){return t.upx2px(2*this.showStyle.borderRadius)+"px"},paddingTop:function(){return t.upx2px(2*this.showStyle.paddingTop)+"px"},paddingLeft:function(){return t.upx2px(2*this.showStyle.paddingLeft)+"px"}}),methods:{getImagePath:function(t){return t.indexOf("http")>-1?t:this.domain+t},onClick:function(t){t&&this.$emit("onClick",t)},change:function(t){this.current=t.detail.current}}};e.default=a}).call(this,n("df3c")["default"])},a94e:function(t,e,n){},d8ac:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return i})),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),i=e.link&&"Service"==e.link.type?t.getImagePath(e.imgUrl):null,o=e.link&&"Service"==e.link.type?null:t.getImagePath(e.imgUrl);return{$orig:r,m0:i,m1:o}})));t.$mp.data=Object.assign({},{$root:{l0:n}})},i=[]},e75f:function(t,e,n){"use strict";n.r(e);var r=n("d8ac"),i=n("ee5c");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("3864");var c=n("828b"),u=Object(c["a"])(i["default"],r["b"],r["c"],!1,null,"39256c31",null,!1,r["a"],void 0);e["default"]=u.exports},ee5c:function(t,e,n){"use strict";n.r(e);var r=n("3cdc"),i=n.n(r);for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);e["default"]=i.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'pages/component/diy/carouselDiy-create-component',
|
||||
{
|
||||
'pages/component/diy/carouselDiy-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("e75f"))
|
||||
})
|
||||
},
|
||||
[['pages/component/diy/carouselDiy-create-component']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/pages/component/diy/carouselDiy.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/pages/component/diy/carouselDiy.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/component/diy/carouselDiy.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/diy/carouselDiy.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="diy-carousel data-v-39256c31" style="{{'padding:'+(paddingTop+' '+paddingLeft)+';'+('background:'+(showStyle.background)+';')+('border-radius:'+(itemBorderRadius)+';')}}"><swiper class="carousel-list data-v-39256c31" style="{{'height:'+(height)+';'+('margin-top:'+(showParams.type==='card'?'20rpx':'0rpx')+';')+('border-radius:'+(borderRadius)+';')}}" autoplay="{{true}}" interval="{{showParams.interval}}" duration="{{500}}" circular="{{true}}" previous-margin="{{showParams.type==='card'?'120rpx':'0rpx'}}" next-margin="{{showParams.type==='card'?'120rpx':'0rpx'}}" data-event-opts="{{[['change',[['change',['$event']]]]]}}" bindchange="__e"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item class="data-v-39256c31"><block wx:if="{{item.$orig.link&&item.$orig.link.type=='Service'}}"><button class="{{['list-item','clear','data-v-39256c31',showParams.type!='card'?'':current==index?'crown-active':'crown']}}" style="{{'width:'+(iconSize)+';'+('height:'+(iconSize)+';')}}" open-type="contact"><image class="item-img data-v-39256c31" style="{{'border-radius:'+(showParams.type==='card'?'10rpx':'0rpx')+';'}}" src="{{item.m0}}" mode="aspectFill" data-event-opts="{{[['tap',[['onClick',['$0'],[[['showData','',index,'link']]]]]]]}}" bindtap="__e"></image></button></block><block wx:else><view class="{{['list-item','data-v-39256c31',showParams.type!='card'?'':current==index?'crown-active':'crown']}}"><image class="item-img data-v-39256c31" style="{{'border-radius:'+(showParams.type==='card'?'10rpx':'0rpx')+';'}}" src="{{item.m1}}" mode="aspectFill" data-event-opts="{{[['tap',[['onClick',['$0'],[[['showData','',index,'link']]]]]]]}}" bindtap="__e"></image></view></block></swiper-item></block></swiper><view class="carousel-dots flex data-v-39256c31" style="{{'padding-bottom:'+(paddingTop)+';'}}"><block wx:for="{{showData}}" wx:for-item="d" wx:for-index="i" wx:key="i"><view class="dots-item data-v-39256c31" style="{{'background:'+(current==i?showStyle.dotColor||themeColor:'#ffffff')+';'}}"></view></block></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/component/diy/carouselDiy.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/diy/carouselDiy.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.diy-carousel.data-v-39256c31{position:relative}.diy-carousel .carousel-list.data-v-39256c31{overflow:hidden}.diy-carousel .carousel-list .list-item.data-v-39256c31{position:relative;height:100%;transition:1.2s}.diy-carousel .carousel-list .list-item.crown.data-v-39256c31{-webkit-transform:scale(.93,.85);transform:scale(.93,.85)}.diy-carousel .carousel-list .list-item.crown-active.data-v-39256c31{-webkit-transform:scale(1);transform:scale(1)}.diy-carousel .carousel-list .list-item .item-img.data-v-39256c31{width:100%;height:100%}.diy-carousel .carousel-list .list-item .item-absolute.data-v-39256c31{display:block;position:absolute;top:0;left:0;right:0;bottom:0}.diy-carousel .carousel-dots.data-v-39256c31{display:flex;position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);bottom:24rpx}.diy-carousel .carousel-dots .dots-item.data-v-39256c31{width:24rpx;height:8rpx;border-radius:8rpx;background:#fff;margin-right:4rpx}.diy-carousel .carousel-dots .dots-item.data-v-39256c31:last-child{margin-right:0}
|
||||
10
unpackage/dist/build/mp-weixin/pages/component/diy/chainsDiy.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/pages/component/diy/chainsDiy.js
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/component/diy/chainsDiy"],{3206:function(t,e,n){"use strict";var i=n("4138"),o=n.n(i);o.a},4138:function(t,e,n){},7971:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=(this._self._c,this.chainsList.length);this.$mp.data=Object.assign({},{$root:{g0:e}})},o=[]},"9b9da":function(t,e,n){"use strict";n.r(e);var i=n("7971"),o=n("bd49");for(var r in o)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(r);n("3206");var s=n("828b"),a=Object(s["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=a.exports},bd49:function(t,e,n){"use strict";n.r(e);var i=n("d711"),o=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=o.a},d711:function(t,e,n){"use strict";(function(t){var i=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n("7ca3")),r=n("8f59"),s=i(n("f5e9"));function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function c(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}var u={name:"chainsDiy",props:["showStyle","showParams"],data:function(){return{chainsList:[]}},computed:c(c({},(0,r.mapState)({themeColor:function(t){return t.app.themeColor},jielongImg:function(t){return t.app.jielongImg}})),{},{titleFontSize:function(){return t.upx2px(2*this.showStyle.titleFontSize)+"px"},titleBtnSize:function(){return t.upx2px(2*this.showStyle.titleBtnSize)+"px"},titleIconMore:function(){return s.default.svgToUrl("more",this.showStyle.titleBtnColor)},titleIconSize:function(){return t.upx2px(2*this.showStyle.titleIconSize)+"px"},titleSpace:function(){return t.upx2px(2*this.showStyle.titleSpace)+"px"},itemBorderRadius:function(){return t.upx2px(2*this.showStyle.itemBorderRadius)+"px"},nameSize:function(){return t.upx2px(2*this.showStyle.nameSize)+"px"},contentSize:function(){return t.upx2px(2*this.showStyle.contentSize)+"px"},iconSize:function(){return t.upx2px(2*this.showStyle.iconSize)+"px"},btnSize:function(){return t.upx2px(2*this.showStyle.btnSize)+"px"},iconInvite:function(){return s.default.svgToUrl("invite",this.showStyle.iconColor)},iconPhone:function(){return s.default.svgToUrl("phone",this.showStyle.iconColor)},paddingTop:function(){return t.upx2px(2*this.showStyle.paddingTop)+"px"},paddingLeft:function(){return t.upx2px(2*this.showStyle.paddingLeft)+"px"},itemSpace:function(){return t.upx2px(2*this.showStyle.itemSpace)+"px"}}),watch:{showParams:{handler:function(t){t&&this.getChainsList()},immediate:!0,deep:!0}},methods:{getChainsList:function(){var e=this;this.$util.request("sequence.chainsList",{page:1,limit:this.showParams.count}).then((function(n){1==n.code?e.chainsList=n.data.data:t.showToast({title:n.msg,icon:"none"})})).catch((function(t){console.error("获取接龙列表",t)}))},toDetails:function(t,e){var n=this;2==e?this.getMemberState((function(){n.$util.toPage({mode:1,path:"/pagesTools/sequence/details?id="+t})})):this.$util.toPage({mode:1,path:"/pagesTools/sequence/details?id="+t})},getMemberState:function(e){var n=this;t.showLoading({title:"加载中",mask:!0}),this.$util.request("member.state").then((function(i){t.hideLoading(),1==i.code?6==i.data.state.state?e():-1==i.data.state.state?t.showModal({title:"系统提示",content:"此页面需成为会员后可查看!",confirmColor:n.themeColor,confirmText:"去加入",success:function(t){t.confirm&&n.$util.toPage({mode:1,path:"/pages/member/apply/index"})}}):t.showModal({title:"系统提示",content:"此页面需成为会员后可查看!",confirmColor:n.themeColor,confirmText:"前往查看",success:function(e){e.confirm&&t.switchTab({url:"/pages/mine/index"})}}):t.showToast({title:i.msg,icon:"none"})})).catch((function(t){console.error("获取会员状态 ",t)}))},toMore:function(){this.$util.toPage({mode:1,path:"/pagesTools/sequence/index"})},onContact:function(t){this.$util.toPage({mode:6,phone:t})},setShareData:function(t){this.$emit("setShareData",{title:t.name,path:"/pagesTools/sequence/details?id="+t.id,imageUrl:this.jielongImg})}}};e.default=u}).call(this,n("df3c")["default"])}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'pages/component/diy/chainsDiy-create-component',
|
||||
{
|
||||
'pages/component/diy/chainsDiy-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("9b9da"))
|
||||
})
|
||||
},
|
||||
[['pages/component/diy/chainsDiy-create-component']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/pages/component/diy/chainsDiy.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/pages/component/diy/chainsDiy.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/component/diy/chainsDiy.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/diy/chainsDiy.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="diy-chains" style="{{'padding:'+(paddingTop+' '+paddingLeft)+';'+('background:'+(showStyle.background)+';')+('border-radius:'+(itemBorderRadius)+';')}}"><block wx:if="{{showParams.showTitle}}"><view class="chains-title" style="{{'margin-bottom:'+(titleSpace)+';'}}"><view style="{{'font-size:'+(titleFontSize)+';'+('font-weight:'+(showStyle.titleFontStyle)+';')+('color:'+(showStyle.titleColor)+';')}}">{{showParams.titleText}}</view><view data-event-opts="{{[['tap',[['toMore']]]]}}" style="{{'font-size:'+(titleBtnSize)+';'+('color:'+(showStyle.titleBtnColor)+';')}}" bindtap="__e"><block wx:if="{{showParams.titleBtnType=='text'}}"><text>{{showParams.titleBtnText}}</text></block><block wx:else><block wx:if="{{titleIconMore}}"><view style="{{'background-image:'+('url('+titleIconMore+')')+';'+('width:'+(titleIconSize)+';')+('height:'+(titleIconSize)+';')+('background-size:'+(titleIconSize)+';')}}"></view></block></block></view></view></block><block wx:if="{{$root.g0}}"><view class="chains-list" style="{{'row-gap:'+(itemSpace)+';'}}"><block wx:for="{{chainsList}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><view data-event-opts="{{[['tap',[['toDetails',['$0','$1'],[[['chainsList','id',item.id,'id']],[['chainsList','id',item.id,'jielong_auth']]]]]]]}}" class="list-item" bindtap="__e"><view class="item-title text-ellipsis" style="{{'font-size:'+(nameSize)+';'+('font-weight:'+(showStyle.nameWeight)+';')}}">{{item.name}}</view><view class="item-tag flex justify-content-between"><view class="tag-box flex" style="{{'font-size:'+(contentSize)+';'}}"><text style="margin-left:0;">{{item.expire_time}}</text><block wx:if="{{item.type==1}}"><text>自由接龙</text></block><block wx:else><text>限定接龙</text></block></view><view class="tag-box flex" style="{{'font-size:'+(contentSize)+';'}}"><text>{{"浏览"+item.page_view}}</text><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'],[[['chainsList','id',item.id]]]]]]]}}" catchtap="__e"><block wx:if="{{showStyle.showIcon&&iconInvite}}"><view class="icon" style="{{'width:'+(iconSize)+';'+('height:'+(iconSize)+';')+('background-size:'+(iconSize)+';')+('background-image:'+('url('+iconInvite+')')+';')}}"></view></block><text class="text" style="{{'font-size:'+(btnSize)+';'}}">邀请填写</text></button><view class="btn-line"></view><view data-event-opts="{{[['tap',[['onContact',['$0'],[[['chainsList','id',item.id,'mobile']]]]]]]}}" class="btn-box justify-content-end flex align-items-center" catchtap="__e"><block wx:if="{{showStyle.showIcon&&iconPhone}}"><view class="icon" style="{{'width:'+(iconSize)+';'+('height:'+(iconSize)+';')+('background-size:'+(iconSize)+';')+('background-image:'+('url('+iconPhone+')')+';')}}"></view></block><text class="text" style="{{'font-size:'+(btnSize)+';'}}">电话</text></view></view></view></block></view></block><block wx:else><empty vue-id="092d9b5a-1" top="0" padding="0" width="200rpx" size="28rpx" title="暂无相关内容~" bind:__l="__l"></empty></block></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/component/diy/chainsDiy.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/diy/chainsDiy.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.diy-chains .chains-title{display:flex;align-items:center;justify-content:space-between}.diy-chains .chains-list{display:flex;flex-direction:column}.diy-chains .chains-list .list-item .item-title{color:#5a5b6e;line-height:1.3}.diy-chains .chains-list .list-item .item-tag{margin-top:16rpx}.diy-chains .chains-list .list-item .item-tag .tag-box text{color:#999;line-height:1.4;margin-left:16rpx}.diy-chains .chains-list .list-item .item-btn{margin-top:32rpx;border-top:1rpx solid #e8e8e8;padding-top:32rpx}.diy-chains .chains-list .list-item .item-btn .btn-box{flex:1;padding:0 48rpx}.diy-chains .chains-list .list-item .item-btn .btn-box .text{margin-left:8rpx;color:#5a5b6e;line-height:1.4}.diy-chains .chains-list .list-item .item-btn .btn-line{width:0;height:32rpx;border-left:1rpx solid #e8e8e8}
|
||||
10
unpackage/dist/build/mp-weixin/pages/component/diy/cubeDiy.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/pages/component/diy/cubeDiy.js
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/component/diy/cubeDiy"],{"40ff":function(t,e,l){},4350:function(t,e,l){"use strict";l.r(e);var a=l("4fd0"),o=l("e5c3");for(var n in o)["default"].indexOf(n)<0&&function(t){l.d(e,t,(function(){return o[t]}))}(n);l("85cc");var i=l("828b"),h=Object(i["a"])(o["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);e["default"]=h.exports},"4fd0":function(t,e,l){"use strict";l.d(e,"b",(function(){return a})),l.d(e,"c",(function(){return o})),l.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,l=(t._self._c,-1==t.showStyle.layout&&"left"==t.showStyle.imgFloat&&t.showData[0].link&&"Service"==t.showData[0].link.type?t.getImagePath(t.showData[0].imgUrl):null),a=-1!=t.showStyle.layout||"left"!=t.showStyle.imgFloat||t.showData[0].link&&"Service"==t.showData[0].link.type?null:t.getImagePath(t.showData[0].imgUrl),o=-1==t.showStyle.layout&&1==t.showStyle.model?t.showData.length:null,n=-1==t.showStyle.layout&&1==t.showStyle.model&&o>=2&&t.showData[1].link&&"Service"==t.showData[1].link.type?t.getImagePath(t.showData[1].imgUrl):null,i=-1==t.showStyle.layout&&1==t.showStyle.model&&o>=2&&(!t.showData[1].link||"Service"!=t.showData[1].link.type)?t.getImagePath(t.showData[1].imgUrl):null,h=-1==t.showStyle.layout&&1==t.showStyle.model?t.showData.length:null,s=-1==t.showStyle.layout&&1==t.showStyle.model&&h>=3&&t.showData[2].link&&"Service"==t.showData[2].link.type?t.getImagePath(t.showData[2].imgUrl):null,u=-1==t.showStyle.layout&&1==t.showStyle.model&&h>=3&&(!t.showData[2].link||"Service"!=t.showData[2].link.type)?t.getImagePath(t.showData[2].imgUrl):null,r=-1==t.showStyle.layout&&1==t.showStyle.model?t.showData.length:null,g=-1==t.showStyle.layout&&1==t.showStyle.model&&r>=4&&t.showData[3].link&&"Service"==t.showData[3].link.type?t.getImagePath(t.showData[3].imgUrl):null,w=-1==t.showStyle.layout&&1==t.showStyle.model&&r>=4&&(!t.showData[3].link||"Service"!=t.showData[3].link.type)?t.getImagePath(t.showData[3].imgUrl):null,m=-1==t.showStyle.layout&&1!=t.showStyle.model?t.__map(t.showData,(function(e,l){var a=t.__get_orig(e),o=l>0&&l<4?t.showData.length:null,n=l>0&&l<4&&!(o>4)?t.showData.length:null,i=l>0&&l<4&&e.link&&"Service"==e.link.type?t.getImagePath(e.imgUrl):null,h=l>0&&l<4&&(!e.link||"Service"!=e.link.type)?t.getImagePath(e.imgUrl):null;return{$orig:a,g3:o,g4:n,m8:i,m9:h}})):null,c=-1==t.showStyle.layout&&"right"==t.showStyle.imgFloat&&t.showData[0].link&&"Service"==t.showData[0].link.type?t.getImagePath(t.showData[0].imgUrl):null,y=-1!=t.showStyle.layout||"right"!=t.showStyle.imgFloat||t.showData[0].link&&"Service"==t.showData[0].link.type?null:t.getImagePath(t.showData[0].imgUrl),p=-1!=t.showStyle.layout?t.__map(t.showData,(function(e,l){var a=t.__get_orig(e),o=e.link&&"Service"==e.link.type?t.getImagePath(e.imgUrl):null,n=e.link&&"Service"==e.link.type?null:t.getImagePath(e.imgUrl);return{$orig:a,m12:o,m13:n}})):null;t.$mp.data=Object.assign({},{$root:{m0:l,m1:a,g0:o,m2:n,m3:i,g1:h,m4:s,m5:u,g2:r,m6:g,m7:w,l0:m,m10:c,m11:y,l1:p}})},o=[]},"68f5":function(t,e,l){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l={name:"cubeDiy",props:["showStyle","showData","domain"],computed:{itemBorderRadius:function(){return t.upx2px(2*this.showStyle.itemBorderRadius)+"px"},height:function(){return t.upx2px(2*this.showStyle.height)+"px"},borderRadius:function(){return t.upx2px(2*this.showStyle.borderRadius)+"px"},paddingTop:function(){return t.upx2px(2*this.showStyle.paddingTop)+"px"},paddingLeft:function(){return t.upx2px(2*this.showStyle.paddingLeft)+"px"},itemSpace:function(){return t.upx2px(this.showStyle.itemSpace)+"px"}},methods:{getImagePath:function(t){return t.indexOf("http")>-1?t:this.domain+t},onClick:function(t){t&&this.$emit("onClick",t)}}};e.default=l}).call(this,l("df3c")["default"])},"85cc":function(t,e,l){"use strict";var a=l("40ff"),o=l.n(a);o.a},e5c3:function(t,e,l){"use strict";l.r(e);var a=l("68f5"),o=l.n(a);for(var n in a)["default"].indexOf(n)<0&&function(t){l.d(e,t,(function(){return a[t]}))}(n);e["default"]=o.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'pages/component/diy/cubeDiy-create-component',
|
||||
{
|
||||
'pages/component/diy/cubeDiy-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("4350"))
|
||||
})
|
||||
},
|
||||
[['pages/component/diy/cubeDiy-create-component']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/pages/component/diy/cubeDiy.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/pages/component/diy/cubeDiy.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/component/diy/cubeDiy.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/diy/cubeDiy.wxml
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/mp-weixin/pages/component/diy/cubeDiy.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/diy/cubeDiy.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.diy-cube{overflow:hidden}.diy-cube .cube-list{display:flex;flex-wrap:wrap}.diy-cube .cube-list .list-item{position:relative;width:100%;height:100%}.diy-cube .cube-display{width:100%;display:flex;align-items:center}.diy-cube .cube-display .display-left{width:50%;height:100%;position:relative}.diy-cube .cube-display .display-right{width:auto;height:100%;display:flex;flex-direction:column}.diy-cube .cube-display .display-right .right-1{width:100%;height:50%;position:relative}.diy-cube .cube-display .display-right .right-2{width:100%;height:50%;display:flex}.diy-cube .cube-display .display-right .right-2 .right-2-left{position:relative;width:50%;height:100%}.diy-cube .cube-display .display-right .right-2 .right-2-right{position:relative;width:50%;height:100%}.diy-cube .cube-display .display-right .right-3{width:100%;height:100%;display:flex;flex-direction:column}.diy-cube .cube-display .display-right .right-3 .item{position:relative;width:100%;flex:1}.diy-cube .diy-cube-absolute{display:block;position:absolute;top:0;left:0;right:0;bottom:0}
|
||||
10
unpackage/dist/build/mp-weixin/pages/component/diy/demandDiy.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/pages/component/diy/demandDiy.js
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/component/diy/demandDiy"],{"66e2":function(t,e,n){"use strict";n.r(e);var i=n("8324"),o=n.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=o.a},"6aad":function(t,e,n){"use strict";var i=n("a555"),o=n.n(i);o.a},8324:function(t,e,n){"use strict";(function(t){var i=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n("f5e9")),a={name:"demandDiy",props:["showStyle","showParams"],data:function(){return{demandList:[]}},computed:{titleFontSize:function(){return t.upx2px(2*this.showStyle.titleFontSize)+"px"},titleBtnSize:function(){return t.upx2px(2*this.showStyle.titleBtnSize)+"px"},titleIconMore:function(){return o.default.svgToUrl("more",this.showStyle.titleBtnColor)},titleIconSize:function(){return t.upx2px(2*this.showStyle.titleIconSize)+"px"},titleSpace:function(){return t.upx2px(2*this.showStyle.titleSpace)+"px"},itemBorderRadius:function(){return t.upx2px(2*this.showStyle.itemBorderRadius)+"px"},nameSize:function(){return t.upx2px(2*this.showStyle.nameSize)+"px"},contentSize:function(){return t.upx2px(2*this.showStyle.contentSize)+"px"},iconAddress:function(){return o.default.svgToUrl("address",this.showStyle.addressColor)},paddingTop:function(){return t.upx2px(2*this.showStyle.paddingTop)+"px"},paddingLeft:function(){return t.upx2px(2*this.showStyle.paddingLeft)+"px"},itemSpace:function(){return t.upx2px(2*this.showStyle.itemSpace)+"px"}},watch:{showParams:{handler:function(t){t&&this.getDemandList()},immediate:!0,deep:!0}},methods:{getDemandList:function(){var e=this;this.$util.request("demand.businessDiyList",{limit:this.showParams.count,category_id:this.showParams.category||""}).then((function(n){if(1==n.code){var i=n.data||[];i.forEach((function(t){t.images=e.splitImages(t.images),t.createtime&&(t.time=e.$util.getDateBeforeNow(t.createtime))})),e.demandList=i}else t.showToast({title:n.msg,icon:"none"})})).catch((function(t){console.error("获取供需列表 ",t)}))},splitImages:function(t){try{return t?t.split(","):[]}catch(e){return[]}},toMore:function(){this.$util.toPage({mode:1,path:"/pages/demand/index"})},toDetails:function(t){this.$util.toPage({mode:1,path:"/pagesDemand/demand/details?id=".concat(t)})}}};e.default=a}).call(this,n("df3c")["default"])},a555:function(t,e,n){},d93a:function(t,e,n){"use strict";n.r(e);var i=n("f887"),o=n("66e2");for(var a in o)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("6aad");var s=n("828b"),r=Object(s["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=r.exports},f887:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=(t._self._c,t.demandList.length),i=n?t.__map(t.demandList,(function(e,n){var i=t.__get_orig(e),o=e.images.length,a=o?e.images.length<3||4===e.images.length:null;return{$orig:i,g1:o,g2:a}})):null;t.$mp.data=Object.assign({},{$root:{g0:n,l0:i}})},o=[]}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'pages/component/diy/demandDiy-create-component',
|
||||
{
|
||||
'pages/component/diy/demandDiy-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("d93a"))
|
||||
})
|
||||
},
|
||||
[['pages/component/diy/demandDiy-create-component']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/pages/component/diy/demandDiy.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/pages/component/diy/demandDiy.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/component/diy/demandDiy.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/diy/demandDiy.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="diy-demand" style="{{'padding:'+(paddingTop+' '+paddingLeft)+';'+('background:'+(showStyle.background)+';')+('border-radius:'+(itemBorderRadius)+';')}}"><block wx:if="{{showParams.showTitle}}"><view class="demand-title" style="{{'margin-bottom:'+(titleSpace)+';'}}"><view style="{{'font-size:'+(titleFontSize)+';'+('font-weight:'+(showStyle.titleFontStyle)+';')+('color:'+(showStyle.titleColor)+';')}}">{{showParams.titleText}}</view><view data-event-opts="{{[['tap',[['toMore']]]]}}" style="{{'font-size:'+(titleBtnSize)+';'+('color:'+(showStyle.titleBtnColor)+';')}}" bindtap="__e"><block wx:if="{{showParams.titleBtnType=='text'}}"><text>{{showParams.titleBtnText}}</text></block><block wx:else><block wx:if="{{titleIconMore}}"><view style="{{'background-image:'+('url('+titleIconMore+')')+';'+('width:'+(titleIconSize)+';')+('height:'+(titleIconSize)+';')+('background-size:'+(titleIconSize)+';')}}"></view></block></block></view></view></block><block wx:if="{{$root.g0}}"><view class="demand-list" style="{{'row-gap:'+(itemSpace)+';'}}"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toDetails',['$0'],[[['demandList','',index,'id']]]]]]]}}" class="list-item" bindtap="__e"><view class="item-top flex align-items-center"><image class="top-avatar" src="{{item.$orig.member.avatar}}" mode="aspectFill"></image><view class="top-info flex-item"><view class="info-title text-ellipsis">{{item.$orig.member.name}}</view><view class="info-subtitle text-ellipsis">{{item.$orig.member.level_name+" | "+item.$orig.time}}</view></view><block wx:if="{{showParams.showContact}}"><view data-event-opts="{{[['tap',[['onContact',['$0'],[[['demandList','',index,'member.mobile']]]]]]]}}" class="top-btn" style="{{'background:'+(showStyle.btnColor)+';'+('color:'+(showStyle.btnTextColor)+';')}}" catchtap="__e">联系TA</view></block></view><view class="item-center"><view class="center-title text-ellipsis" style="{{'font-size:'+(nameSize)+';'+('font-weight:'+(showStyle.nameWeight)+';')}}">{{item.$orig.title}}</view><view class="center-content text-ellipsis-more" style="{{'font-size:'+(contentSize)+';'}}">{{item.$orig.content}}</view><block wx:if="{{item.g1}}"><view class="{{['center-image',(item.g2)?'special-image':'']}}"><block wx:for="{{item.$orig.images}}" wx:for-item="img" wx:for-index="num" wx:key="num"><view data-event-opts="{{[['tap',[['previewImage',['$0',num],[[['demandList','',index,'images']]]]]]]}}" class="image-box" catchtap="__e"><image class="image" src="{{img}}" mode="aspectFill"></image></view></block></view></block></view><view class="item-bottom flex justify-content-between align-items-center"><view class="bottom-label flex-item"><block wx:if="{{item.$orig.address}}"><view class="label-box inline-flex align-items-center"><block wx:if="{{iconAddress}}"><view class="box-icon" style="{{'background-image:'+('url('+iconAddress+')')+';'}}"></view></block><text class="box-text flex-item text-ellipsis" style="{{'color:'+(showStyle.addressColor)+';'}}">{{item.$orig.address}}</text><view class="box-bg" style="{{'background:'+(showStyle.addressColor)+';'}}"></view></view></block></view><view class="bottom-other flex align-items-center"><view class="other-item flex align-items-center"><image class="icon" src="/static/see.png" mode="aspectFit"></image><text class="text">{{item.$orig.page_view}}</text></view><button class="other-item clear flex align-items-center" open-type="share" data-event-opts="{{[['tap',[['setShareData',['$0'],[[['demandList','',index]]]]]]]}}" catchtap="__e"><image class="icon" src="/static/share.png" mode="aspectFit"></image><text class="text">分享</text></button></view></view></view></block></view></block><block wx:else><empty vue-id="24adfad3-1" top="0" padding="0" width="200rpx" size="28rpx" title="暂无相关内容~" bind:__l="__l"></empty></block></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/component/diy/demandDiy.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/diy/demandDiy.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.diy-demand .demand-title{display:flex;align-items:center;justify-content:space-between}.diy-demand .demand-list{display:flex;flex-direction:column}.diy-demand .demand-list .list-item .item-top .top-avatar{width:96rpx;height:96rpx;border-radius:50%}.diy-demand .demand-list .list-item .item-top .top-info{margin-left:24rpx}.diy-demand .demand-list .list-item .item-top .top-info .info-title{color:#5a5b6e;font-size:32rpx;font-weight:600;line-height:44rpx}.diy-demand .demand-list .list-item .item-top .top-info .info-subtitle{margin-top:12rpx;color:#666;font-size:28rpx;line-height:40rpx}.diy-demand .demand-list .list-item .item-top .top-btn{margin-left:24rpx;padding:8rpx 16rpx;color:#fff;text-align:center;font-size:24rpx;line-height:34rpx;border-radius:8rpx}.diy-demand .demand-list .list-item .item-center{margin-top:32rpx}.diy-demand .demand-list .list-item .item-center .center-title{color:#5a5b6e;font-size:32rpx;font-weight:600;line-height:44rpx}.diy-demand .demand-list .list-item .item-center .center-content{margin-top:24rpx;color:#5a5b6e;font-size:28rpx;line-height:40rpx}.diy-demand .demand-list .list-item .item-center .center-image{display:flex;flex-wrap:wrap;margin-top:16rpx;-webkit-column-gap:2%;column-gap:2%;row-gap:14rpx}.diy-demand .demand-list .list-item .item-center .center-image .image-box{width:32%;height:0;padding-top:32%;position:relative;border-radius:16rpx;overflow:hidden}.diy-demand .demand-list .list-item .item-center .center-image .image-box .image{position:absolute;top:0;left:0;right:0;bottom:0}.diy-demand .demand-list .list-item .item-center .center-image.special-image{justify-content:space-between;-webkit-column-gap:0;column-gap:0}.diy-demand .demand-list .list-item .item-center .center-image.special-image .image-box{width:calc(50% - 8rpx);padding-top:calc(50% - 8rpx)}.diy-demand .demand-list .list-item .item-bottom{margin-top:24rpx}.diy-demand .demand-list .list-item .item-bottom .bottom-label{max-width:280rpx}.diy-demand .demand-list .list-item .item-bottom .bottom-label .label-box{max-width:100%;padding:6rpx 18rpx 6rpx 8rpx;position:relative;z-index:1;border-radius:8rpx;overflow:hidden}.diy-demand .demand-list .list-item .item-bottom .bottom-label .label-box .box-bg{position:absolute;top:0;left:0;right:0;bottom:0;z-index:-1;opacity:.1}.diy-demand .demand-list .list-item .item-bottom .bottom-label .label-box .box-icon{width:24rpx;height:24rpx;background-size:24rpx}.diy-demand .demand-list .list-item .item-bottom .bottom-label .label-box .box-text{margin-left:8rpx;font-size:20rpx;line-height:28rpx}.diy-demand .demand-list .list-item .item-bottom .bottom-other .other-item{margin-left:32rpx}.diy-demand .demand-list .list-item .item-bottom .bottom-other .other-item .icon{width:32rpx;height:32rpx}.diy-demand .demand-list .list-item .item-bottom .bottom-other .other-item .text{margin-left:8rpx;color:#5a5b6e;font-size:28rpx;line-height:40rpx}
|
||||
10
unpackage/dist/build/mp-weixin/pages/component/diy/floatDiy.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/pages/component/diy/floatDiy.js
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/component/diy/floatDiy"],{"2b48":function(t,n,e){},"2e118":function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){}));var i=function(){var t=this.$createElement,n=(this._self._c,"service"==this.showParams.type?this.getImagePath(this.showParams.image):null),e="service"!=this.showParams.type?this.getImagePath(this.showParams.image):null;this.$mp.data=Object.assign({},{$root:{m0:n,m1:e}})},a=[]},3340:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={name:"floatDiy",props:["showStyle","showParams","domain"],computed:{right:function(){return t.upx2px(2*this.showStyle.right)+"%"},bottom:function(){return t.upx2px(2*this.showStyle.bottom)+"%"}},methods:{getImagePath:function(t){return t.indexOf("http")>-1?t:this.domain+t},onClick:function(t){("link"==this.showParams.type||this.showParams.link)&&this.$emit("onClick",t)}}};n.default=e}).call(this,e("df3c")["default"])},"782a":function(t,n,e){"use strict";e.r(n);var i=e("3340"),a=e.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(o);n["default"]=a.a},b263:function(t,n,e){"use strict";var i=e("2b48"),a=e.n(i);a.a},d682:function(t,n,e){"use strict";e.r(n);var i=e("2e118"),a=e("782a");for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(o);e("b263");var s=e("828b"),u=Object(s["a"])(a["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);n["default"]=u.exports}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'pages/component/diy/floatDiy-create-component',
|
||||
{
|
||||
'pages/component/diy/floatDiy-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("d682"))
|
||||
})
|
||||
},
|
||||
[['pages/component/diy/floatDiy-create-component']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/pages/component/diy/floatDiy.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/pages/component/diy/floatDiy.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/component/diy/floatDiy.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/diy/floatDiy.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="diy-float" style="{{'right:'+(right)+';'+('bottom:'+(bottom)+';')+('opacity:'+(showStyle.opacity/100)+';')}}"><block wx:if="{{showParams.type=='service'}}"><block><button class="btn-normal" open-type="contact"><view class="float-icon"><image src="{{$root.m0}}"></image></view></button></block></block><block wx:else><block><button data-event-opts="{{[['tap',[['onClick',['$0'],['showParams.link']]]]]}}" class="btn-normal" bindtap="__e"><view class="float-icon"><image src="{{$root.m1}}"></image></view></button></block></block></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/component/diy/floatDiy.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/diy/floatDiy.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.diy-float{position:fixed;z-index:999}.diy-float .float-icon{padding:10rpx}.diy-float .float-icon image{display:block;width:90rpx;height:90rpx}.diy-float .float-absolute{display:block;position:absolute;top:0;left:0;right:0;bottom:0}.btn-normal{position:relative;display:block;margin:0;padding:0;line-height:normal;background:none;border-radius:0;box-shadow:none;border:none;font-size:unset;text-align:unset;overflow:visible;color:inherit}.btn-normal:after{border:none}.btn-normal.button-hover{color:inherit}button:after{content:none;border:none}
|
||||
10
unpackage/dist/build/mp-weixin/pages/component/diy/goodsDiy.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/pages/component/diy/goodsDiy.js
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/component/diy/goodsDiy"],{"3dde":function(t,e,i){},8688:function(t,e,i){"use strict";i.r(e);var n=i("c7c0"),o=i.n(n);for(var u in n)["default"].indexOf(u)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(u);e["default"]=o.a},"9e79":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement;this._self._c},o=[]},a8aa:function(t,e,i){"use strict";i.r(e);var n=i("9e79"),o=i("8688");for(var u in o)["default"].indexOf(u)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(u);i("b92a");var s=i("828b"),r=Object(s["a"])(o["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=r.exports},b92a:function(t,e,i){"use strict";var n=i("3dde"),o=i.n(n);o.a},c7c0:function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(i("f5e9")),u={name:"goodsDiy",props:["showStyle","showParams"],data:function(){return{goodsList:[]}},computed:{titleFontSize:function(){return t.upx2px(2*this.showStyle.titleFontSize)+"px"},titleBtnSize:function(){return t.upx2px(2*this.showStyle.titleBtnSize)+"px"},titleIconMore:function(){return o.default.svgToUrl("more",this.showStyle.titleBtnColor)},titleIconSize:function(){return t.upx2px(2*this.showStyle.titleIconSize)+"px"},titleSpace:function(){return t.upx2px(2*this.showStyle.titleSpace)+"px"},itemBorderRadius:function(){return t.upx2px(2*this.showStyle.itemBorderRadius)+"px"},imgHeight:function(){return t.upx2px(2*this.showStyle.imgHeight)+"px"},borderRadius:function(){return t.upx2px(2*this.showStyle.borderRadius)+"px"},nameSize:function(){return t.upx2px(2*this.showStyle.nameSize)+"px"},priceSize:function(){return t.upx2px(2*this.showStyle.priceSize)+"px"},paddingTop:function(){return t.upx2px(2*this.showStyle.paddingTop)+"px"},paddingLeft:function(){return t.upx2px(2*this.showStyle.paddingLeft)+"px"},itemSpace:function(){return t.upx2px(2*this.showStyle.itemSpace)+"px"}},watch:{showParams:{handler:function(t){t&&this.getGoodsList()},immediate:!0,deep:!0}},methods:{getGoodsList:function(){var e=this;this.$util.request("mall.goodsList",{page:1,limit:4}).then((function(i){1==i.code?e.goodsList=i.data.data:t.showToast({title:i.msg,icon:"none"})})).catch((function(t){console.error("获取商城商品",t)}))},toDetails:function(t){this.$util.toPage({mode:1,path:"/pagesMall/goods/details?id="+t})},toMore:function(){this.$util.toPage({mode:1,path:"/pages/mall/index"})}}};e.default=u}).call(this,i("df3c")["default"])}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'pages/component/diy/goodsDiy-create-component',
|
||||
{
|
||||
'pages/component/diy/goodsDiy-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("a8aa"))
|
||||
})
|
||||
},
|
||||
[['pages/component/diy/goodsDiy-create-component']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/pages/component/diy/goodsDiy.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/pages/component/diy/goodsDiy.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/component/diy/goodsDiy.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/diy/goodsDiy.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="diy-goods" style="{{'padding:'+(paddingTop+' '+paddingLeft)+';'+('background:'+(showStyle.background)+';')+('border-radius:'+(itemBorderRadius)+';')}}"><block wx:if="{{showParams.showTitle}}"><view class="goods-title" style="{{'margin-bottom:'+(titleSpace)+';'}}"><view style="{{'font-size:'+(titleFontSize)+';'+('font-weight:'+(showStyle.titleFontStyle)+';')+('color:'+(showStyle.titleColor)+';')}}">{{showParams.titleText}}</view><view data-event-opts="{{[['tap',[['toMore']]]]}}" style="{{'font-size:'+(titleBtnSize)+';'+('color:'+(showStyle.titleBtnColor)+';')}}" bindtap="__e"><block wx:if="{{showParams.titleBtnType=='text'}}"><text>{{showParams.titleBtnText}}</text></block><block wx:else><block wx:if="{{titleIconMore}}"><view style="{{'background-image:'+('url('+titleIconMore+')')+';'+('width:'+(titleIconSize)+';')+('height:'+(titleIconSize)+';')+('background-size:'+(titleIconSize)+';')}}"></view></block></block></view></view></block><block wx:if="{{goodsList}}"><view class="goods-list flex flex-wrap justify-content-between" style="{{'row-gap:'+(itemSpace)+';'}}"><block wx:for="{{goodsList}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><view data-event-opts="{{[['tap',[['toDetails',['$0'],[[['goodsList','id',item.id,'id']]]]]]]}}" class="list-item" bindtap="__e"><image class="item-image" style="{{'height:'+(imgHeight)+';'+('border-radius:'+(borderRadius+' '+borderRadius+' 0 0')+';')}}" src="{{item.image}}" mode="aspectFill"></image><view class="item-name text-ellipsis-more" style="{{'font-size:'+(nameSize)+';'+('font-weight:'+(showStyle.nameWeight)+';')}}">{{item.name}}</view><view class="item-price" style="{{'font-size:'+(priceSize)+';'+('color:'+(showStyle.priceColor)+';')}}">{{"¥"+item.price}}</view></view></block></view></block><block wx:else><empty vue-id="20e9d702-1" top="0" padding="0" width="200rpx" size="28rpx" title="暂无相关内容~" bind:__l="__l"></empty></block></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/component/diy/goodsDiy.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/diy/goodsDiy.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.diy-goods .goods-title{display:flex;align-items:center;justify-content:space-between}.diy-goods .goods-list .list-item{width:calc(50% - 16rpx);padding-bottom:20rpx}.diy-goods .goods-list .list-item .item-image{width:100%;height:296rpx}.diy-goods .goods-list .list-item .item-name{line-height:40rpx;height:80rpx;color:#000;margin-top:16rpx;padding:0 16rpx}.diy-goods .goods-list .list-item .item-price{margin-top:16rpx;font-weight:600;line-height:1.3;padding:0 16rpx}
|
||||
10
unpackage/dist/build/mp-weixin/pages/component/diy/imagesDiy.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/pages/component/diy/imagesDiy.js
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/component/diy/imagesDiy"],{"1af3":function(t,n,e){"use strict";e.r(n);var i=e("1c77"),a=e.n(i);for(var u in i)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(u);n["default"]=a.a},"1c77":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={name:"imagesDiy",props:["showStyle","showData","domain"],computed:{itemBorderRadius:function(){return t.upx2px(2*this.showStyle.itemBorderRadius)+"px"},borderRadius:function(){return t.upx2px(2*this.showStyle.borderRadius)+"px"},paddingTop:function(){return t.upx2px(2*this.showStyle.paddingTop)+"px"},paddingLeft:function(){return t.upx2px(2*this.showStyle.paddingLeft)+"px"}},methods:{getImagePath:function(t){return t.indexOf("http")>-1?t:this.domain+t},onClick:function(t){t&&this.$emit("onClick",t)}}};n.default=e}).call(this,e("df3c")["default"])},"611b":function(t,n,e){"use strict";var i=e("f4a7"),a=e.n(i);a.a},"864d":function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){}));var i=function(){var t=this,n=t.$createElement,e=(t._self._c,t.__map(t.showData,(function(n,e){var i=t.__get_orig(n),a=n.link&&"Service"==n.link.type?t.getImagePath(n.imgUrl):null,u=n.link&&"Service"==n.link.type?null:t.getImagePath(n.imgUrl);return{$orig:i,m0:a,m1:u}})));t.$mp.data=Object.assign({},{$root:{l0:e}})},a=[]},"8a9a":function(t,n,e){"use strict";e.r(n);var i=e("864d"),a=e("1af3");for(var u in a)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(u);e("611b");var o=e("828b"),r=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);n["default"]=r.exports},f4a7:function(t,n,e){}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'pages/component/diy/imagesDiy-create-component',
|
||||
{
|
||||
'pages/component/diy/imagesDiy-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("8a9a"))
|
||||
})
|
||||
},
|
||||
[['pages/component/diy/imagesDiy-create-component']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/pages/component/diy/imagesDiy.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/pages/component/diy/imagesDiy.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/component/diy/imagesDiy.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/diy/imagesDiy.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="diy-images" style="{{'padding:'+(paddingTop+' '+paddingLeft)+';'+('background:'+(showStyle.background)+';')+('border-radius:'+(itemBorderRadius)+';')}}"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item-image" style="{{'padding-top:'+(paddingTop)+';'}}"><block wx:if="{{item.$orig.link&&item.$orig.link.type=='Service'}}"><button class="clear" open-type="contact"><image style="{{'border-radius:'+(borderRadius)+';'}}" src="{{item.m0}}" mode="widthFix"></image></button></block><block wx:else><block><image style="{{'border-radius:'+(borderRadius)+';'}}" src="{{item.m1}}" mode="widthFix" data-event-opts="{{[['tap',[['onClick',['$0'],[[['showData','',index,'link']]]]]]]}}" bindtap="__e"></image></block></block></view></block></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/component/diy/imagesDiy.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/diy/imagesDiy.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.diy-images .item-image{position:relative}.diy-images .item-image:first-child{padding-top:0!important}.diy-images .item-image image{display:block;width:100%}.diy-images .item-absolute{display:block;position:absolute;top:0;left:0;right:0;bottom:0}
|
||||
10
unpackage/dist/build/mp-weixin/pages/component/diy/index.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/pages/component/diy/index.js
vendored
Normal file
File diff suppressed because one or more lines are too long
32
unpackage/dist/build/mp-weixin/pages/component/diy/index.json
vendored
Normal file
32
unpackage/dist/build/mp-weixin/pages/component/diy/index.json
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"carousel-diy": "/pages/component/diy/carouselDiy",
|
||||
"images-diy": "/pages/component/diy/imagesDiy",
|
||||
"nav-diy": "/pages/component/diy/navDiy",
|
||||
"cube-diy": "/pages/component/diy/cubeDiy",
|
||||
"info-card-diy": "/pages/component/diy/infoCardDiy",
|
||||
"text-button-diy": "/pages/component/diy/textButtonDiy",
|
||||
"title-diy": "/pages/component/diy/titleDiy",
|
||||
"video-diy": "/pages/component/diy/videoDiy",
|
||||
"map-diy": "/pages/component/diy/mapDiy",
|
||||
"article-diy": "/pages/component/diy/articleDiy",
|
||||
"introduce-diy": "/pages/component/diy/introduceDiy",
|
||||
"member-diy": "/pages/component/diy/memberDiy",
|
||||
"activity-diy": "/pages/component/diy/activityDiy",
|
||||
"chains-diy": "/pages/component/diy/chainsDiy",
|
||||
"album-diy": "/pages/component/diy/albumDiy",
|
||||
"goods-diy": "/pages/component/diy/goodsDiy",
|
||||
"demand-diy": "/pages/component/diy/demandDiy",
|
||||
"member-map-diy": "/pages/component/diy/memberMapDiy",
|
||||
"search-diy": "/pages/component/diy/searchDiy",
|
||||
"line-diy": "/pages/component/diy/lineDiy",
|
||||
"blank-diy": "/pages/component/diy/blankDiy",
|
||||
"notice-diy": "/pages/component/diy/noticeDiy",
|
||||
"text-diy": "/pages/component/diy/textDiy",
|
||||
"rich-text-diy": "/pages/component/diy/richTextDiy",
|
||||
"warn-diy": "/pages/component/diy/warnDiy",
|
||||
"timeline-diy": "/pages/component/diy/timelineDiy",
|
||||
"float-diy": "/pages/component/diy/floatDiy"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/component/diy/index.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/diy/index.wxml
vendored
Normal file
File diff suppressed because one or more lines are too long
10
unpackage/dist/build/mp-weixin/pages/component/diy/infoCardDiy.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/pages/component/diy/infoCardDiy.js
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/component/diy/infoCardDiy"],{"041c":function(t,n,e){},"60cd":function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){}));var i=function(){var t=this.$createElement,n=(this._self._c,this.getImagePath(this.showParams.image));this.$mp.data=Object.assign({},{$root:{m0:n}})},u=[]},"891d":function(t,n,e){"use strict";e.r(n);var i=e("60cd"),u=e("fee8");for(var o in u)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return u[t]}))}(o);e("f86c");var r=e("828b"),a=Object(r["a"])(u["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);n["default"]=a.exports},dc7f:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={name:"infoCardDiy",props:["showStyle","showParams","domain"],computed:{itemBorderRadius:function(){return t.upx2px(2*this.showStyle.itemBorderRadius)+"px"},borderRadius:function(){return t.upx2px(2*this.showStyle.borderRadius)+"px"},btnBorderRadius:function(){return t.upx2px(2*this.showStyle.btnBorderRadius)+"px"},paddingTop:function(){return t.upx2px(2*this.showStyle.paddingTop)+"px"},paddingLeft:function(){return t.upx2px(2*this.showStyle.paddingLeft)+"px"}},methods:{getImagePath:function(t){return t.indexOf("http")>-1?t:this.domain+t},onClick:function(t){t&&this.$emit("onClick",t)}}};n.default=e}).call(this,e("df3c")["default"])},f86c:function(t,n,e){"use strict";var i=e("041c"),u=e.n(i);u.a},fee8:function(t,n,e){"use strict";e.r(n);var i=e("dc7f"),u=e.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(o);n["default"]=u.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'pages/component/diy/infoCardDiy-create-component',
|
||||
{
|
||||
'pages/component/diy/infoCardDiy-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("891d"))
|
||||
})
|
||||
},
|
||||
[['pages/component/diy/infoCardDiy-create-component']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/pages/component/diy/infoCardDiy.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/pages/component/diy/infoCardDiy.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/component/diy/infoCardDiy.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/diy/infoCardDiy.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="diy-info-card" style="{{'padding:'+(paddingTop+' '+paddingLeft)+';'+('background:'+(showStyle.background)+';')+('border-radius:'+(itemBorderRadius)+';')}}"><image class="card-image" style="{{'border-radius:'+(borderRadius)+';'}}" mode="aspectFill" src="{{$root.m0}}"></image><view class="card-box"><view class="title">{{showParams.title}}</view><view class="content">{{showParams.content}}</view><block wx:if="{{showParams.link&&showParams.link.type=='Service'}}"><button class="btn clear" style="{{'background:'+(showStyle.btnBackground)+';'+('border-radius:'+(btnBorderRadius)+';')+('color:'+(showStyle.btnColor)+';')}}" open-type="contact">{{showParams.btnTxt}}</button></block><block wx:else><view data-event-opts="{{[['tap',[['onClick',['$0'],['showParams.link']]]]]}}" class="btn" style="{{'background:'+(showStyle.btnBackground)+';'+('border-radius:'+(btnBorderRadius)+';')+('color:'+(showStyle.btnColor)+';')}}" bindtap="__e"><text>{{showParams.btnTxt}}</text></view></block></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/component/diy/infoCardDiy.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/diy/infoCardDiy.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.diy-info-card{display:flex}.diy-info-card .card-image{width:200rpx;height:200rpx}.diy-info-card .card-box{flex:1;overflow:hidden;margin-left:20rpx;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end}.diy-info-card .card-box .title{width:100%;font-size:28rpx;line-height:1.3;font-weight:700;color:#333}.diy-info-card .card-box .content{width:100%;font-size:24rpx;line-height:1.4;margin:16rpx 0;color:#333;word-wrap:normal;display:-webkit-box;word-break:break-all;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.diy-info-card .card-box .btn{position:relative;width:auto;height:auto;display:inline-block;padding:0 28rpx;font-size:24rpx;line-height:54rpx;text-align:center}.diy-info-card .card-box .btn .absolute{display:block;position:absolute;top:0;left:0;right:0;bottom:0}
|
||||
10
unpackage/dist/build/mp-weixin/pages/component/diy/introduceDiy.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/pages/component/diy/introduceDiy.js
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/component/diy/introduceDiy"],{"31ee":function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){}));var i=function(){var t=this.$createElement,n=(this._self._c,this.getImagePath(this.showParams.imgUrl));this.$mp.data=Object.assign({},{$root:{m0:n}})},u=[]},"324fa":function(t,n,e){"use strict";e.r(n);var i=e("31ee"),u=e("efa9");for(var o in u)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return u[t]}))}(o);e("370c");var r=e("828b"),a=Object(r["a"])(u["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);n["default"]=a.exports},"370c":function(t,n,e){"use strict";var i=e("fc12"),u=e.n(i);u.a},"8d1f":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={name:"introduceDiy",props:["showStyle","showParams","domain"],computed:{itemBorderRadius:function(){return t.upx2px(2*this.showStyle.itemBorderRadius)+"px"},borderRadius:function(){return t.upx2px(2*this.showStyle.borderRadius)+"px"},iconSize:function(){return t.upx2px(2*this.showStyle.iconSize)+"px"},btnBorderRadius:function(){return t.upx2px(2*this.showStyle.btnBorderRadius)+"px"},btnSize:function(){return t.upx2px(2*this.showStyle.btnSize)+"px"},nameSize:function(){return t.upx2px(2*this.showStyle.nameSize)+"px"},paddingTop:function(){return t.upx2px(2*this.showStyle.paddingTop)+"px"},paddingLeft:function(){return t.upx2px(2*this.showStyle.paddingLeft)+"px"}},methods:{getImagePath:function(t){return t.indexOf("http")>-1?t:this.domain+t},onClick:function(){this.$util.toPage({mode:1,path:"/pages/index/association"})}}};n.default=e}).call(this,e("df3c")["default"])},efa9:function(t,n,e){"use strict";e.r(n);var i=e("8d1f"),u=e.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(o);n["default"]=u.a},fc12:function(t,n,e){}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'pages/component/diy/introduceDiy-create-component',
|
||||
{
|
||||
'pages/component/diy/introduceDiy-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("324fa"))
|
||||
})
|
||||
},
|
||||
[['pages/component/diy/introduceDiy-create-component']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/pages/component/diy/introduceDiy.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/pages/component/diy/introduceDiy.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/component/diy/introduceDiy.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/diy/introduceDiy.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="diy-introduce" style="{{'padding:'+(paddingTop+' '+paddingLeft)+';'+('background:'+(showStyle.background)+';')+('border-radius:'+(itemBorderRadius)+';')}}"><image class="introduce-image" style="{{'width:'+(iconSize)+';'+('height:'+(iconSize)+';')+('border-radius:'+(borderRadius)+';')}}" src="{{$root.m0}}" mode="aspectFill"></image><text class="introduce-title" style="{{'font-size:'+(nameSize)+';'+('font-weight:'+(showStyle.nameWeight)+';')}}">{{showParams.name}}</text><view data-event-opts="{{[['tap',[['onClick']]]]}}" class="introduce-btn" style="{{'font-size:'+(btnSize)+';'+('border-radius:'+(btnBorderRadius)+';')+('background:'+('linear-gradient(90deg, '+showStyle.btnColor1+' 0, '+showStyle.btnColor2+' 100%)')+';')}}" bindtap="__e">{{showParams.btnName}}</view></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/component/diy/introduceDiy.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/diy/introduceDiy.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.diy-introduce{display:flex;align-items:center}.diy-introduce .introduce-title{margin-left:16rpx;color:#5a5b6e;line-height:1.3;flex:1}.diy-introduce .introduce-btn{margin-left:16rpx;color:#fff;line-height:1.3;padding:14rpx 40rpx}
|
||||
10
unpackage/dist/build/mp-weixin/pages/component/diy/lineDiy.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/pages/component/diy/lineDiy.js
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/component/diy/lineDiy"],{"2dfc":function(t,n,e){"use strict";var i=e("3571"),u=e.n(i);u.a},3571:function(t,n,e){},"5f80":function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){}));var i=function(){var t=this.$createElement;this._self._c},u=[]},6461:function(t,n,e){"use strict";e.r(n);var i=e("5f80"),u=e("a6a8");for(var o in u)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return u[t]}))}(o);e("2dfc");var r=e("828b"),a=Object(r["a"])(u["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);n["default"]=a.exports},a6a8:function(t,n,e){"use strict";e.r(n);var i=e("eb04"),u=e.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(o);n["default"]=u.a},eb04:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={name:"lineDiy",props:["showStyle"],computed:{itemBorderRadius:function(){return t.upx2px(2*this.showStyle.itemBorderRadius)+"px"},line:function(){return t.upx2px(2*this.showStyle.lineHeight)+"px "+this.showStyle.lineStyle+" "+this.showStyle.lineColor},paddingTop:function(){return t.upx2px(2*this.showStyle.paddingTop)+"px"},paddingLeft:function(){return t.upx2px(2*this.showStyle.paddingLeft)+"px"}}};n.default=e}).call(this,e("df3c")["default"])}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'pages/component/diy/lineDiy-create-component',
|
||||
{
|
||||
'pages/component/diy/lineDiy-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("6461"))
|
||||
})
|
||||
},
|
||||
[['pages/component/diy/lineDiy-create-component']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/pages/component/diy/lineDiy.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/pages/component/diy/lineDiy.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/component/diy/lineDiy.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/diy/lineDiy.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="diy-line" style="{{'padding:'+(paddingTop+' '+paddingLeft)+';'+('background:'+(showStyle.background)+';')+('border-radius:'+(itemBorderRadius)+';')}}"><view class="line" style="{{'border-top:'+(line)+';'}}"></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/component/diy/lineDiy.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/component/diy/lineDiy.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.diy-line .line{width:100%}
|
||||
10
unpackage/dist/build/mp-weixin/pages/component/diy/mapDiy.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/pages/component/diy/mapDiy.js
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/component/diy/mapDiy"],{"51bc":function(t,n,e){"use strict";e.r(n);var i=e("91fc"),u=e.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(a);n["default"]=u.a},"5a1c":function(t,n,e){},"6e81":function(t,n,e){"use strict";var i=e("5a1c"),u=e.n(i);u.a},"91fc":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={name:"mapDiy",props:["showStyle","showParams"],computed:{itemBorderRadius:function(){return t.upx2px(2*this.showStyle.itemBorderRadius)+"px"},height:function(){return t.upx2px(2*this.showStyle.height)+"px"},paddingTop:function(){return t.upx2px(2*this.showStyle.paddingTop)+"px"},paddingLeft:function(){return t.upx2px(2*this.showStyle.paddingLeft)+"px"}},methods:{onClick:function(){this.$util.toPage({mode:7,address:{latitude:this.showParams.latitude,longitude:this.showParams.longitude}})}}};n.default=e}).call(this,e("df3c")["default"])},a712:function(t,n,e){"use strict";e.r(n);var i=e("ca4d"),u=e("51bc");for(var a in u)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return u[t]}))}(a);e("6e81");var o=e("828b"),r=Object(o["a"])(u["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);n["default"]=r.exports},ca4d:function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){}));var i=function(){var t=this.$createElement;this._self._c},u=[]}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'pages/component/diy/mapDiy-create-component',
|
||||
{
|
||||
'pages/component/diy/mapDiy-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("a712"))
|
||||
})
|
||||
},
|
||||
[['pages/component/diy/mapDiy-create-component']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/pages/component/diy/mapDiy.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/pages/component/diy/mapDiy.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user