first commit
This commit is contained in:
1
unpackage/dist/build/mp-weixin/pages/article/detail.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/article/detail.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/article/detail"],{"68be":function(t,e,n){"use strict";n.r(e);var c=n("6cb4"),r=n.n(c);for(var i in c)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return c[t]}))}(i);e["default"]=r.a},"6cb4":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;n("21de");var c,r={data:function(){return{articleItem:{id:"",title:"",cover:"",note:"",created_at:""},search:{id:""}}},onLoad:function(t){c=this,t&&t.id&&(c.search.id=t.id)},onShow:function(){c.getArticleItem()},methods:{getArticleItem:function(){c.$http.get("/shop/v10/article/item",c.search).then((function(t){var e=t.data,n=t.success;n&&(c.articleItem=e)}))}}};e.default=r},c1e2:function(t,e,n){"use strict";n.r(e);var c=n("fa24"),r=n("68be");for(var i in r)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(i);var a=n("828b"),u=Object(a["a"])(r["default"],c["b"],c["c"],!1,null,null,null,!1,c["a"],void 0);e["default"]=u.exports},d140:function(t,e,n){"use strict";(function(t,e){var c=n("47a9");n("4233");c(n("3240"));var r=c(n("c1e2"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(r.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},fa24: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(){return c}));var c={mpHtml:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/mp-html/components/mp-html/mp-html")]).then(n.bind(null,"3311"))}},r=function(){var t=this.$createElement;this._self._c},i=[]}},[["d140","common/runtime","common/vendor"]]]);
|
||||
6
unpackage/dist/build/mp-weixin/pages/article/detail.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/pages/article/detail.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/detail.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/article/detail.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view style="padding:30rpx;"><view style="font-size:34rpx;">{{articleItem.title}}</view><view style="height:20rpx;"></view><view style="color:#999;font-size:30rpx;">{{"发布时间:"+articleItem.created_at}}</view><view style="height:20rpx;"></view><block wx:if="{{articleItem.video}}"><video style="width:690rpx;height:388rpx;" poster="{{articleItem.cover}}" src="{{articleItem.video}}" direction="{{90}}"></video></block><view style="height:20rpx;"></view><view><mp-html vue-id="58187223-1" content="{{articleItem.note}}" bind:__l="__l"></mp-html></view><view style=";"></view></view>
|
||||
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"],{6647:function(e,t,n){"use strict";n.r(t);var a=n("f4f6"),o=n.n(a);for(var u in a)["default"].indexOf(u)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(u);t["default"]=o.a},7617:function(e,t,n){"use strict";n.r(t);var a=n("91c4"),o=n("6647");for(var u in o)["default"].indexOf(u)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(u);n("77de");var c=n("828b"),r=Object(c["a"])(o["default"],a["b"],a["c"],!1,null,"549ff3b0",null,!1,a["a"],void 0);t["default"]=r.exports},"77de":function(e,t,n){"use strict";var a=n("f786"),o=n.n(a);o.a},"91c4":function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return a}));var a={uTabs:function(){return Promise.all([n.e("common/vendor"),n.e("node-modules/uview-ui/components/u-tabs/u-tabs")]).then(n.bind(null,"0da8"))},uImage:function(){return Promise.all([n.e("common/vendor"),n.e("node-modules/uview-ui/components/u-image/u-image")]).then(n.bind(null,"8335"))},uLoadmore:function(){return Promise.all([n.e("common/vendor"),n.e("node-modules/uview-ui/components/u-loadmore/u-loadmore")]).then(n.bind(null,"7d1b"))}},o=function(){var e=this.$createElement;this._self._c},u=[]},f2f5:function(e,t,n){"use strict";(function(e,t){var a=n("47a9");n("4233");a(n("3240"));var o=a(n("7617"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(o.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},f4f6:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;n("21de");var a,o={data:function(){return{tabData:{list:[]},articleItems:[],loadStatus:"loadmore",search:{page:1,cid:1},page:{current:0,last_page:1}}},onLoad:function(){a=this,a.pageStatus()},onPullDownRefresh:function(){a.search.page=1,a.articleItems=[],a.getArticleItems(),e.stopPullDownRefresh()},onReachBottom:function(){a.pageStatus()&&(a.loadStatus="loading",a.search.page=++a.search.page,a.getArticleItems())},onShow:function(){a.getC(),a.getArticleItems()},methods:{pageStatus:function(){return a.loadStatus="loadmore",!(a.search.page>=a.page.last_page)||(a.loadStatus="nomore",!1)},changeCur:function(e){a.search.page=1,a.search.cid=e.id,a.articleItems=[],a.getArticleItems()},getC:function(){var e=this;this.$http.get("/shop/v10/article/c").then((function(t){var n=t.data,a=t.success;a&&(e.tabData.list=n)}))},getArticleItems:function(){var e=this;this.$http.get("/shop/v10/article/items",this.search).then((function(t){var n=t.data,a=t.success;a&&(e.articleItems=n.data,e.page.last_page=n.last_page,e.pageStatus())}))}}};t.default=o}).call(this,n("df3c")["default"])},f786:function(e,t,n){}},[["f2f5","common/runtime","common/vendor"]]]);
|
||||
9
unpackage/dist/build/mp-weixin/pages/article/index.json
vendored
Normal file
9
unpackage/dist/build/mp-weixin/pages/article/index.json
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"navigationBarTitleText": "行业动态",
|
||||
"enablePullDownRefresh": true,
|
||||
"usingComponents": {
|
||||
"u-tabs": "/node-modules/uview-ui/components/u-tabs/u-tabs",
|
||||
"u-image": "/node-modules/uview-ui/components/u-image/u-image",
|
||||
"u-loadmore": "/node-modules/uview-ui/components/u-loadmore/u-loadmore"
|
||||
}
|
||||
}
|
||||
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="xkl-com-bg data-v-549ff3b0" style="min-height:calc(100vh - 120rpx);background-color:#F7F7F7;"><u-tabs vue-id="287468b6-1" list="{{tabData.list}}" data-event-opts="{{[['^change',[['changeCur']]]]}}" bind:change="__e" class="data-v-549ff3b0" bind:__l="__l"></u-tabs><view style="height:20rpx;" class="data-v-549ff3b0"></view><view class="data-v-549ff3b0"><block wx:for="{{articleItems}}" wx:for-item="item" wx:for-index="index" wx:key="id"><view class="data-v-549ff3b0"><block wx:if="{{item.oa_url}}"><navigator style="padding:10rpx;background-color:#ffffff;border-radius:10rpx;margin-bottom:20rpx;" url="{{'/pages/article/web?id='+item.id}}" class="data-v-549ff3b0"><block wx:if="{{item.cover}}"><u-image vue-id="{{'287468b6-2-'+index}}" src="{{item.cover}}" width="630rpx" height="353rpx" class="data-v-549ff3b0" bind:__l="__l"></u-image></block><view style="height:10rpx;" class="data-v-549ff3b0"></view><view class="xkl_line1 data-v-549ff3b0" style="padding:10rpx;">{{''+item.title+''}}</view></navigator></block><block wx:else><block wx:if="{{item.video}}"><view style="padding:10rpx;background-color:#ffffff;border-radius:10rpx;margin-bottom:20rpx;" class="data-v-549ff3b0"><video style="width:630rpx;height:353rpx;" poster="{{item.cover}}" src="{{item.video}}" direction="{{90}}" class="data-v-549ff3b0"></video><view style="height:10rpx;" class="data-v-549ff3b0"></view><navigator class="xkl_line1 data-v-549ff3b0" style="padding:10rpx;" url="{{'/pages/article/detail?id='+item.id}}">{{''+item.title+''}}</navigator></view></block><block wx:else><navigator style="padding:10rpx;background-color:#ffffff;border-radius:10rpx;margin-bottom:20rpx;" url="{{'/pages/article/detail?id='+item.id}}" class="data-v-549ff3b0"><block wx:if="{{item.cover}}"><u-image vue-id="{{'287468b6-3-'+index}}" src="{{item.cover}}" width="630rpx" height="353rpx" class="data-v-549ff3b0" bind:__l="__l"></u-image></block><view style="height:10rpx;" class="data-v-549ff3b0"></view><view class="xkl_line1 data-v-549ff3b0" style="padding:10rpx;">{{''+item.title+''}}</view></navigator></block></block></view></block></view><u-loadmore vue-id="287468b6-4" status="{{loadStatus}}" class="data-v-549ff3b0" bind:__l="__l"></u-loadmore></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 @@
|
||||
.xkl_line1.data-v-549ff3b0{display:inline-block;white-space:nowrap;width:100%;overflow:hidden;text-overflow:ellipsis}
|
||||
1
unpackage/dist/build/mp-weixin/pages/article/web.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/article/web.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/article/web"],{"581f":function(t,e,n){"use strict";n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var c=function(){var t=this.$createElement;this._self._c},a=[]},"5a45":function(t,e,n){"use strict";n.r(e);var c=n("fc30"),a=n.n(c);for(var r in c)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return c[t]}))}(r);e["default"]=a.a},"7d82":function(t,e,n){"use strict";n.r(e);var c=n("581f"),a=n("5a45");for(var r in a)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(r);var i=n("828b"),u=Object(i["a"])(a["default"],c["b"],c["c"],!1,null,null,null,!1,c["a"],void 0);e["default"]=u.exports},bf0c:function(t,e,n){"use strict";(function(t,e){var c=n("47a9");n("4233");c(n("3240"));var a=c(n("7d82"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(a.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},fc30:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;n("21de");var c,a={data:function(){return{articleItem:{id:"",title:"",cover:"",note:"",created_at:"",oa_url:""},search:{id:""}}},onLoad:function(t){c=this,t&&t.id&&(c.search.id=t.id)},onShow:function(){c.getArticleItem()},methods:{getArticleItem:function(){c.$http.get("/shop/v10/article/item",c.search).then((function(t){var e=t.data,n=t.success;n&&(c.articleItem=e)}))}}};e.default=a}},[["bf0c","common/runtime","common/vendor"]]]);
|
||||
4
unpackage/dist/build/mp-weixin/pages/article/web.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/pages/article/web.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/article/web.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/article/web.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view><web-view src="{{articleItem.oa_url}}"></web-view></view>
|
||||
Reference in New Issue
Block a user