first commit
This commit is contained in:
0
unpackage/dist/build/mp-alipay/pages/market/detail.acss
vendored
Normal file
0
unpackage/dist/build/mp-alipay/pages/market/detail.acss
vendored
Normal file
1
unpackage/dist/build/mp-alipay/pages/market/detail.axml
vendored
Normal file
1
unpackage/dist/build/mp-alipay/pages/market/detail.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="p30"><view style="font-size:34rpx">{{a}}</view><view style="height:20rpx"></view><view style="color:#999;font-size:30rpx">发布时间:{{b}}</view><view style="height:20rpx"></view><video a:if="{{c}}" src="{{d}}" style="width:100%"></video><view style="height:20rpx"></view><mp-html u-i="006554ff-0" onVI="__l" u-p="{{e}}"/><view style=""></view></view>
|
||||
1
unpackage/dist/build/mp-alipay/pages/market/detail.js
vendored
Normal file
1
unpackage/dist/build/mp-alipay/pages/market/detail.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const common_vendor=require("../../common/vendor.js");const api_api=require("../../api/api.js");if(!Array){const _easycom_mp_html2=common_vendor.resolveComponent("mp-html");_easycom_mp_html2()}const _easycom_mp_html=()=>"../../uni_modules/mp-html/components/mp-html/mp-html.js";if(!Math){_easycom_mp_html()}const _sfc_main={__name:"detail",setup(__props){let info=common_vendor.ref({});common_vendor.onLoad((async options=>{let _res=await api_api.getContentInfo({id:options.id});info.value=_res}));return(_ctx,_cache)=>common_vendor.e({a:common_vendor.t(common_vendor.unref(info).title),b:common_vendor.t(common_vendor.unref(info).createTime),c:common_vendor.unref(info).video},common_vendor.unref(info).video?{d:common_vendor.unref(info).video}:{},{e:common_vendor.p({content:common_vendor.unref(info).detail})})}};my.createPage(_sfc_main);
|
||||
6
unpackage/dist/build/mp-alipay/pages/market/detail.json
vendored
Normal file
6
unpackage/dist/build/mp-alipay/pages/market/detail.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"defaultTitle": "",
|
||||
"usingComponents": {
|
||||
"mp-html": "../../uni_modules/mp-html/components/mp-html/mp-html"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-alipay/pages/market/market.acss
vendored
Normal file
1
unpackage/dist/build/mp-alipay/pages/market/market.acss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.order_list_header.data-v-f3236f17{width:100%;height:100rpx;display:flex;align-items:center;flex-direction:row;justify-content:start;font-weight:700;font-size:36rpx;color:#232323}.order_list_header_view.data-v-f3236f17{position:relative;margin-right:50rpx}.order_list_header_view view.data-v-f3236f17{position:relative;z-index:99}.order_list_header_view_dian.data-v-f3236f17{position:absolute!important;bottom:0rpx;right:20rpx;width:66rpx;height:20rpx;background-color:#4874e5;border-radius:10rpx;z-index:1!important}
|
||||
1
unpackage/dist/build/mp-alipay/pages/market/market.axml
vendored
Normal file
1
unpackage/dist/build/mp-alipay/pages/market/market.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="p30 data-v-f3236f17" style="padding-bottom:150rpx"><z-paging class="data-v-f3236f17" u-s="{{['d']}}" ref="__r" u-r="{{d}}" onQuery="{{e}}" u-i="f3236f17-0" onVI="__l" onUpdateModelValue="{{f}}" u-p="{{g}}"><status-bar class="data-v-f3236f17" u-s="{{['d']}}" u-i="f3236f17-1,f3236f17-0" onVI="__l"><up-tabs class="data-v-f3236f17" onClick="{{a}}" u-i="f3236f17-2,f3236f17-1" onVI="__l" u-p="{{b}}"></up-tabs></status-bar><view a:for="{{c}}" a:for-item="i" a:key="d" class="order_view data-v-f3236f17" onTap="{{i.e}}"><image a:if="{{i.a}}" class="data-v-f3236f17" src="{{i.b}}" mode="aspectFill" style="width:690rpx;height:248rpx;margin-top:30rpx;border-radius:10rpx"></image><view a:else class="mt30 data-v-f3236f17" style="display:flex;align-items:center;height:80rpx;background-color:#fff;padding:0 30rpx;justify-content:space-between"><view class="data-v-f3236f17">{{i.c}}</view></view></view></z-paging><tabbar class="data-v-f3236f17" u-i="f3236f17-3" onVI="__l" u-p="{{h}}"></tabbar></view>
|
||||
1
unpackage/dist/build/mp-alipay/pages/market/market.js
vendored
Normal file
1
unpackage/dist/build/mp-alipay/pages/market/market.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const common_vendor=require("../../common/vendor.js");const api_api=require("../../api/api.js");if(!Array){const _easycom_up_tabs2=common_vendor.resolveComponent("up-tabs");const _easycom_statusBar2=common_vendor.resolveComponent("statusBar");const _easycom_z_paging2=common_vendor.resolveComponent("z-paging");const _easycom_tabbar2=common_vendor.resolveComponent("tabbar");(_easycom_up_tabs2+_easycom_statusBar2+_easycom_z_paging2+_easycom_tabbar2)()}const _easycom_up_tabs=()=>"../../uni_modules/uview-plus/components/u-tabs/u-tabs.js";const _easycom_statusBar=()=>"../../components/statusBar/statusBar.js";const _easycom_z_paging=()=>"../../uni_modules/z-paging/components/z-paging/z-paging.js";const _easycom_tabbar=()=>"../../components/tabbar/tabbar.js";if(!Math){(_easycom_up_tabs+_easycom_statusBar+_easycom_z_paging+_easycom_tabbar)()}const _sfc_main={__name:"market",setup(__props){const query=common_vendor.reactive({cid:4});let list=common_vendor.ref();common_vendor.onLoad((async()=>{common_vendor.index.hideTabBar();let _res=await api_api.getContentCategoryList();list.value=_res.records;query.cid=list.value[0].id;paging.value.reload()}));common_vendor.onShow((async()=>{common_vendor.index.hideTabBar()}));let tabChange=e=>{console.log(e);query.cid=e.id;paging.value.reload()};const paging=common_vendor.ref(null);let dataList=common_vendor.ref([]);let isPagingRefNotFound=()=>!paging.value;common_vendor.onPullDownRefresh((()=>{if(isPagingRefNotFound())return;paging.value.reload().catch((()=>{}))}));common_vendor.onPageScroll((e=>{if(isPagingRefNotFound())return;paging.value.updatePageScrollTop(e.scrollTop);e.scrollTop<10&&paging.value.doChatRecordLoadMore()}));common_vendor.onReachBottom((()=>{if(isPagingRefNotFound())return;paging.value.pageReachBottom()}));const queryList=(pageNo,pageSize)=>{const params={current:pageNo,pageSize:pageSize,...query};api_api.getContentList(params).then((res=>{paging.value.complete(res.records)})).catch((res=>{paging.value.complete(false)}))};let nav=e=>{common_vendor.index.navigateTo({url:e})};return(_ctx,_cache)=>({a:common_vendor.o(common_vendor.unref(tabChange)),b:common_vendor.p({list:common_vendor.unref(list)}),c:common_vendor.f(common_vendor.unref(dataList),((i,k0,i0)=>common_vendor.e({a:i.cover},i.cover?{b:i.cover}:{c:common_vendor.t(i.title)},{d:i,e:common_vendor.o(($event=>common_vendor.unref(nav)(`/pages/market/detail?id=${i.id}`)))}))),d:()=>({r:paging,k:"paging"}),e:common_vendor.o(queryList),f:common_vendor.o(($event=>common_vendor.isRef(dataList)?dataList.value=$event:dataList=$event)),g:common_vendor.p({["use-page-scroll"]:true,modelValue:common_vendor.unref(dataList)}),h:common_vendor.p({path:"/pages/market/market"})})}};const MiniProgramPage=common_vendor._export_sfc(_sfc_main,[["__scopeId","data-v-f3236f17"]]);_sfc_main.__runtimeHooks=1;my.createPage(MiniProgramPage);
|
||||
11
unpackage/dist/build/mp-alipay/pages/market/market.json
vendored
Normal file
11
unpackage/dist/build/mp-alipay/pages/market/market.json
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"defaultTitle": "",
|
||||
"transparentTitle": "always",
|
||||
"titlePenetrate": "YES",
|
||||
"usingComponents": {
|
||||
"up-tabs": "../../uni_modules/uview-plus/components/u-tabs/u-tabs",
|
||||
"status-bar": "../../components/statusBar/statusBar",
|
||||
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging",
|
||||
"tabbar": "../../components/tabbar/tabbar"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user