first commit
This commit is contained in:
1
unpackage/dist/build/mp-weixin/pages/setMealList/setMealList.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/setMealList/setMealList.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js");require("../../store/index.js");const a=require("../../api/api.js");if(!Array){e.resolveComponent("z-paging")()}Math;const t={__name:"setMealList",setup(t){e.reactive(["https://cdn.uviewui.com/uview/swiper/swiper1.png","https://cdn.uviewui.com/uview/swiper/swiper2.png","https://cdn.uviewui.com/uview/swiper/swiper3.png"]);const o=e.ref(null);let i=e.ref([]),s=()=>!o.value;e.onPullDownRefresh((()=>{s()||o.value.reload().catch((()=>{}))})),e.onPageScroll((e=>{s()||(o.value.updatePageScrollTop(e.scrollTop),e.scrollTop<10&&o.value.doChatRecordLoadMore())})),e.onReachBottom((()=>{s()||o.value.pageReachBottom()})),e.reactive([{img:"/static/icon/dz.png",name:"我的电桩",path:"/pages/piles/piles"},{img:"/static/icon/zz.png",name:"成为桩柱"},{img:"/static/icon/kf.png",name:"联系客服"},{img:"/static/icon/share.png",name:"分享海报"}]);let c=a=>{e.index.navigateTo({url:"/pages/setMeal/setMeal?id="+a.id})};const r=(e,t)=>{const i={current:e,pageSize:t};a.selectListByPage(i).then((e=>{o.value.complete(e.records)})).catch((e=>{o.value.complete(!1)}))};return(a,t)=>({a:e.f(e.unref(i),((a,t,o)=>({a:JSON.parse(a.picture)[0],b:e.t(a.packagesName),c:e.t(a.salePrice),d:a,e:e.o((t=>e.unref(c)(a)),a)}))),b:e.sr(o,"d053f770-0",{k:"paging"}),c:e.o(r),d:e.o((a=>e.isRef(i)?i.value=a:i=a)),e:e.p({"use-page-scroll":!0,modelValue:e.unref(i)})})}},o=e._export_sfc(t,[["__scopeId","data-v-d053f770"]]);t.__runtimeHooks=1,wx.createPage(o);
|
||||
6
unpackage/dist/build/mp-weixin/pages/setMealList/setMealList.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/pages/setMealList/setMealList.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "组合套餐",
|
||||
"usingComponents": {
|
||||
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/setMealList/setMealList.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/setMealList/setMealList.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="p30 data-v-d053f770" style="padding-bottom:150rpx"><z-paging wx:if="{{e}}" class="r data-v-d053f770" u-s="{{['d']}}" u-r="paging" bindquery="{{c}}" u-i="d053f770-0" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}"><view class="shopList data-v-d053f770"><view class="shopList_list data-v-d053f770"><view wx:for="{{a}}" wx:for-item="i" wx:key="d" class="shopList_list_view data-v-d053f770" bindtap="{{i.e}}"><image class="shopList_list_view_img data-v-d053f770" src="{{i.a}}" mode="aspectFit"></image><view class="shopList_list_view_tit data-v-d053f770">{{i.b}}</view><view class="shopList_list_view_mon data-v-d053f770"><view class="shopList_list_view_mon_left data-v-d053f770">¥{{i.c}} 元</view></view></view></view></view></z-paging></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/setMealList/setMealList.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/setMealList/setMealList.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.shopList.data-v-d053f770{display:flex;align-items:center;flex-direction:column;justify-content:content}.shopList_img.data-v-d053f770{width:308rpx;height:44rpx;margin-bottom:50rpx}.shopList_list.data-v-d053f770{width:690rpx;display:flex;flex-wrap:wrap;justify-content:space-between}.shopList_list_view.data-v-d053f770{border-radius:8rpx;width:334rpx;background-color:#fff;margin-bottom:30rpx;padding-bottom:20rpx}.shopList_list_view_img.data-v-d053f770{width:334rpx;height:334rpx;border-radius:8rpx 8rpx 0rpx 0rpx}.shopList_list_view_tit.data-v-d053f770{padding:10rpx 20rpx 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;font-weight:700;font-size:30rpx;color:#232323}.shopList_list_view_mon.data-v-d053f770{padding:0rpx 20rpx;display:flex;align-items:center;flex-direction:row;justify-content:space-between}.shopList_list_view_mon_left.data-v-d053f770{font-weight:700;font-size:30rpx;color:#4874e5}.shopList_list_view_mon_right.data-v-d053f770{width:80rpx;height:40rpx;display:flex;align-items:center;flex-direction:row;justify-content:center;font-size:26rpx;background-color:#4874e5;color:#fff;font-weight:700;border-radius:20rpx}
|
||||
Reference in New Issue
Block a user