1 line
9.3 KiB
JavaScript
1 line
9.3 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["packageA-my-ac-management"],{"14c5":function(t,i,a){var n=a("f2e9");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var e=a("967d").default;e("ad09f6e8",n,!0,{sourceMap:!1,shadowMode:!1})},"39ed":function(t,i,a){"use strict";a("6a54");var n=a("f5bd").default;Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,a("c223");var e=n(a("39d8")),o=n(a("b7c7")),r={data:function(){return{page:1,limit:10,keywords:"",list:[],count:1,loadStatus:"nomore",shop_id:""}},onLoad:function(){this.shop_id=uni.getStorageSync("shop_id")},onShow:function(){this.page=1,this.list=[],this.getList()},onReachBottom:function(){this.count&&this.getList()},methods:(0,e.default)({open:function(t){uni.navigateTo({url:"/packageA/activity/acList?id="+t})},getList:function(){var t=this;uni.$u.http.get("/api/school/activity/activity_list",{params:{keywords:this.keywords,page:this.page,limit:this.limit,order:"normal",shop_id:this.shop_id,status:"1"}}).then((function(i){1==i.code?i.data.list.data.length>0?(t.count=i.data.list.data.length,t.count?(t.loadStatus="nomore",t.page++):t.loadStatus="loading",t.list=[].concat((0,o.default)(t.list),(0,o.default)(i.data.list.data))):t.loadStatus="nomore":uni.showToast({title:i.msg,icon:"none",duration:2e3})})).catch((function(t){console.log(t),uni.showToast({title:"请求失败,请稍后再试",icon:"none",duration:2e3})}))}},"open",(function(t){uni.navigateTo({url:"/packageA/activity/acList?id="+t})}))};i.default=r},"5a4b":function(t,i,a){"use strict";a.d(i,"b",(function(){return e})),a.d(i,"c",(function(){return o})),a.d(i,"a",(function(){return n}));var n={uLoadmore:a("ad59").default},e=function(){var t=this,i=t.$createElement,a=t._self._c||i;return a("v-uni-view",{staticClass:"center-box"},[a("v-uni-view",{staticClass:"box flex flex-column flex-start"},[a("v-uni-view",{staticClass:"listBox flex flex-column flex-start"},t._l(t.list,(function(i,n){return a("v-uni-view",{key:n,staticClass:"list flex flex-column flex-start",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.open(i.id)}}},[a("v-uni-image",{staticStyle:{width:"690rpx",height:"482rpx","border-radius":"10rpx"},attrs:{src:i.headimage,mode:""}}),a("span",{staticClass:"title white-space"},[t._v(t._s(i.title))]),a("v-uni-view",{staticClass:"icon flex align-items"},[a("span",{staticClass:"white-space",staticStyle:{"font-size":"24rpx"}},[t._v(t._s("活动时间: "+i.start_time_text+"-"+i.end_time_text))])]),a("v-uni-view",{staticClass:"icon flex align-items",staticStyle:{"margin-bottom":"8rpx","margin-top":"8rpx",width:"400rpx"}},[a("span",{staticClass:"white-space",staticStyle:{"font-size":"24rpx",color:"#FF2323"}},[1==i.feel?a("span",{staticStyle:{color:"#7A7A7A"}},[t._v("活动费用:"+t._s("公益"))]):t._e(),2==i.feel?a("span",{staticStyle:{color:"#7A7A7A"}},[t._v("活动费用:"+t._s("¥"+i.price))]):t._e()])]),a("span",{staticClass:"Sign bg-blue flex justify-center align-items",on:{click:function(a){a.stopPropagation(),arguments[0]=a=t.$handleEvent(a),t.open(i.id)}}},[t._v("订单管理")])],1)})),1)],1),a("u-loadmore",{attrs:{status:t.loadStatus}})],1)},o=[]},"9c49":function(t,i,a){"use strict";a.r(i);var n=a("5a4b"),e=a("ee95");for(var o in e)["default"].indexOf(o)<0&&function(t){a.d(i,t,(function(){return e[t]}))}(o);a("e174");var r=a("828b"),s=Object(r["a"])(e["default"],n["b"],n["c"],!1,null,"742486dc",null,!1,n["a"],void 0);i["default"]=s.exports},e174:function(t,i,a){"use strict";var n=a("14c5"),e=a.n(n);e.a},ee95:function(t,i,a){"use strict";a.r(i);var n=a("39ed"),e=a.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(i,t,(function(){return n[t]}))}(o);i["default"]=e.a},f2e9:function(t,i,a){var n=a("c86c");i=n(!1),i.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 筛选组件 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.center-box[data-v-742486dc]{width:%?750?%;background:#f1f2f8;min-height:100vh}.box[data-v-742486dc]{width:%?690?%;padding:0 %?30?% %?0?% %?30?%;border-radius:0 0 0 0}.white-space[data-v-742486dc]{overflow:hidden;\r\n /* 确保超出容器的文本被隐藏 */white-space:nowrap;\r\n /* 确保文本在一行内显示 */text-overflow:ellipsis;\r\n /* 使用省略号表示被截断的文本 */width:100%}.search[data-v-742486dc]{margin-top:%?27?%;width:%?690?%;height:%?64?%;background:#fff;box-shadow:%?2?% %?2?% %?0?% %?0?% rgba(0,0,0,.4);border-radius:%?8?% %?8?% %?8?% %?8?%;border:%?2?% solid #008cff}.search .dashed uni-image[data-v-742486dc]{width:%?52?%;height:%?52?%}.search .line-search[data-v-742486dc]{width:%?2?%;height:%?42?%;background:#008cff;border-radius:%?0?% %?0?% %?0?% %?0?%}.search .input[data-v-742486dc]{padding-left:%?12?%;height:100%;width:78%}.search[data-v-742486dc] .input-placeholder{font-family:PingFang SC;font-weight:500;font-size:%?32?%;color:silver;line-height:%?32?%;text-align:left;font-style:normal;text-transform:none}.search .searchBtn[data-v-742486dc]{width:%?128?%;height:%?64?%;background:#008cff;border-radius:%?5?%;font-family:PingFang SC;font-weight:500;font-size:%?32?%;color:#fff;display:flex;justify-content:center;align-items:center}.white-space[data-v-742486dc]{overflow:hidden;\r\n /* 确保超出容器的文本被隐藏 */white-space:nowrap;\r\n /* 确保文本在一行内显示 */text-overflow:ellipsis;\r\n /* 使用省略号表示被截断的文本 */width:100%}.w-100[data-v-742486dc]{width:100%}.flex[data-v-742486dc]{display:flex}.justify-center[data-v-742486dc]{justify-content:center}.align-items[data-v-742486dc]{align-items:center}.flex-column[data-v-742486dc]{flex-flow:column}.justify-start[data-v-742486dc]{justify-content:start}.listBox[data-v-742486dc]{width:%?690?%;margin-top:%?10?%}.listBox .list[data-v-742486dc]{margin-top:%?32?%;position:relative;background:#fff;border-radius:%?10?%}.listBox .list .title[data-v-742486dc]{width:%?642?%;margin-top:%?32?%;margin-left:%?24?%;font-family:PingFang SC;font-weight:800;font-size:%?32?%;color:#343434}.listBox .list .icon[data-v-742486dc]{width:%?580?%;margin-top:%?24?%;margin-left:%?24?%;font-family:PingFang SC;font-weight:500;font-size:%?26?%;color:#7a7a7a}.listBox .list .Sign[data-v-742486dc]{width:%?170?%;height:%?56?%;border-radius:%?12?% %?12?% %?12?% %?12?%;font-family:PingFang SC;font-weight:800;font-size:%?32?%;color:#fff;letter-spacing:%?8?%;align-self:flex-end;margin-right:%?24?%;margin-bottom:%?32?%}.listBox .list .hui[data-v-742486dc]{position:absolute;bottom:%?32?%;right:%?54?%;width:%?152?%;height:%?56?%;border-radius:%?12?% %?12?% %?12?% %?12?%;font-family:PingFang SC;font-weight:800;font-size:%?32?%;color:#fff}.icon-size[data-v-742486dc]{width:%?32?%;height:%?32?%;margin-right:%?8?%}.status[data-v-742486dc]{font-family:PingFang SC;font-weight:500;font-size:%?26?%;color:#008cff}.popup .header[data-v-742486dc]{margin-left:%?24?%;font-family:PingFang SC;font-weight:800;font-size:%?42?%;color:#008cff;margin-top:%?34?%;width:%?690?%}.popup .line-row[data-v-742486dc]{width:%?690?%;height:%?1?%;background:#d9d9d9;margin:%?11?% 0 %?31?% 0}.popup .pop-center[data-v-742486dc]{margin-top:%?50?%;align-items:center;width:%?650?%}.popup .pop-center .left uni-image[data-v-742486dc]{border-radius:%?12?%}.popup .pop-center .right .title[data-v-742486dc]{width:%?650?%;font-family:PingFang SC;font-weight:800;font-size:%?42?%;color:#343434}.popup .pop-center .right .line-short[data-v-742486dc]{width:%?642?%;height:%?1?%;background:#d9d9d9;border-radius:%?0?% %?0?% %?0?% %?0?%;margin:%?25?% 0 %?25?% 0}.popup .pop-center .right .status[data-v-742486dc]{font-family:PingFang SC;font-weight:500;font-size:%?26?%}.popup .pop-center .right .hui[data-v-742486dc]{font-family:PingFang SC;font-weight:500;font-size:%?24?%;color:#7a7a7a}.popup .popList[data-v-742486dc]{justify-content:space-between;width:%?600?%;margin-top:%?32?%}.popup .popList .hei[data-v-742486dc]{font-family:PingFang SC;font-weight:500;font-size:%?26?%;color:#343434}.popup .pop-btn[data-v-742486dc]{width:%?690?%;margin-top:%?62?%;justify-content:space-around}.popup .pop-btn .Cancel[data-v-742486dc]{width:%?306?%;height:%?80?%;border-radius:%?401?% %?401?% %?401?% %?401?%;border:%?2?% solid #008cff;font-family:PingFang SC;font-weight:800;font-size:%?34?%;color:#008cff}.popup .pop-btn .Confirm[data-v-742486dc]{width:%?306?%;height:%?80?%;background:#008cff;border-radius:%?401?% %?401?% %?401?% %?401?%;font-family:PingFang SC;font-weight:800;font-size:%?34?%;color:#fff}',""]),t.exports=i}}]); |