第一次提交
This commit is contained in:
10
unpackage/dist/build/mp-weixin/components/diy/article/article.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/components/diy/article/article.js
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/diy/article/article"],{"06fd":function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return i})),e.d(n,"a",(function(){}));var a=function(){var t=this.$createElement;this._self._c},i=[]},"0d8d":function(t,n,e){"use strict";e.r(n);var a=e("f8b2"),i=e.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(r);n["default"]=i.a},"3bfb":function(t,n,e){},bf54:function(t,n,e){"use strict";e.r(n);var a=e("06fd"),i=e("0d8d");for(var r in i)["default"].indexOf(r)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(r);e("e0f8");var u=e("828b"),f=Object(u["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);n["default"]=f.exports},e0f8:function(t,n,e){"use strict";var a=e("3bfb"),i=e.n(a);i.a},f8b2:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a={data:function(){return{listData:[]}},props:["itemData"],created:function(){this.listData=this.itemData.data},methods:{gotoPageFunc:function(t){var n="pages/article/detail/detail?article_id="+t.article_id;this.gotoPage(n)},add0:function(t){return t<10?"0"+t:t},format:function(t){var n=new Date(t),e=n.getFullYear(),a=n.getMonth()+1,i=n.getDate();return e+"-"+this.add0(a)+"-"+this.add0(i)}}};n.default=a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/diy/article/article-create-component',
|
||||
{
|
||||
'components/diy/article/article-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("bf54"))
|
||||
})
|
||||
},
|
||||
[['components/diy/article/article-create-component']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/components/diy/article/article.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/components/diy/article/article.json
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/components/diy/article/article.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/diy/article/article.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="diy-article"><block wx:for="{{listData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['gotoPageFunc',['$0'],[[['listData','',index]]]]]]]}}" class="{{['article-item','show-type__'+itemData.style.display]}}" bindtap="__e"><block wx:if="{{itemData.style.display==10}}"><block wx:if="{{item.image!=null&&item.image.file_path!=''}}"><view class="picture mr15"><image src="{{item.image.file_path}}" mode="aspectFill"></image></view></block><view class="d-b-c d-stretch d-c flex-1"><view class="text-ellipsis-2 f24">{{''+item.article_title+''}}</view><view class="d-b-c gray9 f18"><view><text class="icon iconfont icon-chakan" style="font-size:22rpx;"></text><text class="ml10">{{item.actual_views}}</text></view><view><text class="icon iconfont icon-daojishi mr10"></text>{{item.create_time}}</view></view></view></block><block wx:if="{{itemData.style.display==20}}"><view class="f24 text-ellipsis-2 lh200">{{''+item.article_title+''}}</view></block></view></block></view>
|
||||
3
unpackage/dist/build/mp-weixin/components/diy/article/article.wxss
vendored
Normal file
3
unpackage/dist/build/mp-weixin/components/diy/article/article.wxss
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.mr15{margin-right:15rpx}.diy-article{background:#fff;margin:20rpx;border-radius:6rpx;padding:0 30rpx;box-shadow:0 8rpx 3rpx 0 rgba(6,0,1,.03)}.diy-article .show-type__10,
|
||||
.diy-article .show-type__20{display:flex;padding:30rpx 0;border-bottom:1rpx solid #eee}.diy-article .show-type__10:last-child,
|
||||
.diy-article .show-type__20:last-child{border-bottom:none}.diy-article .show-type__10 .picture{width:246rpx;height:140rpx;border-radius:12rpx}.diy-article .show-type__10 .title{height:80rpx}.diy-article .show-type__10 .des{height:36rpx}.diy-article image{width:100%;height:100%;border-radius:12rpx}.diy-article .show-type__10 .icon.iconfont{font-size:18rpx;color:#999}
|
||||
Reference in New Issue
Block a user