public
This commit is contained in:
1
public/mp-weixin/bundle/common/vendor.js
Normal file
1
public/mp-weixin/bundle/common/vendor.js
Normal file
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
||||
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["bundle/pages/activity_detail/activity_detail"],{2096:function(t,n,i){"use strict";(function(t){var e=i("47a9");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=i("0956"),o=e(i("8462")),s={mixins:[o.default],data:function(){return{upOption:{empty:{icon:"/static/images/goods_null.png",tip:"暂无商品"}},goodsList:[],name:"",title:""}},onLoad:function(n){var i=this.$Route.query,e=i.id,a=i.title,o=i.name;this.id=e,this.title=a,this.name=o,t.setNavigationBarTitle({title:o})},methods:{upCallback:function(t){var n=this,i=t.num,e=t.size;(0,a.getActivityGoodsLists)({page_size:e,page_no:i,id:this.id}).then((function(i){var e=i.data;1==t.num&&(n.goodsList=[]);var a=e.list,o=a.length,s=!!e.more;n.goodsList=n.goodsList.concat(a),n.mescroll.endSuccess(o,s)})).catch((function(){n.mescroll.endErr()}))}}};n.default=s}).call(this,i("df3c")["default"])},"37dc":function(t,n,i){"use strict";(function(t,n){var e=i("47a9");i("3712");e(i("3240"));var a=e(i("a694"));t.__webpack_require_UNI_MP_PLUGIN__=i,n(a.default)}).call(this,i("3223")["default"],i("df3c")["createPage"])},"73ab":function(t,n,i){"use strict";var e=i("a4be"),a=i.n(e);a.a},"96a7":function(t,n,i){"use strict";i.r(n);var e=i("2096"),a=i.n(e);for(var o in e)["default"].indexOf(o)<0&&function(t){i.d(n,t,(function(){return e[t]}))}(o);n["default"]=a.a},a4be:function(t,n,i){},a694:function(t,n,i){"use strict";i.r(n);var e=i("cb5a"),a=i("96a7");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(n,t,(function(){return a[t]}))}(o);i("73ab");var s=i("828b"),c=Object(s["a"])(a["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],void 0);n["default"]=c.exports},cb5a:function(t,n,i){"use strict";i.d(n,"b",(function(){return a})),i.d(n,"c",(function(){return o})),i.d(n,"a",(function(){return e}));var e={goodsList:function(){return i.e("components/goods-list/goods-list").then(i.bind(null,"877a"))}},a=function(){var t=this.$createElement,n=(this._self._c,this.goodsList.length);this.$mp.data=Object.assign({},{$root:{g0:n}})},o=[]}},[["37dc","common/runtime","common/vendor"]]]);
|
||||
@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "专区详情",
|
||||
"usingComponents": {
|
||||
"goods-list": "/components/goods-list/goods-list"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<mescroll-body class="vue-ref" vue-id="98dca386-1" up="{{upOption}}" data-ref="mescrollRef" data-event-opts="{{[['^init',[['mescrollInit']]],['^up',[['upCallback']]],['^down',[['downCallback']]]]}}" bind:init="__e" bind:up="__e" bind:down="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="activity-detail"><block wx:if="{{$root.g0}}"><view class="header"><image class="header-bg" src="/bundle/static/activity_detail_bg.png"></image><view class="header-con flex-col col-center"><view class="title white">{{name}}</view><view class="desc white sm br60">{{title}}</view></view></view></block><view class="content"><view class="goods-container"><goods-list vue-id="{{('98dca386-2')+','+('98dca386-1')}}" list="{{goodsList}}" type="activity" bind:__l="__l"></goods-list></view></view></view></mescroll-body>
|
||||
@ -0,0 +1 @@
|
||||
.activity-detail{overflow:hidden}.activity-detail .header{height:410rpx;width:100%;position:relative}.activity-detail .header .header-bg{position:absolute;width:100%;height:100%}.activity-detail .header .header-con{position:relative;padding-top:50rpx}.activity-detail .header .header-con .title{font-size:60rpx}.activity-detail .header .header-con .desc{margin-top:30rpx;background-color:rgba(255,203,203,.5);padding:4rpx 40rpx}.activity-detail .content{position:relative;margin-top:-140rpx;padding:0 20rpx}
|
||||
@ -0,0 +1 @@
|
||||
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["bundle/pages/address_edit/address_edit"],{"061d":function(e,t,n){"use strict";var i=n("bd5f"),a=n.n(i);a.a},"0f0f":function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return i}));var i={uField:function(){return n.e("components/uview-ui/components/u-field/u-field").then(n.bind(null,"e849"))},uCheckbox:function(){return n.e("components/uview-ui/components/u-checkbox/u-checkbox").then(n.bind(null,"7f15"))},uSelect:function(){return n.e("components/uview-ui/components/u-select/u-select").then(n.bind(null,"8194"))}},a=function(){var e=this,t=e.$createElement;e._self._c;e._isMounted||(e.e0=function(t){e.showRegion=!0})},r=[]},"18b7":function(e,t,n){"use strict";(function(e,t){var i=n("47a9");n("3712");i(n("3240"));var a=i(n("d7b6"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(a.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},"4a7e":function(e,t,n){"use strict";n.r(t);var i=n("870e"),a=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(r);t["default"]=a.a},"870e":function(e,t,n){"use strict";(function(e){var i=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=i(n("7eb4")),r=i(n("ee10")),d=n("25af"),s=i(n("9b72")),c={data:function(){return{addressObj:{contact:"",telephone:"",province:"",city:"",district:"",address:"",is_default:!1},region:"",addressId:"",defaultRegion:["广东省","广州市","番禺区"],defaultRegionCode:"440113",showRegion:!1,lists:[]}},onLoad:function(t){var n=this;this.addressId=parseInt(t.id),t.id?(e.setNavigationBarTitle({title:"编辑地址"}),this.getOneAddressFun()):(e.setNavigationBarTitle({title:"添加地址"}),this.getWxAddressFun()),this.$nextTick((function(){n.lists=s.default}))},onUnload:function(){e.removeStorageSync("wxAddress")},methods:{formSubmit:function(){var e=this;return(0,r.default)(a.default.mark((function t(){var n,i,r,s,c,o,u,l,f,b,v,p,h,_;return a.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.addressObj,i=n.contact,r=n.telephone,s=n.province_id,c=n.city_id,o=n.district_id,u=n.is_default,l=n.address,f=e.addressId,b=e.region,i){t.next=3;break}return t.abrupt("return",e.$toast({title:"请填写收货人姓名"}));case 3:if(r){t.next=5;break}return t.abrupt("return",e.$toast({title:"请填写手机号码"}));case 5:if(b){t.next=7;break}return t.abrupt("return",e.$toast({title:"请选择省、市、区"}));case 7:if(l){t.next=9;break}return t.abrupt("return",e.$toast({title:"请填写小区、街道、门牌号等信息"}));case 9:if(v={contact:i,telephone:r,province_id:parseInt(s),city_id:parseInt(c),district_id:parseInt(o),is_default:u?1:0,id:f,address:l},!f){t.next=16;break}return t.next=13,(0,d.editAddress)(v);case 13:t.t0=t.sent,t.next=19;break;case 16:return t.next=18,(0,d.addAddress)(v);case 18:t.t0=t.sent;case 19:p=t.t0,h=p.code,_=p.msg,1==h&&e.$toast({title:_},{tab:3,url:2});case 23:case"end":return t.stop()}}),t)})))()},regionChange:function(e){this.addressObj.province_id=e[0].value,this.addressObj.city_id=e[1].value,this.addressObj.district_id=e[2].value,this.region=e[0].label+" "+e[1].label+" "+e[2].label},getOneAddressFun:function(){var e=this;(0,d.getOneAddress)(this.addressId).then((function(t){if(1==t.code){var n=t.data,i=n.city,a=n.province,r=n.district;e.addressObj=t.data,e.region="".concat(a," ").concat(i," ").concat(r)}}))},getWxAddressFun:function(){var t=this,n=e.getStorageSync("wxAddress");if(n){n=JSON.parse(n);var i=n,a=i.userName,r=i.telNumber,s=i.provinceName,c=i.cityName,o=i.detailInfo,u=n.countryName||n.countyName;(0,d.hasRegionCode)({province:s,city:c,district:u}).then((function(e){1==e.code&&(e.data.province&&e.data.city&&e.data.district&&(t.region="".concat(s," ").concat(c," ").concat(u),t.addressObj.province_id=e.data.province,t.addressObj.city_id=e.data.city,t.addressObj.district_id=e.data.district),t.addressObj.contact=a,t.addressObj.telephone=r,t.addressObj.address=o)}))}}}};t.default=c}).call(this,n("df3c")["default"])},bd5f:function(e,t,n){},d7b6:function(e,t,n){"use strict";n.r(t);var i=n("0f0f"),a=n("4a7e");for(var r in a)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(r);n("061d");var d=n("828b"),s=Object(d["a"])(a["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);t["default"]=s.exports}},[["18b7","common/runtime","common/vendor","bundle/common/vendor"]]]);
|
||||
@ -0,0 +1,8 @@
|
||||
{
|
||||
"navigationBarTitleText": "添加地址",
|
||||
"usingComponents": {
|
||||
"u-field": "/components/uview-ui/components/u-field/u-field",
|
||||
"u-checkbox": "/components/uview-ui/components/u-checkbox/u-checkbox",
|
||||
"u-select": "/components/uview-ui/components/u-select/u-select"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view class="address-edit"><view class="form bg-white"><u-field bind:input="__e" vue-id="01e95261-1" label="收货人" placeholder="请填写收货人姓名" value="{{addressObj.contact}}" data-event-opts="{{[['^input',[['__set_model',['$0','contact','$event',[]],['addressObj']]]]]}}" bind:__l="__l"></u-field><u-field bind:input="__e" vue-id="01e95261-2" label="联系方式" placeholder="请填写手机号码" value="{{addressObj.telephone}}" data-event-opts="{{[['^input',[['__set_model',['$0','telephone','$event',[]],['addressObj']]]]]}}" bind:__l="__l"></u-field><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" bindtap="__e"><u-field bind:input="__e" vue-id="01e95261-3" disabled="{{true}}" label="所在地区" placeholder="请选择省、市、区" right-icon="arrow-right" value="{{region}}" data-event-opts="{{[['^input',[['__set_model',['','region','$event',[]]]]]]}}" bind:__l="__l"></u-field></view><view><u-field bind:input="__e" vue-id="01e95261-4" type="textarea" label="详细地址" placeholder="请填写小区、街道、门牌号等信息" field-style="{{({flex:1,height:'200rpx'})}}" value="{{addressObj.address}}" data-event-opts="{{[['^input',[['__set_model',['$0','address','$event',[]],['addressObj']]]]]}}" bind:__l="__l"></u-field></view></view><view class="m-t-10 m-b-10 bg-white p-20"><u-checkbox vue-id="01e95261-5" shape="circle" value="{{addressObj.is_default}}" data-event-opts="{{[['^click',[['changeDefault']]],['^input',[['__set_model',['$0','is_default','$event',[]],['addressObj']]]]]}}" bind:click="__e" bind:input="__e" bind:__l="__l" vue-slots="{{['default']}}"><text class="xs">设置为默认</text></u-checkbox></view><button data-event-opts="{{[['tap',[['formSubmit',['$event']]]]]}}" class="my-btn bg-primary white br60" bindtap="__e">完成</button><u-select vue-id="01e95261-6" mode="mutil-column-auto" list="{{lists}}" value="{{showRegion}}" data-event-opts="{{[['^confirm',[['regionChange']]],['^input',[['__set_model',['','showRegion','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" bind:__l="__l"></u-select></view>
|
||||
@ -0,0 +1 @@
|
||||
.address-edit{padding-top:10rpx}.address-edit .my-btn{margin:30rpx 26rpx;text-align:center}
|
||||
1
public/mp-weixin/bundle/pages/after_sales/after_sales.js
Normal file
1
public/mp-weixin/bundle/pages/after_sales/after_sales.js
Normal file
@ -0,0 +1 @@
|
||||
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["bundle/pages/after_sales/after_sales"],{"69ed":function(e,t,n){"use strict";n.r(t);var a=n("a8bb"),r=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"]=r.a},7700:function(e,t,n){"use strict";n.r(t);var a=n("915b"),r=n("69ed");for(var u in r)["default"].indexOf(u)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(u);var o=n("828b"),f=Object(o["a"])(r["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);t["default"]=f.exports},"915b":function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return a}));var a={tabs:function(){return Promise.all([n.e("common/vendor"),n.e("components/tabs/tabs")]).then(n.bind(null,"ffae"))},tab:function(){return n.e("components/tab/tab").then(n.bind(null,"9777"))},afterSalesList:function(){return Promise.all([n.e("common/vendor"),n.e("components/after-sales-list/after-sales-list")]).then(n.bind(null,"1960"))}},r=function(){var e=this.$createElement;this._self._c},u=[]},"9dfb":function(e,t,n){"use strict";(function(e,t){var a=n("47a9");n("3712");a(n("3240"));var r=a(n("7700"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(r.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},a8bb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n("f4fb"),r={data:function(){return{active:0,afterSale:[{name:"售后申请",type:a.afterSaleType.NORMAL},{name:"处理中",type:a.afterSaleType.HANDLING},{name:"已处理",type:a.afterSaleType.FINISH}]}},methods:{onChange:function(e){this.active=e}}};t.default=r}},[["9dfb","common/runtime","common/vendor"]]]);
|
||||
@ -0,0 +1,8 @@
|
||||
{
|
||||
"navigationBarTitleText": "退款/售后",
|
||||
"usingComponents": {
|
||||
"tabs": "/components/tabs/tabs",
|
||||
"tab": "/components/tab/tab",
|
||||
"after-sales-list": "/components/after-sales-list/after-sales-list"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view class="post-sale"><view class="contain"><tabs vue-id="5e87726d-1" current="{{active}}" bar-width="{{80}}" is-scroll="{{false}}" data-event-opts="{{[['^change',[['onChange']]]]}}" bind:change="__e" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{afterSale}}" wx:for-item="item" wx:for-index="index" wx:key="index"><tab vue-id="{{('5e87726d-2-'+index)+','+('5e87726d-1')}}" name="{{item.name}}" bind:__l="__l" vue-slots="{{['default']}}"><after-sales-list vue-id="{{('5e87726d-3-'+index)+','+('5e87726d-2-'+index)}}" type="{{item.type}}" i="{{index}}" index="{{active}}" bind:__l="__l"></after-sales-list></tab></block></tabs></view></view>
|
||||
@ -0,0 +1 @@
|
||||
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["bundle/pages/after_sales_detail/after_sales_detail"],{1029:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return a}));var a={shopTitle:function(){return n.e("components/shop-title/shop-title").then(n.bind(null,"c1de"))},uImage:function(){return n.e("components/uview-ui/components/u-image/u-image").then(n.bind(null,"28a8"))},priceFormat:function(){return n.e("components/price-format/price-format").then(n.bind(null,"1738"))},uModal:function(){return n.e("components/uview-ui/components/u-modal/u-modal").then(n.bind(null,"37df"))}},i=function(){var e=this,t=e.$createElement,n=(e._self._c,{name:e.afterSale.shop_name,id:e.afterSale.sid}),a=6!=e.afterSale.status?{path:"/bundle/pages/apply_refund/apply_refund",query:{after_sale_id:e.afterSale.id,order_id:e.afterSale.order_goods.order_id,item_id:e.afterSale.order_goods.item_id}}:null,i=6!=e.afterSale.status?{path:"/bundle/pages/input_express_info/input_express_info",query:{id:e.afterSale.id}}:null;e._isMounted||(e.e0=function(t){e.confirmDialog=!0}),e.$mp.data=Object.assign({},{$root:{a0:n,a1:a,a2:i}})},o=[]},"672e":function(e,t,n){"use strict";n.r(t);var a=n("1029"),i=n("6db1");for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);n("7229");var r=n("828b"),u=Object(r["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);t["default"]=u.exports},"6db1":function(e,t,n){"use strict";n.r(t);var a=n("75b1"),i=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(o);t["default"]=i.a},7229:function(e,t,n){"use strict";var a=n("bb44"),i=n.n(a);i.a},"75b1":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n("25af"),i=n("0aec"),o={data:function(){return{afterSale:{shop:{},order_goods:{}},confirmDialog:!1}},onLoad:function(e){},onShow:function(){this.id=this.$Route.query.id,this.afterSaleDetailFun()},methods:{onCopy:function(){var e=this.afterSale,t=e.shop,n=t.address,a=t.contact,o=t.mobile;(0,i.copy)("".concat(n,",").concat(a,",").concat(o))},cancelApplyFun:function(){var t=this;(0,a.cancelApply)({id:this.id}).then((function(n){1==n.code&&(e.$emit("refreshsale"),t.$toast({title:n.msg},{tab:3,url:1}))}))},afterSaleDetailFun:function(){var e=this;(0,a.afterSaleDetail)({id:this.id}).then((function(t){1==t.code&&(e.afterSale=t.data)}))}}};t.default=o}).call(this,n("df3c")["default"])},bb44:function(e,t,n){},e6cf:function(e,t,n){"use strict";(function(e,t){var a=n("47a9");n("3712");a(n("3240"));var i=a(n("672e"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(i.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])}},[["e6cf","common/runtime","common/vendor"]]]);
|
||||
@ -0,0 +1,9 @@
|
||||
{
|
||||
"navigationBarTitleText": "售后详情",
|
||||
"usingComponents": {
|
||||
"shop-title": "/components/shop-title/shop-title",
|
||||
"u-image": "/components/uview-ui/components/u-image/u-image",
|
||||
"price-format": "/components/price-format/price-format",
|
||||
"u-modal": "/components/uview-ui/components/u-modal/u-modal"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view><view class="after-sales-detail"><view class="after-sales-header"><view class="after-sales-status white lg">{{''+afterSale.status_text+''}}</view></view><view class="return-address-contain flex bg-white m-t-20"><view class="address-title">退货地址:</view><view class="sm address flex-1">{{afterSale.shop.address+", "+afterSale.shop.contact+",\n\t\t\t\t"+afterSale.shop.mobile}}</view><view data-event-opts="{{[['tap',[['onCopy',['$event']]]]]}}" class="xs copy-btn flex-none row-center" bindtap="__e">复制</view></view><view class="goods-container bg-white m-t-20"><view class="m-l-20"><shop-title vue-id="0a4f5c21-1" shop="{{$root.a0}}" bind:__l="__l"></shop-title></view><view class="goods-item flex"><view class="goods-img"><u-image vue-id="0a4f5c21-2" width="180rpx" height="180rpx" border-radius="10rpx" src="{{afterSale.order_goods.image}}" bind:__l="__l"></u-image></view><view class="goods-info flex-1 m-l-24"><view class="line-2">{{afterSale.order_goods.goods_name}}</view><view class="m-t-10 xs line-1 muted">{{afterSale.order_goods.spec_value}}</view><view class="flex row-between m-t-20"><price-format vue-id="0a4f5c21-3" price="{{afterSale.order_goods.goods_price}}" first-size="{{30}}" second-size="{{30}}" subscript-size="{{30}}" bind:__l="__l"></price-format><view>{{"x"+afterSale.order_goods.goods_num}}</view></view></view></view></view><view class="return-goods-container bg-white m-t-20"><view class="return-goods-item flex sm"><view class="return-title">退款方式:</view><view class="return-explain">{{afterSale.refund_type_text}}</view></view><view class="return-goods-item flex sm m-t-20"><view class="return-title">退款原因:</view><view class="return-explain">{{afterSale.refund_reason}}</view></view><view class="return-goods-item flex sm m-t-20"><view class="return-title">退款金额:</view><view class="return-explain primary">{{"¥"+afterSale.refund_price}}</view></view><view class="return-goods-item flex sm m-t-20"><view class="return-title">退款编号:</view><view class="return-explain">{{afterSale.sn}}</view></view><view class="return-goods-item flex sm m-t-20"><view class="return-title">申请时间:</view><view class="return-explain">{{afterSale.create_time}}</view></view></view><block wx:if="{{afterSale.status!=6}}"><view class="btn-group fixed bg-white flex row-right"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="m-r-20 btn br60" bindtap="__e">撤销申请</view><router-link vue-id="0a4f5c21-4" to="{{$root.a1}}" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{afterSale.status==4||afterSale.status==1}}"><view class="m-r-20 btn br60 primary">重新申请 </view></block></router-link><router-link vue-id="0a4f5c21-5" to="{{$root.a2}}" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{afterSale.status==2}}"><view class="m-r-20 btn br60"> 填写快递单号 </view></block></router-link></view></block></view><u-modal vue-id="0a4f5c21-6" confirm-text="确定" showCancelButton="{{true}}" confirm-color="{{colorConfig.primary}}" value="{{confirmDialog}}" data-event-opts="{{[['^confirm',[['cancelApplyFun']]],['^input',[['__set_model',['','confirmDialog','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="flex-col col-center tips-dialog" style="padding:30rpx 0;"><image class="icon-lg" src="/static/images/icon_warning.png"></image><view class="m-t-30">是否要撤销申请?</view></view></u-modal></view>
|
||||
@ -0,0 +1 @@
|
||||
.after-sales-detail{padding-bottom:calc(120rpx + env(safe-area-inset-bottom))}.after-sales-detail .after-sales-header .after-sales-status{padding:48rpx 30rpx;background-color:#555}.after-sales-detail .after-sales-header .after-sales-explain{padding:20rpx 30rpx 24rpx}.after-sales-detail .return-goods-container{padding:20rpx 24rpx 55rpx}.after-sales-detail .return-goods-container .return-goods-item{line-height:40rpx}.after-sales-detail .btn-group{padding:0rpx 24rpx;position:fixed;left:0;right:0;bottom:0;height:100rpx;padding-bottom:env(safe-area-inset-bottom);box-sizing:initial}.after-sales-detail .btn-group .btn{padding:10rpx 34rpx;border:1px solid #999}.after-sales-detail .btn-group .btn.primary{border-color:#ff2c3c}.after-sales-detail .goods-container .goods-item{padding:25rpx 24rpx}.after-sales-detail .goods-container .goods-item .goods-info{min-width:500rpx}.return-address-contain{padding:20rpx 24rpx 28rpx 30rpx}.return-address-contain .address{flex:1;line-height:38rpx}.return-address-contain .address-title{width:150rpx;align-self:flex-start;line-height:40rpx}.return-address-contain .copy-btn{background-color:#f4f4f4;color:#555;padding:3rpx 16rpx;margin-left:12rpx;border-radius:4rpx}.tips-dialog{height:230rpx;width:100%}
|
||||
@ -0,0 +1 @@
|
||||
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["bundle/pages/all_comments/all_comments"],{"2a14":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return i}));var i={uRate:function(){return n.e("components/uview-ui/components/u-rate/u-rate").then(n.bind(null,"49b8"))},uImage:function(){return n.e("components/uview-ui/components/u-image/u-image").then(n.bind(null,"28a8"))}},o=function(){var t=this,e=t.$createElement,n=(t._self._c,t.__map(t.commentList,(function(e,n){var i=t.__get_orig(e),o=e.image.length;return{$orig:i,g0:o}})));t.$mp.data=Object.assign({},{$root:{l0:n}})},u=[]},3910:function(t,e,n){"use strict";var i=n("f808"),o=n.n(i);o.a},"88b0":function(t,e,n){"use strict";(function(t,e){var i=n("47a9");n("3712");i(n("3240"));var o=i(n("dc00"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(o.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},"93ef":function(t,e,n){"use strict";(function(t){var i=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n("7eb4")),u=i(n("ee10")),a=n("c2cb"),c=i(n("8462")),r={mixins:[c.default],data:function(){return{active:0,type:"",commentList:[],categoryList:[],percent:"",isEmpty:!0,upOption:{auto:!1,empty:{icon:"/static/images/goods_null.png",tip:"暂无评价"}}}},onLoad:function(t){this.id=this.$Route.query.id},onShow:function(){this.id=this.$Route.query.id},methods:{downCallback:function(t){var e=this;return(0,u.default)(o.default.mark((function t(){return o.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.getCommentCategoryFun();case 2:e.mescroll.resetUpScroll();case 3:case"end":return t.stop()}}),t)})))()},upCallback:function(t){var e=this,n=t.num,i=t.size;(0,a.getCommentList)({type:this.type,goods_id:this.id,page_no:n,page_size:i}).then((function(n){if(1==n.code){var i=n.data.lists,o=i.length,u=!!n.data.more;1==t.num&&(e.commentList=[]),e.commentList=e.commentList.concat(i),e.mescroll.endSuccess(o,u)}}))},onChangType:function(t){this.active=t,this.type=this.categoryList[t].id,this.commentList=[],this.mescroll.resetUpScroll()},getCommentCategoryFun:function(){var t=this;return new Promise((function(e){(0,a.getCommentCategory)(t.id).then((function(n){var i=n.code,o=n.data,u=o.comment,a=o.percent;1==i&&(t.categoryList=u,t.percent=a,t.type=u[t.active].id,t.isEmpty=!u[0].count,t.$nextTick((function(){return e()})))}))}))},previewImage:function(e){var n=e.currentTarget.dataset,i=n.current,o=n.uri,u=o;t.previewImage({current:i,urls:u})}}};e.default=r}).call(this,n("df3c")["default"])},dc00:function(t,e,n){"use strict";n.r(e);var i=n("2a14"),o=n("f043");for(var u in o)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(u);n("3910");var a=n("828b"),c=Object(a["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=c.exports},f043:function(t,e,n){"use strict";n.r(e);var i=n("93ef"),o=n.n(i);for(var u in i)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(u);e["default"]=o.a},f808:function(t,e,n){}},[["88b0","common/runtime","common/vendor"]]]);
|
||||
@ -0,0 +1,8 @@
|
||||
{
|
||||
"navigationBarTitleText": "全部评价",
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"u-rate": "/components/uview-ui/components/u-rate/u-rate",
|
||||
"u-image": "/components/uview-ui/components/u-image/u-image"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view><mescroll-body class="vue-ref" vue-id="d397b17e-1" up="{{upOption}}" data-ref="mescrollRef" data-event-opts="{{[['^init',[['mescrollInit']]],['^down',[['downCallback']]],['^up',[['upCallback']]]]}}" bind:init="__e" bind:down="__e" bind:up="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="all-comments"><block wx:if="{{!isEmpty}}"><view class="header bg-white"><view class="title xs"><text class="lighter m-r-10">商品好评率</text><text class="primary">{{percent}}</text></view><view class="tab flex flex-wrap"><block wx:for="{{categoryList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['onChangType',[index]]]]]}}" hidden="{{!(item.count)}}" class="{{['tab-item xs m-r-10 br60 m-b-20 '+(type==item.id?'bg-primary white':'bg-gray')]}}" bindtap="__e">{{''+item.name+"("+item.count+')'}}</view></block></view></view></block><view class="main bg-white"><view class="evaluation-list"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="evaluation-item"><view class="user-info flex"><image class="avatar m-r-20" src="{{item.$orig.avatar}}"></image><view class="user-name md m-r-10">{{item.$orig.nickname}}</view><u-rate bind:input="__e" vue-id="{{('d397b17e-2-'+index)+','+('d397b17e-1')}}" disabled="{{true}}" size="26rpx" color="{{colorConfig.primary}}" value="{{item.$orig.goods_comment}}" data-event-opts="{{[['^input',[['__set_model',['$0','goods_comment','$event',[]],[[['commentList','',index]]]]]]]}}" bind:__l="__l"></u-rate></view><view class="muted xs m-t-10"><text class="m-r-20">{{item.$orig.create_time}}</text><text hidden="{{!(item.$orig.spec_value_str)}}">{{item.$orig.spec_value_str}}</text></view><block wx:if="{{item.$orig.comment}}"><view class="dec m-t-20">{{item.$orig.comment}}</view></block><block wx:if="{{item.g0}}"><view class="img m-t-20 flex flex-wrap"><block wx:for="{{item.$orig.image}}" wx:for-item="imgitem" wx:for-index="imgindex" wx:key="imgindex"><view class="img-item m-r-20 m-b-20" data-current="{{imgitem}}" data-uri="{{item.$orig.image}}" data-event-opts="{{[['tap',[['previewImage',['$event']]]]]}}" bindtap="__e"><u-image class="goods-img" vue-id="{{('d397b17e-3-'+index+'-'+imgindex)+','+('d397b17e-1')}}" width="160rpx" fit="cover" height="160rpx" radius="6rpx" lazy-load="{{true}}" src="{{imgitem}}" bind:__l="__l"></u-image></view></block></view></block><block wx:if="{{item.$orig.reply}}"><view class="seller-recall-container bg-gray m-t-10"><view class="lighter"> 商家回复: <text class="normal">{{item.$orig.reply}}</text></view></view></block></view></block></view></view></view></mescroll-body></view>
|
||||
@ -0,0 +1 @@
|
||||
.all-comments{padding-top:20rpx}.all-comments .header .title{padding:24rpx 26rpx;border-bottom:var(--border)}.all-comments .header .tab{padding:30rpx 0 10rpx 20rpx;flex-wrap:wrap}.all-comments .header .tab .tab-item{padding:9rpx 29rpx}.all-comments .main .evaluation-list .evaluation-item{padding:20rpx}.all-comments .main .evaluation-list .evaluation-item:not(:last-of-type){border-bottom:1px solid #e5e5e5}.all-comments .main .evaluation-list .evaluation-item .avatar{width:60rpx;height:60rpx;border-radius:50%}.all-comments .main .evaluation-list .evaluation-item .seller-recall-container{padding:24rpx 20rpx;border-radius:12rpx}
|
||||
@ -0,0 +1 @@
|
||||
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["bundle/pages/apply_refund/apply_refund"],{"4fbe":function(e,t,n){"use strict";n.r(t);var o=n("be17"),i=n.n(o);for(var r in o)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(r);t["default"]=i.a},"88fe":function(e,t,n){"use strict";(function(e,t){var o=n("47a9");n("3712");o(n("3240"));var i=o(n("ef6e"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(i.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},badc:function(e,t,n){"use strict";var o=n("dc68"),i=n.n(o);i.a},be17:function(e,t,n){"use strict";(function(e){var o=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=o(n("7eb4")),r=o(n("ee10")),u=n("f4fb"),a=n("a381"),s=n("25af"),c=n("0aec"),d={data:function(){return{action:a.baseURL+"/api/file/formimage",hiddenOpt:!1,optTyle:u.refundOptType.ONLY_REFUND,goods:{},reason:[],showPop:!1,reasonString:"",fileList:[],remark:""}},onLoad:function(e){var t=this.$Route.query,n=t.order_id,o=t.item_id,i=t.after_sale_id;this.orderId=n,this.itemId=o,this.afterSaleId=i,this.getGoodsInfoFun(),this.onSubmit=(0,c.trottle)(this.onSubmit,1e3,this)},methods:{confirmSelect:function(e){this.reasonString=e[0].label},onlyRefund:function(){this.optTyle=u.refundOptType.ONLY_REFUND,this.hiddenOpt=!0},allRefunds:function(){this.optTyle=u.refundOptType.REFUNDS,this.hiddenOpt=!0},onSuccess:function(e){this.fileList.push(e.data.base_uri)},onRemove:function(e){this.fileList.splice(e,1),console.log(e)},onSubmit:function(){var t=this;return(0,r.default)(i.default.mark((function n(){var o,r,u,a,c,d,f,l,p;return i.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(t.reason,o=t.reasonString,r=t.optTyle,u=t.remark,a=t.fileList,o){n.next=3;break}return n.abrupt("return",t.$toast({title:"请选择退款原因"}));case 3:if(c={reason:o,refund_type:r,remark:u,img:a.length?a[0]:""},t.afterSaleId?c.id=t.afterSaleId:(c.item_id=t.itemId,c.order_id=t.orderId),!t.afterSaleId){n.next=11;break}return n.next=8,(0,s.applyAgain)(c);case 8:n.t0=n.sent,n.next=14;break;case 11:return n.next=13,(0,s.applyAfterSale)(c);case 13:n.t0=n.sent;case 14:d=n.t0,f=d.data,l=d.code,p=d.msg,1==l&&(t.$toast({title:p}),e.$emit("refreshsale"),setTimeout((function(){t.$Router.replace({path:"/bundle/pages/after_sales_detail/after_sales_detail",query:{id:f.after_sale_id}})}),1e3));case 19:case"end":return n.stop()}}),n)})))()},getGoodsInfoFun:function(){var e=this,t=this.orderId,n=this.itemId;(0,s.getGoodsInfo)({order_id:t,item_id:n}).then((function(t){1==t.code&&(e.goods=t.data.goods,e.reason=t.data.reason.map((function(e,t){return{name:e,index:t}})))}))}}};t.default=d}).call(this,n("df3c")["default"])},d917:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return o}));var o={uImage:function(){return n.e("components/uview-ui/components/u-image/u-image").then(n.bind(null,"28a8"))},uIcon:function(){return n.e("components/uview-ui/components/u-icon/u-icon").then(n.bind(null,"8f08"))},priceFormat:function(){return n.e("components/price-format/price-format").then(n.bind(null,"1738"))},uInput:function(){return Promise.all([n.e("common/vendor"),n.e("components/uview-ui/components/u-input/u-input")]).then(n.bind(null,"2fc6"))},uUpload:function(){return n.e("components/uview-ui/components/u-upload/u-upload").then(n.bind(null,"55a9"))},uSelect:function(){return n.e("components/uview-ui/components/u-select/u-select").then(n.bind(null,"8194"))}},i=function(){var e=this,t=e.$createElement,n=(e._self._c,{token:e.$store.getters.token});e._isMounted||(e.e0=function(t){e.showPop=!0}),e.$mp.data=Object.assign({},{$root:{a0:n}})},r=[]},dc68:function(e,t,n){},ef6e:function(e,t,n){"use strict";n.r(t);var o=n("d917"),i=n("4fbe");for(var r in i)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(r);n("badc");var u=n("828b"),a=Object(u["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);t["default"]=a.exports}},[["88fe","common/runtime","common/vendor"]]]);
|
||||
11
public/mp-weixin/bundle/pages/apply_refund/apply_refund.json
Normal file
11
public/mp-weixin/bundle/pages/apply_refund/apply_refund.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"navigationBarTitleText": "申请退款",
|
||||
"usingComponents": {
|
||||
"u-image": "/components/uview-ui/components/u-image/u-image",
|
||||
"u-icon": "/components/uview-ui/components/u-icon/u-icon",
|
||||
"price-format": "/components/price-format/price-format",
|
||||
"u-input": "/components/uview-ui/components/u-input/u-input",
|
||||
"u-upload": "/components/uview-ui/components/u-upload/u-upload",
|
||||
"u-select": "/components/uview-ui/components/u-select/u-select"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view class="apply-refund"><view class="goods bg-white m-t-20"><view class="flex"><u-image vue-id="debc543e-1" width="160rpx" height="160rpx" border-radius="6rpx" lazy-load="{{true}}" src="{{goods.image}}" bind:__l="__l"></u-image><view class="goods-info"><view class="line-2">{{goods.goods_name}}</view><view class="xs muted m-t-10">{{goods.spec_value}}</view></view></view></view><view class="opt-box m-t-20 bg-white"><view hidden="{{!(!hiddenOpt)}}"><view data-event-opts="{{[['tap',[['onlyRefund',['$event']]]]]}}" class="opt-item flex row-between border-line" bindtap="__e"><view><view class="lg">仅退款</view><view class="muted xs m-t-10">未收到货,与卖家协商同意无需退货只需退款</view></view><u-icon class="m-l-10" vue-id="debc543e-2" name="arrow-right" size="28" bind:__l="__l"></u-icon></view><view data-event-opts="{{[['tap',[['allRefunds',['$event']]]]]}}" class="opt-item flex row-between" bindtap="__e"><view><view class="lg">退货退款</view><view class="muted xs m-t-10">已收到货,需退还收到的实物</view></view><u-icon class="m-l-10" vue-id="debc543e-3" name="arrow-right" size="28" bind:__l="__l"></u-icon></view></view><view hidden="{{!(hiddenOpt)}}"><view class="refund-info flex row-between m-t-20"><view class="lable">数量</view><view>{{goods.goods_num}}</view></view><view class="refund-info flex row-between"><view class="lable">退款金额</view><price-format vue-id="debc543e-4" color="{{colorConfig.primary}}" price="{{goods.total_pay_price}}" bind:__l="__l"></price-format></view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="refund-info flex row-between" bindtap="__e"><view class="lable">退款原因</view><view class="flex"><text class="{{[(!reasonString)?'muted':'']}}">{{reasonString?reasonString:'请选择'}}</text><u-icon class="m-l-10" vue-id="debc543e-5" name="arrow-right" size="28" bind:__l="__l"></u-icon></view></view><view class="refund-info flex col-top"><view class="label">备注说明</view><view class="flex-1" style="background-color:#F8F8F8;"><u-input bind:input="__e" vue-id="debc543e-6" type="textarea" placeholder="请描述申请售后的具体原因,100字以内" border="{{false}}" height="{{160}}" value="{{remark}}" data-event-opts="{{[['^input',[['__set_model',['','remark','$event',[]]]]]]}}" bind:__l="__l"></u-input></view></view><view class="upload bg-white"><view class="title flex row-between"><view>上传凭证</view><view class="muted">(选填,最多可上传1张)</view></view><u-upload class="vue-ref" vue-id="debc543e-7" show-progress="{{false}}" header="{{$root.a0}}" max-count="{{1}}" width="160" height="160" action="{{action}}" upload-text="上传图片" data-ref="uUpload" data-event-opts="{{[['^onSuccess',[['onSuccess']]],['^onRemove',[['onRemove']]]]}}" bind:onSuccess="__e" bind:onRemove="__e" bind:__l="__l"></u-upload></view></view></view><button hidden="{{!(hiddenOpt)}}" class="btn br60" type="primary" size="lg" data-event-opts="{{[['tap',[['onSubmit',['$event']]]]]}}" bindtap="__e">申请退款</button><u-select vue-id="debc543e-8" mode="single-column" value-name="index" label-name="name" list="{{reason}}" value="{{showPop}}" data-event-opts="{{[['^confirm',[['confirmSelect']]],['^input',[['__set_model',['','showPop','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" bind:__l="__l"></u-select></view>
|
||||
@ -0,0 +1 @@
|
||||
.apply-refund{padding-bottom:50rpx}.apply-refund .goods{padding:20rpx 24rpx}.apply-refund .goods .goods-info{margin-left:24rpx;flex:1}.opt-box .opt-item{padding:20rpx 20rpx 30rpx}.apply-refund .refund-info{padding:24rpx 20rpx;border-bottom:1px solid #e5e5e5}.apply-refund .refund-info .label{width:140rpx;margin-top:19rpx}.apply-refund .refund-info textarea{flex:1;height:172rpx;border-radius:10rpx;padding:20rpx;box-sizing:border-box}.apply-refund .upload{padding:0 20rpx 30rpx}.apply-refund .upload .title{padding:24rpx 0}.apply-refund .btn{margin:30rpx 26rpx}
|
||||
1
public/mp-weixin/bundle/pages/bargain/bargain.js
Normal file
1
public/mp-weixin/bundle/pages/bargain/bargain.js
Normal file
@ -0,0 +1 @@
|
||||
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["bundle/pages/bargain/bargain"],{4608:function(n,t,e){"use strict";var a=e("a3fb"),i=e.n(a);i.a},"4dfb":function(n,t,e){"use strict";(function(n,t){var a=e("47a9");e("3712");a(e("3240"));var i=a(e("b23b"));n.__webpack_require_UNI_MP_PLUGIN__=e,t(i.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])},"68eb":function(n,t,e){"use strict";e.r(t);var a=e("921f"),i=e.n(a);for(var u in a)["default"].indexOf(u)<0&&function(n){e.d(t,n,(function(){return a[n]}))}(u);t["default"]=i.a},7676:function(n,t,e){"use strict";e.d(t,"b",(function(){return i})),e.d(t,"c",(function(){return u})),e.d(t,"a",(function(){return a}));var a={uImage:function(){return e.e("components/uview-ui/components/u-image/u-image").then(e.bind(null,"28a8"))},priceFormat:function(){return e.e("components/price-format/price-format").then(e.bind(null,"1738"))},floatTab:function(){return Promise.all([e.e("common/vendor"),e.e("components/float-tab/float-tab")]).then(e.bind(null,"3ea7"))}},i=function(){var n=this.$createElement,t=(this._self._c,this.lists.length);this.$mp.data=Object.assign({},{$root:{g0:t}})},u=[]},"921f":function(n,t,e){"use strict";var a=e("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=e("0956"),u=e("f4fb"),o=a(e("cc11")),r=a(e("8462")),c={mixins:[r.default,o.default],data:function(){return{upOption:{empty:{icon:"/static/images/goods_null.png",tip:"暂无商品"}},lists:[],loadingStatus:u.loadingType.LOADING}},methods:{applyList:function(n){var t=this;(0,i.getBargainList)({page_size:n.size,page_no:n.num}).then((function(e){var a=e.data;1==n.num&&(t.lists=[]);var i=a.list,u=i.length,o=!!a.more;t.lists=t.lists.concat(i),t.mescroll.endSuccess(u,o)})).catch((function(){t.mescroll.endErr()}))},upCallback:function(n){this.applyList(n)},downCallback:function(n){this.applyList(n)}}};t.default=c},a3fb:function(n,t,e){},b23b:function(n,t,e){"use strict";e.r(t);var a=e("7676"),i=e("68eb");for(var u in i)["default"].indexOf(u)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(u);e("4608");var o=e("828b"),r=Object(o["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);t["default"]=r.exports}},[["4dfb","common/runtime","common/vendor"]]]);
|
||||
8
public/mp-weixin/bundle/pages/bargain/bargain.json
Normal file
8
public/mp-weixin/bundle/pages/bargain/bargain.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"navigationBarTitleText": "砍价活动",
|
||||
"usingComponents": {
|
||||
"u-image": "/components/uview-ui/components/u-image/u-image",
|
||||
"price-format": "/components/price-format/price-format",
|
||||
"float-tab": "/components/float-tab/float-tab"
|
||||
}
|
||||
}
|
||||
1
public/mp-weixin/bundle/pages/bargain/bargain.wxml
Normal file
1
public/mp-weixin/bundle/pages/bargain/bargain.wxml
Normal file
@ -0,0 +1 @@
|
||||
<mescroll-body class="vue-ref" vue-id="168f815b-1" up="{{upOption}}" data-ref="mescrollRef" data-event-opts="{{[['^init',[['mescrollInit']]],['^down',[['downCallback']]],['^up',[['upCallback']]]]}}" bind:init="__e" bind:down="__e" bind:up="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="bargain-container"><view class="header"></view><view class="main"><view class="activity-box"><block wx:for="{{lists}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="activity-item row mt20"><u-image vue-id="{{('168f815b-2-'+index)+','+('168f815b-1')}}" width="180rpx" height="180rpx" src="{{item.image}}" border-radius="10rpx" bind:__l="__l"></u-image><view class="activity-info"><view class="activity-name line2 nr">{{''+item.name+''}}</view><view class="row-between"><view class="column"><view class="xs" style="color:#F95F2F;"> 最低可砍至 <price-format vue-id="{{('168f815b-3-'+index)+','+('168f815b-1')}}" showSubscript="{{true}}" subscriptSize="{{26}}" firstSize="{{34}}" secondSize="{{34}}" weight="500" price="{{item.activity_price}}" bind:__l="__l"></price-format></view><view class="mt10 xs muted">{{'单买 ¥'+item.price+''}}</view></view><navigator class="lunch-btn white row-center" url="{{'/bundle/pages/bargain_process/bargain_process?activityId='+item.id}}" hover-class="none"> 发起砍价 </navigator></view></view></view></block></view><block wx:if="{{$root.g0==0}}"><view class="mt30 row-center white" style="padding-top:200rpx;"> 暂无砍价商品 </view></block></view><float-tab vue-id="{{('168f815b-4')+','+('168f815b-1')}}" bind:__l="__l"></float-tab></view></mescroll-body>
|
||||
1
public/mp-weixin/bundle/pages/bargain/bargain.wxss
Normal file
1
public/mp-weixin/bundle/pages/bargain/bargain.wxss
Normal file
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
||||
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["bundle/pages/bargain_code/bargain_code"],{"02e0":function(n,e,t){"use strict";t.r(e);var a=t("f6d9"),i=t.n(a);for(var r in a)["default"].indexOf(r)<0&&function(n){t.d(e,n,(function(){return a[n]}))}(r);e["default"]=i.a},3692:function(n,e,t){"use strict";(function(n,e){var a=t("47a9");t("3712");a(t("3240"));var i=a(t("f258"));n.__webpack_require_UNI_MP_PLUGIN__=t,e(i.default)}).call(this,t("3223")["default"],t("df3c")["createPage"])},"78fd":function(n,e,t){"use strict";t.d(e,"b",(function(){return i})),t.d(e,"c",(function(){return r})),t.d(e,"a",(function(){return a}));var a={tabs:function(){return Promise.all([t.e("common/vendor"),t.e("components/tabs/tabs")]).then(t.bind(null,"ffae"))},tab:function(){return t.e("components/tab/tab").then(t.bind(null,"9777"))},bargainList:function(){return Promise.all([t.e("common/vendor"),t.e("components/bargain-list/bargain-list")]).then(t.bind(null,"43b2"))}},i=function(){var n=this.$createElement;this._self._c},r=[]},f258:function(n,e,t){"use strict";t.r(e);var a=t("78fd"),i=t("02e0");for(var r in i)["default"].indexOf(r)<0&&function(n){t.d(e,n,(function(){return i[n]}))}(r);var o=t("828b"),f=Object(o["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);e["default"]=f.exports},f6d9:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=t("f4fb"),i={data:function(){return{active:0,bargainCodeType:a.bargainType.ALL,bargain:[{name:"全部",type:a.bargainType.ALL,ref_name:"all",isShow:!0},{name:"砍价中",type:a.bargainType.BARGINNING,ref_name:"barginning",isShow:!1},{name:"砍价成功",type:a.bargainType.SUCCESS,ref_name:"success",isShow:!1},{name:"砍价失败",type:a.bargainType.FAIL,ref_name:"fail",isShow:!1}]}},onLoad:function(n){},onReachBottom:function(){var n=this.active,e=this.bargain,t=e[n].ref_name,a=this.$refs[t][0];a.$getBargainActivityList&&a.$getBargainActivityList()},methods:{onChange:function(n){var e=this,t=this.bargain;console.log(n);var a=t[n].ref_name,i=t.findIndex((function(n){return n.ref_name==a}));-1!=i&&(this.bargain[i].isShow=!0,this.active=i),this.$nextTick((function(){console.log(e.$refs,"refs",a),console.log("this.$refs[all]",e.$refs["all"]),e.$refs[a]&&e.$refs[a][0].$getBargainActivityList&&e.$refs[a][0].$getBargainActivityList()}))}}};e.default=i}},[["3692","common/runtime","common/vendor"]]]);
|
||||
@ -0,0 +1,8 @@
|
||||
{
|
||||
"navigationBarTitleText": "砍价记录",
|
||||
"usingComponents": {
|
||||
"tabs": "/components/tabs/tabs",
|
||||
"tab": "/components/tab/tab",
|
||||
"bargain-list": "/components/bargain-list/bargain-list"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view class="bargain-code-container"><tabs vue-id="26afa641-1" active="{{active}}" isScroll="{{false}}" data-event-opts="{{[['^change',[['onChange']]]]}}" bind:change="__e" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{bargain}}" wx:for-item="item" wx:for-index="index" wx:key="type"><tab vue-id="{{('26afa641-2-'+index)+','+('26afa641-1')}}" name="{{item.name}}" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{item.isShow}}"><bargain-list class="vue-ref-in-for" vue-id="{{('26afa641-3-'+index)+','+('26afa641-2-'+index)}}" bargainType="{{item.type}}" data-ref="{{item.ref_name}}" bind:__l="__l"></bargain-list></block></tab></block></tabs></view>
|
||||
File diff suppressed because one or more lines are too long
@ -0,0 +1,13 @@
|
||||
{
|
||||
"navigationBarTitleText": "砍价进度",
|
||||
"usingComponents": {
|
||||
"u-image": "/components/uview-ui/components/u-image/u-image",
|
||||
"u-icon": "/components/uview-ui/components/u-icon/u-icon",
|
||||
"u-count-down": "/components/uview-ui/components/u-count-down/u-count-down",
|
||||
"goods-bargain": "/components/goods-bargain/goods-bargain",
|
||||
"u-popup": "/components/uview-ui/components/u-popup/u-popup",
|
||||
"spec-popup": "/components/spec-popup/spec-popup",
|
||||
"share-popup": "/components/share-popup/share-popup",
|
||||
"float-tab": "/components/float-tab/float-tab"
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
public/mp-weixin/bundle/pages/cancel/cancel.js
Normal file
1
public/mp-weixin/bundle/pages/cancel/cancel.js
Normal file
@ -0,0 +1 @@
|
||||
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["bundle/pages/cancel/cancel"],{"1b53":function(e,n,t){},2308:function(e,n,t){"use strict";(function(e,n){var u=t("47a9");t("3712");u(t("3240"));var c=u(t("c8c7"));e.__webpack_require_UNI_MP_PLUGIN__=t,n(c.default)}).call(this,t("3223")["default"],t("df3c")["createPage"])},7670:function(e,n,t){"use strict";var u=t("1b53"),c=t.n(u);c.a},bfb9:function(e,n,t){"use strict";t.r(n);var u=t("d9f9"),c=t.n(u);for(var o in u)["default"].indexOf(o)<0&&function(e){t.d(n,e,(function(){return u[e]}))}(o);n["default"]=c.a},c62d:function(e,n,t){"use strict";t.d(n,"b",(function(){return c})),t.d(n,"c",(function(){return o})),t.d(n,"a",(function(){return u}));var u={uPopup:function(){return t.e("components/uview-ui/components/u-popup/u-popup").then(t.bind(null,"b12c"))},uIcon:function(){return t.e("components/uview-ui/components/u-icon/u-icon").then(t.bind(null,"8f08"))},uCheckbox:function(){return t.e("components/uview-ui/components/u-checkbox/u-checkbox").then(t.bind(null,"7f15"))},uLoading:function(){return t.e("components/uview-ui/components/u-loading/u-loading").then(t.bind(null,"7cbc"))}},c=function(){var e=this,n=e.$createElement;e._self._c;e._isMounted||(e.e0=function(n){e.showPopup=!0},e.e1=function(n){e.showPopup=!1},e.e2=function(n){e.showPopup=!1})},o=[]},c8c7:function(e,n,t){"use strict";t.r(n);var u=t("c62d"),c=t("bfb9");for(var o in c)["default"].indexOf(o)<0&&function(e){t.d(n,e,(function(){return c[e]}))}(o);t("7670");var r=t("828b"),a=Object(r["a"])(c["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],void 0);n["default"]=a.exports},d9f9:function(e,n,t){"use strict";var u=t("47a9");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var c=u(t("7eb4")),o=u(t("ee10")),r=t("25af"),a=(u(t("31f5")),t("7a03")),i={data:function(){return{showPopup:!1,isAgree:!1,loading:!1,AgreemenName:""}},methods:{getPolicyAgreement:function(){var e=this;(0,a.getuserProto)().then((function(n){e.AgreemenName=n.name}))},handleCancel:function(){var e=this;return(0,o.default)(c.default.mark((function n(){var t,u;return c.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e.isAgree){n.next=2;break}return n.abrupt("return",e.$toast({title:"请先阅读并同意《用户注销协议》"}));case 2:return e.loading=!0,n.next=5,(0,r.apiuserDeletecheck)();case 5:if(t=n.sent,u=t.data,console.log(u.pass),1!==u.pass){n.next=12;break}return n.next=11,(0,r.apiuserDelete)();case 11:n.sent;case 12:e.$Router.replaceAll({path:"/bundle/pages/cancel_result/cancel_result",query:{pass:u.pass}});case 13:case"end":return n.stop()}}),n)})))()}},onLoad:function(){this.getPolicyAgreement()}};n.default=i}},[["2308","common/runtime","common/vendor"]]]);
|
||||
9
public/mp-weixin/bundle/pages/cancel/cancel.json
Normal file
9
public/mp-weixin/bundle/pages/cancel/cancel.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"navigationBarTitleText": "注销账号",
|
||||
"usingComponents": {
|
||||
"u-popup": "/components/uview-ui/components/u-popup/u-popup",
|
||||
"u-icon": "/components/uview-ui/components/u-icon/u-icon",
|
||||
"u-checkbox": "/components/uview-ui/components/u-checkbox/u-checkbox",
|
||||
"u-loading": "/components/uview-ui/components/u-loading/u-loading"
|
||||
}
|
||||
}
|
||||
1
public/mp-weixin/bundle/pages/cancel/cancel.wxml
Normal file
1
public/mp-weixin/bundle/pages/cancel/cancel.wxml
Normal file
@ -0,0 +1 @@
|
||||
<view><view class="cancel"><view class="lg"> 为保证你的账号安全,在你提交的注销申请生效前,需同时满足以下条件: </view><view class="lg m-t-40"><view> 1、账号处于安全状态 </view><view class="muted sm">账号当前为有效账号,非冻结状态。</view></view><view class="lg m-t-40"><view> 2、账号内财产已结清,交易已完成 </view><view class="muted sm">账号下所有关联业务的资产及预期收益(包括现金、余额、佣金、积分、优惠券)均已结清、退款、清空或自愿放弃,所有交易已完成或自愿放弃。</view></view><button class="btn" type="primary" data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" bindtap="__e"> 申请注销 </button></view><u-popup bind:input="__e" vue-id="073014fe-1" mode="bottom" border-radius="14" closeable="{{false}}" safe-area-inset-bottom="{{true}}" mask-close-able="{{true}}" value="{{showPopup}}" data-event-opts="{{[['^input',[['__set_model',['','showPopup','$event',[]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="popup_header"><text>提示</text><u-icon vue-id="{{('073014fe-2')+','+('073014fe-1')}}" name="close" color="#666666" data-event-opts="{{[['^tap',[['e1']]]]}}" bind:tap="__e" bind:__l="__l"></u-icon></view><view class="popup_body"><view>注销后, <text class="tip"> 你的账号信息将永久清空无法恢复 </text></view><view class="popup_body_container"><view>·你的个人相关数据将会被清空且无法恢复</view><view class="m-t-10">·你账号内剩余的余额、资产也将无法恢复</view></view><view class="m-t-30"><u-checkbox bind:input="__e" vue-id="{{('073014fe-3')+','+('073014fe-1')}}" active-color="#ff2c3c" shape="circle" label-disabled="{{true}}" value="{{isAgree}}" data-event-opts="{{[['^input',[['__set_model',['','isAgree','$event',[]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="sm flex"> 我已阅读并同意 <router-link vue-id="{{('073014fe-4')+','+('073014fe-3')}}" data-theme to="/bundle/pages/server_explan/server_explan?type=4" bind:__l="__l" vue-slots="{{['default']}}"><view class="agreement" style="{{'color:'+('#ff2c3c')+';'}}">《 用户注销协议 》</view></router-link></view></u-checkbox></view><view class="flex row-around m-t-30 btn-pop"><button data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" class="btn_cancel" bindtap="__e">取消</button><button data-event-opts="{{[['tap',[['handleCancel',['$event']]]]]}}" class="btn_comfirm" style="{{'background-color:'+(isAgree?' #ff2c3c':'#CFCFCF')+';'}}" bindtap="__e"><u-loading vue-id="{{('073014fe-5')+','+('073014fe-1')}}" mode="circle" show="{{loading}}" bind:__l="__l"></u-loading><text class="m-l-10"> 确认注销 </text></button></view></view></u-popup></view>
|
||||
1
public/mp-weixin/bundle/pages/cancel/cancel.wxss
Normal file
1
public/mp-weixin/bundle/pages/cancel/cancel.wxss
Normal file
@ -0,0 +1 @@
|
||||
page{height:100%;background-color:#fff}page .cancel{height:100%;padding:42rpx}page .btn{height:80rpx;line-height:80rpx;position:fixed;bottom:env(safe-area-inset-bottom);bottom:constant(safe-area-inset-bottom);left:42rpx;right:42rpx}page .popup_header{display:flex;align-items:center;justify-content:space-between;height:100rpx;padding:0 30rpx;font-weight:500;font-size:26rpx;background-color:#fff}page .popup_body{padding:42rpx;font-size:26rpx}page .popup_body .tip{font-weight:500}page .popup_body_container{margin-top:30rpx;background-color:#f7f7f7;padding:42rpx}page .popup_body .btn-pop{height:80rpx;line-height:80rpx}page .popup_body .btn_comfirm{border-radius:50rpx;width:250rpx;height:80rpx;line-height:80rpx;color:#fff}page .popup_body .btn_cancel{border-radius:50rpx;width:250rpx;height:80rpx;line-height:80rpx;border:1px solid #e6e6e6}
|
||||
@ -0,0 +1 @@
|
||||
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["bundle/pages/cancel_result/cancel_result"],{"086d":function(e,n,t){"use strict";t.d(n,"b",(function(){return a})),t.d(n,"c",(function(){return r})),t.d(n,"a",(function(){}));var a=function(){var e=this,n=e.$createElement,t=(e._self._c,0==e.passType?e.showReason("status"):null),a=0==e.passType?e.showReason("order"):null,r=0==e.passType?e.showReason("after_sale"):null,u=0==e.passType?e.showReason("withdraw"):null;e.$mp.data=Object.assign({},{$root:{m0:t,m1:a,m2:r,m3:u}})},r=[]},"12a6":function(e,n,t){"use strict";t.r(n);var a=t("784d"),r=t.n(a);for(var u in a)["default"].indexOf(u)<0&&function(e){t.d(n,e,(function(){return a[e]}))}(u);n["default"]=r.a},"2d3e":function(e,n,t){"use strict";(function(e,n){var a=t("47a9");t("3712");a(t("3240"));var r=a(t("745b"));e.__webpack_require_UNI_MP_PLUGIN__=t,n(r.default)}).call(this,t("3223")["default"],t("df3c")["createPage"])},"745b":function(e,n,t){"use strict";t.r(n);var a=t("086d"),r=t("12a6");for(var u in r)["default"].indexOf(u)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(u);t("7497");var s=t("828b"),o=Object(s["a"])(r["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);n["default"]=o.exports},7497:function(e,n,t){"use strict";var a=t("c7a6"),r=t.n(a);r.a},"784d":function(e,n,t){"use strict";var a=t("47a9");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=a(t("7eb4")),u=a(t("ee10")),s=t("25af"),o=a(t("31f5")),c={data:function(){return{passType:"",reason:[]}},computed:{showReason:function(){var e=this;return function(n){return e.reason.some((function(e){return e==n}))}}},methods:{handleReason:function(e){for(var n in e)0==e[n]["pass"]&&this.reason.push(n)},handleComfirm:function(){this.$Router.replaceAll({path:"/pages/index/index"})},handleBack:function(){this.$Router.replaceAll({path:"/pages/user/user"})}},onLoad:function(){var e=this;return(0,u.default)(r.default.mark((function n(){var t,a,u;return r.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(t=e.$Route.query.pass,e.passType=t,1!=t){n.next=4;break}return n.abrupt("return",o.default.commit("logout"));case 4:return n.next=6,(0,s.apiuserDeletecheck)();case 6:a=n.sent,u=a.data,e.handleReason(u.data);case 9:case"end":return n.stop()}}),n)})))()}};n.default=c},c7a6:function(e,n,t){}},[["2d3e","common/runtime","common/vendor"]]]);
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"navigationBarTitleText": "注销账号",
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view class="cancel-result"><block wx:if="{{passType==1}}"><view class="success"><image class="img m-b-40" style="margin-top:150rpx;" src="/static/images/icon_success.png"></image><view class="m-t-40 m-b-40">注销完成</view><view>你的所有信息都已清空</view><button data-event-opts="{{[['tap',[['handleComfirm',['$event']]]]]}}" class="btn" style="background-color:#ff2c3c;" bindtap="__e"> 确定 </button></view></block><block wx:if="{{passType==0}}"><view><view class="fail"><image class="img m-b-20" style="margin-top:50rpx;" src="/static/images/icon_fail.png"></image><view class="m-t-40 m-b-20 tip">抱歉,无法注销</view><view>很遗憾,由于以下原因,导致账号无法注销</view></view><view style="margin-top:50rpx;"><block wx:if="{{$root.m0}}"><view class="fail-body">账号冻结中</view><view class="muted">你的账号处于冻结状态,暂时无法申请注销,可联系客服进行处理。</view></block><block wx:if="{{$root.m1}}"><view class="fail-body">存在未完成订单</view><view class="muted">发现你的账号内有未处理完成的商城订单,待完成后可重新提交申请。</view></block><block wx:if="{{$root.m2}}"><view class="fail-body">存在售后中订单</view><view class="muted">发现你的账号内有订单处于售后中,待商家处理完成后可重新提交申请。</view></block><block wx:if="{{$root.m3}}"><view class="fail-body">存在佣金待提现申请</view><view class="muted">发现你的账号内有佣金处于待提现中,待商家处理完成后可重新提交申请。</view></block></view><button data-event-opts="{{[['tap',[['handleBack',['$event']]]]]}}" class="btn" style="background-color:#ff2c3c;" bindtap="__e"> 返回个人中心 </button></view></block></view>
|
||||
@ -0,0 +1 @@
|
||||
page{background-color:#fff}page .cancel-result{padding:42rpx}page .img{width:120rpx;height:120rpx}page .success{display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:36rpx}page .btn{height:80rpx;line-height:80rpx;color:#fff;font-size:28rpx;position:fixed;bottom:env(safe-area-inset-bottom);bottom:constant(safe-area-inset-bottom);left:42rpx;right:42rpx}page .fail{display:flex;flex-direction:column;justify-content:center;align-items:center}page .fail .tip{font-size:36rpx}page .fail-body{font-size:32rpx;margin-top:50rpx}
|
||||
1
public/mp-weixin/bundle/pages/chat/chat.js
Normal file
1
public/mp-weixin/bundle/pages/chat/chat.js
Normal file
File diff suppressed because one or more lines are too long
11
public/mp-weixin/bundle/pages/chat/chat.json
Normal file
11
public/mp-weixin/bundle/pages/chat/chat.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"disableScroll": true,
|
||||
"usingComponents": {
|
||||
"u-loading": "/components/uview-ui/components/u-loading/u-loading",
|
||||
"price-format": "/components/price-format/price-format",
|
||||
"emoji": "/components/emoji/emoji",
|
||||
"u-icon": "/components/uview-ui/components/u-icon/u-icon",
|
||||
"u-image": "/components/uview-ui/components/u-image/u-image"
|
||||
}
|
||||
}
|
||||
1
public/mp-weixin/bundle/pages/chat/chat.wxml
Normal file
1
public/mp-weixin/bundle/pages/chat/chat.wxml
Normal file
@ -0,0 +1 @@
|
||||
<view class="chat flex-col"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="content" bindtap="__e"><scroll-view style="height:100%;" scroll-y="{{true}}" scroll-top="{{scrollTop}}" scroll-into-view="{{intoView}}" data-event-opts="{{[['scrolltoupper',[['scrollToupper',['$event']]]]]}}" bindscrolltoupper="__e"><block wx:if="{{pageStatus=='loading'}}"><view class="loading flex row-center"><u-loading vue-id="b7ba5afe-1" mode="flower" size="40" bind:__l="__l"></u-loading></view></block><view class="chat-lists"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="id"><view class="{{['chat-item',(item.$orig.from_type=='user')?'right':'',(item.$orig.from_type=='kefu')?'left':'',(showIndex>index)?'visibility':'']}}" id="{{'chat-item_'+item.$orig.id}}"><block wx:if="{{item.$orig.type==1}}"><block wx:if="{{item.m0}}"><view class="text-center m-b-30 white"><view class="chat-tips xs">{{item.m1}}</view></view></block><view class="chat-info"><image class="avatar" src="{{item.m2}}"></image><block wx:if="{{item.$orig.msg_type==1}}"><view class="text-box"><rich-text nodes="{{item.m3}}" space="nbsp"></rich-text></view></block><block wx:if="{{item.$orig.msg_type==2}}"><view class="image-box"><image class="image" mode="widthFix" src="{{item.m4}}" data-event-opts="{{[['tap',[['previewImage',[item.m5]]]]]}}" bindtap="__e"></image></view></block><block wx:if="{{item.$orig.msg_type==3}}"><view class="goods m-r-20 goods-box"><view class="goods-img m-r-20"><image style="width:140rpx;height:140rpx;" src="{{item.m6}}"></image></view><view class="goods-info flex-1"><view class="line-2">{{''+item.$orig.goods.name+''}}</view><view class="flex m-t-10 row-between"><price-format vue-id="{{'b7ba5afe-2-'+index}}" color="{{colorConfig.primary}}" subscript-size="{{26}}" first-size="{{38}}" second-size="{{26}}" price="{{item.$orig.goods.min_price}}" bind:__l="__l"></price-format></view></view></view></block></view></block><block wx:else><view class="text-center white"><view class="muted xs">{{item.$orig.msg}}</view></view></block></view></block></view><block wx:if="{{isError}}"><view class="error"><view class="error-msg text-center xs">{{errorMsg}}</view></view></block><view id="bottom"></view></scroll-view></view><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="footer" bindtap="__e"><view class="footer-input flex"><view data-event-opts="{{[['tap',[['uploadFile',['$event']]]]]}}" class="album" bindtap="__e"><image class="icon" src="/static/images/icon_album.png"></image></view><view class="input-contain flex"><input class="text-area" confirm-type="send" maxlength="-1" data-event-opts="{{[['focus',[['scrollToBottom',['$event']]]],['confirm',[['sendText',['$event']]]],['input',[['__set_model',['','msg','$event',[]]]]]]}}" value="{{msg}}" bindfocus="__e" bindconfirm="__e" bindinput="__e"/><image class="icon" src="/static/images/icon_emoji.png" data-event-opts="{{[['tap',[['handleEmojiShow',['$event']]]]]}}" bindtap="__e"></image></view><button class="send-btn" size="sm" data-event-opts="{{[['tap',[['sendText',['$event']]]]]}}" bindtap="__e">发送</button></view><view class="{{['emoji-wrap',(showEmoji)?'emoji-show':'']}}"><scroll-view style="height:100%;" scroll-y="true"><emoji bind:input="__e" vue-id="b7ba5afe-3" data-event-opts="{{[['^input',[['handleEmojiInput']]]]}}" bind:__l="__l"></emoji></scroll-view></view></view><block wx:if="{{showGoods}}"><view class="goods"><view data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" class="close" bindtap="__e"><u-icon vue-id="b7ba5afe-4" name="close-circle-fill" color="#ccc" size="40" bind:__l="__l"></u-icon></view><view class="goods-img m-r-20"><u-image vue-id="b7ba5afe-5" width="140rpx" height="140rpx" src="{{goodsInfo.image}}" bind:__l="__l"></u-image></view><view class="goods-info flex-1"><view class="line-2">{{''+goodsInfo.name+''}}</view><view class="flex m-t-10 row-between"><price-format vue-id="b7ba5afe-6" color="{{colorConfig.primary}}" subscript-size="{{26}}" first-size="{{38}}" second-size="{{26}}" price="{{goodsInfo.min_price}}" bind:__l="__l"></price-format><view data-event-opts="{{[['tap',[['sendGoods',['$event']]]]]}}" class="send-btn" bindtap="__e">发送链接</view></view></view></view></block></view>
|
||||
1
public/mp-weixin/bundle/pages/chat/chat.wxss
Normal file
1
public/mp-weixin/bundle/pages/chat/chat.wxss
Normal file
@ -0,0 +1 @@
|
||||
page{pading:0;height:100%}.chat{height:100%}.chat .goods{display:flex;position:fixed;width:600rpx;right:20rpx;bottom:calc(120rpx + env(safe-area-inset-bottom));border-radius:14rpx;background:#fff;padding:20rpx}.chat .goods .close{position:absolute;left:-20rpx;top:-20rpx}.chat .goods .send-btn{padding:8rpx 22rpx}.chat .content{transition:all .3s;flex:1;min-height:0}.chat .content .loading{padding:20rpx;height:40px}.chat .content .chat-lists{padding:0 20rpx 30rpx;overflow:hidden;position:relative}.chat .content .chat-lists .chat-tips{padding:4rpx 20rpx;border-radius:21rpx;display:inline-block;text-align:center;background-color:rgba(0,0,0,.2)}.chat .content .chat-lists .chat-item{padding-top:30rpx}.chat .content .chat-lists .chat-item.visibility{visibility:hidden}.chat .content .chat-lists .chat-item .chat-info{display:flex;align-items:flex-start}.chat .content .chat-lists .chat-item.right .chat-info{flex-direction:row-reverse}.chat .content .chat-lists .chat-item.right .chat-info .text-box{background-color:#ed5349;color:#fff}.chat .content .chat-lists .chat-item .avatar{width:78rpx;height:78rpx;border-radius:14rpx;flex:none}.chat .content .chat-lists .chat-item .text-box{max-width:500rpx;min-width:80rpx;background-color:#fff;border-radius:14rpx;padding:16rpx 20rpx;margin:0 20rpx;word-break:break-word;line-height:40rpx}.chat .content .chat-lists .chat-item .image-box{max-width:300rpx;margin:0 20rpx}.chat .content .chat-lists .chat-item .image-box .image{max-width:100%}.chat .content .chat-lists .chat-item .goods-box{position:static;width:510rpx}.chat .error{padding:0 30rpx 30rpx}.chat .error .error-msg{color:#bbb;word-break:break-word}.chat .footer{background:#f2f2f2;padding-bottom:env(safe-area-inset-bottom)}.chat .footer .footer-input{height:100rpx;padding:0 20rpx}.chat .footer .footer-input .icon{width:52rpx;height:52rpx}.chat .footer .footer-input .input-contain{margin:0 20rpx;background-color:#fff;height:68rpx;border-radius:60rpx;flex:1;overflow:hidden;padding:0 10rpx 0 30rpx}.chat .footer .footer-input .input-contain .text-area{flex:1;height:100rpx;word-break:break-all}.chat .emoji-wrap{height:0;transition:all .3s}.chat .emoji-wrap.emoji-show{height:200px}.chat .send-btn{padding:0 25rpx;color:#fff;background-color:#ed5349;border-radius:60rpx}
|
||||
@ -0,0 +1 @@
|
||||
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["bundle/pages/commission_details/commission_details"],{"0210":function(n,t,e){"use strict";e.d(t,"b",(function(){return i})),e.d(t,"c",(function(){return c})),e.d(t,"a",(function(){return a}));var a={recordCell:function(){return e.e("components/record-cell/record-cell").then(e.bind(null,"858d"))}},i=function(){var n=this.$createElement;this._self._c},c=[]},"34af":function(n,t,e){"use strict";e.r(t);var a=e("aab1"),i=e.n(a);for(var c in a)["default"].indexOf(c)<0&&function(n){e.d(t,n,(function(){return a[n]}))}(c);t["default"]=i.a},8966:function(n,t,e){"use strict";(function(n,t){var a=e("47a9");e("3712");a(e("3240"));var i=a(e("c9bf"));n.__webpack_require_UNI_MP_PLUGIN__=e,t(i.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])},aab1:function(n,t,e){"use strict";var a=e("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=a(e("8462")),c=e("25af"),r={mixins:[i.default],data:function(){return{upOption:{empty:{icon:"/static/images/order_null.png",tip:"暂无记录"}},list:[]}},methods:{upCallback:function(n){var t=this,e=n.num,a=n.size;(0,c.getCommission)({page_size:a,page_no:e}).then((function(e){var a=e.data;1==n.num&&(t.list=[]);var i=a.list,c=i.length,r=!!a.more;t.list=t.list.concat(i),t.mescroll.endSuccess(c,r)})).catch((function(){t.mescroll.endErr()}))}}};t.default=r},c9bf:function(n,t,e){"use strict";e.r(t);var a=e("0210"),i=e("34af");for(var c in i)["default"].indexOf(c)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(c);var r=e("828b"),u=Object(r["a"])(i["default"],a["b"],a["c"],!1,null,"5ff02584",null,!1,a["a"],void 0);t["default"]=u.exports}},[["8966","common/runtime","common/vendor"]]]);
|
||||
@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "佣金明细",
|
||||
"usingComponents": {
|
||||
"record-cell": "/components/record-cell/record-cell"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view class="commission-details data-v-5ff02584"><mescroll-body vue-id="4d8b18fe-1" up="{{upOption}}" down="{{downOption}}" data-ref="mescrollRef" data-event-opts="{{[['^init',[['mescrollInit']]],['^up',[['upCallback']]],['^down',[['downCallback']]]]}}" bind:init="__e" bind:up="__e" bind:down="__e" class="data-v-5ff02584 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view class="p-t-20 data-v-5ff02584"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="bg-white data-v-5ff02584"><record-cell vue-id="{{('4d8b18fe-2-'+index)+','+('4d8b18fe-1')}}" remark="{{item.source_type}}" date="{{item.create_time}}" money="{{item.change_amount}}" type="{{item.change_type}}" class="data-v-5ff02584" bind:__l="__l"></record-cell></view></block></view></mescroll-body></view>
|
||||
@ -0,0 +1 @@
|
||||
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["bundle/pages/contact_offical/contact_offical"],{"0dc5":function(e,n,t){"use strict";var o=t("fcda"),a=t.n(o);a.a},"0e6c":function(e,n,t){"use strict";t.d(n,"b",(function(){return a})),t.d(n,"c",(function(){return c})),t.d(n,"a",(function(){return o}));var o={uImage:function(){return t.e("components/uview-ui/components/u-image/u-image").then(t.bind(null,"28a8"))},uModal:function(){return t.e("components/uview-ui/components/u-modal/u-modal").then(t.bind(null,"37df"))}},a=function(){var e=this,n=e.$createElement;e._self._c;e._isMounted||(e.e0=function(n){e.showPhoneCall=!0},e.e1=function(n){e.showPhoneCall=!0})},c=[]},"1ade":function(e,n,t){"use strict";(function(e){var o=t("47a9");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=o(t("7eb4")),c=o(t("ee10")),u=t("7a03"),i=t("03a1"),r=t("0aec"),s={name:"contactOffical",data:function(){return{server:{config:{},shop:{}},showPhoneCall:!1,shopId:0,isShow:!1}},onLoad:function(){this.shopId=Number(this.$Route.query.id),this.getServiceFun()},methods:{getServiceFun:function(){var e=this;return(0,c.default)(a.default.mark((function n(){var t,o,c;return a.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!e.shopId){n.next=6;break}return n.next=3,(0,i.getShopService)(e.shopId);case 3:n.t0=n.sent,n.next=9;break;case 6:return n.next=8,(0,u.getService)();case 8:n.t0=n.sent;case 9:t=n.t0,o=t.data,c=t.code,1==c&&(e.server=o,e.isShow=!0);case 13:case"end":return n.stop()}}),n)})))()},onCopy:function(e){(0,r.copy)(e)},onCall:function(){e.makePhoneCall({phoneNumber:String(this.server.config&&this.server.config.phone||this.server.phone),success:function(e){console.log("成功",e)},fail:function(e){console.log("失败",e)}})}}};n.default=s}).call(this,t("3223")["default"])},9731:function(e,n,t){"use strict";t.r(n);var o=t("0e6c"),a=t("da4b");for(var c in a)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return a[e]}))}(c);t("0dc5");var u=t("828b"),i=Object(u["a"])(a["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);n["default"]=i.exports},b5a2:function(e,n,t){"use strict";(function(e,n){var o=t("47a9");t("3712");o(t("3240"));var a=o(t("9731"));e.__webpack_require_UNI_MP_PLUGIN__=t,n(a.default)}).call(this,t("3223")["default"],t("df3c")["createPage"])},da4b:function(e,n,t){"use strict";t.r(n);var o=t("1ade"),a=t.n(o);for(var c in o)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(c);n["default"]=a.a},fcda:function(e,n,t){}},[["b5a2","common/runtime","common/vendor"]]]);
|
||||
@ -0,0 +1,7 @@
|
||||
{
|
||||
"navigationBarTitleText": "联系客服",
|
||||
"usingComponents": {
|
||||
"u-image": "/components/uview-ui/components/u-image/u-image",
|
||||
"u-modal": "/components/uview-ui/components/u-modal/u-modal"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view hidden="{{!(isShow)}}" class="{{['contact-offical',(shopId)?'shop-contact':'']}}"><block wx:if="{{shopId}}"><view class="header white"><view class="title font-size-50 text-center">店铺客服</view><view class="line m-t-36"></view></view><view class="content flex-col col-center"><view class="content-view flex-col col-center bg-white text-center"><view class="flex col-center m-b-40 m-l-40" style="align-self:flex-start;"><u-image vue-id="3aa921d6-1" width="88rpx" height="88rpx" border-radius="50%" src="{{server.shop.logo}}" bind:__l="__l"></u-image><view class="lg m-l-20">{{server.shop.name}}</view></view><u-image vue-id="3aa921d6-2" width="360rpx" height="360rpx" src="{{server.config.image}}" bind:__l="__l"></u-image><block wx:if="{{server.config.wechat}}"><view data-event-opts="{{[['tap',[['onCopy',['$0'],['server.config.wechat']]]]]}}" class="flex row-center copy-btn white lg br60 m-t-50 m-b-40" bindtap="__e"> 复制去微信添加 </view></block><view class="lighter xs">{{"营业时间:"+server.config.business_time}}</view><view class="xs lighter m-t-10 flex">{{'客服电话:'+server.config.phone+''}}<view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="phone-btn m-l-30" bindtap="__e">拨打</view></view></view></view><u-modal vue-id="3aa921d6-3" content="{{'即将打电话给'+server.config.phone}}" show-cancel-button="{{true}}" confirm-text="呼叫" confirm-color="{{colorConfig.primary}}" value="{{showPhoneCall}}" data-event-opts="{{[['^confirm',[['onCall']]],['^input',[['__set_model',['','showPhoneCall','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" bind:__l="__l"></u-modal></block><block wx:else><view class="header white"><view class="title font-size-50 text-center">平台客服</view><view class="line m-t-36"></view></view><view class="content flex-col col-center"><view class="content-view flex-col col-center bg-white text-center"><u-image vue-id="3aa921d6-4" width="360rpx" height="360rpx" src="{{server.image}}" bind:__l="__l"></u-image><block wx:if="{{server.wechat}}"><view data-event-opts="{{[['tap',[['onCopy',['$0'],['server.wechat']]]]]}}" class="flex row-center copy-btn lg br60 white m-t-50 m-b-40" bindtap="__e"> 复制去微信添加 </view></block><view class="lighter xs">{{"营业时间:"+server.business_time}}</view><view class="xs lighter m-t-10 flex">{{'平台电话:'+server.phone+''}}<view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="phone-btn m-l-30" bindtap="__e">拨打</view></view></view></view><u-modal vue-id="3aa921d6-5" content="{{'即将打电话给'+server.phone}}" show-cancel-button="{{true}}" confirm-text="呼叫" confirm-color="{{colorConfig.primary}}" value="{{showPhoneCall}}" data-event-opts="{{[['^confirm',[['onCall']]],['^input',[['__set_model',['','showPhoneCall','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" bind:__l="__l"></u-modal></block></view>
|
||||
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
||||
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["bundle/pages/exchange_order/exchange_order"],{"0470":function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={data:function(){return{active:-1,order:[{name:"全部",type:""},{name:"待付款",type:0},{name:"待发货",type:1},{name:"待收货",type:2},{name:"已完成",type:3},{name:"已关闭",type:4}]}},methods:{changeShow:function(n){var e=this;-1!=n&&this.$nextTick((function(){e.active=n}))}},onLoad:function(n){var e=this.order,t=this.$Route.query.type||"",o=e.findIndex((function(n){return n.type==t}));this.changeShow(o)}}},3410:function(n,e,t){"use strict";t.r(e);var o=t("0470"),a=t.n(o);for(var r in o)["default"].indexOf(r)<0&&function(n){t.d(e,n,(function(){return o[n]}))}(r);e["default"]=a.a},8051:function(n,e,t){"use strict";t.d(e,"b",(function(){return a})),t.d(e,"c",(function(){return r})),t.d(e,"a",(function(){return o}));var o={tabs:function(){return Promise.all([t.e("common/vendor"),t.e("components/tabs/tabs")]).then(t.bind(null,"ffae"))},tab:function(){return t.e("components/tab/tab").then(t.bind(null,"9777"))},exchangeOrderList:function(){return Promise.all([t.e("common/vendor"),t.e("components/exchange-order-list/exchange-order-list")]).then(t.bind(null,"b969"))},floatTab:function(){return Promise.all([t.e("common/vendor"),t.e("components/float-tab/float-tab")]).then(t.bind(null,"3ea7"))}},a=function(){var n=this.$createElement;this._self._c},r=[]},"9b5ab":function(n,e,t){"use strict";(function(n,e){var o=t("47a9");t("3712");o(t("3240"));var a=o(t("b98f"));n.__webpack_require_UNI_MP_PLUGIN__=t,e(a.default)}).call(this,t("3223")["default"],t("df3c")["createPage"])},b98f:function(n,e,t){"use strict";t.r(e);var o=t("8051"),a=t("3410");for(var r in a)["default"].indexOf(r)<0&&function(n){t.d(e,n,(function(){return a[n]}))}(r);var u=t("828b"),c=Object(u["a"])(a["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);e["default"]=c.exports}},[["9b5ab","common/runtime","common/vendor"]]]);
|
||||
@ -0,0 +1,9 @@
|
||||
{
|
||||
"navigationBarTitleText": "兑换订单",
|
||||
"usingComponents": {
|
||||
"tabs": "/components/tabs/tabs",
|
||||
"tab": "/components/tab/tab",
|
||||
"exchange-order-list": "/components/exchange-order-list/exchange-order-list",
|
||||
"float-tab": "/components/float-tab/float-tab"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view class="user-order"><tabs vue-id="4d1c5d81-1" current="{{active}}" bar-width="60" is-scroll="{{true}}" data-event-opts="{{[['^change',[['changeShow']]]]}}" bind:change="__e" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{order}}" wx:for-item="item" wx:for-index="index" wx:key="index"><tab vue-id="{{('4d1c5d81-2-'+index)+','+('4d1c5d81-1')}}" name="{{item.name}}" bind:__l="__l" vue-slots="{{['default']}}"><exchange-order-list vue-id="{{('4d1c5d81-3-'+index)+','+('4d1c5d81-2-'+index)}}" order-type="{{item.type}}" i="{{index}}" index="{{active}}" bind:__l="__l"></exchange-order-list></tab></block></tabs><float-tab vue-id="4d1c5d81-4" bind:__l="__l"></float-tab></view>
|
||||
@ -0,0 +1 @@
|
||||
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["bundle/pages/exchange_order_details/exchange_order_details"],{"2cff":function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return r}));var r={uImage:function(){return n.e("components/uview-ui/components/u-image/u-image").then(n.bind(null,"28a8"))},priceFormat:function(){return n.e("components/price-format/price-format").then(n.bind(null,"1738"))},loadingView:function(){return n.e("components/loading-view/loading-view").then(n.bind(null,"dc350"))},orderDialog:function(){return n.e("components/order-dialog/order-dialog").then(n.bind(null,"a409"))},floatTab:function(){return Promise.all([n.e("common/vendor"),n.e("components/float-tab/float-tab")]).then(n.bind(null,"3ea7"))}},a=function(){var e=this,t=e.$createElement,n=(e._self._c,(e.orderDetail.btns.cancel_btn||e.orderDetail.btns.delivery_btn||e.orderDetail.btns.confirm_btn||e.orderDetail.btns.del_btn||e.orderDetail.btns.pay_btn)&&e.orderDetail.btns.delivery_btn?{path:"/bundle/pages/goods_logistics/goods_logistics",query:{id:e.orderDetail.id,type:"integral"}}:null);e.$mp.data=Object.assign({},{$root:{a0:n}})},i=[]},"470b":function(e,t,n){"use strict";n.r(t);var r=n("c78a"),a=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t["default"]=a.a},"483e":function(e,t,n){"use strict";var r=n("ffb0"),a=n.n(r);a.a},"7ec4":function(e,t,n){"use strict";n.r(t);var r=n("2cff"),a=n("470b");for(var i in a)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(i);n("483e");var o=n("828b"),u=Object(o["a"])(a["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],void 0);t["default"]=u.exports},c282:function(e,t,n){"use strict";(function(e,t){var r=n("47a9");n("3712");r(n("3240"));var a=r(n("7ec4"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(a.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},c78a:function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n("7eb4")),i=r(n("ee10")),o=n("0956"),u={data:function(){return{orderDetail:{goods:{},btns:{}},team:{},isFirstLoading:!0,type:0,showCancel:"",showLoading:!1}},onLoad:function(t){var n=this.$Route.query.id;this.id=n,this.getOrderDetailFun(),e.$on("payment",this.payCallback)},onUnload:function(){e.$off("payment",this.payCallback)},methods:{payCallback:function(e){var t=this;setTimeout((function(){e.result?(t.$toast({title:"支付成功"}),t.getOrderDetailFun()):t.$toast({title:"支付失败"})}),500)},confirmDialog:function(){var t=this;return(0,i.default)(a.default.mark((function n(){var r,i,u;return a.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:r=t.type,i=t.id,u=null,n.t0=r,n.next=0===n.t0?5:1===n.t0?9:2===n.t0?13:17;break;case 5:return n.next=7,(0,o.cancelIntegralOrder)(i);case 7:return u=n.sent,n.abrupt("break",17);case 9:return n.next=11,(0,o.delIntegralOrder)(i);case 11:return u=n.sent,n.abrupt("break",17);case 13:return n.next=15,(0,o.confirmIntegralOrder)(i);case 15:return u=n.sent,n.abrupt("break",17);case 17:1==u.code&&(e.$emit("refreshorder"),[0,2].includes(r)?t.getOrderDetailFun():1==r&&setTimeout((function(){e.navigateBack()}),2e3));case 18:case"end":return n.stop()}}),n)})))()},dialogOpen:function(){this.$refs.orderDialog.open()},handleOrder:function(e){var t=this;this.type=e,this.$nextTick((function(){t.dialogOpen()}))},payNow:function(){this.$Router.push({path:"/pages/payment/payment",query:{from:"integral",order_id:this.id}})},getOrderDetailFun:function(){var t=this;(0,o.getIntegralOrderDetail)(this.id).then((function(n){1==n.code?(t.orderDetail=n.data,t.$nextTick((function(){t.isFirstLoading=!1}))):setTimeout((function(){return e.navigateBack()}),1500)}))}},computed:{}};t.default=u}).call(this,n("df3c")["default"])},ffb0:function(e,t,n){}},[["c282","common/runtime","common/vendor"]]]);
|
||||
@ -0,0 +1,10 @@
|
||||
{
|
||||
"navigationBarTitleText": "兑换订单详情",
|
||||
"usingComponents": {
|
||||
"u-image": "/components/uview-ui/components/u-image/u-image",
|
||||
"price-format": "/components/price-format/price-format",
|
||||
"loading-view": "/components/loading-view/loading-view",
|
||||
"order-dialog": "/components/order-dialog/order-dialog",
|
||||
"float-tab": "/components/float-tab/float-tab"
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
||||
.order-details{position:relative;padding-bottom:calc(120rpx + env(safe-area-inset-bottom))}.order-details .contain{margin:0 20rpx 20rpx;border-radius:14rpx;background-color:#fff}.order-details .header-bg{position:absolute;top:0;width:100%;height:200rpx;background-color:#ff2c3c;z-index:0}.order-details .header{padding:24rpx 40rpx}.order-details .main{position:relative;z-index:1}.order-details .goods{padding:30rpx 24rpx}.order-details .goods .goods-name{line-height:40rpx;height:80rpx}.order-details .address-wrap{height:164rpx;padding:0 24rpx}.order-details .order-info{padding:12rpx 0}.order-details .order-info .item{padding:12rpx 24rpx}.order-details .order-info .item .title{width:180rpx;flex:none}.order-details .price{padding:24rpx 0}.order-details .price > view{height:60rpx;padding:0 24rpx}.order-details .footer{position:fixed;bottom:0;left:0;right:0;height:100rpx;padding:0 24rpx;box-sizing:initial;padding-bottom:env(safe-area-inset-bottom)}.order-details .footer .plain{border:1px solid #bbb}.order-details .footer .plain.red{border:1px solid #ff2c3c}
|
||||
1
public/mp-weixin/bundle/pages/get_coupon/get_coupon.js
Normal file
1
public/mp-weixin/bundle/pages/get_coupon/get_coupon.js
Normal file
@ -0,0 +1 @@
|
||||
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["bundle/pages/get_coupon/get_coupon"],{"09b3":function(t,n,e){"use strict";(function(t,n){var o=e("47a9");e("3712");o(e("3240"));var c=o(e("401c"));t.__webpack_require_UNI_MP_PLUGIN__=e,n(c.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])},"401c":function(t,n,e){"use strict";e.r(n);var o=e("69f6"),c=e("958a");for(var i in c)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return c[t]}))}(i);e("e03e");var u=e("828b"),a=Object(u["a"])(c["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);n["default"]=a.exports},"62fe":function(t,n,e){},"67df":function(t,n,e){"use strict";var o=e("47a9");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var c=e("0956"),i=o(e("8462")),u={mixins:[i.default],data:function(){return{active:0,upOption:{empty:{icon:"/static/images/coupon_null.png",tip:"暂无优惠券"}},tabList:[{name:"全部",type:"all"},{name:"店铺券",type:"shop"},{name:"通用券",type:"platform"}],couponList:[]}},onLoad:function(t){},methods:{upCallback:function(t){var n=this,e=this.tabList,o=this.active;(0,c.getCouponList)({page_size:t.size,page_no:t.num,type:e[o].type}).then((function(e){var o=e.data;1==t.num&&(n.couponList=[]);var c=o.lists,i=c.length,u=!!o.more;n.couponList=n.couponList.concat(c),n.mescroll.endSuccess(i,u)})).catch((function(){n.mescroll.endErr()}))},changeActive:function(t){this.active=t,this.refresh()},refresh:function(){this.couponList=[],this.mescroll.resetUpScroll()}}};n.default=u},"69f6":function(t,n,e){"use strict";e.d(n,"b",(function(){return c})),e.d(n,"c",(function(){return i})),e.d(n,"a",(function(){return o}));var o={couponList:function(){return Promise.all([e.e("common/vendor"),e.e("components/coupon-list/coupon-list")]).then(e.bind(null,"ca64"))}},c=function(){var t=this.$createElement;this._self._c},i=[]},"958a":function(t,n,e){"use strict";e.r(n);var o=e("67df"),c=e.n(o);for(var i in o)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(i);n["default"]=c.a},e03e:function(t,n,e){"use strict";var o=e("62fe"),c=e.n(o);c.a}},[["09b3","common/runtime","common/vendor"]]]);
|
||||
6
public/mp-weixin/bundle/pages/get_coupon/get_coupon.json
Normal file
6
public/mp-weixin/bundle/pages/get_coupon/get_coupon.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "领券中心",
|
||||
"usingComponents": {
|
||||
"coupon-list": "/components/coupon-list/coupon-list"
|
||||
}
|
||||
}
|
||||
1
public/mp-weixin/bundle/pages/get_coupon/get_coupon.wxml
Normal file
1
public/mp-weixin/bundle/pages/get_coupon/get_coupon.wxml
Normal file
@ -0,0 +1 @@
|
||||
<mescroll-body class="vue-ref" vue-id="e14035be-1" up="{{upOption}}" data-ref="mescrollRef" data-event-opts="{{[['^init',[['mescrollInit']]],['^down',[['downCallback']]],['^up',[['upCallback']]]]}}" bind:init="__e" bind:down="__e" bind:up="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="get-coupon"><view><image class="banner" src="../../static/banner_coupon.jpg"></image></view><view class="bg-body main"><coupon-list vue-id="{{('e14035be-2')+','+('e14035be-1')}}" list="{{couponList}}" btn-type="{{3}}" data-event-opts="{{[['^refresh',[['refresh']]]]}}" bind:refresh="__e" bind:__l="__l"></coupon-list></view></view></mescroll-body>
|
||||
1
public/mp-weixin/bundle/pages/get_coupon/get_coupon.wxss
Normal file
1
public/mp-weixin/bundle/pages/get_coupon/get_coupon.wxss
Normal file
@ -0,0 +1 @@
|
||||
.banner{width:100%;height:340rpx}.main{border-radius:20rpx 20rpx 0 0;margin-top:-20rpx;overflow:hidden;position:relative}
|
||||
@ -0,0 +1 @@
|
||||
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["bundle/pages/goods_combination/goods_combination"],{"36c5":function(n,t,e){},4437:function(n,t,e){"use strict";e.r(t);var o=e("664a"),a=e("4900");for(var i in a)["default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return a[n]}))}(i);e("8fd6");var u=e("828b"),c=Object(u["a"])(a["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);t["default"]=c.exports},4900:function(n,t,e){"use strict";e.r(t);var o=e("d35e"),a=e.n(o);for(var i in o)["default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(i);t["default"]=a.a},"664a":function(n,t,e){"use strict";e.d(t,"b",(function(){return a})),e.d(t,"c",(function(){return i})),e.d(t,"a",(function(){return o}));var o={uImage:function(){return e.e("components/uview-ui/components/u-image/u-image").then(e.bind(null,"28a8"))},priceFormat:function(){return e.e("components/price-format/price-format").then(e.bind(null,"1738"))},floatTab:function(){return Promise.all([e.e("common/vendor"),e.e("components/float-tab/float-tab")]).then(e.bind(null,"3ea7"))}},a=function(){var n=this.$createElement,t=(this._self._c,this.groupList.length);this.$mp.data=Object.assign({},{$root:{g0:t}})},i=[]},"8fd6":function(n,t,e){"use strict";var o=e("36c5"),a=e.n(o);a.a},b4cc:function(n,t,e){"use strict";(function(n,t){var o=e("47a9");e("3712");o(e("3240"));var a=o(e("4437"));n.__webpack_require_UNI_MP_PLUGIN__=e,t(a.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])},d35e:function(n,t,e){"use strict";var o=e("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=e("f4fb"),i=e("0956"),u=o(e("cc11")),c=o(e("8462")),r={mixins:[c.default,u.default],data:function(){return{page:1,groupList:[],status:a.loadingType.LOADING}},methods:{applyList:function(n){var t=this;(0,i.getGroupList)({page_size:n.size,page_no:n.num}).then((function(e){var o=e.data;console.log(o),1==n.num&&(t.groupList=[]);var a=o.list,i=a.length,u=!!o.more;t.groupList=t.groupList.concat(a),t.mescroll.endSuccess(i,u)})).catch((function(){t.mescroll.endErr()}))},upCallback:function(n){this.applyList(n)},downCallback:function(n){this.applyList(n)}}};t.default=r}},[["b4cc","common/runtime","common/vendor"]]]);
|
||||
@ -0,0 +1,8 @@
|
||||
{
|
||||
"navigationBarTitleText": "拼团活动",
|
||||
"usingComponents": {
|
||||
"u-image": "/components/uview-ui/components/u-image/u-image",
|
||||
"price-format": "/components/price-format/price-format",
|
||||
"float-tab": "/components/float-tab/float-tab"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<mescroll-body class="vue-ref" bind:init="__e" bind:down="__e" bind:up="__e" vue-id="1d02611a-1" data-ref="mescrollRef" data-event-opts="{{[['^init',[['mescrollInit']]],['^down',[['downCallback']]],['^up',[['upCallback']]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="goods-combination"><view class="header"></view><view class="main bg-primary"><view class="goods-list"><block wx:for="{{groupList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><navigator class="goods-item row mt20 bg-white" hover-class="none" url="{{'/pages/goods_details/goods_details?id='+item.goods_id}}"><u-image vue-id="{{('1d02611a-2-'+index)+','+('1d02611a-1')}}" width="180rpx" height="180rpx" border-radius="6rpx" lazy-load="{{true}}" src="{{item.image}}" bind:__l="__l"></u-image><view class="goods-info ml20"><view class="goods-name line2 mb10">{{item.name}}</view><view class="dec row"><view class="group mr20 row"><view class="group-img row-center"><image class="icon-sm" src="/static/images/icon_group_white.png"></image></view><view class="primary xxs mr10 ml10">{{item.people_num+"人团"}}</view></view><view class="sale muted xs">{{"已拼"+item.sales_volume+"件"}}</view></view><view class="info-footer row-between"><view class="price row"><price-format vue-id="{{('1d02611a-3-'+index)+','+('1d02611a-1')}}" color="#FF2C3C" subscript-size="{{26}}" second-size="{{26}}" first-size="{{34}}" price="{{item.team_min_price}}" weight="{{500}}" bind:__l="__l"></price-format><price-format class="ml10" vue-id="{{('1d02611a-4-'+index)+','+('1d02611a-1')}}" color="#999" line-through="{{true}}" subscript-size="{{24}}" first-size="{{24}}" second-size="{{24}}" price="{{item.min_price}}" bind:__l="__l"></price-format></view><button class="br60 btn white" size="sm" type="primary"> 去拼团 </button></view></view></navigator></block></view></view><block wx:if="{{$root.g0==0}}"><block><view class="column-center" style="padding-top:200rpx;text-align:center;"><text class="lg" style="color:#ffd4d8;">暂无拼团商品~</text></view></block></block><float-tab vue-id="{{('1d02611a-5')+','+('1d02611a-1')}}" bind:__l="__l"></float-tab></view></mescroll-body>
|
||||
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
||||
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["bundle/pages/goods_logistics/goods_logistics"],{"08d2":function(e,t,n){"use strict";n.r(t);var i=n("3302"),r=n("c01f");for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a);n("9653");var u=n("828b"),o=Object(u["a"])(r["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);t["default"]=o.exports},"32a2":function(e,t,n){},3302:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i}));var i={loadingView:function(){return n.e("components/loading-view/loading-view").then(n.bind(null,"dc350"))}},r=function(){var e=this.$createElement,t=(this._self._c,this.delivery.traces&&this.delivery.traces.length);this.$mp.data=Object.assign({},{$root:{g0:t}})},a=[]},"87cf":function(e,t,n){"use strict";(function(e,t){var i=n("47a9");n("3712");i(n("3240"));var r=i(n("08d2"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(r.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},9653:function(e,t,n){"use strict";var i=n("32a2"),r=n.n(i);r.a},b5b7:function(e,t,n){"use strict";(function(e){var i=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("7eb4")),a=i(n("ee10")),u=n("bd42"),o=n("0956"),c=n("0aec"),s={data:function(){return{shipment:{},buy:{},delivery:{},finish:{},order:{},take:{},isFirstLoading:!0}},onLoad:function(){this.id=this.$Route.query.id,this.type=this.$Route.query.type,this.orderTracesFun()},methods:{orderTracesFun:function(){var t=this;return(0,a.default)(r.default.mark((function n(){var i,a,c,s,d,f,l,v,h;return r.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if("integral"!=t.type){n.next=6;break}return n.next=3,(0,o.getIntegralOrderTraces)(t.id);case 3:n.t0=n.sent,n.next=9;break;case 6:return n.next=8,(0,u.orderTraces)(t.id);case 8:n.t0=n.sent;case 9:i=n.t0,a=i.code,c=i.data,s=c.shipment,d=c.buy,f=c.delivery,l=c.finish,v=c.order,h=c.take,1==a?(t.shipment=s,t.buy=d,t.delivery=f,t.finish=l,t.order=v,t.take=h,t.isFirstLoading=!1):setTimeout((function(){return e.navigateBack()}),1e3);case 19:case"end":return n.stop()}}),n)})))()},onCopy:function(){(0,c.copy)(this.order.invoice_no)}}};t.default=s}).call(this,n("df3c")["default"])},c01f:function(e,t,n){"use strict";n.r(t);var i=n("b5b7"),r=n.n(i);for(var a in i)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(a);t["default"]=r.a}},[["87cf","common/runtime","common/vendor"]]]);
|
||||
@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "物流详情",
|
||||
"usingComponents": {
|
||||
"loading-view": "/components/loading-view/loading-view"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view><view class="goods-logistics p-t-20"><view class="header flex bg-white"><view class="goods m-r-20"><image class="goods-img" src="{{order.image}}"></image><view class="count xs white br60">{{"共"+order.count+"件商品"}}</view></view><view class="info sm"><view class="bold lg">{{order.tips}}</view><view class="black m-t-10 m-b-10">{{"物流公司:"+order.shipping_name}}</view><view class="row"><text class="black">{{"快递单号:"+order.invoice_no}}</text><text data-event-opts="{{[['tap',[['onCopy',['$event']]]]]}}" class="primary m-l-20" bindtap="__e">复制</text></view></view></view><view class="main m-t-20 bg-white column"><view class="express"><block wx:if="{{take.contacts}}"><view class="express-address row"><view class="express-left flex-col col-center"><image class="express-icon" src="{{finish.tips?'/bundle/static/logistics_address.png':'/bundle/static/logistics_address_gray.png'}}"></image><view class="express-line"></view></view><view class="express-right"><view class="name bold mb10 sm">{{take.contacts+" "+take.mobile}}</view><view class="address sm lighter line2">{{take.address}}</view></view></view></block><block wx:if="{{finish.tips}}"><view class="express-item row"><view class="express-left flex-col col-center"><image class="express-icon" src="/bundle/static/logistics_success.png"></image><view class="express-line"></view></view><view class="express-right"><view class="title bold sm">{{finish.title}}</view><view class="dec sm">{{finish.tips}}</view><view class="time xs muted">{{finish.time}}</view></view></view></block><block wx:if="{{$root.g0}}"><view class="express-item row"><view class="express-left flex-col col-center"><image class="express-icon" src="/bundle/static/logistics_transit.png"></image><view class="express-line"></view></view><view class="express-right muted"><view class="title bold sm">{{delivery.title}}</view><block wx:if="{{delivery.traces[0][2]}}"><view class="xs">{{''+delivery.traces[0][2]+''}}</view></block><block wx:if="{{delivery.traces[0][1]}}"><view class="xs">{{''+delivery.traces[0][1]+''}}</view></block></view></view></block><block wx:for="{{delivery.traces}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><block wx:if="{{index>=1}}"><view class="express-item row"><view class="express-left flex-col col-center"><view class="express-doted"></view><view class="express-line"></view></view><view class="express-right muted"><block wx:if="{{item[2]}}"><view class="sm">{{item[2]}}</view></block><block wx:if="{{item[1]}}"><view class="sm">{{item[1]}}</view></block></view></view></block></block></block><block wx:if="{{shipment.tips}}"><view class="express-item row"><view class="express-left flex-col col-center"><image class="express-icon" src="/bundle/static/logistics_delivered.png"></image><view class="express-line"></view></view><view class="express-right muted"><view class="title bold sm">{{shipment.title}}</view><view class="dec xs">{{shipment.tips}}</view><view class="time xs muted">{{shipment.time}}</view></view></view></block><block wx:if="{{buy.tips}}"><view class="express-item row"><view class="express-left flex-col col-center"><image class="express-icon" src="/bundle/static/logistics_pay.png"></image><view class="express-line"></view></view><view class="express-right muted"><view class="title bold sm">{{buy.title}}</view><view class="dec xs">{{buy.tips}}</view><view class="time xs muted">{{buy.time}}</view></view></view></block></view></view></view><recommend vue-id="68b3ecaa-1" bind:__l="__l"></recommend><block wx:if="{{isFirstLoading}}"><loading-view vue-id="68b3ecaa-2" bind:__l="__l"></loading-view></block></view>
|
||||
@ -0,0 +1,2 @@
|
||||
.goods-logistics{padding-top:20rpx}.goods-logistics .header{padding:20rpx}.goods-logistics .header .goods-img{width:160rpx;height:160rpx;flex:none;border-radius:10rpx}.goods-logistics .goods{position:relative}.goods-logistics .goods .count{position:absolute;bottom:0;width:100%;text-align:center;background-color:rgba(0,0,0,.6);padding:4rpx 0}.goods-logistics .express{width:700rpx;padding-top:30rpx;padding-bottom:100rpx;margin:0 auto;border-radius:10rpx}.goods-logistics .express-address,
|
||||
.goods-logistics .express-item{align-items:flex-start;position:relative;padding:20rpx 0}.goods-logistics .express-left{margin-top:10rpx;margin-right:24rpx;height:100%;position:absolute;width:40rpx;flex:none}.goods-logistics .express-left .express-icon{width:40rpx;height:40rpx}.goods-logistics .express-left .express-line{flex:1;border-left:1px dotted #e5e5e5}.goods-logistics .express-left .express-doted{width:16rpx;height:16rpx;border-radius:50%;background-color:#e5e5e5}.goods-logistics .express-right{padding-left:60rpx}.goods-logistics .express-right .title, .goods-logistics .express-right .dec{margin-bottom:5rpx}.goods-logistics .express-item:last-of-type .express-left .express-line{border:none}
|
||||
@ -0,0 +1 @@
|
||||
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["bundle/pages/goods_reviews/goods_reviews"],{2028:function(t,e,n){"use strict";n.r(e);var o=n("d07f"),i=n.n(o);for(var u in o)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(u);e["default"]=i.a},6642:function(t,e,n){"use strict";var o=n("983c"),i=n.n(o);i.a},"983c":function(t,e,n){},b9c6:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return o}));var o={uImage:function(){return n.e("components/uview-ui/components/u-image/u-image").then(n.bind(null,"28a8"))},priceFormat:function(){return n.e("components/price-format/price-format").then(n.bind(null,"1738"))},uRate:function(){return n.e("components/uview-ui/components/u-rate/u-rate").then(n.bind(null,"49b8"))},uInput:function(){return Promise.all([n.e("common/vendor"),n.e("components/uview-ui/components/u-input/u-input")]).then(n.bind(null,"2fc6"))},uUpload:function(){return n.e("components/uview-ui/components/u-upload/u-upload").then(n.bind(null,"55a9"))}},i=function(){var t=this.$createElement,e=(this._self._c,{token:this.$store.getters.token});this.$mp.data=Object.assign({},{$root:{a0:e}})},u=[]},d07f:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n("a381"),i=n("25af"),u=(n("0aec"),{data:function(){return{action:o.baseURL+"/api/file/formimage",goodsRate:0,descRate:0,serverRate:0,deliveryRate:0,goodsRateDesc:"",fileList:[],goodsInfo:{shop:{},goods_item:{}},comment:"",type:""}},onLoad:function(){this.id=this.$Route.query.id,this.getCommentInfoFun()},methods:{onSuccess:function(t){this.fileList.push(t.data.base_uri)},onRemove:function(t){this.fileList.splice(t,1)},goodsRateChange:function(t){var e="";e=t<=2?"差评":3==t?"中评":"好评",this.goodsRateDesc=e},onSubmit:function(){var e=this,n=this.goodsRate,o=this.fileList,u=this.comment,s=this.deliveryRate,c=this.descRate,a=this.serverRate;return n?c?a?s?void(0,i.goodsComment)({order_goods_id:parseInt(this.id),goods_comment:n,service_comment:a,express_comment:s,description_comment:c,comment:u,image:o}).then((function(n){1==n.code&&(e.$toast({title:"评价成功"},{tab:3,url:1}),t.$emit("refreshcomment"))})):this.$toast({title:"请对配送服务进行评分"}):this.$toast({title:"请对服务态度进行评分"}):this.$toast({title:"请对描述相符进行评分"}):this.$toast({title:"请对商品进行评分"})},getCommentInfoFun:function(){var t=this;(0,i.getCommentInfo)({order_goods_id:this.id}).then((function(e){1==e.code&&(t.goodsInfo=e.data)}))}}});e.default=u}).call(this,n("df3c")["default"])},d77c:function(t,e,n){"use strict";(function(t,e){var o=n("47a9");n("3712");o(n("3240"));var i=o(n("f2c4"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(i.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},f2c4:function(t,e,n){"use strict";n.r(e);var o=n("b9c6"),i=n("2028");for(var u in i)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(u);n("6642");var s=n("828b"),c=Object(s["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);e["default"]=c.exports}},[["d77c","common/runtime","common/vendor"]]]);
|
||||
@ -0,0 +1,10 @@
|
||||
{
|
||||
"navigationBarTitleText": "商品评价",
|
||||
"usingComponents": {
|
||||
"u-image": "/components/uview-ui/components/u-image/u-image",
|
||||
"price-format": "/components/price-format/price-format",
|
||||
"u-rate": "/components/uview-ui/components/u-rate/u-rate",
|
||||
"u-input": "/components/uview-ui/components/u-input/u-input",
|
||||
"u-upload": "/components/uview-ui/components/u-upload/u-upload"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view class="goods-reviews"><view class="bg-white flex p-20"><u-image vue-id="400cd85b-1" width="160rpx" height="160rpx" border-radius="6rpx" src="{{goodsInfo.goods_item.image}}" bind:__l="__l"></u-image><view class="goods-desc flex-1 m-l-24"><view class="goods-name line-2">{{goodsInfo.goods_name}}</view><view class="m-t-10 xs muted">{{goodsInfo.goods_item.spec_value_str}}</view><view class="flex row-between m-t-20"><price-format vue-id="400cd85b-2" price="{{goodsInfo.goods_price}}" subscript-size="{{26}}" first-size="{{30}}" second-size="{{30}}" bind:__l="__l"></price-format><view class="nr">{{"x"+goodsInfo.goods_num}}</view></view></view></view><view class="goods-evaluate bg-white flex"><view class="lable">商品评价</view><u-rate vue-id="400cd85b-3" name="goodsRate" count="{{5}}" size="{{42}}" active-color="#FF2C3C" value="{{goodsRate}}" data-event-opts="{{[['^change',[['goodsRateChange']]],['^input',[['__set_model',['','goodsRate','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></u-rate><view hidden="{{!(!(goodsRate==0))}}" class="{{['desc '+(goodsRate<=2?'muted':'primary')+' ']}}">{{''+goodsRateDesc+''}}</view></view><view class="bg-white p-20 lighter">{{goodsInfo.shop.name}}</view><view class="rate bg-white"><view class="item flex m-b-20"><view class="lable">描述相符</view><u-rate bind:input="__e" vue-id="400cd85b-4" name="descRate" size="{{42}}" active-color="#FF2C3C" value="{{descRate}}" data-event-opts="{{[['^input',[['__set_model',['','descRate','$event',[]]]]]]}}" bind:__l="__l"></u-rate></view><view class="item flex m-b-20"><view class="lable">服务态度</view><u-rate bind:input="__e" vue-id="400cd85b-5" name="serverRate" size="{{42}}" active-color="#FF2C3C" value="{{serverRate}}" data-event-opts="{{[['^input',[['__set_model',['','serverRate','$event',[]]]]]]}}" bind:__l="__l"></u-rate></view><view class="item flex m-b-20"><view class="lable">配送服务</view><u-rate bind:input="__e" vue-id="400cd85b-6" name="deliveryRate" size="{{42}}" active-color="#FF2C3C" value="{{deliveryRate}}" data-event-opts="{{[['^input',[['__set_model',['','deliveryRate','$event',[]]]]]]}}" bind:__l="__l"></u-rate></view></view><view class="goods-dec bg-white m-t-20"><view class="title m-b-20 md bold">商品描述</view><view class="p-20" style="background-color:#F8F8F8;"><u-input bind:input="__e" vue-id="400cd85b-7" type="textarea" placeholder="宝贝收到还满意吗,说说你的使用心得。分享给想买的他们吧!!" border="{{false}}" height="{{160}}" value="{{comment}}" data-event-opts="{{[['^input',[['__set_model',['','comment','$event',[]]]]]]}}" bind:__l="__l"></u-input></view><view class="m-t-20"><u-upload class="vue-ref" vue-id="400cd85b-8" show-progress="{{false}}" header="{{$root.a0}}" max-count="{{8}}" width="150" height="150" action="{{action}}" upload-text="上传图片" data-ref="uUpload" data-event-opts="{{[['^onSuccess',[['onSuccess']]],['^onRemove',[['onRemove']]]]}}" bind:onSuccess="__e" bind:onRemove="__e" bind:__l="__l"></u-upload></view><view class="muted m-t-20 m-b-10">支持jpg、png、jpeg格式的图片,最多可上传8张</view></view><button class="btn br60" type="primary" size="lg" data-event-opts="{{[['tap',[['onSubmit',['$event']]]]]}}" bindtap="__e">立即评价</button></view>
|
||||
@ -0,0 +1 @@
|
||||
.goods-reviews{padding:20rpx 0 40rpx}.goods-reviews .rate{padding:20rpx 20rpx}.goods-reviews .lable{width:170rpx}.goods-reviews .goods-dec{padding:30rpx 20rpx}.goods-reviews .btn{width:698rpx;margin:30rpx 26rpx 0}.goods-reviews .goods-evaluate{padding:20rpx;border:1rpx solid #f2f2f2}
|
||||
@ -0,0 +1 @@
|
||||
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["bundle/pages/goods_seckill/goods_seckill"],{"17d5":function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return i}));var i={adSwipers:function(){return n.e("components/ad-swipers/ad-swipers").then(n.bind(null,"0791"))},uImage:function(){return n.e("components/uview-ui/components/u-image/u-image").then(n.bind(null,"28a8"))},priceFormat:function(){return n.e("components/price-format/price-format").then(n.bind(null,"1738"))}},c=function(){var e=this,t=e.$createElement,n=(e._self._c,e.__map(e.seckillGoods,(function(t,n){var i=e.__get_orig(t),c={path:"/pages/goods_details/goods_details",query:{id:t.goods_id}};return{$orig:i,a0:c}})));e.$mp.data=Object.assign({},{$root:{l0:n}})},o=[]},"4b9e":function(e,t,n){"use strict";(function(e,t){var i=n("47a9");n("3712");i(n("3240"));var c=i(n("69e5"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(c.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},"69e5":function(e,t,n){"use strict";n.r(t);var i=n("17d5"),c=n("89ec");for(var o in c)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return c[e]}))}(o);n("dc5c");var r=n("828b"),s=Object(r["a"])(c["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);t["default"]=s.exports},"89ec":function(e,t,n){"use strict";n.r(t);var i=n("d057"),c=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);t["default"]=c.a},d057:function(e,t,n){"use strict";var i=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=i(n("7eb4")),o=i(n("ee10")),r=n("0956"),s=i(n("8462")),a={mixins:[s.default],data:function(){return{active:0,upOption:{auto:!1,empty:{use:!0,icon:"/static/images/goods_null.png",tip:"暂无秒杀商品~"}},seckillTime:[],seckillGoods:[]}},methods:{downCallback:function(e){var t=this;return(0,o.default)(c.default.mark((function e(){return c.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.seckillGoods=[],e.next=3,t.getSeckillTimeFun();case 3:t.mescroll.resetUpScroll();case 4:case"end":return e.stop()}}),e)})))()},upCallback:function(e){var t=this,n=e.num,i=e.size,c=this.seckillTime,o=this.active;if(!c.length)return this.mescroll.endSuccess(0,!1);var s=c[o].id;(0,r.getSeckillGoods)({page_no:n,page_size:i,seckill_id:s}).then((function(e){var i=e.data.lists,c=!!e.data.more,o=i.length;1==n&&(t.seckillGoods=[]),t.seckillGoods=t.seckillGoods.concat(i),t.mescroll.endSuccess(o,c)})).catch((function(){t.mescroll.endErr()}))},getSeckillTimeFun:function(){var e=this;return new Promise((function(t){(0,r.getSeckillTime)().then((function(n){var i=n.code,c=n.data;if(1==i){var o=c.findIndex((function(e){return 1==e.status}));-1==o&&(o=c.findIndex((function(e){return 0==e.status}))),-1==o&&(o=c.length-1),e.seckillTime=c,e.$nextTick((function(){this.active=o,t()}))}}))}))},exchangeTime:function(e){this.active=e,this.seckillGoods=[],this.mescroll.resetUpScroll()}},computed:{currentStatus:function(){var e=this.active,t=this.seckillTime;return t[e]&&t[e].status}}};t.default=a},dc5c:function(e,t,n){"use strict";var i=n("e3ac"),c=n.n(i);c.a},e3ac:function(e,t,n){}},[["4b9e","common/runtime","common/vendor"]]]);
|
||||
@ -0,0 +1,8 @@
|
||||
{
|
||||
"navigationBarTitleText": "限时秒杀",
|
||||
"usingComponents": {
|
||||
"ad-swipers": "/components/ad-swipers/ad-swipers",
|
||||
"u-image": "/components/uview-ui/components/u-image/u-image",
|
||||
"price-format": "/components/price-format/price-format"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<mescroll-body class="vue-ref" vue-id="8e8ec39a-1" up="{{upOption}}" data-ref="mescrollRef" data-event-opts="{{[['^init',[['mescrollInit']]],['^down',[['downCallback']]],['^up',[['upCallback']]]]}}" bind:init="__e" bind:down="__e" bind:up="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="goods-seckill"><view class="banner"><ad-swipers vue-id="{{('8e8ec39a-2')+','+('8e8ec39a-1')}}" pid="{{20}}" height="340rpx" bind:__l="__l"></ad-swipers></view><view class="time-list"><scroll-view style="height:120rpx;white-space:nowrap;" scroll-into-view="{{'item-'+(active-2)}}" scroll-x="true" scroll-with-animation="true"><block wx:for="{{seckillTime}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['time-item','flex-col','row-center','col-center',(index==active)?'active':'']}}" id="{{'item-'+index}}" data-event-opts="{{[['tap',[['exchangeTime',[index]]]]]}}" bindtap="__e"><view class="{{['xl bold time']}}">{{item.start_time}}</view><view class="{{['sm br60 state '+(item.status===2?'muted':'')]}}">{{''+item.tips+''}}</view></view></block></scroll-view></view><view class="goods-list"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><router-link vue-id="{{('8e8ec39a-3-'+index)+','+('8e8ec39a-1')}}" to="{{item.a0}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="goods-item flex bg-white"><u-image vue-id="{{('8e8ec39a-4-'+index)+','+('8e8ec39a-3-'+index)}}" width="180rpx" height="180rpx" border-radius="10rpx" src="{{item.$orig.goods_image}}" bind:__l="__l"></u-image><view class="goods-info m-l-20"><view class="goods-name line-2 m-b-10" style="width:490rpx;">{{item.$orig.goods_name}}</view><label class="sale-info xs primary br60">{{'已抢'+item.$orig.seckill_total+'件'}}</label><view class="info-footer flex row-between m-t-5"><view class="price"><price-format class="m-r-10" vue-id="{{('8e8ec39a-5-'+index)+','+('8e8ec39a-3-'+index)}}" price="{{item.$orig.seckill_price}}" color="{{colorConfig.primary}}" first-ize="{{34}}" second-ize="{{26}}" subscript-ize="{{26}}" bind:__l="__l"></price-format><price-format class="line-through" vue-id="{{('8e8ec39a-6-'+index)+','+('8e8ec39a-3-'+index)}}" price="{{item.$orig.goods_min_price}}" color="{{colorConfig.muted}}" first-ize="{{24}}" second-ize="{{24}}" subscript-ize="{{24}}" bind:__l="__l"></price-format></view><button class="{{['br60 white '+(currentStatus==2?' bg-gray':currentStatus==1?'primary-btn':'border-btn')]}}" size="sm">{{''+(currentStatus==2?'已结束':currentStatus==1?'立即抢购':'未开始')}}</button></view></view></view></router-link></block></view></view></mescroll-body>
|
||||
@ -0,0 +1 @@
|
||||
.bg-gray{background-color:#ccc!important}.goods-seckill .time-list .time-item{display:inline-flex;width:160rpx;height:100%}.goods-seckill .time-list .time-item.active .time{color:#ff2c3c}.goods-seckill .time-list .time-item.active .state{color:#fff;background-color:#ff2c3c}.goods-seckill .time-list .time-item .state{padding:0 10rpx}.goods-seckill .endtime-box{height:100rpx}.goods-seckill .endtime-box .line{width:100rpx;height:2rpx;background-color:#ccc}.goods-seckill .goods-list .goods-item{padding:30rpx}.goods-seckill .goods-list .goods-item .goods-info{flex:1;width:470rpx}.goods-seckill .goods-list .goods-item .goods-info .sale-info{padding:4rpx 16rpx;background-color:#ffe9eb}.goods-seckill .goods-list .goods-item .goods-info .info-footer .btn{padding:0 30rpx}.primary-btn{padding:0 30rpx;background:linear-gradient(270deg,#ff2c3c,#f95f2f)}.border-btn{padding:0 30rpx;border:1px solid #ff2c3c;color:#ff2c3c}
|
||||
@ -0,0 +1 @@
|
||||
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["bundle/pages/input_express_info/input_express_info"],{"3a3f":function(t,e,n){},5940:function(t,e,n){"use strict";(function(t,e){var i=n("47a9");n("3712");i(n("3240"));var u=i(n("5a77"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(u.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},"5a77":function(t,e,n){"use strict";n.r(e);var i=n("5c28"),u=n("6d97");for(var o in u)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return u[t]}))}(o);n("5d96");var r=n("828b"),a=Object(r["a"])(u["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=a.exports},"5c28":function(t,e,n){"use strict";n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return i}));var i={uField:function(){return n.e("components/uview-ui/components/u-field/u-field").then(n.bind(null,"e849"))},uUpload:function(){return n.e("components/uview-ui/components/u-upload/u-upload").then(n.bind(null,"55a9"))}},u=function(){var t=this.$createElement,e=(this._self._c,{token:this.$store.getters.token});this.$mp.data=Object.assign({},{$root:{a0:e}})},o=[]},"5d96":function(t,e,n){"use strict";var i=n("3a3f"),u=n.n(i);u.a},"6d97":function(t,e,n){"use strict";n.r(e);var i=n("f24d"),u=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=u.a},f24d:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("25af"),u=n("a381"),o={data:function(){return{action:u.baseURL+"/api/file/formimage",fileList:[],formInfo:{express:"",number:"",remark:""}}},onLoad:function(){this.id=this.$Route.query.id},methods:{onSuccess:function(t){this.fileList.push(t.data.base_uri)},onRemove:function(t){this.fileList.splice(t,1)},formSubmit:function(e){var n=this,u=this.fileList,o=this.formInfo,r=o.express,a=o.number,s=o.remark;if(!r)return this.$toast({title:"请填写物流公司名称"});if(!a)return this.$toast({title:"请填写快递单号"});var f={id:this.id,express_name:r,invoice_no:a,express_remark:s,express_image:u.length?u[0]:""};(0,i.inputExpressInfo)(f).then((function(e){1==e.code&&(n.$toast({title:"提交成功"},{tab:3,url:1}),t.$emit("refreshsale"))}))}}};e.default=o}).call(this,n("df3c")["default"])}},[["5940","common/runtime","common/vendor"]]]);
|
||||
@ -0,0 +1,7 @@
|
||||
{
|
||||
"navigationBarTitleText": "填写快递单号",
|
||||
"usingComponents": {
|
||||
"u-field": "/components/uview-ui/components/u-field/u-field",
|
||||
"u-upload": "/components/uview-ui/components/u-upload/u-upload"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view class="input-express-info p-t-20"><view class="input-contain bg-white"><u-field bind:input="__e" vue-id="33baba01-1" border-bottom="{{false}}" label="物流公司" placeholder="请输入物流公司名称" value="{{formInfo.express}}" data-event-opts="{{[['^input',[['__set_model',['$0','express','$event',[]],['formInfo']]]]]}}" bind:__l="__l"></u-field><u-field bind:input="__e" vue-id="33baba01-2" border-bottom="{{false}}" label="快递单号" placeholder="请输入快递单号" value="{{formInfo.number}}" data-event-opts="{{[['^input',[['__set_model',['$0','number','$event',[]],['formInfo']]]]]}}" bind:__l="__l"></u-field><u-field bind:input="__e" vue-id="33baba01-3" border-bottom="{{false}}" label="备注说明" placeholder="选填" value="{{formInfo.remark}}" data-event-opts="{{[['^input',[['__set_model',['$0','remark','$event',[]],['formInfo']]]]]}}" bind:__l="__l"></u-field></view><view class="upload-contain bg-white m-t-20"><view class="header flex"><view class="normal">上传凭证</view><view class="sm muted m-l-20">(请上传快递单号凭证)</view></view><view class="upload"><u-upload class="vue-ref" vue-id="33baba01-4" show-progress="{{false}}" header="{{$root.a0}}" max-count="{{1}}" width="160" height="160" action="{{action}}" upload-text="上传图片" data-ref="uUpload" data-event-opts="{{[['^onSuccess',[['onSuccess']]],['^onRemove',[['onRemove']]]]}}" bind:onSuccess="__e" bind:onRemove="__e" bind:__l="__l"></u-upload></view></view><view class="submit-btn"><button class="br60 bg-primary white lg" size="lg" data-event-opts="{{[['tap',[['formSubmit',['$event']]]]]}}" bindtap="__e">提交</button></view></view>
|
||||
@ -0,0 +1 @@
|
||||
.input-contain .input-item{padding:24rpx}.input-item .label{width:152rpx}.input-item .input{flex:1}.upload-contain{padding:24rpx 20rpx 44rpx}.upload-contain .header{margin-bottom:30rpx}.submit-btn{margin-top:50rpx;margin-left:26rpx;margin-right:26rpx}
|
||||
@ -0,0 +1 @@
|
||||
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["bundle/pages/integral_details/integral_details"],{"2ed1":function(t,e,n){},5493:function(t,e,n){"use strict";(function(t,e){var a=n("47a9");n("3712");a(n("3240"));var i=a(n("73b0"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(i.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},5841:function(t,e,n){"use strict";var a=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a(n("af34")),r=n("25af"),u=a(n("8462")),c={mixins:[u.default],data:function(){return{integralList:[]}},methods:{upCallback:function(t){var e=this,n=t.num,a=t.size;(0,r.getAccountLog)({page_no:n,page_size:a,source:2}).then((function(t){var a=t.data,r=t.code;if(1!=r)return e.mescroll.endErr();1===n&&(e.integralList=[]),e.integralList=[].concat((0,i.default)(e.integralList),(0,i.default)(a.list)),e.mescroll.endSuccess(a.list.length,!!a.more)})).catch((function(t){e.mescroll.endErr()}))}}};e.default=c},"73b0":function(t,e,n){"use strict";n.r(e);var a=n("f212"),i=n("7813");for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n("e5f8");var u=n("828b"),c=Object(u["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);e["default"]=c.exports},7813:function(t,e,n){"use strict";n.r(e);var a=n("5841"),i=n.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(r);e["default"]=i.a},e5f8:function(t,e,n){"use strict";var a=n("2ed1"),i=n.n(a);i.a},f212:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var a=function(){var t=this.$createElement;this._self._c;this.$mp.data=Object.assign({},{$root:{a0:{noMoreSize:10,empty:{icon:"/static/images/order_null.png",tip:"暂无积分明细~",fixed:!1}}}})},i=[]}},[["5493","common/runtime","common/vendor"]]]);
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"navigationBarTitleText": "积分明细",
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view class="integral-details"><mescroll-body class="vue-ref" vue-id="69345a21-1" up="{{$root.a0}}" data-ref="mescrollRef" data-event-opts="{{[['^init',[['mescrollInit']]],['^down',[['downCallback']]],['^up',[['upCallback']]]]}}" bind:init="__e" bind:down="__e" bind:up="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="integral-lists"><block wx:for="{{integralList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item flex row-between bg-white"><view><view class="nr">{{''+item.source_type+''}}</view><view class="xs muted m-t-10">{{''+item.create_time+''}}</view></view><view class="{{['lg '+(item.change_type==1?'primary':'')]}}">{{''+item.change_amount_format+''}}</view></view></block></view></mescroll-body></view>
|
||||
@ -0,0 +1 @@
|
||||
.integral-lists{padding-top:20rpx}.integral-lists .item{padding:18rpx 30rpx;position:relative}.integral-lists .item:not(:last-of-type){border-bottom:1px solid #e5e5e5}
|
||||
@ -0,0 +1 @@
|
||||
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["bundle/pages/integral_goods_details/integral_goods_details"],{"1db8":function(n,e,t){"use strict";var o=t("5c84"),i=t.n(o);i.a},"27e5":function(n,e,t){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=t("0956"),i={data:function(){return{isFirstLoading:!0,goodsDetails:{},count:1,showSpec:!1}},methods:{getGoodsDetails:function(){var n=this;(0,o.getIntegralGoodsDetail)({id:this.id}).then((function(e){1==e.code&&(n.goodsDetails=e.data)})).finally((function(){n.isFirstLoading=!1}))},previewImage:function(e){n.previewImage({current:e,urls:[e]})},toSettlement:function(){this.$Router.push({path:"/bundle/pages/integral_settlement/integral_settlement",query:{id:this.id,count:this.count}})}},onLoad:function(){this.id=this.$Route.query.id,this.getGoodsDetails()},onShareAppMessage:function(){var n=this.goodsDetails;return{title:n.name,imageUrl:n.image,path:"/bundle/pages/integral_goods_details/integral_goods_details?id="+this.id+"&invite_code="+this.$store.getters.inviteCode}}};e.default=i}).call(this,t("df3c")["default"])},"4f05":function(n,e,t){"use strict";(function(n,e){var o=t("47a9");t("3712");o(t("3240"));var i=o(t("8850"));n.__webpack_require_UNI_MP_PLUGIN__=t,e(i.default)}).call(this,t("3223")["default"],t("df3c")["createPage"])},"5c84":function(n,e,t){},8850:function(n,e,t){"use strict";t.r(e);var o=t("aa35"),i=t("a58f");for(var u in i)["default"].indexOf(u)<0&&function(n){t.d(e,n,(function(){return i[n]}))}(u);t("1db8");var a=t("828b"),r=Object(a["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);e["default"]=r.exports},a58f:function(n,e,t){"use strict";t.r(e);var o=t("27e5"),i=t.n(o);for(var u in o)["default"].indexOf(u)<0&&function(n){t.d(e,n,(function(){return o[n]}))}(u);e["default"]=i.a},aa35:function(n,e,t){"use strict";t.d(e,"b",(function(){return i})),t.d(e,"c",(function(){return u})),t.d(e,"a",(function(){return o}));var o={uImage:function(){return t.e("components/uview-ui/components/u-image/u-image").then(t.bind(null,"28a8"))},priceFormat:function(){return t.e("components/price-format/price-format").then(t.bind(null,"1738"))},uIcon:function(){return t.e("components/uview-ui/components/u-icon/u-icon").then(t.bind(null,"8f08"))},uParse:function(){return Promise.all([t.e("common/vendor"),t.e("components/uview-ui/components/u-parse/u-parse")]).then(t.bind(null,"b933"))},floatTab:function(){return Promise.all([t.e("common/vendor"),t.e("components/float-tab/float-tab")]).then(t.bind(null,"3ea7"))},uPopup:function(){return t.e("components/uview-ui/components/u-popup/u-popup").then(t.bind(null,"b12c"))},uNumberBox:function(){return t.e("components/uview-ui/components/u-number-box/u-number-box").then(t.bind(null,"e5e8"))},loadingView:function(){return t.e("components/loading-view/loading-view").then(t.bind(null,"dc350"))}},i=function(){var n=this,e=n.$createElement;n._self._c;n._isMounted||(n.e0=function(e){n.showSpec=!0})},u=[]}},[["4f05","common/runtime","common/vendor"]]]);
|
||||
@ -0,0 +1,13 @@
|
||||
{
|
||||
"navigationBarTitleText": "积分兑换详情",
|
||||
"usingComponents": {
|
||||
"u-image": "/components/uview-ui/components/u-image/u-image",
|
||||
"price-format": "/components/price-format/price-format",
|
||||
"u-icon": "/components/uview-ui/components/u-icon/u-icon",
|
||||
"u-parse": "/components/uview-ui/components/u-parse/u-parse",
|
||||
"float-tab": "/components/float-tab/float-tab",
|
||||
"u-popup": "/components/uview-ui/components/u-popup/u-popup",
|
||||
"u-number-box": "/components/uview-ui/components/u-number-box/u-number-box",
|
||||
"loading-view": "/components/loading-view/loading-view"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view class="integral-goods-details"><view data-event-opts="{{[['tap',[['previewImage',['$0'],['goodsDetails.image']]]]]}}" class="goods-image" bindtap="__e"><u-image vue-id="9cf235fe-1" src="{{goodsDetails.image}}" width="100%" height="750rpx" bind:__l="__l"></u-image></view><view class="goods-info bg-white"><view class="info-header flex"><view class="price flex flex-1"><view class="primary m-r-10"><price-format vue-id="9cf235fe-2" first-size="{{38}}" second-size="{{24}}" price="{{goodsDetails.need_integral}}" weight="{{500}}" show-subscript="{{false}}" bind:__l="__l"></price-format><text class="xs">积分</text><block wx:if="{{goodsDetails.exchange_way===2}}"><block><text>+</text><price-format vue-id="9cf235fe-3" show-subscript="{{false}}" first-size="{{38}}" second-size="{{24}}" weight="{{500}}" price="{{goodsDetails.need_money}}" bind:__l="__l"></price-format><text class="xs">元</text></block></block></view><block wx:if="{{goodsDetails.market_price>0}}"><view class="muted xs"> 市场价 <price-format vue-id="9cf235fe-4" first-size="{{24}}" second-size="{{24}}" subscript-size="{{24}}" price="{{goodsDetails.market_price}}" bind:__l="__l"></price-format></view></block></view><view class="muted xs">{{'已兑换:'+goodsDetails.sales+''}}</view></view><view class="name lg bold">{{goodsDetails.name}}</view></view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="goods-spec flex bg-white m-t-20" bindtap="__e"><view class="label muted">已选</view><view class="line-1 m-r-20 flex-1">{{"数量x"+count}}</view><u-icon vue-id="9cf235fe-5" name="arrow-right" color="{{colorConfig.muted}}" bind:__l="__l"></u-icon></view><view class="goods-details m-t-20 bg-white"><view class="details-title lg">商品详情</view><view class="details-content"><u-parse vue-id="9cf235fe-6" html="{{goodsDetails.content}}" lazy-load="{{true}}" show-with-animation="{{true}}" bind:__l="__l"></u-parse></view></view><view class="goods-footer bg-white flex"><button class="right-btn flex-1 br60" type="primary" disabled="{{!goodsDetails.stock}}" data-event-opts="{{[['tap',[['toSettlement',['$event']]]]]}}" bindtap="__e"> 立即兑换 </button></view><float-tab vue-id="9cf235fe-7" bind:__l="__l"></float-tab><view class="spec-popup"><u-popup bind:input="__e" vue-id="9cf235fe-8" mode="bottom" border-radius="14" closeable="{{true}}" safe-area-inset-bottom="{{true}}" value="{{showSpec}}" data-event-opts="{{[['^input',[['__set_model',['','showSpec','$event',[]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="bg-white spec-contain"><view class="spec-header flex"><u-image class="m-r-20" vue-id="{{('9cf235fe-9')+','+('9cf235fe-8')}}" width="160rpx" height="160rpx" border-radius="10rpx" src="{{goodsDetails.image}}" data-event-opts="{{[['^click',[['previewImage',['$0'],['goodsDetails.image']]]]]}}" bind:click="__e" bind:__l="__l"></u-image><view class="goods-info"><view class="primary flex"><price-format vue-id="{{('9cf235fe-10')+','+('9cf235fe-8')}}" first-size="{{38}}" second-size="{{24}}" price="{{goodsDetails.need_integral}}" weight="{{500}}" show-subscript="{{false}}" bind:__l="__l"></price-format><text class="xs">积分</text><block wx:if="{{goodsDetails.exchange_way===2}}"><block><text>+</text><price-format vue-id="{{('9cf235fe-11')+','+('9cf235fe-8')}}" show-subscript="{{false}}" weight="{{500}}" first-size="{{38}}" second-size="{{24}}" price="{{goodsDetails.need_money}}" bind:__l="__l"></price-format><text class="xs">元</text></block></block></view><view class="sm">{{'库存:'+goodsDetails.stock+'件'}}</view></view></view><view class="spec-main" style="height:400rpx;"><view class="good-num flex row-between m-l-20 m-r-20"><view class="label">数量</view><u-number-box bind:input="__e" vue-id="{{('9cf235fe-12')+','+('9cf235fe-8')}}" disabled="{{!goodsDetails.stock}}" min="{{1}}" max="{{goodsDetails.stock}}" value="{{count}}" data-event-opts="{{[['^input',[['__set_model',['','count','$event',[]]]]]]}}" bind:__l="__l"></u-number-box></view></view><view class="spec-footer"><button class="right-btn flex-1 br60" type="primary" disabled="{{!goodsDetails.stock}}" data-event-opts="{{[['tap',[['toSettlement',['$event']]]]]}}" bindtap="__e"> 立即兑换 </button></view></view></u-popup></view><block wx:if="{{isFirstLoading}}"><loading-view vue-id="9cf235fe-13" bind:__l="__l"></loading-view></block></view>
|
||||
@ -0,0 +1 @@
|
||||
.integral-goods-details{padding-bottom:calc(120rpx + env(safe-area-inset-bottom))}.integral-goods-details .goods-info{position:relative}.integral-goods-details .goods-info .info-header{padding:20rpx 24rpx 0}.integral-goods-details .goods-info .info-header .price{align-items:baseline}.integral-goods-details .goods-info .name{padding:20rpx 24rpx;flex:1}.integral-goods-details .goods-details .details-title{line-height:88rpx;text-align:center}.integral-goods-details .goods-details > .details-content{padding:0 20rpx 20rpx}.integral-goods-details .goods-details > .details-content image{vertical-align:middle}.integral-goods-details .goods-details > .details-content ._img{display:block}.integral-goods-details .goods-spec{padding:24rpx 24rpx}.integral-goods-details .goods-spec .label{width:100rpx}.integral-goods-details .goods-footer{height:100rpx;position:fixed;bottom:0;left:0;right:0;box-sizing:initial;padding:0 24rpx;padding-bottom:env(safe-area-inset-bottom)}.integral-goods-details .spec-popup .spec-contain{overflow:hidden;position:relative}.integral-goods-details .spec-popup .spec-contain .spec-header{padding:30rpx;padding-right:70rpx;align-items:flex-start;border:1px solid #e5e5e5}.integral-goods-details .spec-popup .spec-contain .spec-main, .integral-goods-details .spec-popup .spec-contain .spec-footer{padding:24rpx}.integral-goods-details .right-btn{height:80rpx;line-height:80rpx}
|
||||
@ -0,0 +1 @@
|
||||
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["bundle/pages/integral_mall/integral_mall"],{1015:function(e,t,n){"use strict";var o=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n("7ca3")),u=n("0956"),i=o(n("8462")),s=n("0aec"),r={mixins:[i.default],data:function(){return{sortConfig:[{name:"最新",type:"sort_by_new",value:"desc",setValue:"desc"},{name:"积分",type:"sort_by_integral",value:""},{name:"兑换量",type:"sort_by_sales",value:"",setValue:"desc"}],goodsType:"double",upOption:{noMoreSize:2,auto:!1,empty:{icon:"/static/images/goods_null.png",tip:"暂无商品"}},goodsLists:[],integral:""}},methods:{changeGoodsType:function(){this.goodsType="one"===this.goodsType?"double":"one"},handleSort:function(e){this.sortConfig.forEach((function(t){e.type==t.type?t.setValue?t.value=t.setValue:"asc"==t.value?t.value="desc":t.value="asc":t.value=""}))},upCallback:function(e){var t,n=this,o=e.num,i=e.size,s=this.sortConfig.find((function(e){return e.value}))||{};(0,u.getIntegralGoods)((t={},(0,a.default)(t,s.type,s.value),(0,a.default)(t,"page_no",o),(0,a.default)(t,"page_size",i),t)).then((function(e){if(1==e.code){var t=e.data,a=t.goods,u=t.integral;n.integral=u;var i=a.lists,s=i.length,r=!!a.more;1==o&&(n.goodsLists=[]),n.goodsLists=n.goodsLists.concat(i),n.mescroll.endSuccess(s,r)}else n.mescroll.endErr()})).catch((function(){n.mescroll.endErr()}))}},watch:{sortConfig:{handler:function(e){this.goodsLists=[],this.mescroll.resetUpScroll()},deep:!0}},onLoad:function(){this.handleSort=(0,s.trottle)(this.handleSort,500,this)}};t.default=r},1916:function(e,t,n){},"19fb":function(e,t,n){"use strict";var o=n("1916"),a=n.n(o);a.a},"2f19":function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return o}));var o={uIcon:function(){return n.e("components/uview-ui/components/u-icon/u-icon").then(n.bind(null,"8f08"))},uImage:function(){return n.e("components/uview-ui/components/u-image/u-image").then(n.bind(null,"28a8"))},priceFormat:function(){return n.e("components/price-format/price-format").then(n.bind(null,"1738"))}},a=function(){var e=this.$createElement,t=(this._self._c,n("ddba"));this.$mp.data=Object.assign({},{$root:{m0:t}})},u=[]},"72d8":function(e,t,n){"use strict";n.r(t);var o=n("1015"),a=n.n(o);for(var u in o)["default"].indexOf(u)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(u);t["default"]=a.a},cd86:function(e,t,n){"use strict";n.r(t);var o=n("2f19"),a=n("72d8");for(var u in a)["default"].indexOf(u)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(u);n("19fb");var i=n("828b"),s=Object(i["a"])(a["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);t["default"]=s.exports},f19c:function(e,t,n){"use strict";(function(e,t){var o=n("47a9");n("3712");o(n("3240"));var a=o(n("cd86"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(a.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])}},[["f19c","common/runtime","common/vendor","bundle/common/vendor"]]]);
|
||||
@ -0,0 +1,8 @@
|
||||
{
|
||||
"navigationBarTitleText": "积分商城",
|
||||
"usingComponents": {
|
||||
"u-icon": "/components/uview-ui/components/u-icon/u-icon",
|
||||
"u-image": "/components/uview-ui/components/u-image/u-image",
|
||||
"price-format": "/components/price-format/price-format"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view class="integral-mall"><mescroll-body class="vue-ref" vue-id="7bf08231-1" up="{{upOption}}" data-ref="mescrollRef" data-event-opts="{{[['^init',[['mescrollInit']]],['^down',[['downCallback']]],['^up',[['upCallback']]]]}}" bind:init="__e" bind:down="__e" bind:up="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="header bg-primary flex row-between white"><router-link vue-id="{{('7bf08231-2')+','+('7bf08231-1')}}" to="/bundle/pages/integral_sign/integral_sign" bind:__l="__l" vue-slots="{{['default']}}"><view class="user-integral flex"><u-icon class="m-r-16" vue-id="{{('7bf08231-3')+','+('7bf08231-2')}}" name="{{$root.m0}}" size="{{44}}" bind:__l="__l"></u-icon> 我的积分:<text class="xxl bold">{{integral}}</text></view></router-link><router-link vue-id="{{('7bf08231-4')+','+('7bf08231-1')}}" to="/bundle/pages/exchange_order/exchange_order" bind:__l="__l" vue-slots="{{['default']}}"> 兑换订单 <u-icon vue-id="{{('7bf08231-5')+','+('7bf08231-4')}}" name="arrow-right" bind:__l="__l"></u-icon></router-link></view><view class="main"><view class="sort-bar flex bg-white"><block wx:for="{{sortConfig}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['handleSort',['$0'],[[['sortConfig','',index]]]]]]]}}" class="sort-bar-item flex-2 flex row-center" bindtap="__e"><text class="{{[item.value?'primary':'']}}">{{item.name}}</text><block wx:if="{{!item.setValue}}"><view class="arrow-icon flex-col col-center row-center"><u-icon vue-id="{{('7bf08231-6-'+index)+','+('7bf08231-1')}}" name="arrow-up-fill" color="{{item.value=='asc'?colorConfig.primary:colorConfig.normal}}" bind:__l="__l"></u-icon><u-icon vue-id="{{('7bf08231-7-'+index)+','+('7bf08231-1')}}" name="arrow-down-fill" color="{{item.value=='desc'?colorConfig.primary:colorConfig.normal}}" bind:__l="__l"></u-icon></view></block></view></block><view data-event-opts="{{[['tap',[['changeGoodsType',['$event']]]]]}}" class="flex-1 flex row-center" bindtap="__e"><image class="icon-sm" src="{{goodsType==='one'?'/static/images/icon_double.png':'/static/images/icon_one.png'}}"></image></view></view><view class="{{['goods-lists',(goodsType==='one')?'goods-lists--one':'']}}"><block wx:for="{{goodsLists}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="goods-item"><router-link vue-id="{{('7bf08231-8-'+index)+','+('7bf08231-1')}}" to="{{'/bundle/pages/integral_goods_details/integral_goods_details?id='+item.id}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="goods-item-info"><view class="goods-image"><view class="image-wrap"><u-image vue-id="{{('7bf08231-9-'+index)+','+('7bf08231-8-'+index)}}" src="{{item.image}}" width="100%" height="100%" bind:__l="__l"></u-image></view></view><view class="goods-info"><view class="goods-name line-2">{{''+item.name+''}}</view><view class="goods-price primary m-t-10"><price-format vue-id="{{('7bf08231-10-'+index)+','+('7bf08231-8-'+index)}}" color="{{colorConfig.primary}}" show-subscript="{{false}}" first-size="{{36}}" second-size="{{24}}" price="{{item.need_integral}}" bind:__l="__l"></price-format><text class="xs">积分</text><block wx:if="{{item.exchange_way===2}}"><block><text>+</text><price-format vue-id="{{('7bf08231-11-'+index)+','+('7bf08231-8-'+index)}}" color="{{colorConfig.primary}}" show-subscript="{{false}}" first-size="{{36}}" second-size="{{24}}" price="{{item.need_money}}" bind:__l="__l"></price-format><text class="xs">元</text></block></block></view></view></view></router-link></view></block></view></view></mescroll-body></view>
|
||||
@ -0,0 +1 @@
|
||||
page{padding:0}.integral-mall .header{padding:22rpx 24rpx}.integral-mall .main .sort-bar{height:80rpx}.integral-mall .main .sort-bar .sort-bar-item{height:100%}.integral-mall .main .sort-bar .arrow-icon{-webkit-transform:scale(.4);transform:scale(.4)}.integral-mall .main .goods-lists{padding:20rpx 20rpx 0;margin:-8rpx;display:flex;flex-wrap:wrap}.integral-mall .main .goods-lists .goods-item{width:50%}.integral-mall .main .goods-lists .goods-item .goods-item-info{margin:8rpx;border-radius:14rpx;background:#fff;overflow:hidden}.integral-mall .main .goods-lists .goods-item .goods-item-info .goods-image{flex:none;position:relative;height:0;padding-top:100%}.integral-mall .main .goods-lists .goods-item .goods-item-info .goods-image .image-wrap{position:absolute;top:0;left:0;right:0;bottom:0}.integral-mall .main .goods-lists .goods-item .goods-item-info .goods-info{padding:14rpx}.integral-mall .main .goods-lists .goods-item .goods-item-info .goods-info .goods-name{line-height:40rpx;height:80rpx}.integral-mall .main .goods-lists--one .goods-item{width:100%}.integral-mall .main .goods-lists--one .goods-item .goods-item-info{display:flex}.integral-mall .main .goods-lists--one .goods-item .goods-item-info .goods-image{width:200rpx;padding-top:200rpx}.integral-mall .main .goods-lists--one .goods-item .goods-item-info .goods-info{padding:24rpx 20rpx}
|
||||
@ -0,0 +1 @@
|
||||
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["bundle/pages/integral_settlement/integral_settlement"],{"1a83":function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=t("0956"),r={data:function(){return{showLoading:!0,hasBg:!0,address:{},goods:{},orderInfo:{},addressId:"",remark:""}},methods:{getOrderInfo:function(){var e=this;(0,o.integralSettlement)({id:this.goodsId,num:this.count,address_id:this.addressId}).then((function(n){if(1==n.code){var t=n.data,o=t.address,r=t.goods;e.address=o,e.orderInfo=n.data,e.goods=r}})).finally((function(){e.showLoading=!1}))},orderBuy:function(){var n=this;this.hasBg=!1,this.showLoading=!0;var t=this.addressId||this.address.id;(0,o.integralSubmitOrder)({id:this.goodsId,num:this.count,address_id:t,user_remark:this.remark}).then((function(t){if(1==t.code){var o=t.data,r=o.type,i=o.order_id;if(!n.orderInfo.need_pay)return void n.$Router.replace({path:"/pages/pay_result/pay_result",query:{id:i,from:r}});e.$on("payment",(function(e){setTimeout((function(){e.result?n.$Router.replace({path:"/pages/pay_result/pay_result",query:{id:e.order_id,from:e.from}}):n.$Router.replace({path:"/bundle/pages/exchange_order/exchange_order",query:{id:e.order_id,from:e.from}})}),1e3)})),n.$Router.push({path:"/pages/payment/payment",query:{order_id:i,from:r}})}})).finally((function(){setTimeout((function(){n.showLoading=!1}),200)}))}},onLoad:function(n){var t=this;e.$on("selectaddress",(function(e){t.addressId=e.id}))},onUnload:function(){e.$off("selectaddress"),e.$off("payment")},onShow:function(){var e=this.$Route.query,n=e.count,t=e.id;this.goodsId=t,this.count=n,this.getOrderInfo()}};n.default=r}).call(this,t("df3c")["default"])},"4a20":function(e,n,t){},"57c9":function(e,n,t){"use strict";t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return i})),t.d(n,"a",(function(){return o}));var o={uIcon:function(){return t.e("components/uview-ui/components/u-icon/u-icon").then(t.bind(null,"8f08"))},uImage:function(){return t.e("components/uview-ui/components/u-image/u-image").then(t.bind(null,"28a8"))},priceFormat:function(){return t.e("components/price-format/price-format").then(t.bind(null,"1738"))},uField:function(){return t.e("components/uview-ui/components/u-field/u-field").then(t.bind(null,"e849"))},loadingView:function(){return t.e("components/loading-view/loading-view").then(t.bind(null,"dc350"))}},r=function(){var e=this.$createElement;this._self._c},i=[]},"812b":function(e,n,t){"use strict";var o=t("4a20"),r=t.n(o);r.a},"95f7":function(e,n,t){"use strict";(function(e,n){var o=t("47a9");t("3712");o(t("3240"));var r=o(t("b2e1"));e.__webpack_require_UNI_MP_PLUGIN__=t,n(r.default)}).call(this,t("3223")["default"],t("df3c")["createPage"])},b2e1:function(e,n,t){"use strict";t.r(n);var o=t("57c9"),r=t("ebce");for(var i in r)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(i);t("812b");var u=t("828b"),a=Object(u["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);n["default"]=a.exports},ebce:function(e,n,t){"use strict";t.r(n);var o=t("1a83"),r=t.n(o);for(var i in o)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(i);n["default"]=r.a}},[["95f7","common/runtime","common/vendor"]]]);
|
||||
@ -0,0 +1,10 @@
|
||||
{
|
||||
"navigationBarTitleText": "积分订单结算",
|
||||
"usingComponents": {
|
||||
"u-icon": "/components/uview-ui/components/u-icon/u-icon",
|
||||
"u-image": "/components/uview-ui/components/u-image/u-image",
|
||||
"price-format": "/components/price-format/price-format",
|
||||
"u-field": "/components/uview-ui/components/u-field/u-field",
|
||||
"loading-view": "/components/loading-view/loading-view"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view class="integral-settlement"><view class="settlement-main"><router-link vue-id="44a3ee47-1" to="/bundle/pages/user_address/user_address?type=1" bind:__l="__l" vue-slots="{{['default']}}"><view class="address flex contain"><image class="icon-md m-r-20" src="/static/images/icon_address.png"></image><view class="flex-1 m-r-20"><block wx:if="{{!address.contact}}"><view class="black md">设置收货地址</view></block><block wx:else><view><text class="name md m-r-10">{{address.contact}}</text><text class="phone md">{{address.telephone}}</text><view class="area sm m-t-10 lighter">{{''+address.province+" "+address.city+" "+address.district+" "+address.address+''}}</view></view></block></view><u-icon vue-id="{{('44a3ee47-2')+','+('44a3ee47-1')}}" name="arrow-right" bind:__l="__l"></u-icon></view></router-link><view class="order-goods contain"><view class="flex goods"><u-image vue-id="44a3ee47-3" src="{{goods.image}}" border-radius="10" width="160" height="160" bind:__l="__l"></u-image><view class="goods-info flex-1 m-l-20"><view class="goods-name line-2">{{goods.name}}</view><view class="flex row-between"><view class="goods-price primary m-t-10"><price-format vue-id="44a3ee47-4" show-subscript="{{false}}" first-size="{{36}}" second-size="{{24}}" price="{{goods.need_integral}}" bind:__l="__l"></price-format><text class="xs">积分</text><block wx:if="{{goods.exchange_way===2}}"><block><text>+</text><price-format vue-id="44a3ee47-5" show-subscript="{{false}}" first-size="{{36}}" second-size="{{24}}" price="{{goods.need_money}}" bind:__l="__l"></price-format><text class="xs">元</text></block></block></view><view class="lighter">{{"×"+orderInfo.total_num}}</view></view></view></view><view class="buyer-message"><u-field bind:input="__e" vue-id="44a3ee47-6" type="textarea" border-bottom="{{false}}" auto-height="{{false}}" label="买家留言" placeholder="请添加备注(150字以内)" maxlength="150" field-style="{{({height:'240rpx'})}}" value="{{remark}}" data-event-opts="{{[['^input',[['__set_model',['','remark','$event',[]]]]]]}}" bind:__l="__l"></u-field></view></view><view class="total-goods contain"><view class="flex row-between"><view>商品总额</view><view class="primary"><price-format vue-id="44a3ee47-7" show-subscript="{{false}}" first-size="{{36}}" second-size="{{24}}" price="{{orderInfo.order_integral}}" bind:__l="__l"></price-format><text class="xs">积分</text><block wx:if="{{orderInfo.exchange_way===2}}"><block><text>+</text><price-format vue-id="44a3ee47-8" show-subscript="{{false}}" first-size="{{36}}" second-size="{{24}}" price="{{orderInfo.goods_price}}" bind:__l="__l"></price-format><text class="xs">元</text></block></block></view></view><view class="flex row-between m-t-20"><view>运费</view><view><price-format vue-id="44a3ee47-9" first-size="{{28}}" subscript-size="{{24}}" second-size="{{24}}" price="{{orderInfo.shipping_price}}" bind:__l="__l"></price-format></view></view></view></view><view class="settlement-footer bg-white flex row-between"><view class="all-price lg flex"><text>合计:</text><view class="primary"><price-format vue-id="44a3ee47-10" show-subscript="{{false}}" first-size="{{36}}" second-size="{{24}}" price="{{orderInfo.order_integral}}" bind:__l="__l"></price-format><text class="xs">积分</text><block wx:if="{{orderInfo.order_amount>0}}"><block><text>+</text><price-format vue-id="44a3ee47-11" show-subscript="{{false}}" first-size="{{36}}" second-size="{{24}}" price="{{orderInfo.order_amount}}" bind:__l="__l"></price-format><text class="xs">元</text></block></block></view></view><button class="br60" type="primary" size="md" hover-class="none" data-event-opts="{{[['tap',[['orderBuy',['$event']]]]]}}" bindtap="__e"> 提交订单 </button></view><loading-view data-custom-hidden="{{!(showLoading)}}" vue-id="44a3ee47-12" background-color="{{hasBg?'#fff':''}}" bind:__l="__l"></loading-view></view>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user