| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["user-share-order-share"],{"0c66":function(t,e,o){"use strict";o.d(e,"b",(function(){return r})),o.d(e,"c",(function(){return n})),o.d(e,"a",(function(){}));var r=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("v-uni-view",{staticClass:"orderItem"},[o("v-uni-view",{staticClass:"head"},[o("v-uni-text",[t._v(t._s(t.$t("clerk.orderNum"))+":"+t._s(t.order.order_no))]),o("v-uni-text",{class:3==t.order.status?"complete":""},[t._v(t._s(t.order.status_text))])],1),o("v-uni-view",{staticClass:"level"},[t._v("购买用户:"+t._s(t.order.nickname))]),o("v-uni-view",{staticClass:"goods"},[o("v-uni-view",{staticClass:"goodsList"},t._l(t.goodsList,(function(e,r){return o("v-uni-view",{key:r,staticClass:"goodItem"},[o("v-uni-view",{staticClass:"pic"},[o("v-uni-image",{attrs:{src:e.goods_pic}})],1),o("v-uni-view",{staticClass:"info"},[o("v-uni-text",{staticClass:"name"},[t._v(t._s(e.name))]),o("v-uni-view",{staticClass:"sku"},[o("v-uni-text"),o("v-uni-text",[t._v("×"+t._s(e.num))])],1)],1)],1)})),1),t.order.orderDetail.length>1?o("v-uni-view",{staticClass:"showMore",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.showMore=!t.showMore}}},[t.showMore?o("v-uni-text",[t._v(t._s(t.$t("shareholder.close")))]):o("v-uni-text",[t._v(t._s(t.$t("shareholder.showMore")))]),t.showMore?o("v-uni-text",{staticClass:"iconfont icon-arrow-up"}):o("v-uni-text",{staticClass:"iconfont icon-arrow-down"})],1):t._e()],1),o("v-uni-view",{staticClass:"foot"},[o("v-uni-view",{staticClass:"money"},[o("v-uni-text",[t._v(t._s(t.order.share_status)+" · "+t._s(1==t.order.is_price?"":"预")+t._s(2==t.order.share_send_type?t.stores.integral_name:3==t.order.share_send_type?"余额":"佣金")+":")]),o("v-uni-text",{staticClass:"red"},[t._v(t._s(2==t.order.share_send_type?"":"¥")+t._s(t.order.share_money||0))])],1)],1)],1)},n=[]},"1c59":function(t,e,o){"use strict";var r=o("355a"),n=o.n(r);n.a},"355a":function(t,e,o){var r=o("5c97");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var n=o("967d").default;n("49766d6d",r,!0,{sourceMap:!1,shadowMode:!1})},"5c97":function(t,e,o){var r=o("c86c");e=r(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */[data-v-5fdb0827] .u-form-item--right__content__slot > uni-view,[data-v-5fdb0827] .u-form-item--right__content__slot > div,[data-v-5fdb0827] .u-form-item--right__content__slot > span,[data-v-5fdb0827] .u-form-item--right__content__slot > uni-text{width:100%}.orderItem[data-v-5fdb0827]{width:100%;padding:%?30?%;font-family:PingFang SC;background-color:#fff;color:#262626}.orderItem .head[data-v-5fdb0827]{display:flex;align-items:center;justify-content:space-between}.orderItem .head uni-text[data-v-5fdb0827]:nth-child(1){font-size:%?28?%;font-weight:600}.orderItem .head uni-text[data-v-5fdb0827]:nth-child(2){font-size:%?24?%;color:#f0250e}.orderItem .head uni-text.complete[data-v-5fdb0827]{color:#8c8c8c}.orderItem .goods[data-v-5fdb0827]{padding-top:%?6?%}.orderItem .goods .goodItem[data-v-5fdb0827]{display:flex;padding:%?24?%;border-bottom:1px solid #f8f8f8}.orderItem .goods .goodItem .pic[data-v-5fdb0827]{width:%?140?%;min-width:%?140?%;height:%?140?%;border-radius:%?10?%;overflow:hidden;background-color:#f1f1f1}.orderItem .goods .goodItem .pic uni-image[data-v-5fdb0827]{width:100%;height:100%}.orderItem .goods .goodItem .info[data-v-5fdb0827]{flex:auto;margin-left:%?20?%}.orderItem .goods .goodItem .info .name[data-v-5fdb0827]{font-size:%?28?%;text-overflow:-o-ellipsis-lastline;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical}.orderItem .goods .goodItem .info .sku[data-v-5fdb0827]{display:flex;align-items:center;justify-content:space-between}.orderItem .goods .goodItem .info .sku uni-text[data-v-5fdb0827]:nth-child(2){font-size:%?24?%;color:#8c8c8c}.orderItem .goods .showMore[data-v-5fdb0827]{display:flex;align-items:center;font-size:%?24?%;color:#8c8c8c;margin-bottom:%?30?%;justify-content:center}.orderItem .goods .goodItem[data-v-5fdb0827]:last-child{border-bottom:none}.orderItem .foot[data-v-5fdb0827]{padding-top:%?20?%;border-top:1px solid #f8f8f8;display:flex;align-items:center;justify-content:flex-end}.orderItem .foot .money[data-v-5fdb0827]{font-size:%?26?%}.orderItem .foot .money .red[data-v-5fdb0827]{color:#f0250e;font-weight:600}.orderItem .foot .status[data-v-5fdb0827]{font-size:%?26?%;color:#8c8c8c}.orderItem .foot .status.red[data-v-5fdb0827]{color:#f0250e}',""]),t.exports=e},"686cd":function(t,e,o){"use strict";o.d(e,"b",(function(){return n})),o.d(e,"c",(function(){return a})),o.d(e,"a",(function(){return r}));var r={uEmpty:o("4991").default},n=function(){var t=this.$createElement,e=this._self._c||t;return 0==this.shenheStatus?e("v-uni-view",{staticClass:"shareOrder"},[this._l(this.orderList,(function(t,o){return e("v-uni-view",{key:o,staticClass:"item"},[e("orderItem",{ref:"order",refInFor:!0,attrs:{order:t}})],1)})),this.orderList.length?this._e():e("v-uni-view",{staticClass:"empty",staticStyle:{"padding-top":"50rpx"}},[e("u-empty",{attrs:{mode:"data"}})],1)],2):1==this.shenheStatus?e("Shenhe"):this._e()},a=[]},"7eb5":function(t,e,o){"use strict";o("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={props:{order:{type:Object,default:function(){return{}}}},data:function(){return{showMore:!1}},computed:{goodsList:function(){return this.order.orderDetail.length<=1||this.showMore?this.order.orderDetail:[this.order.orderDetail[0]]},orderStatus:function(){var t=this;return function(e){return-1==e?t.$t("person.status1"):0==e?t.$t("person.status2"):1==e?t.$t("shop.cancled"):2==e?t.$t("admin.delivered"):3==e?t.$t("shareholder.status"):void 0}}}};e.default=r},8062:function(t,e,o){"use strict";o("6a54");var r=o("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,o("c223");var n=r(o("2634")),a=r(o("b7c7")),i=r(o("2fdc")),s=r(o("2ba3")),d=r(o("b764")),c={components:{orderItem:d.default,Shenhe:s.default},data:function(){return{orderList:[],page:1,noMore:!1}},onLoad:function(t){uni.setNavigationBarTitle({title:this.$t("title.shareOrder")}),this.getList()},methods:{getList:function(){var t=this;return(0,i.default)((0,n.default)().mark((function e(){var o;return(0,n.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.$allrequest.share.getShareOrder({page:t.page},!0);case 2:o=e.sent,0==o.code&&(t.orderList=[].concat((0,a.default)(t.orderList),(0,a.default)(o.data.list)),t.orderList.length>=o.data.row_count?t.noMore=!0:t.noMore=!1);case 4:case"end":return e.stop()}}),e)})))()}},onReachBottom:function(){this.noMore||(this.page++,this.getList())}};e.default=c},"85fd":function(t,e,o){"use strict";o.r(e);var r=o("8062"),n=o.n(r);for(var a in r)["default"].indexOf(a)<0&&function(t){o.d(e,t,(function(){return r[t]}))}(a);e["default"]=n.a},aa42:function(t,e,o){var r=o("e866");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var n=o("967d").default;n("5e148e24",r,!0,{sourceMap:!1,shadowMode:!1})},b063:function(t,e,o){"use strict";o.r(e);var r=o("686cd"),n=o("85fd");for(var a in n)["default"].indexOf(a)<0&&function(t){o.d(e,t,(function(){return n[t]}))}(a);o("faa4");var i=o("828b"),s=Object(i["a"])(n["default"],r["b"],r["c"],!1,null,"7dcd974b",null,!1,r["a"],void 0);e["default"]=s.exports},b764:function(t,e,o){"use strict";o.r(e);var r=o("0c66"),n=o("e249");for(var a in n)["default"].indexOf(a)<0&&function(t){o.d(e,t,(function(){return n[t]}))}(a);o("1c59");var i=o("828b"),s=Object(i["a"])(n["default"],r["b"],r["c"],!1,null,"5fdb0827",null,!1,r["a"],void 0);e["default"]=s.exports},e249:function(t,e,o){"use strict";o.r(e);var r=o("7eb5"),n=o.n(r);for(var a in r)["default"].indexOf(a)<0&&function(t){o.d(e,t,(function(){return r[t]}))}(a);e["default"]=n.a},e866:function(t,e,o){var r=o("c86c");e=r(!1),e.push([t.i,".shareOrder[data-v-7dcd974b]{min-height:100vh;background-color:#f2f2f2;font-family:PingFang SC;color:#262626}.header-tabs[data-v-7dcd974b]{width:100%;padding-top:%?20?%;height:%?90?%;background:#fff;position:fixed;top:0;z-index:1000;left:0}.item[data-v-7dcd974b]{margin-bottom:%?24?%}",""]),t.exports=e},faa4:function(t,e,o){"use strict";var r=o("aa42"),n=o.n(r);n.a}}]);
|