第一次提交

This commit is contained in:
wangxiaowei
2025-06-11 10:21:51 +08:00
commit 52932d54b1
2341 changed files with 185283 additions and 0 deletions

View File

@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/address/add/add"],{2083:function(t,e,i){},"31a6":function(t,e,i){"use strict";(function(t,e){var n=i("47a9");i("7d57");n(i("3240"));var o=n(i("c4d2"));t.__webpack_require_UNI_MP_PLUGIN__=i,e(o.default)}).call(this,i("3223")["default"],i("df3c")["createPage"])},"4f0c":function(t,e,i){"use strict";i.r(e);var n=i("d383"),o=i.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},c4d2:function(t,e,i){"use strict";i.r(e);var n=i("e4ba"),o=i("4f0c");for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("d5510");var c=i("828b"),r=Object(c["a"])(o["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=r.exports},d383:function(t,e,i){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={components:{mpvueCityPicker:function(){i.e("components/mpvue-citypicker/mpvueCityPicker").then(function(){return resolve(i("a714a"))}.bind(null,i)).catch(i.oe)}},data:function(){return{cityPickerValueDefault:[0,0,0],selectCity:"选择省,市,区",province_id:0,city_id:0,region_id:0,address:{},delta:1,province:[],city:[],area:[],is_load:!1}},onLoad:function(t){this.delta=t.delta,this.getData()},methods:{getData:function(){var t=this;t._post("settings/getRegion",{},(function(e){t.province=e.data.regionData[0],t.city=e.data.regionData[1],t.area=e.data.regionData[2],t.is_load=!0}))},formSubmit:function(e){var i=this,n=e.detail.value;return n.province_id=i.province_id,n.city_id=i.city_id,n.region_id=i.region_id,""==n.name?(t.showToast({title:"请输入收货人姓名",duration:1e3,icon:"none"}),!1):""==n.phone?(t.showToast({title:"请输入手机号码",duration:1e3,icon:"none"}),!1):0!=n.province_id&&0!=n.city_id&&!n.region_id||""!=n.detail?""==n.detail?(t.showToast({title:"请输入街道小区楼牌号等",duration:1e3,icon:"none"}),!1):void i._post("user.address/add",n,(function(e){i.showSuccess(e.msg,(function(){t.navigateBack({delta:parseInt(i.delta)})}))})):(t.showToast({title:"请选择完整省市区",duration:1e3,icon:"none"}),!1)},formReset:function(t){console.log("清空数据")},showMulLinkageThreePicker:function(){this.$refs.mpvueCityPicker.show()},onConfirm:function(t){this.selectCity=t.label,this.province_id=t.cityCode[0],this.city_id=t.cityCode[1],this.region_id=t.cityCode[2]}}};e.default=n}).call(this,i("df3c")["default"])},d5510:function(t,e,i){"use strict";var n=i("2083"),o=i.n(n);o.a},e4ba:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=(this._self._c,this.theme()||""),i=this.theme();this.$mp.data=Object.assign({},{$root:{m0:e,m1:i}})},o=[]}},[["31a6","common/runtime","common/vendor"]]]);

View File

@ -0,0 +1,6 @@
{
"navigationBarTitleText": "添加收货地址",
"usingComponents": {
"mpvue-city-picker": "/components/mpvue-citypicker/mpvueCityPicker"
}
}

View File

@ -0,0 +1 @@
<view class="{{['address-form',$root.m0]}}" data-theme="{{$root.m1}}"><form data-event-opts="{{[['submit',[['formSubmit',['$event']]]],['reset',[['formReset',['$event']]]]]}}" bindsubmit="__e" bindreset="__e"><view class="bg-white p-0-30 f30"><view class="d-s-c border-b-d9"><text class="key-name">收货人</text><input class="ml20 flex-1 f32 p-30-0" name="name" type="text" placeholder-class="grary9" placeholder="请输入收货人姓名" data-event-opts="{{[['input',[['__set_model',['$0','name','$event',[]],['address']]]]]}}" value="{{address.name}}" bindinput="__e"/></view><view class="d-s-c border-b-d9"><text class="key-name">联系方式</text><input class="ml20 flex-1 f32 p-30-0" name="phone" type="text" placeholder-class="grary9" placeholder="请输入收货人手机号" data-event-opts="{{[['input',[['__set_model',['$0','phone','$event',[]],['address']]]]]}}" value="{{address.phone}}" bindinput="__e"/></view><view class="d-s-c border-b-d9"><text class="key-name">所在地区</text><view class="input-box flex-1"><input class="ml20 f32 flex-1 p-30-0" type="text" value="{{selectCity}}" placeholder-class="grary9" placeholder disabled="true" data-event-opts="{{[['tap',[['showMulLinkageThreePicker',['$event']]]],['input',[['__set_model',['','selectCity','$event',[]]]]]]}}" bindtap="__e" bindinput="__e"/></view></view><view class="d-s-c border-b-d9"><text class="key-name">详细地址</text><textarea class="ml20 flex-1 p-30-0 lh150" name="detail" auto-height="{{true}}" placeholder-class="grary9" placeholder="请输入街道小区楼牌号等" data-event-opts="{{[['input',[['__set_model',['$0','detail','$event',[]],['address']]]]]}}" value="{{address.detail}}" bindinput="__e"></textarea></view></view><view class="p30"><button class="theme-btn f32 mt60 addBtn" form-type="submit">保存</button></view></form><block wx:if="{{is_load}}"><mpvue-city-picker class="vue-ref" vue-id="74ac53d9-1" province="{{province}}" city="{{city}}" area="{{area}}" pickerValueDefault="{{cityPickerValueDefault}}" data-ref="mpvueCityPicker" data-event-opts="{{[['^onConfirm',[['onConfirm']]]]}}" bind:onConfirm="__e" bind:__l="__l"></mpvue-city-picker></block></view>

View File

@ -0,0 +1 @@
page{background-color:#fff}.address-form .key-name{width:140rpx;font-size:32rpx}.address-form .btn-red{height:88rpx;line-height:88rpx;border-radius:44rpx;box-shadow:0 8rpx 16rpx 0 rgba(226,35,26,.6)}.addBtn{height:80rpx;line-height:80rpx;border-radius:40rpx}

View File

@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/address/address"],{"2f24":function(t,e,a){"use strict";var n=a("6b83"),d=a.n(n);d.a},5097:function(t,e,a){"use strict";(function(t,a){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{loadding:!0,indicatorDots:!0,autoplay:!0,interval:2e3,duration:500,listData:[],default_id:"0",options:{}}},onLoad:function(t){this.options=t},onShow:function(){t.showLoading({title:"加载中"}),this.getData()},methods:{getData:function(){var e=this;e.dataType;e._get("user.address/lists",{},(function(a){e.listData=a.data.list,e.default_id=a.data.default_id+"",e.loadding=!1,t.hideLoading()}))},addAddress:function(){var t=1;"order"===this.options.source&&(t=2),this.gotoPage("/pages/user/address/add/add?delta="+t)},radioChange:function(e){var a=this;return a.default_id=e,a._post("user.address/setDefault",{address_id:e},(function(e){"order"===a.options.source&&t.navigateBack()})),!1},editAddress:function(t){this.gotoPage("/pages/user/address/edit/edit?address_id="+t)},delAddress:function(e){var n=this;a.showModal({title:"提示",content:"您确定要移除当前收货地址吗?",success:function(a){a.confirm&&n._get("user.address/delete",{address_id:e},(function(e){1==e.code&&(t.showToast({title:"删除成功",duration:2e3}),n.getData())}))}})}}};e.default=n}).call(this,a("df3c")["default"],a("3223")["default"])},"6b83":function(t,e,a){},c2b8:function(t,e,a){"use strict";a.r(e);var n=a("cc68"),d=a("c3df");for(var i in d)["default"].indexOf(i)<0&&function(t){a.d(e,t,(function(){return d[t]}))}(i);a("2f24");var o=a("828b"),s=Object(o["a"])(d["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},c3df:function(t,e,a){"use strict";a.r(e);var n=a("5097"),d=a.n(n);for(var i in n)["default"].indexOf(i)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(i);e["default"]=d.a},cc68:function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return d})),a.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,a=(t._self._c,t.loadding?null:t.theme()||""),n=t.loadding?null:t.theme(),d=t.loadding?null:t.listData.length,i=!t.loadding&&d>0?t.__map(t.listData,(function(e,a){var n=t.__get_orig(e),d=t.getThemeColor();return{$orig:n,m2:d}})):null;t.$mp.data=Object.assign({},{$root:{m0:a,m1:n,g0:d,l0:i}})},d=[]},cc87:function(t,e,a){"use strict";(function(t,e){var n=a("47a9");a("7d57");n(a("3240"));var d=n(a("c2b8"));t.__webpack_require_UNI_MP_PLUGIN__=a,e(d.default)}).call(this,a("3223")["default"],a("df3c")["createPage"])}},[["cc87","common/runtime","common/vendor"]]]);

View File

@ -0,0 +1,4 @@
{
"navigationBarTitleText": "设置地址",
"usingComponents": {}
}

View File

@ -0,0 +1 @@
<block wx:if="{{!loadding}}"><view class="{{[$root.m0]}}" data-theme="{{$root.m1}}"><block wx:if="{{$root.g0>0}}"><view class="pbenv"><view class="address-list bg-white"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="address p-30-0 border-b-d"><view class="info flex-1 mb10"><view class="user f32 d-b-c"><text>{{item.$orig.name}}</text><text class="ml20 gray9 f26">{{item.$orig.phone}}</text></view><view class="pt20 f26 gray3">{{''+item.$orig.region.province+item.$orig.region.city+item.$orig.region.region+item.$orig.detail+''}}</view></view><view class="d-b-c"><view class="radio d-s-c"><radio style="transform:scale(0.6);" color="{{item.m2}}" value="{{item.$orig.address_id+''}}" checked="{{default_id==item.$orig.address_id+''}}" data-event-opts="{{[['tap',[['radioChange',['$0'],[[['listData','',index,'address_id']]]]]]]}}" bindtap="__e"></radio><text>默认地址</text></view><view class="d-s-c"><view data-event-opts="{{[['tap',[['delAddress',['$0'],[[['listData','',index,'address_id']]]]]]]}}" class="icon-box plus d-c-c ml30" bindtap="__e"><image class="add_icon_img" src="/static/icon/delete.png" mode="aspectFill"></image><text class="gray9 ml10">删除</text></view><view class="none_line ml30"></view><view data-event-opts="{{[['tap',[['editAddress',['$0'],[[['listData','',index,'address_id']]]]]]]}}" class="icon-box plus d-c-c ml30 mr40" bindtap="__e"><image class="add_icon_img" src="/static/icon/edit.png" mode="aspectFill"></image><text class="gray9 ml10">编辑</text></view></view></view></view></block></view><view data-event-opts="{{[['tap',[['addAddress']]]]}}" class="add_add-btn theme-btn" bindtap="__e">新增收货地址</view></view></block><block wx:else><view><view class="none_add"><image class="no_add" src="/static/no_adress.png" mode="aspectFill"></image></view><view data-event-opts="{{[['tap',[['addAddress']]]]}}" class="no_add_add" bindtap="__e">新增收货地址</view></view></block></view></block>

View File

@ -0,0 +1 @@
page{background-color:#fff}.address-list{border-top:16rpx solid #f2f2f2;padding:0 20rpx;padding-bottom:90rpx}.foot-btns{padding:0}.foot-btns .btn-red{width:100%;height:90rpx;line-height:90rpx;border-radius:0}.none_add{padding:314rpx 214rpx 60rpx 214rpx}.no_add{width:322rpx;height:180rpx}.no_add_add{width:320rpx;height:80rpx;border:2rpx solid #ffb7b7;border-radius:40rpx;text-align:center;line-height:80rpx;font-size:32rpx;font-family:PingFang SC;font-weight:500;margin:0 auto}[data-theme="theme0"] .no_add_add{color:#ff5704!important}[data-theme="theme1"] .no_add_add{color:#19ad57!important}[data-theme="theme2"] .no_add_add{color:#fc0!important}[data-theme="theme3"] .no_add_add{color:#33a7ff!important}[data-theme="theme4"] .no_add_add{color:#e4e4e4!important}[data-theme="theme5"] .no_add_add{color:#c8ba97!important}[data-theme="theme6"] .no_add_add{color:#623ceb!important}[data-theme="theme0"] .no_add_add{border-color:#ff5704!important}[data-theme="theme1"] .no_add_add{border-color:#19ad57!important}[data-theme="theme2"] .no_add_add{border-color:#fc0!important}[data-theme="theme3"] .no_add_add{border-color:#33a7ff!important}[data-theme="theme4"] .no_add_add{border-color:#e4e4e4!important}[data-theme="theme5"] .no_add_add{border-color:#c8ba97!important}[data-theme="theme6"] .no_add_add{border-color:#623ceb!important}.add_add{height:64rpx;line-height:64rpx;font-size:26rpx;font-family:PingFang SC;font-weight:500;color:#0777cd;padding:0 35rpx;border-bottom:1rpx solid #d9d9d9}.defaul_add{padding:9rpx 14rpx 10rpx 15rpx;font-size:22rpx;font-family:PingFang SC;font-weight:500;color:#f6220c}[data-theme="theme0"] .defaul_add{background-color:!important}[data-theme="theme1"] .defaul_add{background-color:!important}[data-theme="theme2"] .defaul_add{background-color:!important}[data-theme="theme3"] .defaul_add{background-color:!important}[data-theme="theme4"] .defaul_add{background-color:!important}[data-theme="theme5"] .defaul_add{background-color:!important}[data-theme="theme6"] .defaul_add{background-color:!important}[data-theme="theme0"] .defaul_add{color:#ff5704!important}[data-theme="theme1"] .defaul_add{color:#19ad57!important}[data-theme="theme2"] .defaul_add{color:#fc0!important}[data-theme="theme3"] .defaul_add{color:#33a7ff!important}[data-theme="theme4"] .defaul_add{color:#e4e4e4!important}[data-theme="theme5"] .defaul_add{color:#c8ba97!important}[data-theme="theme6"] .defaul_add{color:#623ceb!important}.add_icon_img{width:30rpx;height:30rpx}.none_line{width:1rpx;height:44rpx;background:#d9d9d9}.add_add-btn{position:fixed;bottom:calc(env(safe-area-inset-bottom) + 20rpx);width:690rpx;margin:20rpx 30rpx;box-sizing:border-box;font-size:28rpx;height:80rpx;border-radius:40rpx;display:flex;justify-content:center;align-items:center}.pbenv{padding-bottom:calc(env(safe-area-inset-bottom) + 120rpx);box-sizing:border-box}

View File

@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/address/edit/edit"],{"0282":function(i,e,t){},"1bfc":function(i,e,t){"use strict";var n=t("0282"),a=t.n(n);a.a},"8f52":function(i,e,t){"use strict";(function(i){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={components:{mpvueCityPicker:function(){t.e("components/mpvue-citypicker/mpvueCityPicker").then(function(){return resolve(t("a714a"))}.bind(null,t)).catch(t.oe)}},data:function(){return{cityPickerValueDefault:[0,0,0],selectCity:"选择省,市,区",province_id:0,city_id:0,region_id:0,address_id:0,address:{},region:{},is_load:!1,province:[],city:[],area:[],delta:1}},onLoad:function(i){this.delta=i.delta,this.address_id=i.address_id},mounted:function(){this.getData()},methods:{getData:function(){var i=this,e=i.address_id;i._get("user.address/detail",{address_id:e},(function(e){i.address=e.data.detail,i.address_id=e.data.detail.address_id,i.province_id=e.data.detail.province_id,i.city_id=e.data.detail.city_id,i.region_id=e.data.detail.region_id,i.region=e.data.region;var t="";i.region.forEach((function(i){t+=i}));i.selectCity=t,i.province=e.data.regionData[0],i.city=e.data.regionData[1],i.area=e.data.regionData[2],i.is_load=!0}))},formSubmit:function(e){var t=this,n=e.detail.value;return n.province_id=t.province_id,n.city_id=t.city_id,n.region_id=t.region_id,n.address_id=t.address_id,n.region=t.region,""==n.name?(i.showToast({title:"请输入收货人姓名",duration:1e3,icon:"none"}),!1):""==n.phone?(i.showToast({title:"请输入手机号码",duration:1e3,icon:"none"}),!1):0!=n.province_id&&0!=n.city_id&&!n.region_id||""!=n.detail?void t._post("user.address/edit",n,(function(e){t.showSuccess(e.msg,(function(){console.log(t.delta),i.navigateBack({delta:1})}))})):(i.showToast({title:"请选择完整省市区",duration:1e3,icon:"none"}),!1)},formReset:function(i){console.log("清空数据")},showMulLinkageThreePicker:function(){this.$refs.mpvueCityPicker.show()},onConfirm:function(i){this.region=i.label.split(","),this.selectCity=i.label,this.province_id=i.cityCode[0],this.city_id=i.cityCode[1],this.region_id=i.cityCode[2]}}};e.default=n}).call(this,t("df3c")["default"])},"8fe0":function(i,e,t){"use strict";(function(i,e){var n=t("47a9");t("7d57");n(t("3240"));var a=n(t("c8f4"));i.__webpack_require_UNI_MP_PLUGIN__=t,e(a.default)}).call(this,t("3223")["default"],t("df3c")["createPage"])},a537:function(i,e,t){"use strict";t.r(e);var n=t("8f52"),a=t.n(n);for(var d in n)["default"].indexOf(d)<0&&function(i){t.d(e,i,(function(){return n[i]}))}(d);e["default"]=a.a},c7a9:function(i,e,t){"use strict";t.d(e,"b",(function(){return n})),t.d(e,"c",(function(){return a})),t.d(e,"a",(function(){}));var n=function(){var i=this.$createElement,e=(this._self._c,this.theme()||""),t=this.theme();this.$mp.data=Object.assign({},{$root:{m0:e,m1:t}})},a=[]},c8f4:function(i,e,t){"use strict";t.r(e);var n=t("c7a9"),a=t("a537");for(var d in a)["default"].indexOf(d)<0&&function(i){t.d(e,i,(function(){return a[i]}))}(d);t("1bfc");var o=t("828b"),r=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=r.exports}},[["8fe0","common/runtime","common/vendor"]]]);

View File

@ -0,0 +1,6 @@
{
"navigationBarTitleText": "地址编辑",
"usingComponents": {
"mpvue-city-picker": "/components/mpvue-citypicker/mpvueCityPicker"
}
}

View File

@ -0,0 +1 @@
<view class="{{['address-form',$root.m0]}}" data-theme="{{$root.m1}}"><form data-event-opts="{{[['submit',[['formSubmit',['$event']]]],['reset',[['formReset',['$event']]]]]}}" bindsubmit="__e" bindreset="__e"><view class="bg-white p-0-30 f30"><view class="d-s-c border-b-d9"><text class="key-name">收货人</text><input class="ml20 f32 flex-1 p-30-0" name="name" type="text" placeholder-class="grary9" placeholder="请输入收货人姓名" data-event-opts="{{[['input',[['__set_model',['$0','name','$event',[]],['address']]]]]}}" value="{{address.name}}" bindinput="__e"/></view><view class="d-s-c border-b-d9"><text class="key-name">联系方式</text><input class="ml20 f32 flex-1 p-30-0" name="phone" type="text" placeholder-class="grary9" placeholder="请输入收货人手机号" data-event-opts="{{[['input',[['__set_model',['$0','phone','$event',[]],['address']]]]]}}" value="{{address.phone}}" bindinput="__e"/></view><view class="d-s-c border-b-d9"><text class="key-name">所在地区</text><view class="input-box flex-1"><input class="ml20 f32 flex-1 p-30-0" type="text" value="{{selectCity}}" placeholder-class="grary9" placeholder disabled="true" data-event-opts="{{[['tap',[['showMulLinkageThreePicker',['$event']]]],['input',[['__set_model',['','selectCity','$event',[]]]]]]}}" bindtap="__e" bindinput="__e"/></view></view><view class="d-s-c border-b-d9"><text class="key-name">详细地址</text><textarea class="ml20 flex-1 f32 p-30-0 lh150" name="detail" placeholder-class="grary9" auto-height="{{true}}" placeholder="请输入街道小区楼牌号等" data-event-opts="{{[['input',[['__set_model',['$0','detail','$event',[]],['address']]]]]}}" value="{{address.detail}}" bindinput="__e"></textarea></view></view><view class="p30"><button class="theme-btn f32 mt60 addBtn" form-type="submit">保存</button></view></form><block wx:if="{{is_load}}"><mpvue-city-picker class="vue-ref" vue-id="5f6c7dc6-1" province="{{province}}" city="{{city}}" area="{{area}}" pickerValueDefault="{{cityPickerValueDefault}}" data-ref="mpvueCityPicker" data-event-opts="{{[['^onConfirm',[['onConfirm']]]]}}" bind:onConfirm="__e" bind:__l="__l"></mpvue-city-picker></block></view>

View File

@ -0,0 +1 @@
page{background-color:#fff}.address-form{border-top:16rpx solid #f2f2f2}.address-form .key-name{width:140rpx;font-size:32rpx}.address-form .btn-red{height:88rpx;line-height:88rpx;border-radius:44rpx;box-shadow:0 8rpx 16rpx 0 rgba(226,35,26,.6)}.addBtn{height:80rpx;line-height:80rpx;border-radius:40rpx}

View File

@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/cash/apply"],{"3acd":function(t,n,e){"use strict";e.r(n);var i=e("8da8"),o=e.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(a);n["default"]=o.a},"4c19":function(t,n,e){"use strict";e.r(n);var i=e("cce7"),o=e("3acd");for(var a in o)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(a);e("7b8c");var c=e("828b"),u=Object(c["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);n["default"]=u.exports},"7b8c":function(t,n,e){"use strict";var i=e("a530"),o=e.n(i);o.a},"8da8":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i={components:{Popup:function(){e.e("components/uni-popup").then(function(){return resolve(e("b892"))}.bind(null,e)).catch(e.oe)}},data:function(){return{loadding:!0,indicatorDots:!0,autoplay:!0,interval:2e3,duration:500,withdraw_type:10,agent:{},payType:[],words:{},temlIds:[],money:"",ifchecked:!1,url:"",isPopup:!1,cash_ratio:0,cash_ratioMoney:"",overMoney:"",isType:!1,pop_type:10,balance:""}},mounted:function(){this.getData()},onLoad:function(){},watch:{money:function(t,n){t!=n&&(this.cash_ratioMoney=this.cash_ratio_percent(),this.overMoney=this.overprice())}},methods:{typeFunc:function(t){this.pop_type=t},getData:function(){var n=this;t.showLoading({title:"加载中"}),n.loadding=!0,n._get("user.cash/index",{platform:n.getPlatform()},(function(e){n.balance=e.data.balance,n.cash_ratio=e.data.cash_ratio,n.loadding=!1,t.hideLoading()}))},checkedme:function(t){this.ifchecked=!this.ifchecked},TabType:function(t){this.withdraw_type=t},selectType:function(){this.withdraw_type=this.pop_type,this.isType=!1},hasType:function(t){return-1!=this.payType.indexOf(t)},popup:function(){this.isPopup=!0},hidePopupFunc:function(){this.isPopup=!1},getAll:function(){this.money=this.balance},cash_ratio_percent:function(){var t=this.money,n=t*this.cash_ratio/100;return n=n.toFixed(2),n},overprice:function(){var t=this.money*this.cash_ratio/100;return t=t.toFixed(2),console.log(t),t},formSubmit:function(n){console.log(111);var e=this,i=n.detail.value;i.pay_type=e.withdraw_type;var o=JSON.stringify(i);t.showLoading({title:"正在提交",mask:!0}),e._post("user.cash/submit",{data:o},(function(n){t.hideLoading(),t.showToast({title:"申请成功",duration:2e3,icon:"success"}),t.navigateBack()}),(function(t){e.isPopup=!1}))}}};n.default=i}).call(this,e("df3c")["default"])},a530:function(t,n,e){},cce7:function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){}));var i=function(){var t=this,n=t.$createElement,e=(t._self._c,t.loadding?null:t.theme()||""),i=t.loadding?null:t.theme();t._isMounted||(t.e0=function(n){t.isType=!0},t.e1=function(n){t.isType=!1}),t.$mp.data=Object.assign({},{$root:{m0:e,m1:i}})},o=[]},e52d:function(t,n,e){"use strict";(function(t,n){var i=e("47a9");e("7d57");i(e("3240"));var o=i(e("4c19"));t.__webpack_require_UNI_MP_PLUGIN__=e,n(o.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])}},[["e52d","common/runtime","common/vendor"]]]);

View File

@ -0,0 +1,7 @@
{
"navigationBarTitleText": "提现申请",
"enablePullDownRefresh": false,
"usingComponents": {
"popup": "/components/uni-popup"
}
}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
page{background-color:#fff}[data-theme="theme0"] .dominant{color:#ff5704!important}[data-theme="theme1"] .dominant{color:#19ad57!important}[data-theme="theme2"] .dominant{color:#fc0!important}[data-theme="theme3"] .dominant{color:#33a7ff!important}[data-theme="theme4"] .dominant{color:#e4e4e4!important}[data-theme="theme5"] .dominant{color:#c8ba97!important}[data-theme="theme6"] .dominant{color:#623ceb!important}.txje{font-size:28rpx;font-family:PingFang SC;font-weight:500;color:#333}.form-item{margin-bottom:20rpx;display:flex;justify-content:flex-start;align-items:center;font-size:28rpx}.form-item .field-name{width:140rpx}.form-item input{font-size:28rpx}.form-item .text-price{padding:0 10rpx;height:80rpx;line-height:80rpx;border-radius:40rpx;border:1px solid #ccc}.agreement-content{max-height:60vh;overflow-y:auto}.iconfont.icon-xuanze{font-size:30rpx}.form-item .active .iconfont.icon-xuanze{color:#f6220c}.apply-cash .btn-red{width:686rpx;height:96rpx;line-height:96rpx;opacity:1;border-radius:16rpx;border:none;font-size:28rpx}[data-theme="theme0"] .apply-cash .btn-red{background-color:#ff5704!important}[data-theme="theme1"] .apply-cash .btn-red{background-color:#19ad57!important}[data-theme="theme2"] .apply-cash .btn-red{background-color:#fc0!important}[data-theme="theme3"] .apply-cash .btn-red{background-color:#33a7ff!important}[data-theme="theme4"] .apply-cash .btn-red{background-color:#e4e4e4!important}[data-theme="theme5"] .apply-cash .btn-red{background-color:#c8ba97!important}[data-theme="theme6"] .apply-cash .btn-red{background-color:#623ceb!important}.apply-cash .btn-red-disabled{width:686rpx;height:96rpx;line-height:96rpx;background-color:#f5f5f5;background:#f5f5f5;opacity:1;border-radius:16rpx;color:rgba(0,0,0,.24);border:none;font-size:28rpx}.withd-b{background-color:#fff;margin-bottom:97rpx}.withd-bct{height:92rpx;padding-top:59rpx;padding-right:49rpx;display:flex;justify-content:space-between;align-items:center;border-bottom:1rpx solid #d0d0d0}.tx-inpt{background-color:#fff;font-size:48rpx;line-height:92rpx}.withd-bcb{padding:27rpx 0 49rpx 0}.withdrawal-btn{margin:0 30rpx;height:60rpx;line-height:60rpx;color:#fff;text-align:center;border-radius:30rpx;padding:0;font-size:24rpx}[data-theme="theme0"] .withdrawal-btn{background-color:#ff5704!important}[data-theme="theme1"] .withdrawal-btn{background-color:#19ad57!important}[data-theme="theme2"] .withdrawal-btn{background-color:#fc0!important}[data-theme="theme3"] .withdrawal-btn{background-color:#33a7ff!important}[data-theme="theme4"] .withdrawal-btn{background-color:#e4e4e4!important}[data-theme="theme5"] .withdrawal-btn{background-color:#c8ba97!important}[data-theme="theme6"] .withdrawal-btn{background-color:#623ceb!important}.login_index_seller_rule{width:90%;margin:0 auto;text-align:center;font-size:24rpx}.radio{-webkit-transform:scale(.7);transform:scale(.7)}.pop-improt{width:622rpx;height:480rpx;box-sizing:border-box;border-radius:24rpx;padding:32rpx}.pop-improt .icon-guanbi{position:absolute;top:32rpx;right:32rpx;width:30rpx;height:30rpx;font-size:26rpx;color:#666}.pop-improt.typeof{width:750rpx;height:auto}.pop-improt .close-text{position:absolute;top:32rpx;left:32rpx;font-size:28rpx;font-weight:600}[data-theme="theme0"] .pop-improt .close-text{color:#ff5704!important}[data-theme="theme1"] .pop-improt .close-text{color:#19ad57!important}[data-theme="theme2"] .pop-improt .close-text{color:#fc0!important}[data-theme="theme3"] .pop-improt .close-text{color:#33a7ff!important}[data-theme="theme4"] .pop-improt .close-text{color:#e4e4e4!important}[data-theme="theme5"] .pop-improt .close-text{color:#c8ba97!important}[data-theme="theme6"] .pop-improt .close-text{color:#623ceb!important}.submitbtn{width:558rpx;height:80rpx;opacity:1;border-radius:16rpx;font-size:28rpx;font-family:PingFang SC;font-weight:400;color:#fff;line-height:80rpx;opacity:1;margin:0 auto}[data-theme="theme0"] .submitbtn{background-color:#ff5704!important}[data-theme="theme1"] .submitbtn{background-color:#19ad57!important}[data-theme="theme2"] .submitbtn{background-color:#fc0!important}[data-theme="theme3"] .submitbtn{background-color:#33a7ff!important}[data-theme="theme4"] .submitbtn{background-color:#e4e4e4!important}[data-theme="theme5"] .submitbtn{background-color:#c8ba97!important}[data-theme="theme6"] .submitbtn{background-color:#623ceb!important}.cash-icon{width:40rpx;height:40rpx}.select-img{width:48rpx;height:48rpx}.select-img image{width:48rpx;height:48rpx}.pop-type-item{height:138rpx;background:#fff;border-radius:0}.cash-input-item{height:88rpx;background:#fff;display:flex;justify-content:center;align-items:center}.cash-input-item .input-label{width:160rpx;text-align:left}.cash-top{height:146rpx;box-sizing:border-box;background:#f5f5f5}.border-top{height:58rpx;width:100%;background-color:#f5f5f5}.border-top .border-box{box-sizing:border;border-radius:40rpx 40rpx 0 0;background-color:#fff;height:58rpx;width:100%}.mb48{margin-bottom:48rpx}.mb60{margin-bottom:60rpx}

View File

@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/cash/list"],{"0a13":function(t,e,a){"use strict";a.r(e);var n=a("4eec"),i=a("9388");for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);var s=a("828b"),c=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=c.exports},1593:function(t,e,a){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={components:{uniLoadMore:function(){a.e("components/uni-load-more").then(function(){return resolve(a("e5dd"))}.bind(null,a)).catch(a.oe)}},data:function(){return{phoneHeight:0,scrollviewHigh:0,state_active:-1,tableData:[],no_more:!1,loading:!0,last_page:0,page:1,list_rows:20,tableList:[]}},computed:{loadingType:function(){return this.loading?1:0!=this.tableData.length&&this.no_more?2:0}},mounted:function(){this.init(),this.getData()},methods:{init:function(){var e=this;t.getSystemInfo({success:function(t){e.phoneHeight=t.windowHeight,e.scrollviewHigh=t.windowHeight}})},getData:function(){var t=this,e=t.page;t.loading=!0;var a=t.list_rows;t._get("user.cash/lists",{status:-1,page:e||1,list_rows:a},(function(e){if(t.loading=!1,t.tableData=t.tableData.concat(e.data.list.data),t.last_page=e.data.list.last_page,e.data.list.last_page<=1)return t.no_more=!0,!1}))},stateFunc:function(t){t!=this.state_active&&(this.tableData=[],this.page=1,this.state_active=t,this.getData())},scrolltoupperFunc:function(){console.log("滚动视图区域到顶")},scrolltolowerFunc:function(){this.page<this.last_page&&(this.page++,this.getData()),this.no_more=!0}}};e.default=n}).call(this,a("df3c")["default"])},"4eec":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=(this._self._c,0==this.tableData.length&&!this.loading);this.$mp.data=Object.assign({},{$root:{g0:e}})},i=[]},9388:function(t,e,a){"use strict";a.r(e);var n=a("1593"),i=a.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);e["default"]=i.a},f7ba:function(t,e,a){"use strict";(function(t,e){var n=a("47a9");a("7d57");n(a("3240"));var i=n(a("0a13"));t.__webpack_require_UNI_MP_PLUGIN__=a,e(i.default)}).call(this,a("3223")["default"],a("df3c")["createPage"])}},[["f7ba","common/runtime","common/vendor"]]]);

View File

@ -0,0 +1,7 @@
{
"navigationBarTitleText": "余额提现",
"enablePullDownRefresh": false,
"usingComponents": {
"uni-load-more": "/components/uni-load-more"
}
}

View File

@ -0,0 +1 @@
<view><scroll-view class="scroll-Y" style="{{('height:'+scrollviewHigh+'px;')}}" scroll-y="true" lower-threshold="50" data-event-opts="{{[['scrolltoupper',[['scrolltoupperFunc',['$event']]]],['scrolltolower',[['scrolltolowerFunc',['$event']]]]]}}" bindscrolltoupper="__e" bindscrolltolower="__e"><view class="p-0-30 bg-white"><block wx:for="{{tableData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="d-b-c border-b p-20-0"><view class="d-s-s f-w d-c flex-1"><text class="30">提现</text><text class="gray9 f22">{{item.create_time}}</text></view><view><text class="{{[item.apply_status.text=='审核通过'?'green':'gray9']}}">{{item.apply_status.text}}</text><text class="red ml20">{{''+item.money+"元"}}</text></view></view></block><block wx:if="{{$root.g0}}"><view class="d-c-c p30"><text class="iconfont icon-wushuju"></text><text class="cont">亲,暂无相关记录哦</text></view></block><block wx:else><uni-load-more vue-id="098cdc77-1" loadingType="{{loadingType}}" bind:__l="__l"></uni-load-more></block></view></scroll-view></view>

View File

@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/evaluate/list"],{2015:function(t,a,e){"use strict";e.d(a,"b",(function(){return n})),e.d(a,"c",(function(){return i})),e.d(a,"a",(function(){}));var n=function(){var t=this.$createElement,a=(this._self._c,this.theme()||""),e=this.theme(),n=0==this.list.length&&!this.loading;this.$mp.data=Object.assign({},{$root:{m0:a,m1:e,g0:n}})},i=[]},"34ee":function(t,a,e){"use strict";e.r(a);var n=e("2015"),i=e("9384");for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(a,t,(function(){return i[t]}))}(o);e("a3ea");var s=e("828b"),c=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);a["default"]=c.exports},"7d48":function(t,a,e){"use strict";(function(t,e){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n={data:function(){return{loading:!1,state_active:0,list:[],last_page:0,no_more:!1,page:1}},onLoad:function(t){},onShow:function(){this.page=1,this.list=[],t.showLoading({title:"加载中"}),this.getData()},methods:{getData:function(){var a=this;a.loading=!0,a._post("product.comment/userLists",{page:a.page,list_rows:10},(function(e){if(e.data.list.data&&e.data.list.data.length>0&&e.data.list.data.forEach((function(t){t.year=t.create_time.substr(0,4),t.mouth=t.create_time.substr(5,2),t.data=t.create_time.substr(8,2)})),a.list=a.list.concat(e.data.list.data),a.last_page=e.data.lastPage,a.loading=!1,a.last_page<=1)return a.no_more=!0,!1;t.hideLoading()}))},del:function(a,n){var i=this;e.showModal({title:"提示",content:"您确定删除该评论吗?",success:function(e){e.confirm&&i._post("product.comment/delete",{comment_id:a.comment_id},(function(a){t.showToast({title:"删除成功",duration:1e3,icon:"none"}),i.list.splice(n,1)}))}})},onReachBottom:function(){this.no_more||(this.page++,this.page<=this.last_page?this.getData():this.no_more=!0)}}};a.default=n}).call(this,e("df3c")["default"],e("3223")["default"])},9384:function(t,a,e){"use strict";e.r(a);var n=e("7d48"),i=e.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){e.d(a,t,(function(){return n[t]}))}(o);a["default"]=i.a},"975a":function(t,a,e){"use strict";(function(t,a){var n=e("47a9");e("7d57");n(e("3240"));var i=n(e("34ee"));t.__webpack_require_UNI_MP_PLUGIN__=e,a(i.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])},9987:function(t,a,e){},a3ea:function(t,a,e){"use strict";var n=e("9987"),i=e.n(n);i.a}},[["975a","common/runtime","common/vendor"]]]);

View File

@ -0,0 +1,5 @@
{
"navigationBarTitleText": "我的评价",
"enablePullDownRefresh": false,
"usingComponents": {}
}

View File

@ -0,0 +1 @@
<view class="{{[$root.m0]}}" data-theme="{{$root.m1}}"><view class="list"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="listItem"><view class="timeBox"><view class="time"><label class="data _span">{{item.data}}</label><label class="line _span"></label><label class="mouth _span">{{item.mouth}}<label class="unit _span">月</label></label><label class="line _span"></label><label class="year _span">{{item.year}}<label class="unit _span">年</label></label></view><view data-event-opts="{{[['tap',[['del',['$0',index],[[['list','',index]]]]]]]}}" class="delTxt" bindtap="__e">删除</view></view><view class="con"><view>{{item.content}}</view><block wx:for="{{item.image}}" wx:for-item="v" wx:for-index="idx" wx:key="idx"><image class="img" mode="aspectFit" src="{{v.file_path}}"></image></block></view><block wx:if="{{item.OrderProduct}}"><view class="prodcut"><block wx:if="{{item.OrderProduct.image}}"><image src="{{item.OrderProduct.image.file_path}}" model="aspectFit"></image></block><view class="r"><view class="title">{{item.OrderProduct.product_name}}</view><view class="spec">{{item.OrderProduct.product_attr}}</view></view></view></block></view></block></view><block wx:if="{{$root.g0}}"><view class="d-c-c p30"><text class="iconfont icon-wushuju"></text><text class="cont">亲,暂无相关记录哦</text></view></block></view>

View File

@ -0,0 +1 @@
page{background-color:#ebebeb}.list{padding:20rpx}.listItem{background-color:#fff;padding:20rpx;margin-bottom:20rpx}.listItem .timeBox{display:flex;align-items:center;justify-content:space-between}.listItem .delTxt{color:#fd6a03}.listItem .time .unit{color:rgba(0,0,0,.9);font-weight:400}.listItem .time ._span{font-size:26rpx;color:#000;font-weight:800}.listItem .time .data{font-size:38rpx}.listItem .time .line{width:4rpx;height:22rpx;background-color:#fd6a03;display:inline-block;margin:0 6rpx;-webkit-transform:rotate(18deg);transform:rotate(18deg)}.listItem .con{letter-spacing:1rpx;line-height:42rpx;margin:60rpx 0 30rpx 0}.listItem .con .img{width:200rpx;height:200rpx;display:inline-block;margin-right:20rpx}.listItem .prodcut{display:flex;align-items:center;background:hsla(0,0%,92.2%,.8);font-size:26rpx}.listItem .prodcut image{width:90rpx;height:90rpx;margin-right:6rpx;border-radius:6rpx}.listItem .prodcut .spec{color:#959595;font-size:24rpx;margin-top:6rpx}

View File

@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/index/index"],{"0fa5":function(e,n,t){"use strict";(function(e,o){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i={components:{recommendProduct:function(){t.e("components/recommendProduct/recommendProduct").then(function(){return resolve(t("0f7f"))}.bind(null,t)).catch(t.oe)}},data:function(){return{isloadding:!0,sign:{},loadding:!0,indicatorDots:!0,autoplay:!0,interval:2e3,duration:500,menus:[],detail:{balance:0,points:0,grade:{name:""}},is_recycle:0,orderCount:{},coupon:0,setting:{},user_type:"",msgcount:0,sessionKey:""}},onPullDownRefresh:function(){this.getData()},onShow:function(){this.getData(),this.getTabBarLinks()},onLoad:function(){var n=this;e.login({success:function(e){n._post("user.user/getSession",{code:e.code},(function(e){n.sessionKey=e.data.session_key}))}})},methods:{getData:function(){var e=this;e.isloadding=!0,e._get("user.index/detail",{url:e.url},(function(n){n.data.getPhone?e.gotoPage("/pages/login/bindmobile"):(e.detail=n.data.userInfo,e.sign=n.data.sign,e.coupon=n.data.coupon,e.orderCount=n.data.orderCount,e.menus=n.data.menus,e.setting=n.data.setting,e.is_recycle=n.data.userInfo.is_recycle,e.msgcount=n.data.msgcount,e.loadding=!1,o.stopPullDownRefresh(),e.isloadding=!1)}))},bindMobile:function(){this.gotoPage("/pages/user/modify-phone/modify-phone")},jumpPage:function(e){e.startsWith("/")?this.gotoPage(e):this[e]()},scanQrcode:function(){this.gotoPage("/pages/user/scan/scan")},getPhoneNumber:function(e){var n=this;if("getPhoneNumber:ok"!==e.detail.errMsg)return!1;o.showLoading({title:"加载中"}),o.login({success:function(t){n._post("user.user/bindMobile",{session_key:n.sessionKey,encrypted_data:e.detail.encryptedData,iv:e.detail.iv},(function(e){o.showToast({title:"绑定成功"}),n.detail.mobile=e.data.mobile}),!1,(function(){o.hideLoading()}))}})}}};n.default=i}).call(this,t("3223")["default"],t("df3c")["default"])},"1eaf":function(e,n,t){"use strict";t.r(n);var o=t("2355"),i=t("fab3");for(var a in i)["default"].indexOf(a)<0&&function(e){t.d(n,e,(function(){return i[e]}))}(a);t("e6da");var s=t("828b"),u=Object(s["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);n["default"]=u.exports},2355:function(e,n,t){"use strict";t.d(n,"b",(function(){return i})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){return o}));var o={recommendProduct:function(){return t.e("components/recommendProduct/recommendProduct").then(t.bind(null,"0f7f"))}},i=function(){var e=this.$createElement,n=(this._self._c,this.theme()||""),t=this.theme(),o=this.loadding?null:this.points_name();this.$mp.data=Object.assign({},{$root:{m0:n,m1:t,m2:o}})},a=[]},b24e:function(e,n,t){"use strict";(function(e,n){var o=t("47a9");t("7d57");o(t("3240"));var i=o(t("1eaf"));e.__webpack_require_UNI_MP_PLUGIN__=t,n(i.default)}).call(this,t("3223")["default"],t("df3c")["createPage"])},d221:function(e,n,t){},e6da:function(e,n,t){"use strict";var o=t("d221"),i=t.n(o);i.a},fab3:function(e,n,t){"use strict";t.r(n);var o=t("0fa5"),i=t.n(o);for(var a in o)["default"].indexOf(a)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(a);n["default"]=i.a}},[["b24e","common/runtime","common/vendor"]]]);

View File

@ -0,0 +1,7 @@
{
"navigationBarTitleText": "个人中心",
"enablePullDownRefresh": true,
"usingComponents": {
"recommend-product": "/components/recommendProduct/recommendProduct"
}
}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,5 @@
page{background-color:#ebebeb}.w100{width:100%}.foot_{height:98rpx;width:100%}.user-header{position:relative}[data-theme="theme0"] .user-header{background-color:#ff5704!important}[data-theme="theme1"] .user-header{background-color:#19ad57!important}[data-theme="theme2"] .user-header{background-color:#fc0!important}[data-theme="theme3"] .user-header{background-color:#33a7ff!important}[data-theme="theme4"] .user-header{background-color:#e4e4e4!important}[data-theme="theme5"] .user-header{background-color:#c8ba97!important}[data-theme="theme6"] .user-header{background-color:#623ceb!important}.user-header .user-header-inner{position:relative;padding:30rpx 30rpx 120rpx;display:flex;justify-content:space-between;align-items:center;overflow:hidden;margin-bottom:100rpx}.user-header .user-header-inner::after,
.user-header .user-header-inner::before{display:block;content:"";position:absolute;border-radius:50%;z-index:0}.user-header .user-header-inner::after{width:400rpx;height:400rpx;right:-100rpx;bottom:-200rpx;background-image:radial-gradient(90deg,hsla(0,0%,100%,.2) 10%,hsla(0,0%,100%,0))}.user-header .user-header-inner::before{width:200rpx;height:200rpx;left:-60rpx;top:-20rpx;background-image:radial-gradient(-90deg,hsla(0,0%,100%,.2) 10%,hsla(0,0%,100%,0))}.user-header .user-info{display:flex;justify-content:flex-start;align-items:center}.user-header .photo,
.user-header .photo image{width:100rpx;height:100rpx;border-radius:50%}.user-header .photo{border:4rpx solid #fff}.user-header .info{padding-left:20rpx;box-sizing:border-box;overflow:hidden;color:#fff}.user-header .info .name{font-weight:700;font-size:32rpx}.user-header .info .tel{font-size:26rpx}.user-header .info .grade{display:block;padding:4px 16rpx;font-size:22rpx;line-height:36rpx;border-radius:40rpx;background-color:rgba(0,0,0,.1);color:#fff;font-family:PingFang SC}.user-header .sign-box{position:absolute;right:20rpx;padding:0 10rpx;height:50rpx;border:1px solid #ffe300;border-radius:25rpx;font-size:24rpx;color:#ffe300;z-index:10}.user-header .sign-box .iconfont{color:#ffe300}.user-header .my-order{position:absolute;padding:0 30rpx;right:20rpx;bottom:-75rpx;left:20rpx;box-sizing:border-box;border-radius:16rpx;background:#fff;z-index:10}.order_center{border-left:1rpx solid #d9d9d9;border-right:1rpx solid #d9d9d9}.my-order .item{display:flex;margin:20rpx 0;flex-direction:column;justify-content:center;align-items:center;font-size:26rpx;flex:1}.my-assets .icon-box image{width:48rpx;height:48rpx;margin-bottom:16rpx}.my-order .icon-box,
.my-assets .icon-box{width:60rpx;height:60rpx}.my-order .icon-box .iconfont,
.my-assets .icon-box .iconfont{font-size:50rpx;color:#333}.my-assets .icon-box .dot{position:absolute;top:-13rpx;right:-8rpx;height:25rpx;min-width:25rpx;padding:4rpx;border-radius:20rpx;font-size:20rpx;background:#f00808;color:#fff}.my-assets{margin:0 20rpx;padding:30rpx;padding-top:0;background:#fff;border-radius:12rpx}.my-assets .item{display:flex;flex-direction:column;justify-content:center;align-items:center}.my-wallet{position:relative;width:200rpx;border-left:1px solid #ddd}.my-wallet::after{position:absolute;display:block;content:"";left:0;border:8rpx solid transparent;border-left-color:#ddd}.menu-wrap{margin:0 20rpx;margin-top:30rpx;background:#fff;border-radius:12rpx}.menu-wrap .group-bd{display:flex;justify-content:flex-start;align-items:flex-start}.menu-wrap .item{display:flex;justify-content:center;align-items:center;flex-direction:column;width:142rpx;height:150rpx;font-size:24rpx}.menu-wrap .icon-round{width:60rpx;height:60rpx;color:#fff}.menu-wrap .item .iconfont{font-size:40rpx;color:#fff}.menu-wrap .item .name{margin-top:19rpx}.bind_phone{width:100%;height:80rpx;padding:0 30rpx;box-sizing:border-box;margin-bottom:30rpx}.bind_content{display:flex;justify-content:space-between;align-items:center;background:#fff;border-radius:16rpx;height:100%;padding:0 20rpx}.bind_btn{width:134rpx;height:50rpx;line-height:50rpx;font-size:22rpx;border-radius:25rpx;text-align:center;color:#fff;background-color:#e2231a}.vertical{position:absolute;top:10px;right:53px;z-index:100000}.vertical_img{width:100rpx;height:100rpx}.f20{margin-left:5rpx;font-size:19rpx}.red_mini{color:#333;font-size:36rpx;font-weight:700}.icon-zhuanshutequan{color:#f5dca6;margin-right:3px}.news{position:absolute;top:40rpx;right:20rpx;z-index:100}.news .chat{width:40rpx;height:40rpx}.news .icon-xiaoxi{font-size:50rpx;color:#fff}.news_num{position:absolute;top:24rpx;right:44rpx;z-index:100;border-radius:50%;width:25rpx;height:25rpx;text-align:center;line-height:25rpx;color:#fff;background-color:#f63;padding:5rpx;font-size:20rpx}.my-assets-all{display:flex;justify-content:space-between;align-items:center;height:90rpx;line-height:90rpx}.my-assets-all .icon.icon-jiantou{font-size:12px;color:#999}

View File

@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/modify-phone/modify-phone"],{"0cc9":function(t,n,e){"use strict";(function(t,n){var o=e("47a9");e("7d57");o(e("3240"));var i=o(e("d2ce"));t.__webpack_require_UNI_MP_PLUGIN__=e,n(i.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])},"3dc4":function(t,n,e){},4409:function(t,n,e){"use strict";var o=e("3dc4"),i=e.n(o);i.a},"670a":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={data:function(){return{formData:{mobile:"",code:""},is_send:!1,send_btn_txt:"获取验证码",second:60,ip:""}},onLoad:function(){},methods:{formSubmit:function(){/^1(3|4|5|6|7|8|9)\d{9}$/.test(this.formData.mobile)?""!=this.formData.code?(t.showLoading({title:"正在提交"}),t.navigateBack(),this._post("user.userweb/bindMobile",this.formData,(function(n){t.showToast({title:"绑定成功",duration:2e3}),setTimeout((function(){t.navigateBack()}),2e3)}),!1,(function(){t.hideLoading()}))):t.showToast({title:"验证码不能为空!",duration:2e3,icon:"none"}):t.showToast({title:"手机有误,请重填!",duration:2e3,icon:"none"})},sendCode:function(){var n=this;/^1(3|4|5|6|7|8|9)\d{9}$/.test(n.formData.mobile)?n._post("user.userweb/sendCode",{mobile:n.formData.mobile},(function(e){1==e.code&&(t.showToast({title:"发送成功"}),n.is_send=!0,n.changeMsg())})):t.showToast({title:"手机有误,请重填!",duration:2e3,icon:"none"})},changeMsg:function(){this.second>0?(this.send_btn_txt=this.second+"秒",this.second--,setTimeout(this.changeMsg,1e3)):(this.send_btn_txt="获取验证码",this.second=60,this.is_send=!1)}}};n.default=e}).call(this,e("df3c")["default"])},b088:function(t,n,e){"use strict";e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return i})),e.d(n,"a",(function(){}));var o=function(){var t=this.$createElement;this._self._c},i=[]},d2ce:function(t,n,e){"use strict";e.r(n);var o=e("b088"),i=e("f856");for(var a in i)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(a);e("4409");var s=e("828b"),c=Object(s["a"])(i["default"],o["b"],o["c"],!1,null,"5696a078",null,!1,o["a"],void 0);n["default"]=c.exports},f856:function(t,n,e){"use strict";e.r(n);var o=e("670a"),i=e.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(a);n["default"]=i.a}},[["0cc9","common/runtime","common/vendor"]]]);

View File

@ -0,0 +1,5 @@
{
"navigationBarTitleText": "绑定手机号",
"enablePullDownRefresh": false,
"usingComponents": {}
}

View File

@ -0,0 +1 @@
<view class="login-container data-v-5696a078"><view class="p30 data-v-5696a078"><view class="group-bd data-v-5696a078"><view class="form-level d-s-c data-v-5696a078"><view class="d-s-c field-name data-v-5696a078"><text class="orange data-v-5696a078">*</text><text class="gray3 data-v-5696a078">手机号:</text></view><view class="val flex-1 data-v-5696a078"><input type="text" placeholder="请输入要绑定的新手机号" disabled="{{is_send}}" data-event-opts="{{[['input',[['__set_model',['$0','mobile','$event',[]],['formData']]]]]}}" value="{{formData.mobile}}" bindinput="__e" class="data-v-5696a078"/></view></view><view class="form-level d-s-c data-v-5696a078"><view class="d-s-c field-name data-v-5696a078"><text class="orange data-v-5696a078">*</text><text class="gray3 data-v-5696a078">验证码:</text></view><view class="val flex-1 d-b-c data-v-5696a078"><input class="flex-1 data-v-5696a078" type="number" placeholder="请输入验证码" data-event-opts="{{[['input',[['__set_model',['$0','code','$event',[]],['formData']]]]]}}" value="{{formData.code}}" bindinput="__e"/><button class="get-code-btn data-v-5696a078" type="default" disabled="{{is_send}}" data-event-opts="{{[['tap',[['sendCode',['$event']]]]]}}" bindtap="__e">{{send_btn_txt}}</button></view></view></view></view><view class="btns p30 data-v-5696a078"><button type="default" data-event-opts="{{[['tap',[['formSubmit',['$event']]]]]}}" bindtap="__e" class="data-v-5696a078">提交</button></view></view>

View File

@ -0,0 +1 @@
.login-container.data-v-5696a078{background:#fff}.login-container input.data-v-5696a078{height:88rpx;line-height:88rpx}.wechatapp.data-v-5696a078{padding:80rpx 0 48rpx;border-bottom:1rpx solid #e3e3e3;margin-bottom:72rpx;text-align:center}.wechatapp .header.data-v-5696a078{width:190rpx;height:190rpx;border:2px solid #fff;margin:0rpx auto 0;border-radius:50%;overflow:hidden;box-shadow:1px 0 5px rgba(50,50,50,.3)}.auth-title.data-v-5696a078{color:#585858;font-size:34rpx;margin-bottom:40rpx}.auth-subtitle.data-v-5696a078{color:#888;margin-bottom:88rpx;font-size:28rpx}.login-btn.data-v-5696a078{padding:0 20rpx}.login-btn button.data-v-5696a078{height:88rpx;line-height:88rpx;background:#04be01;color:#fff;font-size:30rpx;border-radius:999rpx;text-align:center}.no-login-btn.data-v-5696a078{margin-top:20rpx;padding:0 20rpx}.no-login-btn button.data-v-5696a078{height:88rpx;line-height:88rpx;background:#dfdfdf;color:#fff;font-size:30rpx;border-radius:999rpx;text-align:center}.get-code-btn.data-v-5696a078{width:200rpx;height:80rpx;line-height:76rpx;padding:0rpx 30rpx;border-radius:40rpx;white-space:nowrap;border:1rpx solid #e2231a;color:#e2231a;font-size:30rpx}.get-code-btn[disabled="true"].data-v-5696a078{border:1rpx solid #ccc}.btns button.data-v-5696a078{height:90rpx;line-height:90rpx;font-size:34rpx;border-radius:45rpx;background:#e2231a;color:#fff}

View File

@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/my-bargain/my-bargain"],{"3bea":function(t,n,e){"use strict";(function(t,n){var a=e("47a9");e("7d57");a(e("3240"));var o=a(e("b46c"));t.__webpack_require_UNI_MP_PLUGIN__=e,n(o.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])},5981:function(t,n,e){"use strict";var a=e("95ec"),o=e.n(a);o.a},6926:function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){}));var a=function(){var t=this,n=t.$createElement,e=(t._self._c,t.topBarTop()),a=t.topBarHeight(),o=0!=a?t.topBarHeight():null,i=t.__map(t.listData,(function(n,e){var a=t.__get_orig(n),o=0==t.status?t.rturnObjec(n):null,i=t.progressReturn(n),r=t.progressReturn(n);return{$orig:a,m3:o,m4:i,m5:r}})),r=0==t.listData.length&&!t.loading;t.$mp.data=Object.assign({},{$root:{m0:e,m1:a,m2:o,l0:i,g0:r}})},o=[]},"7be8":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a={components:{uniLoadMore:function(){e.e("components/uni-load-more").then(function(){return resolve(e("e5dd"))}.bind(null,e)).catch(e.oe)},Countdown:function(){e.e("components/countdown/countdown").then(function(){return resolve(e("6d72"))}.bind(null,e)).catch(e.oe)}},data:function(){return{loading:!0,phoneHeight:0,scrollviewHigh:0,status:0,topRefresh:!1,page:1,list_rows:20,listData:[],no_more:!1,countdownConfig:{startstamp:0,endstamp:0,type:"text",title:"剩余:"}}},computed:{loadingType:function(){return this.loading?1:0!=this.listData.length&&this.no_more?2:0}},onLoad:function(t){},mounted:function(){this.init(),this.getData()},methods:{rturnObjec:function(t){return{type:"text",startstamp:0,endstamp:t.end_time,title:"剩余"}},progressReturn:function(t){return 1==t.is_floor?100:t.bargain_rate},init:function(){var n=this;t.getSystemInfo({success:function(e){n.phoneHeight=e.windowHeight;var a=t.createSelectorQuery().select(".top-tabbar");a.boundingClientRect((function(e){var a=n.phoneHeight-e.height,o=t.createSelectorQuery().select(".more-bargaining");o.boundingClientRect((function(t){var e=a-t.height;n.scrollviewHigh=e})).exec()})).exec()}})},stateFunc:function(t){this.status!=t&&(this.listData=[],this.page=1,this.status=t,this.getData())},getData:function(){var t=this;t.loading=!0,t._get("user.bargain/lists",{page:t.page,list_rows:t.list_rows,status:t.status},(function(n){if(t.loading=!1,t.listData=t.listData.concat(n.data.list.data),t.last_page=n.data.list.last_page,n.data.list.last_page<=1)return t.no_more=!0,!1}))},scrolltolowerFunc:function(){this.no_more||(this.page++,this.page<=this.last_page?this.getData():this.no_more=!0)},gotoDetail:function(t){this.gotoPage("/pages/plus/bargain/haggle/haggle?bargain_task_id="+t)},goback:function(){t.navigateBack({})},gotoMore:function(){this.gotoPage("/pages/plus/bargain/list/list")},returnValFunc:function(t,n){console.log(t,n)}}};n.default=a}).call(this,e("df3c")["default"])},"95ec":function(t,n,e){},b3fa:function(t,n,e){"use strict";e.r(n);var a=e("7be8"),o=e.n(a);for(var i in a)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(i);n["default"]=o.a},b46c:function(t,n,e){"use strict";e.r(n);var a=e("6926"),o=e("b3fa");for(var i in o)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(i);e("5981");var r=e("828b"),s=Object(r["a"])(o["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);n["default"]=s.exports}},[["3bea","common/runtime","common/vendor"]]]);

View File

@ -0,0 +1,8 @@
{
"navigationStyle": "custom",
"navigationBarTitleText": "我的砍价",
"usingComponents": {
"uni-load-more": "/components/uni-load-more",
"countdown": "/components/countdown/countdown"
}
}

View File

@ -0,0 +1 @@
<view><view class="ww100" style="{{'background-color:#5508BE;'+('height:'+$root.m0+'px;')}}"></view><view class="tc head_top" style="{{'background-color:#5508BE;'+($root.m1==0?'':'height:'+$root.m2+'px;')}}"><view data-event-opts="{{[['tap',[['goback',['$event']]]]]}}" class="reg180" bindtap="__e"><text class="icon iconfont icon-jiantou"></text></view><view class="fb">我的砍价</view></view><view class="top-tabbar"><view data-event-opts="{{[['tap',[['stateFunc',[0]]]]]}}" class="{{[status==0?'tab-item active':'tab-item']}}" bindtap="__e">进行中</view><view data-event-opts="{{[['tap',[['stateFunc',[1]]]]]}}" class="{{[status==1?'tab-item active':'tab-item']}}" bindtap="__e">砍价成功</view><view data-event-opts="{{[['tap',[['stateFunc',[2]]]]]}}" class="{{[status==2?'tab-item active':'tab-item']}}" bindtap="__e">砍价失败</view></view><scroll-view class="scroll-Y" style="{{('height:'+scrollviewHigh+'px;')}}" scroll-y="true" lower-threshold="50" data-event-opts="{{[['scrolltolower',[['scrolltolowerFunc',['$event']]]]]}}" bindscrolltolower="__e"><view class="my-bargaing-list"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['gotoDetail',['$0'],[[['listData','',index,'bargain_task_id']]]]]]]}}" class="item" bindtap="__e"><view class="datetime d-b-c"><text class="f28">{{item.$orig.create_time}}</text><block wx:if="{{status==0}}"><view class="surplus-time"><countdown vue-id="{{'d220cb7c-1-'+index}}" config="{{item.m3}}" bind:__l="__l"></countdown></view></block></view><view class="product d-s-s mt30"><view class="cover"><image src="{{item.$orig.file_path}}" mode="aspectFill"></image></view><view class="info flex-1 ml20 f28"><text class="f26 text-ellipsis-2">{{item.$orig.product_name}}</text><view class="mt20"><text class="redF6 f26">砍到底价:</text><text class="redF6 f20">¥</text><text class="redF6 f32">{{item.$orig.bargain_price}}</text><text class="ml10 gray9 text-l-t f26">{{item.$orig.product_price}}</text></view><view class="d-b-c mt10 f24"><view><text class="gray3">完成度:</text><text class="gray3">{{item.m4+"%"}}</text></view><view class="progress-box"><view class="progress-box-active" style="{{('width:'+item.m5+'%;')}}"></view></view></view></view></view></view></block><block wx:if="{{$root.g0}}"><view class="d-c-c p30"><text class="iconfont icon-wushuju"></text><text class="cont">亲,暂无相关记录哦</text></view></block><block wx:else><uni-load-more vue-id="d220cb7c-2" loadingType="{{loadingType}}" bind:__l="__l"></uni-load-more></block></view></scroll-view><view class="more-bargaining"><button class="btn-red" type="primary" data-event-opts="{{[['tap',[['gotoMore',['$event']]]]]}}" bindtap="__e">更多活动</button></view></view>

View File

@ -0,0 +1,2 @@
.one-product .pro-info{padding:0 30rpx;display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:28rpx;color:#666}.total-count .count{padding-top:10rpx;color:#666;font-size:28rpx}.product-list .total-count{position:absolute;top:0;right:0;bottom:0;background:hsla(0,0%,100%,.9)}.product-list .total-count .left-shadow{position:absolute;top:0;bottom:0;left:-24rpx;width:24rpx;overflow:hidden}.product-list .total-count .left-shadow::after{position:absolute;top:0;bottom:0;width:24rpx;right:-12rpx;display:block;content:"";background-image:radial-gradient(rgba(0,0,0,.2) 10%,rgba(0,0,0,.1) 40%,transparent 80%)}.buy-checkout{width:100%}.buy-checkout .item{min-height:50rpx;line-height:50rpx;padding:20rpx;display:flex;justify-content:space-between;font-size:28rpx}.buy-checkout .iconfont.icon-weixin{color:#04be01;font-size:50rpx}.buy-checkout .iconfont.icon-yue{color:#f0de7c;font-size:50rpx}.buy-checkout .item.active .iconfont.icon-xuanze{color:#04be01}.my-bargaing-list .item{margin-top:30rpx;padding:30rpx;background:#fff}.my-bargaing-list .surplus-time{padding:4rpx 16rpx;border-radius:4rpx;font-size:26rpx;background:#fff;color:#333}.my-bargaing-list .cover,
.my-bargaing-list .cover image{width:160rpx;height:160rpx}.more-bargaining{position:fixed;padding:20rpx;right:0;bottom:0;left:0;background:#fff}.more-bargaining button{font-size:32rpx;height:88rpx;line-height:80rpx;border-radius:40rpx;background:#8d60ff;border:none}.progress-box{width:50%;height:8rpx;background:#ece4ff;border-radius:4rpx;overflow:hidden}.progress-box-active{height:8rpx;border-radius:4rpx;background:linear-gradient(90deg,#cebbff,#723bff)}.reg180{padding-right:20rpx;text-align:right;-webkit-transform:rotateY(180deg);transform:rotateY(180deg);position:absolute;bottom:0}.icon-jiantou{color:#fff;font-size:30rpx}.head_top{position:relative;height:30px;line-height:30px;color:#fff;font-size:32rpx}.bg_topimg{position:absolute;top:0;background-color:#5508be;width:100%;height:320rpx;z-index:-1}.top-tabbar{background-color:#5508be;border-bottom:none;padding-bottom:20rpx}.tab-item{color:#fff;font-size:32rpx}.tab-item.active{font-weight:700;color:#fff;position:relative}.tab-item.active::after{content:"";width:80rpx;height:4rpx;background:#e8e8e8;border-radius:2rpx;bottom:0}.my-bargaing-list{margin:0 20rpx}.my-bargaing-list .item{border-radius:12px}

View File

@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/my-coupon/my-coupon"],{"0493":function(t,e,n){"use strict";n.r(e);var i=n("9385"),a=n("c2f3");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("7c1a");var u=n("828b"),s=Object(u["a"])(a["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=s.exports},"67f5":function(t,e,n){},"797c":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{phoneHeight:0,scrollviewHigh:0,state_active:0,DataList:{},no_more:!1,loading:!1,data_type:"not_use",supList:[]}},mounted:function(){this.init(),this.getData()},methods:{init:function(){var e=this;t.getSystemInfo({success:function(n){e.phoneHeight=n.windowHeight;var i=t.createSelectorQuery().select(".top-tabbar");i.boundingClientRect((function(t){var n=e.phoneHeight-t.height;e.scrollviewHigh=n})).exec()}})},getData:function(){var e=this;t.showLoading({title:"加载中"});var n=e.data_type;e._get("user.coupon/lists",{data_type:n},(function(n){t.hideLoading(),e.DataList=n.data.list,e.getSup()}))},getSup:function(){var t=[],e={name:"平台优惠券",list:[]};this.DataList.forEach((function(n,i){if(console.log(i),null==n.supplier)e.list.push(n);else if(""==t)t.push({name:n.supplier.name,list:[n]});else{var a=!0;t.forEach((function(t,e){t.name===n.supplier.name&&(a=!1,t.list.push(n))})),a&&t.push({name:n.supplier.name,list:[n]})}})),console.log(t),t.push(e),this.supList=t},stateFunc:function(t){this.state_active!=t&&(0==t&&(this.data_type="not_use"),1==t&&(this.data_type="is_use"),2==t&&(this.data_type="is_expire"),this.state_active=t,this.getData())},scrolltoupperFunc:function(){console.log("滚动视图区域到顶")},scrolltolowerFunc:function(){console.log("滚动视图区域到底")},lookRule:function(t){t.rule=!0},closeRule:function(t){t.rule=!1}}};e.default=n}).call(this,n("df3c")["default"])},"7c1a":function(t,e,n){"use strict";var i=n("67f5"),a=n.n(i);a.a},9385:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=(t._self._c,t.__map(t.supList,(function(e,n){var i=t.__get_orig(e),a=e.list.length,o=a>0?t.__map(e.list,(function(n,i){var a=t.__get_orig(n),o=e.list.length;return{$orig:a,g1:o}})):null,u=a>0?0==t.DataList.length&&!t.loading:null;return{$orig:i,g0:a,l0:o,g2:u}})));t.$mp.data=Object.assign({},{$root:{l1:n}})},a=[]},c2f3:function(t,e,n){"use strict";n.r(e);var i=n("797c"),a=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"]=a.a},e44e:function(t,e,n){"use strict";(function(t,e){var i=n("47a9");n("7d57");i(n("3240"));var a=i(n("0493"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(a.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])}},[["e44e","common/runtime","common/vendor"]]]);

View File

@ -0,0 +1,4 @@
{
"navigationBarTitleText": "我的优惠券",
"usingComponents": {}
}

View File

@ -0,0 +1 @@
<view><view class="top-tabbar"><view data-event-opts="{{[['tap',[['stateFunc',[0]]]]]}}" class="{{[state_active==0?'tab-item active':'tab-item']}}" bindtap="__e">未使用</view><view data-event-opts="{{[['tap',[['stateFunc',[1]]]]]}}" class="{{[state_active==1?'tab-item active':'tab-item']}}" bindtap="__e">已使用</view><view data-event-opts="{{[['tap',[['stateFunc',[2]]]]]}}" class="{{[state_active==2?'tab-item active':'tab-item']}}" bindtap="__e">已过期</view></view><scroll-view class="scroll-Y" style="{{('height:'+scrollviewHigh+'px;')}}" scroll-y="true" lower-threshold="50" data-event-opts="{{[['scrolltoupper',[['scrolltoupperFunc',['$event']]]],['scrolltolower',[['scrolltolowerFunc',['$event']]]]]}}" bindscrolltoupper="__e" bindscrolltolower="__e"><view class="p30 bg-white"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{item.g0>0}}"><view class="item-wrap mb20"><view class="d-f"><label class="icon iconfont icon-dianpu1 _span"></label><view class="con_tit">{{item.$orig.name}}</view></view><block wx:for="{{item.l0}}" wx:for-item="sup_item" wx:for-index="sup_index" wx:key="sup_index"><block wx:if="{{sup_item.g1>0}}"><view class="coupon_item"><view data-event-opts="{{[['tap',[['lookRule',['$0'],[[['supList','',index],['list','',sup_index]]]]]]]}}" class="{{[sup_item.$orig.is_expire==0&&sup_item.$orig.is_use==0?'coupon-item coupon-item-'+sup_item.$orig.color.text:'coupon-item coupon-item-gray']}}" bindtap="__e"><view class="coupon_type">{{''+(item.$orig.name=='平台优惠券'?'平台通用':item.$orig.name)+''}}</view><view class="circles"><block wx:for="{{8}}" wx:for-item="circle" wx:for-index="num" wx:key="num"><text></text></block></view><view class="info"><view>{{sup_item.$orig.coupon_type.text}}</view></view><view class="operation d-b-c"><view class="flex-1 coupon-content"><view><block wx:if="{{sup_item.$orig.coupon_type.value==10}}"><view class="price"><text class="f40 fb">{{"减"+sup_item.$orig.reduce_price*1+"元"}}</text></view></block><block wx:if="{{sup_item.$orig.coupon_type.value==20}}"><text class="f40 fb">{{sup_item.$orig.discount}}</text><text>折</text></block></view><view class="f30">{{sup_item.$orig.min_price>0?'满'+sup_item.$orig.min_price*1+'元可用':'无门槛'}}</view><view class="f24">{{'有效期:'+sup_item.$orig.start_time.text+"至"+sup_item.$orig.end_time.text+''}}</view></view><view class="right-box d-c-c"><block wx:if="{{sup_item.$orig.state.value>0}}"><block wx:if="{{sup_item.$orig.apply_range!=10}}"><view class="f30" type="default" data-event-opts="{{[['tap',[['gotoPage',['/pages/coupon/detail?coupon_id='+sup_item.$orig.coupon_id+'&apply_range='+sup_item.$orig.apply_range]]]]]}}" catchtap="__e">立即使用</view></block><block wx:else><block wx:if="{{sup_item.$orig.shop_supplier_id==0}}"><view class="f30" type="default" data-event-opts="{{[['tap',[['gotoPage',['/pages/index/index']]]]]}}" catchtap="__e">立即使用</view></block><block wx:else><view class="f30" type="default" data-event-opts="{{[['tap',[['gotoPage',['/pages/shop/shop?shop_supplier_id='+sup_item.$orig.shop_supplier_id]]]]]}}" catchtap="__e">立即使用</view></block></block></block><block wx:else><view class="f30"><text>{{sup_item.$orig.state.text}}</text></view></block></view></view></view><block wx:if="{{sup_item.$orig.apply_range==20}}"><view data-event-opts="{{[['tap',[['gotoPage',['/pages/coupon/detail?coupon_id='+sup_item.$orig.coupon_id+'&apply_range='+sup_item.$orig.apply_range]]]]]}}" class="range_item d-b-c" catchtap="__e"><view>仅可购买指定部分商品</view><view><text class="icon iconfont icon-jiantou" style="color:#999999;font-size:24rpx;"></text></view></view></block><block wx:if="{{sup_item.$orig.apply_range==30}}"><view data-event-opts="{{[['tap',[['gotoPage',['/pages/coupon/detail?coupon_id='+sup_item.$orig.coupon_id+'&apply_range='+sup_item.$orig.apply_range]]]]]}}" class="range_item d-b-c" catchtap="__e"><view>仅可购买指定分类商品</view><view><text class="icon iconfont icon-jiantou" style="color:#999999;font-size:24rpx;"></text></view></view></block></view></block></block><view><view class="bottom-refresh"><block wx:if="{{loading}}"><view class="d-c-c p30"><text class="gray3">加载中...</text></view></block><block wx:if="{{no_more}}"><view class="d-c-c p30"><text class="gray3">~~加载完成~~</text></view></block></view></view><block wx:if="{{item.g2}}"><view class="d-c-c p30"><text class="iconfont icon-wushuju"></text><text class="cont">亲,暂无相关记录哦</text></view></block></view></block></block></view></scroll-view></view>

View File

@ -0,0 +1 @@
.d-f{display:flex;align-items:center}.icon-dianpu1{margin-right:15rpx}.coupon_type{padding:10rpx 20rpx;position:absolute;z-index:100;color:#fff;right:0;top:0;background:hsla(0,0%,79.2%,.5019607843137255);height:36rpx;border-bottom-left-radius:18rpx}.con_tit{font-weight:800;font-size:31rpx}.coupon_item{margin:20rpx 0}.range_item{border:1rpx solid #d9d9d9;border-top:none;padding:8rpx;border-bottom-left-radius:10rpx;border-bottom-right-radius:10rpx;color:#666;box-shadow:0 0 8rpx rgba(0,0,0,.1)}

View File

@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/my-wallet/my-balance"],{"1f51":function(t,e,a){"use strict";a.r(e);var n=a("39c8"),o=a("4461");for(var i in o)["default"].indexOf(i)<0&&function(t){a.d(e,t,(function(){return o[t]}))}(i);var l=a("828b"),r=Object(l["a"])(o["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=r.exports},"39c8":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=(this._self._c,0==this.tableData.length&&!this.loading);this.$mp.data=Object.assign({},{$root:{g0:e}})},o=[]},4461:function(t,e,a){"use strict";a.r(e);var n=a("ee12"),o=a.n(n);for(var i in n)["default"].indexOf(i)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(i);e["default"]=o.a},"474e":function(t,e,a){"use strict";(function(t,e){var n=a("47a9");a("7d57");n(a("3240"));var o=n(a("1f51"));t.__webpack_require_UNI_MP_PLUGIN__=a,e(o.default)}).call(this,a("3223")["default"],a("df3c")["createPage"])},ee12:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={components:{uniLoadMore:function(){a.e("components/uni-load-more").then(function(){return resolve(a("e5dd"))}.bind(null,a)).catch(a.oe)}},data:function(){return{loading:!0,topRefresh:!1,phoneHeight:0,scrollviewHigh:0,tableData:[],last_page:0,page:1,list_rows:20,no_more:!1,type:"all"}},computed:{loadingType:function(){return this.loading?1:0!=this.tableData.length&&this.no_more?2:0}},onLoad:function(t){this.type=t.type,this.getData()},onReachBottom:function(){this.page<this.last_page&&(this.page++,this.getData()),this.no_more=!0},methods:{getData:function(){var t=this,e=t.page,a=t.list_rows;t.loading=!0,t._get("balance.log/lists",{page:e||1,list_rows:a,type:t.type},(function(e){if(t.loading=!1,t.tableData=t.tableData.concat(e.data.list.data),t.last_page=e.data.list.last_page,e.data.list.last_page<=1)return t.no_more=!0,!1}))}}};e.default=n}},[["474e","common/runtime","common/vendor"]]]);

View File

@ -0,0 +1,6 @@
{
"navigationBarTitleText": "钱包明细",
"usingComponents": {
"uni-load-more": "/components/uni-load-more"
}
}

View File

@ -0,0 +1 @@
<view class="p-0-30 bg-white"><block wx:for="{{tableData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="d-b-c border-b p-30-0"><view class="d-s-s f-w d-c flex-1"><text class="30">{{item.scene.text}}</text><text class="pt10 gray9 f22">{{item.create_time}}</text></view><block wx:if="{{item.money>0}}"><view class="red">{{"+"+item.money+"元"}}</view></block><block wx:else><view class="red">{{item.money+"元"}}</view></block></view></block><block wx:if="{{$root.g0}}"><view class="d-c-c p30"><text class="iconfont icon-wushuju"></text><text class="cont">亲,暂无相关记录哦</text></view></block><block wx:else><uni-load-more vue-id="4779651b-1" loadingType="{{loadingType}}" bind:__l="__l"></uni-load-more></block></view>

View File

@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/my-wallet/my-wallet"],{"1cf2":function(t,a,n){},"2f64":function(t,a,n){"use strict";n.r(a);var e=n("fcaa"),o=n.n(e);for(var c in e)["default"].indexOf(c)<0&&function(t){n.d(a,t,(function(){return e[t]}))}(c);a["default"]=o.a},3086:function(t,a,n){"use strict";(function(t,a){var e=n("47a9");n("7d57");e(n("3240"));var o=e(n("3f2a"));t.__webpack_require_UNI_MP_PLUGIN__=n,a(o.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},"3f2a":function(t,a,n){"use strict";n.r(a);var e=n("8726"),o=n("2f64");for(var c in o)["default"].indexOf(c)<0&&function(t){n.d(a,t,(function(){return o[t]}))}(c);n("4662");var i=n("828b"),u=Object(i["a"])(o["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],void 0);a["default"]=u.exports},4662:function(t,a,n){"use strict";var e=n("1cf2"),o=n.n(e);o.a},8726:function(t,a,n){"use strict";n.d(a,"b",(function(){return e})),n.d(a,"c",(function(){return o})),n.d(a,"a",(function(){}));var e=function(){var t=this.$createElement,a=(this._self._c,this.topBarHeight()),n=this.topBarTop(),e=this.topBarTop(),o=this.topBarHeight(),c=0!=o?this.topBarHeight():null;this.$mp.data=Object.assign({},{$root:{m0:a,m1:n,m2:e,m3:o,m4:c}})},o=[]},fcaa:function(t,a,n){"use strict";(function(t){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n={data:function(){return{dataList:[],balance:"",balance_open:0,cash_open:0}},onShow:function(){this.getData()},methods:{getData:function(){var t=this;t.loading=!0,t._get("balance.log/index",{},(function(a){t.loading=!1,t.dataList=a.data.list,t.balance=a.data.balance,t.balance_open=a.data.balance_open,t.cash_open=a.data.cash_open}))},gotoList:function(t){this.gotoPage("/pages/user/my-wallet/my-balance?type="+t)},goback:function(){t.navigateBack()},gotoPay:function(){this.gotoPage("/pages/order/recharge")}}};a.default=n}).call(this,n("df3c")["default"])}},[["3086","common/runtime","common/vendor"]]]);

View File

@ -0,0 +1,5 @@
{
"navigationStyle": "custom",
"navigationBarTitleText": "我的钱包",
"usingComponents": {}
}

View File

@ -0,0 +1 @@
<view class="index"><view class="top_bg" style="{{('height:'+(368+$root.m0*2+$root.m1*2)+'rpx;')}}"><view class="ww100" style="{{('height:'+$root.m2+'px;')}}"></view><view class="tc head_top" style="{{($root.m3==0?'':'height:'+$root.m4+'px;')}}"><view data-event-opts="{{[['tap',[['goback',['$event']]]]]}}" class="reg180" bindtap="__e"><text class="icon iconfont icon-jiantou"></text></view><view class="fb">我的钱包</view></view><view class="card-top"><view class="f60 white"><text class="f36">¥</text>{{balance}}</view><view class="f26 white pr">账户余额(元)<block wx:if="{{cash_open}}"><text data-event-opts="{{[['tap',[['gotoPage',['/pages/user/cash/apply']]]]]}}" class="cash_btn ml20 f22" bindtap="__e">提现</text></block></view></view></view><view class="wallet-content"><block wx:if="{{balance_open}}"><view class="index-head"><view class="card-bottom"><view data-event-opts="{{[['tap',[['gotoPay',['$event']]]]]}}" class="width-150 font-30 pr flex-1" bindtap="__e"><view><image class="wallet_img" src="../../../static/icon/chongzhijiaofei.png" mode></image></view><view class="f26 gray6">充值</view><view class="icon iconfont icon-jiantou"></view></view><view class="none_line"></view><view data-event-opts="{{[['tap',[['gotoList',['rechange']]]]]}}" class="width-150 font-30 pr flex-1" bindtap="__e"><view><image class="wallet_img" src="../../../static/icon/chongzhijilu.png" mode></image></view><view class="f26 gray6">充值记录</view><view class="icon iconfont icon-jiantou"></view></view></view></view></block><view class="index-body"><view class="body-head"><view class="f30">余额提现明细</view><view data-event-opts="{{[['tap',[['gotoPage',['/pages/user/cash/list']]]]]}}" class="f26 gray9" bindtap="__e">更多明细<text class="icon iconfont icon-jiantou" style="color:#999999;font-size:22rpx;"></text></view></view></view><view class="index-body"><view class="body-head"><view class="f30">钱包明细</view><view data-event-opts="{{[['tap',[['gotoList',['all']]]]]}}" class="f26 gray9" bindtap="__e">更多明细<text class="icon iconfont icon-jiantou" style="color:#999999;font-size:22rpx;"></text></view></view><block wx:for="{{dataList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="body-item"><view class="body-item-top"><view class="body-item-top-left f32">{{item.scene.text}}</view><block wx:if="{{item.money>0}}"><view class="body-item-top-right f36">{{"+"+item.money}}</view></block><block wx:else><view class="body-item-top-right f36">{{item.money}}</view></block></view><view class="body-item-bottom"><view class="body-item-bottom-left font-24 gray9">{{item.create_time}}</view></view></view></block></view></view></view>

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/my_attention/my_attention"],{"0028":function(t,n,o){},"03d0":function(t,n,o){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={components:{uniLoadMore:function(){o.e("components/uni-load-more").then(function(){return resolve(o("e5dd"))}.bind(null,o)).catch(o.oe)}},data:function(){return{loading:!0,no_more:!1,scrollviewHigh:"",product_list:[],page:1,last_page:"",isfollow:""}},computed:{loadingType:function(){return this.loading?1:0!=this.product_list.length&&this.no_more?2:0}},onShow:function(){this.init(),this.getData()},methods:{init:function(){var n=this;n.page=1,n.product_list=[],t.getSystemInfo({success:function(t){n.scrollviewHigh=t.windowHeight}})},getData:function(){var t=this;t.loading=!0,t._post("user.Favorite/list",{page:t.page,type:20,list_rows:15},(function(n){t.loading=!1,t.last_page=n.data.list.last_page,t.product_list=t.product_list.concat(n.data.list.data),n.data.list.last_page<=1?t.no_more=!0:t.no_more=!1}))},scrolltolowerFunc:function(){this.no_more||(this.page++,this.page<=this.last_page?this.getData():this.no_more=!0)},goto_product:function(t){this.gotoPage("pages/product/detail/detail?product_id="+t)},guanzhu:function(t){var n=this;n.page=1,n.loading=!0,n._post("user.Favorite/add",{pid:t,type:20},(function(t){n.loading=!1,n._post("user.Favorite/list",{page:n.page,type:20,list_rows:15},(function(t){n.product_list=t.data.list.data}))}))}}};n.default=e}).call(this,o("df3c")["default"])},"185c":function(t,n,o){"use strict";o.r(n);var e=o("b061"),i=o("39ec");for(var a in i)["default"].indexOf(a)<0&&function(t){o.d(n,t,(function(){return i[t]}))}(a);o("e6df");var s=o("828b"),u=Object(s["a"])(i["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],void 0);n["default"]=u.exports},"39ec":function(t,n,o){"use strict";o.r(n);var e=o("03d0"),i=o.n(e);for(var a in e)["default"].indexOf(a)<0&&function(t){o.d(n,t,(function(){return e[t]}))}(a);n["default"]=i.a},b061:function(t,n,o){"use strict";o.d(n,"b",(function(){return e})),o.d(n,"c",(function(){return i})),o.d(n,"a",(function(){}));var e=function(){var t=this.$createElement,n=(this._self._c,0==this.product_list.length&&!this.loading);this.$mp.data=Object.assign({},{$root:{g0:n}})},i=[]},c669:function(t,n,o){"use strict";(function(t,n){var e=o("47a9");o("7d57");e(o("3240"));var i=e(o("185c"));t.__webpack_require_UNI_MP_PLUGIN__=o,n(i.default)}).call(this,o("3223")["default"],o("df3c")["createPage"])},e6df:function(t,n,o){"use strict";var e=o("0028"),i=o.n(e);i.a}},[["c669","common/runtime","common/vendor"]]]);

View File

@ -0,0 +1,7 @@
{
"navigationBarTitleText": "我的收藏",
"enablePullDownRefresh": false,
"usingComponents": {
"uni-load-more": "/components/uni-load-more"
}
}

View File

@ -0,0 +1 @@
<view class="shop_body"><scroll-view class="scroll-Y" style="{{('height:'+scrollviewHigh+'px;')}}" scroll-y="true" lower-threshold="50" data-event-opts="{{[['scrolltolower',[['scrolltolowerFunc',['$event']]]]]}}" bindscrolltolower="__e"><block wx:for="{{product_list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="shop_body_l_item"><image src="{{item.product_image}}" image="{{true}}" data-event-opts="{{[['tap',[['goto_product',['$0'],[[['product_list','',index,'product_id']]]]]]]}}" bindtap="__e"></image><view data-event-opts="{{[['tap',[['goto_product',['$0'],[[['product_list','',index,'product_id']]]]]]]}}" class="shop_body_l_item_info" bindtap="__e"><view class="shop_body_l_item_info_title h1">{{item.product_name}}</view><view class="shop_body_l_item_info_price"><view class="h2 red">¥<text class="h1">{{item.product_price}}</text></view><view class="h4 huaxianjia">¥<text class="h3">{{item.line_price}}</text></view></view><view class="shop_body_l_item_info_others h3"><view class="shop_body_l_item_info_others_sales">{{"累计销量:"+item.product_sales+"件"}}</view></view></view><button type="default" data-event-opts="{{[['tap',[['guanzhu',['$0'],[[['product_list','',index,'product_id']]]]]]]}}" bindtap="__e">取消关注</button></view></block><block wx:if="{{$root.g0}}"><view class="d-c-c p30"><text class="iconfont icon-wushuju"></text><text class="cont">亲,暂无相关记录哦</text></view></block><block wx:else><uni-load-more vue-id="4ea73602-1" loadingType="{{loadingType}}" bind:__l="__l"></uni-load-more></block></scroll-view></view>

View File

@ -0,0 +1 @@
page{background-color:#f2f2f2}.h1{font-size:32rpx}.h2{font-size:28rpx}.h3{font-size:24rpx}.h4{font-size:20rpx}.h5{font-size:16rpx}.h6{font-size:12rpx}.red{color:#e2231a}.huaxianjia{text-decoration:line-through;color:#585858;margin-left:5rpx}.shop_body{width:100%;background-color:#f2f2f2}.shop_body_l_item{width:90%;height:250rpx;margin:0 auto;background-color:#fff;border-radius:15rpx;margin-top:20rpx;display:flex;align-items:center;padding:20rpx;box-sizing:border-box;position:relative}.shop_body_l_item image{width:34.5%;height:100%;background-color:rgba(0,0,0,.1)}.shop_body_l_item_info{width:65.5%;height:170rpx;display:flex;justify-content:space-between;flex-direction:column;padding-left:20rpx;box-sizing:border-box}.shop_body_l_item_info_title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;text-overflow:ellipsis;-webkit-box-orient:vertical;word-wrap:break-word;word-break:break-all;overflow:hidden}.shop_body_l_item_info_price{display:flex;align-items:flex-end}.shop_body_l_item_info_price view{margin-right:15rpx}.shop_body_l_item_info_others{width:100%;height:30rpx;display:flex;justify-content:space-between}.shop_body_l_item_info_others_activity{width:150rpx;height:30rpx;line-height:30rpx;border:1rpx #e22319 solid;border-radius:30rpx;color:#e22319;text-align:center;box-sizing:border-box}.shop_body_l_item_info_others_sales{color:#585858}.shop_body_l_item button{font-size:24rpx;width:120rpx;height:60rpx;line-height:60rpx;padding:0;background-image:linear-gradient(90deg,#f11e0b,#f77737);color:#fff;position:absolute;top:165rpx;left:530rpx;z-index:999}

View File

@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/my_collect/my_collect"],{"0d4a":function(t,o,n){"use strict";n.d(o,"b",(function(){return e})),n.d(o,"c",(function(){return i})),n.d(o,"a",(function(){}));var e=function(){var t=this,o=t.$createElement,n=(t._self._c,t.__map(t.shop_list,(function(o,n){var e=t.__get_orig(o),i=o.productList.length,a=i>0?o.productList.length:null;return{$orig:e,g0:i,g1:a}}))),e=0==t.shop_list.length&&!t.loading;t.$mp.data=Object.assign({},{$root:{l0:n,g2:e}})},i=[]},"2d34":function(t,o,n){"use strict";n.r(o);var e=n("0d4a"),i=n("6daa");for(var a in i)["default"].indexOf(a)<0&&function(t){n.d(o,t,(function(){return i[t]}))}(a);n("4936");var s=n("828b"),l=Object(s["a"])(i["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],void 0);o["default"]=l.exports},4936:function(t,o,n){"use strict";var e=n("6fd7"),i=n.n(e);i.a},"6daa":function(t,o,n){"use strict";n.r(o);var e=n("7e0e"),i=n.n(e);for(var a in e)["default"].indexOf(a)<0&&function(t){n.d(o,t,(function(){return e[t]}))}(a);o["default"]=i.a},"6fd7":function(t,o,n){},"7e0e":function(t,o,n){"use strict";(function(t){Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var e={components:{uniLoadMore:function(){n.e("components/uni-load-more").then(function(){return resolve(n("e5dd"))}.bind(null,n)).catch(n.oe)}},data:function(){return{shop_list:[],loading:!0,no_more:!1,scrollviewHigh:"",page:1,last_page:"",isfollow:""}},computed:{loadingType:function(){return this.loading?1:0!=this.shop_list.length&&this.no_more?2:0}},onShow:function(){this.getData(),this.init()},methods:{init:function(){var o=this;o.shop_list=[],o.page=1,t.getSystemInfo({success:function(t){o.scrollviewHigh=t.windowHeight}})},getData:function(){var t=this;t._post("user.Favorite/list",{page:t.page,type:10,list_rows:15},(function(o){t.loading=!1,t.shop_list=t.shop_list.concat(o.data.list.data),t.last_page=o.data.list.last_page,o.data.list.last_page<=1?t.no_more=!0:t.no_more=!1}))},scrolltolowerFunc:function(){this.no_more||(this.page++,this.page<=this.last_page?this.getData():this.no_more=!0)},goto_shop:function(t){this.gotoPage("/pages/shop/shop?shop_supplier_id="+t)},goto_product:function(t){this.gotoPage("/pages/product/detail/detail?product_id="+t)}}};o.default=e}).call(this,n("df3c")["default"])},efd2:function(t,o,n){"use strict";(function(t,o){var e=n("47a9");n("7d57");e(n("3240"));var i=e(n("2d34"));t.__webpack_require_UNI_MP_PLUGIN__=n,o(i.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])}},[["efd2","common/runtime","common/vendor"]]]);

View File

@ -0,0 +1,7 @@
{
"navigationBarTitleText": "我的关注",
"enablePullDownRefresh": false,
"usingComponents": {
"uni-load-more": "/components/uni-load-more"
}
}

View File

@ -0,0 +1 @@
<view><scroll-view class="scroll-Y" style="{{('height:'+scrollviewHigh+'px;')}}" scroll-y="true" lower-threshold="50" data-event-opts="{{[['scrolltolower',[['scrolltolowerFunc',['$event']]]]]}}" bindscrolltolower="__e"><view class="shop_list_body"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="shop_list_body_item"><view data-event-opts="{{[['tap',[['goto_shop',['$0'],[[['shop_list','',index,'shop_supplier_id']]]]]]]}}" class="shop_list_body_item_shop" bindtap="__e"><view class="shop_list_body_item_shop_logo"><image src="{{item.$orig.logo}}"></image></view><view class="shop_list_body_item_shop_info"><view class="h1 title">{{item.$orig.store_name}}</view><view class="h3 brand">{{"主营品牌:"+item.$orig.categoryName}}</view><view class="h3 sales">{{"销量"+item.$orig.product_sales+"件"}}</view></view><view class="shop_list_body_item_shop_others"><view class="h3 attention"><text class="red">{{item.$orig.fav_count}}</text>人关注</view><view class="h3 collect">店铺评分:<text class="red">{{item.$orig.score}}</text></view></view></view><block wx:if="{{item.g0>0}}"><view class="{{[item.g1<3?'shop_list_body_item_product2':'shop_list_body_item_product']}}"><block wx:for="{{item.$orig.productList}}" wx:for-item="item2" wx:for-index="index2" wx:key="index2"><view data-event-opts="{{[['tap',[['goto_product',['$0'],[[['shop_list','',index],['productList','',index2,'product_id']]]]]]]}}" class="shop_list_body_item_product_item" bindtap="__e"><image src="{{item2.logo}}"></image><view class="shop_list_body_item_product_item_price"><view class="h4 red">¥<text class="h3">{{item2.product_price>1000?item2.product_price*1:item2.product_price}}</text></view><view class="h6 huaxianjia">¥<text class="h5">{{item2.line_price>1000?item2.line_price*1:item2.line_price}}</text></view></view></view></block></view></block></view></block></view><block wx:if="{{$root.g2}}"><view class="d-c-c p30"><text class="iconfont icon-wushuju"></text><text class="cont">亲,暂无相关记录哦</text></view></block><block wx:else><uni-load-more vue-id="ef5e73fc-1" loadingType="{{loadingType}}" bind:__l="__l"></uni-load-more></block></scroll-view></view>

View File

@ -0,0 +1 @@
.h1{font-size:32rpx}.h2{font-size:28rpx}.h3{font-size:24rpx}.h4{font-size:20rpx}.h5{font-size:16rpx}.h6{font-size:12rpx}.huaxianjia{text-decoration:line-through;color:#585858}.shop_list_body{width:100%;padding:20rpx;box-sizing:border-box}.shop_list_body_item{display:flex;width:100%;max-height:470rpx;margin-bottom:30rpx;flex-direction:column;background-color:#fff;border-radius:20rpx;padding:10rpx;border-bottom:2rpx #f2f2f2 solid;box-sizing:border-box}.shop_list_body_item_shop{width:100%;height:150rpx;display:flex;justify-content:space-between;margin-bottom:10rpx}.shop_list_body_item_shop_logo{width:150rpx;height:150rpx}.shop_list_body_item_shop_logo image{width:100%;height:100%;background-color:rgba(0,0,0,.1);border-radius:15rpx}.shop_list_body_item_shop_info{padding:10rpx;box-sizing:border-box;margin-left:-10%;padding-top:0;display:flex;justify-content:space-between;flex-direction:column}.shop_list_body_item_shop_others{padding:10rpx;box-sizing:border-box;display:flex;justify-content:space-between;flex-direction:column;text-align:right;padding-top:0}.shop_list_body_item_product{width:100%;height:280rpx;display:flex;justify-content:space-around;align-items:center;background-color:#f2f2f2;padding:10rpx;box-sizing:border-box;border-radius:15rpx}.shop_list_body_item_product2{width:100%;height:280rpx;display:flex;justify-content:flex-start;align-items:center;background-color:#f2f2f2;padding:10rpx;box-sizing:border-box;border-radius:15rpx}.shop_list_body_item_product2 .shop_list_body_item_product_item{margin:0 10rpx}.shop_list_body_item_product_item{width:30%;height:240rpx;background-color:#fff}.shop_list_body_item_product_item image{width:100%;height:200rpx;background-color:rgba(0,0,0,.1)}.shop_list_body_item_product_item view{-webkit-box-orient:vertical;-webkit-line-clamp:1;text-overflow:ellipsis;-webkit-box-orient:vertical;word-wrap:break-word;word-break:break-all;overflow:hidden}.shop_list_body_item_product_item_price{display:flex;justify-content:flex-start;align-items:flex-end}.brand{position:relative;top:-20rpx;color:#585858}.sales{color:#585858}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,7 @@
{
"navigationBarTitleText": "商品添加",
"enablePullDownRefresh": false,
"usingComponents": {
"upload": "/components/upload/upload"
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/my_shop/after_sale"],{"131e":function(t,e,a){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={components:{uniLoadMore:function(){a.e("components/uni-load-more").then(function(){return resolve(a("e5dd"))}.bind(null,a)).catch(a.oe)}},data:function(){return{phoneHeight:0,scrollviewHigh:0,state_active:-1,tableData:[],list_rows:5,last_page:0,page:1,no_more:!1,loading:!0,topRefresh:!1,shop_supplier_id:""}},computed:{loadingType:function(){return this.loading?1:0!=this.tableData.length&&this.no_more?2:0}},onLoad:function(t){this.shop_supplier_id=t.shop_supplier_id},mounted:function(){this.init(),this.getData()},methods:{init:function(){var e=this;t.getSystemInfo({success:function(a){e.phoneHeight=a.windowHeight;var n=t.createSelectorQuery().select(".top-tabbar");n.boundingClientRect((function(t){var a=e.phoneHeight-t.height;e.scrollviewHigh=a})).exec()}})},getData:function(){var t=this;t.loading=!0;var e=t.page,a=t.state_active,n=t.list_rows;t._get("user.refund/lists",{shop_supplier_id:t.shop_supplier_id,state:a,page:e||1,list_rows:n,type:2},(function(e){if(t.loading=!1,t.tableData=t.tableData.concat(e.data.list.data),t.last_page=e.data.list.last_page,t.last_page<=1)return t.no_more=!0,!1}))},stateFunc:function(t){this.state_active!=t&&(this.tableData=[],this.loading=!0,this.page=1,this.state_active=t,this.getData())},gotoRefundDetail:function(t){this.gotoPage("/pages/order/refund/detail/detail?source=supplier&order_refund_id="+t)},scrolltolowerFunc:function(){this.no_more||(this.page++,this.page<=this.last_page?this.getData():this.no_more=!0)}}};e.default=n}).call(this,a("df3c")["default"])},"262f":function(t,e,a){"use strict";(function(t,e){var n=a("47a9");a("7d57");n(a("3240"));var i=n(a("8c57"));t.__webpack_require_UNI_MP_PLUGIN__=a,e(i.default)}).call(this,a("3223")["default"],a("df3c")["createPage"])},"83e9":function(t,e,a){"use strict";a.r(e);var n=a("131e"),i=a.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);e["default"]=i.a},"8a06":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=(this._self._c,0==this.tableData.length&&!this.loading);this.$mp.data=Object.assign({},{$root:{g0:e}})},i=[]},"8c57":function(t,e,a){"use strict";a.r(e);var n=a("8a06"),i=a("83e9");for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);var s=a("828b"),r=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=r.exports}},[["262f","common/runtime","common/vendor"]]]);

View File

@ -0,0 +1,7 @@
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"usingComponents": {
"uni-load-more": "/components/uni-load-more"
}
}

View File

@ -0,0 +1 @@
<view class="refund-list"><view class="top-tabbar"><view data-event-opts="{{[['tap',[['stateFunc',[-1]]]]]}}" class="{{[state_active==-1?'tab-item active':'tab-item']}}" bindtap="__e">全部</view><view data-event-opts="{{[['tap',[['stateFunc',[0]]]]]}}" class="{{[state_active==0?'tab-item active':'tab-item']}}" bindtap="__e">待处理</view></view><scroll-view class="scroll-Y" style="{{('height:'+scrollviewHigh+'px;')}}" scroll-y="true" lower-threshold="50" data-event-opts="{{[['scrolltoupper',[['scrolltoupperFunc',['$event']]]],['scrolltolower',[['scrolltolowerFunc',['$event']]]]]}}" bindscrolltoupper="__e" bindscrolltolower="__e"><view class="{{[topRefresh?'top-refresh open':'top-refresh']}}"><block wx:for="{{3}}" wx:for-item="circle" wx:for-index="n" wx:key="n"><view class="circle"></view></block></view><view class="list"><block wx:for="{{tableData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item bg-white p30 mb20"><view class="d-b-c"><text>{{item.create_time}}</text><text class="red">{{item.state_text}}</text></view><view class="one-product d-s-c pt20"><view class="cover"><image src="{{item.orderproduct.image.file_path}}" mode="aspectFit"></image></view><view class="flex-1"><view class="pro-info">{{item.orderproduct.product_name}}</view></view></view><view class="d-e-c pt20"><view>商品金额:<text class="red">{{"¥"+item.orderproduct.line_price}}</text></view></view><view class="d-e-c pt10"><view>订单实付金额:<text class="red">{{"¥"+item.orderproduct.total_price}}</text></view></view><view class="d-e-c mt20 pt20 border-t"><button class="btn-gray-border" type="default" data-event-opts="{{[['tap',[['gotoRefundDetail',['$0'],[[['tableData','',index,'order_refund_id']]]]]]]}}" bindtap="__e">查看详情</button></view></view></block><block wx:if="{{$root.g0}}"><view class="d-c-c p30"><text class="iconfont icon-wushuju"></text><text class="cont">亲,暂无相关记录哦</text></view></block><block wx:else><uni-load-more vue-id="53de5d1b-1" loadingType="{{loadingType}}" bind:__l="__l"></uni-load-more></block></view></scroll-view></view>

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,9 @@
{
"navigationBarTitleText": "直播预告",
"enablePullDownRefresh": false,
"usingComponents": {
"upload": "/components/upload/upload",
"picker-view-datetime": "/components/picker-view-datetime/pickerViewDatetime",
"products": "/pages/user/my_shop/my_live/add/dialog/Products"
}
}

View File

@ -0,0 +1 @@
<view class="data-v-0a06233c"><scroll-view class="pr scroll-Y data-v-0a06233c" style="{{('height:'+scrollviewHigh+'px;')}}" scroll-y="true" lower-threshold="50"><view class="add-live-room data-v-0a06233c"><view class="form-level data-v-0a06233c"><view class="level-name data-v-0a06233c">标题</view><view class="level-content data-v-0a06233c"><input type="text" placeholder="请输入标题" data-event-opts="{{[['input',[['__set_model',['$0','name','$event',[]],['form']]]]]}}" value="{{form.name}}" bindinput="__e" class="data-v-0a06233c"/></view></view><view class="form-level data-v-0a06233c"><view class="level-name data-v-0a06233c">直播间开始时间</view><view class="level-content data-v-0a06233c"><picker-view-datetime bind:get="__e" vue-id="5eeaf7b4-1" data-event-opts="{{[['^get',[['getStartTime']]]]}}" class="data-v-0a06233c" bind:__l="__l"></picker-view-datetime></view></view><view class="form-level pt60 data-v-0a06233c"><view class="level-name data-v-0a06233c">预告封面</view><view class="level-content data-v-0a06233c"><block wx:if="{{!form.share_img_id}}"><view data-event-opts="{{[['tap',[['openUpload',['share_img_']]]]]}}" class="upload-btn d-c-c d-c data-v-0a06233c" bindtap="__e"><text class="icon iconfont icon-xiangji data-v-0a06233c"></text><text class="gray9 data-v-0a06233c">上传图片</text></view></block><block wx:else><view data-event-opts="{{[['tap',[['openUpload',['share_img_']]]]]}}" class="video-cover data-v-0a06233c" bindtap="__e"><image class="video_img data-v-0a06233c" src="{{form.share_img_path}}" mode="aspectFit"></image></view></block></view></view></view></scroll-view><view class="foot-btns add-video-btns data-v-0a06233c"><button class="btn-rose data-v-0a06233c" type="primary" data-event-opts="{{[['tap',[['formSubmit',['$event']]]]]}}" bindtap="__e">立即创建</button></view><products vue-id="5eeaf7b4-2" open="{{open_products}}" relationList="{{relationList}}" data-event-opts="{{[['^close',[['closeProducts']]]]}}" bind:close="__e" class="data-v-0a06233c" bind:__l="__l"></products><block wx:if="{{isUpload}}"><upload vue-id="5eeaf7b4-3" type="{{file_type}}" data-event-opts="{{[['^getImgs',[['getImgsFunc']]]]}}" bind:getImgs="__e" class="data-v-0a06233c" bind:__l="__l"></upload></block></view>

View File

@ -0,0 +1 @@
.add-live-room.data-v-0a06233c{padding:20rpx;background:#fff}.add-live-room .form-level.data-v-0a06233c{font-size:30rpx;justify-content:flex-start;align-items:flex-start;flex-direction:column}.add-live-room .form-level .level-name.data-v-0a06233c{width:240rpx;color:#000}.add-live-room .level-content.data-v-0a06233c{margin-top:20rpx;width:100%}.add-live-room .level-content input.data-v-0a06233c{margin-bottom:20rpx;border:1rpx solid #cacaca;padding:20rpx}.relation-product.data-v-0a06233c{height:90rpx;padding:0 10rpx;line-height:90rpx;border-radius:16rpx;border:1rpx solid #ccc}.add-video-btns.data-v-0a06233c{padding:0;z-index:80}.add-video-btns button.data-v-0a06233c{width:100%;height:90rpx;line-height:90rpx;background:#e2231a;color:#fff;border-radius:0}.typepicker.data-v-0a06233c{background-color:#e2231a;color:#fff;width:200rpx;height:75rpx;border-radius:20rpx;text-align:center;line-height:75rpx;padding-left:15rpx;font-size:25rpx;margin:25 0rpx}.video_img.data-v-0a06233c{width:640rpx;height:480rpx;display:block}.upload-btn.data-v-0a06233c{width:120rpx;height:120rpx;border:1rpx solid #cacaca}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/my_shop/my_live/add/dialog/Products"],{"70c1":function(t,i,o){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;i.default={components:{},data:function(){return{loading:!0,no_more:!1,listData:[],page:1,list_rows:10,productIds:[]}},computed:{},props:["open","relationList"],watch:{open:function(t,i){t!=i&&t&&(this.start(),this.productIds=this.relationList)}},methods:{isrelation:function(t){return-1!=this.productIds.indexOf(t.product_id)},start:function(){this.loading=!0,this.no_more=!1,this.listData=[],this.page=1,this.list_rows=10,this.getData()},getData:function(){var t=this,i=t.page,o=t.list_rows;t.loading=!0,t._get("plus.agent.product/lists",{page:i||1,list_rows:o},(function(i){t.loading=!1,t.listData=t.listData.concat(i.data.list.data),t.last_page=i.data.list.last_page,i.data.list.last_page<=1&&(t.no_more=!0)}))},scrolltolowerFunc:function(){if(this.bottomRefresh=!0,this.page++,this.loading=!0,this.page>this.last_page)return this.loading=!1,void(this.no_more=!0);this.getData()},relationProduct:function(t){var i=this.productIds.indexOf(t.product_id);-1!=i?this.productIds.splice(i,1):this.productIds.push(t.product_id)},closeFunc:function(){this.$emit("close",this.productIds)},gotoProduct:function(t){var i="pages/product/detail/detail?product_id="+t.product_id+"&room_id="+this.liveRoomDetal.room_id;this.gotoPage(i)},gotoOrder:function(){this.$parent.exit();this.gotoPage("pages/order/myorder/myorder")}}}},"7d7b":function(t,i,o){},b11b:function(t,i,o){"use strict";o.r(i);var a=o("d26a"),n=o("bcf2");for(var s in n)["default"].indexOf(s)<0&&function(t){o.d(i,t,(function(){return n[t]}))}(s);o("f0f4");var e=o("828b"),r=Object(e["a"])(n["default"],a["b"],a["c"],!1,null,"35528108",null,!1,a["a"],void 0);i["default"]=r.exports},bcf2:function(t,i,o){"use strict";o.r(i);var a=o("70c1"),n=o.n(a);for(var s in a)["default"].indexOf(s)<0&&function(t){o.d(i,t,(function(){return a[t]}))}(s);i["default"]=n.a},d26a:function(t,i,o){"use strict";o.d(i,"b",(function(){return a})),o.d(i,"c",(function(){return n})),o.d(i,"a",(function(){}));var a=function(){var t=this,i=t.$createElement,o=(t._self._c,t.__map(t.listData,(function(i,o){var a=t.__get_orig(i),n=t.isrelation(i),s=t.isrelation(i);return{$orig:a,m0:n,m1:s}})));t.$mp.data=Object.assign({},{$root:{l0:o}})},n=[]},f0f4:function(t,i,o){"use strict";var a=o("7d7b"),n=o.n(a);n.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'pages/user/my_shop/my_live/add/dialog/Products-create-component',
{
'pages/user/my_shop/my_live/add/dialog/Products-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("b11b"))
})
},
[['pages/user/my_shop/my_live/add/dialog/Products-create-component']]
]);

View File

@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

View File

@ -0,0 +1 @@
<view class="data-v-35528108"><view data-event-opts="{{[['tap',[['closeFunc',['$event']]]]]}}" class="{{['product-background','data-v-35528108',(!open)?'close':'']}}" bindtap="__e"></view><view class="{{['product-container','data-v-35528108',(!open)?'close':'']}}"><view class="head d-c-c p-0-20 f30 data-v-35528108">关联商品</view><scroll-view class="scroll-Y data-v-35528108" scroll-y="true"><view class="product-list data-v-35528108"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item d-s-s ww100 data-v-35528108"><view class="product-picture data-v-35528108"><image src="{{item.$orig.product.image[0].file_path}}" mode="aspectFill" class="data-v-35528108"></image><block wx:if="{{product_active==item.$orig.product.product_id}}"><text class="active data-v-35528108">讲解中</text></block></view><view class="flex-1 ml20 data-v-35528108"><view class="text-ellipsis-2 f30 data-v-35528108">{{''+item.$orig.product.product_name+''}}</view><view class="d-b-c p-20-0 data-v-35528108"><view class="red d-s-s d-c data-v-35528108"><view class="d-s-c data-v-35528108"><text class="data-v-35528108">佣金:</text><text class="f24 data-v-35528108">¥</text><text class="f34 fb data-v-35528108">{{item.$orig.agent_money}}</text></view><view class="gray3 data-v-35528108">{{'售价:'+item.$orig.product.product_price+''}}</view></view><button class="{{['relation','data-v-35528108',(item.m0)?'btn-red':'']}}" type="primary" data-event-opts="{{[['tap',[['relationProduct',['$0'],[[['listData','',index]]]]]]]}}" bindtap="__e">{{(item.m1?'已关联':'关联')+''}}</button></view></view></view></block></view></scroll-view></view></view>

View File

@ -0,0 +1 @@
.product-background.data-v-35528108{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,.3);transition:background-color .3s ease,-webkit-transform 0s ease;transition:transform 0s ease,background-color .3s ease;transition:transform 0s ease,background-color .3s ease,-webkit-transform 0s ease;z-index:90}.product-background.close.data-v-35528108{background-color:transparent;-webkit-transform:translateY(100%);transform:translateY(100%)}.product-container.data-v-35528108{position:fixed;right:0;bottom:0;left:0;height:900rpx;border-radius:16rpx 16rpx 0 0;background:#fff;transition:-webkit-transform .2s ease;transition:transform .2s ease;transition:transform .2s ease,-webkit-transform .2s ease;z-index:99}.product-container.close.data-v-35528108{-webkit-transform:translateY(900rpx);transform:translateY(900rpx)}.product-container .head.data-v-35528108{height:90rpx;line-height:90rpx}.product-container scroll-view.data-v-35528108{height:810rpx}.product-picture.data-v-35528108{position:relative;width:160rpx;height:160rpx}.product-picture .active.data-v-35528108{position:absolute;display:block;right:0;bottom:0;left:0;height:40rpx;line-height:40rpx;background:#e2231a;color:#fff;text-align:center}.product-container image.data-v-35528108{width:100%;height:100%}.product-container .product-list.data-v-35528108{padding:20rpx}.product-container .product-list .item.data-v-35528108{width:100%;border-bottom:1rpx solid #eee}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/my_shop/my_live/dialog/share"],{"66f0":function(t,e,n){"use strict";var o=n("f50e"),i=n.n(o);i.a},"795e":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var o=function(){var t=this.$createElement;this._self._c},i=[]},"89f8":function(t,e,n){"use strict";n.r(e);var o=n("795e"),i=n("92f2");for(var u in i)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(u);n("66f0");var c=n("828b"),a=Object(c["a"])(i["default"],o["b"],o["c"],!1,null,"10efae7b",null,!1,o["a"],void 0);e["default"]=a.exports},"92f2":function(t,e,n){"use strict";n.r(e);var o=n("cab2"),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},cab2:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o={components:{Popup:function(){n.e("components/uni-popup").then(function(){return resolve(n("b892"))}.bind(null,n)).catch(n.oe)}},data:function(){return{isPopup:!1,type:0,width:600,height:800,backgroundColor:"none",boxShadow:"none",form:{},coupon:[]}},props:["qrcode"],created:function(){},mounted:function(){this.setData()},methods:{setData:function(){this.isPopup=!0},hidePopupFunc:function(t){this.isPopup=!1,this.$emit("close")},savePosterImg:function(){var e=this;t.showLoading({title:"加载中"}),t.downloadFile({url:e.qrcode,success:function(n){t.hideLoading(),t.saveImageToPhotosAlbum({filePath:n.tempFilePath,success:function(n){t.showToast({title:"保存成功",icon:"success",duration:2e3}),e.isCreatedImg=!1},fail:function(e){"saveImageToPhotosAlbum:fail auth deny"===e.errMsg&&(t.showToast({title:"请允许访问相册后重试",icon:"none",duration:1e3}),setTimeout((function(){t.openSetting()}),1e3))},complete:function(t){console.log("complete")}})}})}}};e.default=o}).call(this,n("df3c")["default"])},f50e:function(t,e,n){}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'pages/user/my_shop/my_live/dialog/share-create-component',
{
'pages/user/my_shop/my_live/dialog/share-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("89f8"))
})
},
[['pages/user/my_shop/my_live/dialog/share-create-component']]
]);

View File

@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"popup": "/components/uni-popup"
}
}

View File

@ -0,0 +1 @@
<view class="share-wrap data-v-10efae7b"><popup vue-id="525f0f1d-1" show="{{isPopup}}" width="{{width}}" height="{{height}}" backgroundColor="{{backgroundColor}}" boxShadow="{{boxShadow}}" padding="{{0}}" data-event-opts="{{[['^hidePopup',[['hidePopupFunc']]]]}}" bind:hidePopup="__e" class="data-v-10efae7b" bind:__l="__l" vue-slots="{{['default']}}"><view class="content ww100 data-v-10efae7b"><image src="{{qrcode}}" mode="widthFix" class="data-v-10efae7b"></image><button class="btn-rose-shadow mt20 data-v-10efae7b" type="default" data-event-opts="{{[['tap',[['savePosterImg',['$event']]]]]}}" bindtap="__e">保存图片</button></view><view data-event-opts="{{[['tap',[['hidePopupFunc',[true]]]]]}}" class="close-btns data-v-10efae7b" bindtap="__e"><text class="icon iconfont icon-guanbi data-v-10efae7b"></text></view></popup></view>

View File

@ -0,0 +1 @@
.share-wrap.data-v-10efae7b{width:100%;border-radius:20rpx;overflow:hidden}.share-wrap .content image.data-v-10efae7b{width:100%}.share-wrap .close-btns.data-v-10efae7b{margin:50rpx auto 0;width:60rpx;height:60rpx;display:flex;justify-content:center;align-items:center;border-radius:50%;background:none;border:2px solid #fff}.home-push-wrap .close-btns .iconfont.data-v-10efae7b{color:#fff}

View File

@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/my_shop/my_live/live-order/live-order"],{"1a5b":function(t,i,a){},"4a72":function(t,i,a){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var e={components:{uniLoadMore:function(){a.e("components/uni-load-more").then(function(){return resolve(a("e5dd"))}.bind(null,a)).catch(a.oe)}},data:function(){return{phoneHeight:0,scrollviewHigh:0,loading:!0,no_more:!1,listData:[],page:1,list_rows:10,state_active:0,shop_supplier_id:""}},computed:{loadingType:function(){return this.loading?1:0!=this.listData.length&&this.no_more?2:0}},onLoad:function(t){this.room_id=t.room_id,this.shop_supplier_id=t.shop_supplier_id,this.getData()},mounted:function(){this.init()},methods:{init:function(){var i=this;t.getSystemInfo({success:function(t){i.scrollviewHigh=t.windowHeight}})},stateFunc:function(t){if(this.state_active!=t){switch(this.page=1,this.loading=!0,this.state_active=t,t){case 0:this.listData=[],this.dataType="all";break;case 1:this.listData=[],this.dataType="payment";break;case 2:this.listData=[],this.dataType="delivery";break;case 3:this.listData=[],this.dataType="received";break;case 4:this.listData=[],this.dataType="comment";break}this.getData()}},getData:function(){var t=this,i=t.page,a=t.list_rows;t.loading=!0,t._get("plus.live.RoomApply/orderList",{page:i||1,list_rows:a,shop_supplier_id:t.shop_supplier_id},(function(i){t.loading=!1,t.listData=t.listData.concat(i.data.list.data),t.last_page=i.data.list.last_page,i.data.list.last_page<=1&&(t.no_more=!0)}))},scrolltolowerFunc:function(){if(this.bottomRefresh=!0,this.page++,this.loading=!0,this.page>this.last_page)return this.loading=!1,void(this.no_more=!0);this.getData()}}};i.default=e}).call(this,a("df3c")["default"])},"5ab2":function(t,i,a){"use strict";a.r(i);var e=a("4a72"),n=a.n(e);for(var s in e)["default"].indexOf(s)<0&&function(t){a.d(i,t,(function(){return e[t]}))}(s);i["default"]=n.a},"62bc":function(t,i,a){"use strict";var e=a("1a5b"),n=a.n(e);n.a},"6a4f":function(t,i,a){"use strict";a.r(i);var e=a("6d71"),n=a("5ab2");for(var s in n)["default"].indexOf(s)<0&&function(t){a.d(i,t,(function(){return n[t]}))}(s);a("62bc");var o=a("828b"),r=Object(o["a"])(n["default"],e["b"],e["c"],!1,null,"8b7b15f6",null,!1,e["a"],void 0);i["default"]=r.exports},"6d71":function(t,i,a){"use strict";a.d(i,"b",(function(){return e})),a.d(i,"c",(function(){return n})),a.d(i,"a",(function(){}));var e=function(){var t=this.$createElement,i=(this._self._c,0==this.listData.length&&!this.loading);this.$mp.data=Object.assign({},{$root:{g0:i}})},n=[]},"7ecd":function(t,i,a){"use strict";(function(t,i){var e=a("47a9");a("7d57");e(a("3240"));var n=e(a("6a4f"));t.__webpack_require_UNI_MP_PLUGIN__=a,i(n.default)}).call(this,a("3223")["default"],a("df3c")["createPage"])}},[["7ecd","common/runtime","common/vendor"]]]);

View File

@ -0,0 +1,7 @@
{
"navigationBarTitleText": "直播订单",
"enablePullDownRefresh": false,
"usingComponents": {
"uni-load-more": "/components/uni-load-more"
}
}

View File

@ -0,0 +1 @@
<view class="my-live-order data-v-8b7b15f6"><scroll-view class="scroll-Y data-v-8b7b15f6" style="{{('height:'+scrollviewHigh+'px;')}}" scroll-y="true" lower-threshold="50" data-event-opts="{{[['scrolltolower',[['scrolltolowerFunc',['$event']]]]]}}" bindscrolltolower="__e"><block wx:for="{{listData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item d-s-c data-v-8b7b15f6"><view class="picture data-v-8b7b15f6"><image src="{{item.product[0].image.file_path}}" mode="aspectFill" class="data-v-8b7b15f6"></image></view><view class="flex-1 ml20 mr20 data-v-8b7b15f6"><view class="gray9 data-v-8b7b15f6">{{'订单号:'+item.order_no+''}}</view><view class="text-ellipsis-2 f30 data-v-8b7b15f6">{{item.product[0].product_name}}</view><view class="price d-b-c data-v-8b7b15f6"><view class="data-v-8b7b15f6">¥<text class="fb f30 data-v-8b7b15f6">{{item.product[0].product_price}}</text></view></view></view><view class="red data-v-8b7b15f6"><block wx:if="{{item.is_settled==1}}"><text class="data-v-8b7b15f6">已结算</text></block><block wx:if="{{item.is_settled==0}}"><text class="data-v-8b7b15f6">未结算</text></block></view></view></block><block wx:if="{{$root.g0}}"><view class="d-c-c p30 data-v-8b7b15f6"><text class="iconfont icon-wushuju data-v-8b7b15f6"></text><text class="cont data-v-8b7b15f6">亲,暂无相关记录哦</text></view></block><block wx:else><uni-load-more vue-id="70854750-1" loadingType="{{loadingType}}" class="data-v-8b7b15f6" bind:__l="__l"></uni-load-more></block></scroll-view></view>

View File

@ -0,0 +1 @@
.my-live-order .item.data-v-8b7b15f6{margin:20rpx 20rpx 0;padding:20rpx;border-radius:16rpx;background:#fff}.my-live-order .picture.data-v-8b7b15f6{width:100rpx;height:100rpx}.my-live-order .picture image.data-v-8b7b15f6{width:100%;height:100%}.my-live-order .item .price.data-v-8b7b15f6{color:#e2231a}

View File

@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/my_shop/my_live/live/live"],{"147f":function(t,e,i){"use strict";var n=i("7b9d"),o=i.n(n);o.a},"26f1":function(t,e,i){"use strict";i.r(e);var n=i("8c6c"),o=i.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},"29fe":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement;this._self._c},o=[]},"3cee":function(t,e,i){"use strict";i.r(e);var n=i("69dd"),o=i.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},5216:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement;this._self._c},o=[]},"68e0":function(t,e,i){"use strict";(function(t,e){var n=i("47a9");i("7d57");n(i("3240"));var o=n(i("c87c"));t.__webpack_require_UNI_MP_PLUGIN__=i,e(o.default)}).call(this,i("3223")["default"],i("df3c")["createPage"])},"69dd":function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(i("3b2d")),a={data:function(){return{imageList:[]}},props:["num","isVideo"],onLoad:function(){},mounted:function(){this.chooseImageFunc()},methods:{chooseImageFunc:function(){var e=this;this.isVideo?t.chooseVideo({maxDuration:60,camera:"back",success:function(t){if(console.log(t),t){var i=[];i.push(t.tempFilePath),console.log(i),e.uploadFile(i)}},fail:function(t){console.log(t),e.$emit("getImgs",null)}}):t.chooseImage({count:e.num||9,sizeType:["original","compressed"],sourceType:["album","camera"],success:function(t){e.uploadFile(t.tempFilePaths)},fail:function(t){e.$emit("getImgs",null)},complete:function(t){}})},uploadFile:function(e){var i=this,n=0,a=e.length,c={token:t.getStorageSync("token"),app_id:i.getAppId(),file_type:i.isVideo?"video":"image"};t.showLoading({title:"上传中"}),e.forEach((function(e,u){t.uploadFile({url:i.websiteUrl+"/index.php?s=/api/file.upload/image",filePath:e,name:"iFile",formData:c,success:function(t){var e="object"===(0,o.default)(t.data)?t.data:JSON.parse(t.data);if(-1===e.code)return console.log("登录态失效, 重新登录"),void i.doLogin();1===e.code&&i.imageList.push(e.data)},complete:function(){n++,a===n&&(t.hideLoading(),i.$emit("getImgs",i.imageList))}})}))}}};e.default=a}).call(this,i("df3c")["default"])},"7b9d":function(t,e,i){},"8c6c":function(t,e,i){"use strict";(function(t,n){var o=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=o(i("fc86")),c={components:{Upload:a.default},data:function(){return{form:{name:"",share_img_id:null,share_img_path:""},isUpload:!1,file_type:null,cur_image:null,categorylist:[],category:"",categorytype:[],index:0}},mounted:function(){},methods:{getCategory:function(){var t=this;t._post("plus.live.RoomApply/category",{},(function(e){e.data.list.forEach((function(e,i){t.categorylist.push(e.name)})),t.categorytype=e.data.list}))},bindTextAreaBlur:function(t){this.form.name=t},formSubmit:function(e){var i=this;""!=i.form.name?/[<>*{}()^%$#@!~&= ]/.test(i.form.name)?t.showModal({title:"提示",content:"名称不能为空或包含特殊字符",showCancel:!1}):null!=i.form.share_img_id?i._post("plus.live.RoomApply/addlive",i.form,(function(t){n.showToast({title:"创建成功"});var e="/pagesLive/live/live?type=create&room_id="+t.data.room_id;i.gotoPage(e)})):t.showModal({title:"提示",content:"请上传直播间分享图",showCancel:!1}):t.showModal({title:"提示",content:"请输入直播间名称",showCancel:!1})},openUpload:function(t){this.cur_imagetype=t,this.file_type="image",this.isUpload=!0},getImgsFunc:function(t){t&&"undefined"!=typeof t&&null!=this.cur_imagetype&&(this.form[this.cur_imagetype+"id"]=t[0]["file_id"],this.form[this.cur_imagetype+"path"]=t[0]["file_path"],this.cur_imagetype=null),this.isUpload=!1},bindPickerChange:function(t){this.index=t.target.value,this.category=this.categorylist[this.index],this.form.category_id=this.categorytype[this.index].category_id}}};e.default=c}).call(this,i("3223")["default"],i("df3c")["default"])},c87c:function(t,e,i){"use strict";i.r(e);var n=i("29fe"),o=i("26f1");for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("147f");var c=i("828b"),u=Object(c["a"])(o["default"],n["b"],n["c"],!1,null,"917c2b52",null,!1,n["a"],void 0);e["default"]=u.exports},fc86:function(t,e,i){"use strict";i.r(e);var n=i("5216"),o=i("3cee");for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);var c=i("828b"),u=Object(c["a"])(o["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=u.exports}},[["68e0","common/runtime","common/vendor"]]]);

View File

@ -0,0 +1,7 @@
{
"navigationBarTitleText": "发起直播",
"enablePullDownRefresh": false,
"usingComponents": {
"upload": "/components/upload/upload"
}
}

View File

@ -0,0 +1 @@
<view class="live-container data-v-917c2b52"><view class="content d-s-c data-v-917c2b52"><view data-event-opts="{{[['tap',[['openUpload',['share_img_']]]]]}}" class="cover d-c-c d-c data-v-917c2b52" bindtap="__e"><block wx:if="{{!form.share_img_id}}"><text class="icon iconfont icon-xiangji data-v-917c2b52"></text><text class="gray9 data-v-917c2b52">上传图片</text></block><block wx:else><image src="{{form.share_img_path}}" mode="aspectFit" class="data-v-917c2b52"></image></block></view><view class="flex-1 ml20 f30 data-v-917c2b52"><input class="p-20-0 data-v-917c2b52" type="text" placeholder="请输入直播间名称" data-event-opts="{{[['input',[['__set_model',['$0','name','$event',[]],['form']]]]]}}" value="{{form.name}}" bindinput="__e"/></view></view><view class="foot-btn-box data-v-917c2b52"><button type="default" data-event-opts="{{[['tap',[['formSubmit',['$event']]]]]}}" bindtap="__e" class="data-v-917c2b52">发起直播</button></view><block wx:if="{{isUpload}}"><upload vue-id="510aa4f8-1" type="{{file_type}}" data-event-opts="{{[['^getImgs',[['getImgsFunc']]]]}}" bind:getImgs="__e" class="data-v-917c2b52" bind:__l="__l"></upload></block></view>

View File

@ -0,0 +1 @@
.live-container.data-v-917c2b52{width:100%;height:100vh;position:relative;background-image:linear-gradient(-60deg,#685b59,#888383,#817574,#7b6b69)}.live-container .content.data-v-917c2b52{position:absolute;padding:10rpx;top:100rpx;right:20rpx;left:20rpx;border-radius:20rpx;background:rgba(0,0,0,.4)}.live-container .content .cover.data-v-917c2b52{width:200rpx;height:200rpx;overflow:hidden;border-radius:20rpx;border:1rpx solid hsla(0,0%,100%,.2)}.live-container .content .cover image.data-v-917c2b52{width:100%;height:100%;border-radius:20rpx}.live-container .content input[type=text].data-v-917c2b52{color:#fff}.live-container .content .textarea.data-v-917c2b52{width:100%;padding:20rpx 0;height:160rpx;line-height:50rpx;color:#fff}.live-container .foot-btn-box.data-v-917c2b52{position:fixed;right:20rpx;bottom:20rpx;left:20rpx}.live-container .foot-btn-box button.data-v-917c2b52{width:100%;height:88rpx;line-height:88rpx;border-radius:44rpx;background:#e2231a;color:#fff;font-size:30rpx}.livepicker.data-v-917c2b52{position:absolute;top:345rpx;left:20rpx}.typepicker.data-v-917c2b52{background-color:#e2231a;color:#fff;width:200rpx;height:75rpx;border-radius:20rpx;text-align:center;line-height:75rpx;padding-left:15rpx;font-size:25rpx;margin:25 0rpx}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/my_shop/my_live/my-live/dialog/Products"],{5582:function(t,i,o){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var e={components:{},data:function(){return{loading:!0,no_more:!1,listData:[],page:1,list_rows:10,productIds:[]}},computed:{},props:["open","relationList"],watch:{open:function(t,i){t!=i&&t&&(this.start(),this.productIds=this.relationList)}},methods:{isrelation:function(t){return-1!=this.productIds.indexOf(t.product_id)},start:function(){this.loading=!0,this.no_more=!1,this.listData=[],this.page=1,this.list_rows=10,this.getData()},getData:function(){var t=this,i=t.page,o=t.list_rows;t.loading=!0,t._get("plus.live.RoomApply/product_list",{page:i||1,list_rows:o},(function(i){t.loading=!1,t.listData=t.listData.concat(i.data.list.data),console.log(t.listData),t.last_page=i.data.list.last_page,i.data.list.last_page<=1&&(t.no_more=!0)}))},scrolltolowerFunc:function(){if(this.bottomRefresh=!0,this.page++,this.loading=!0,this.page>this.last_page)return this.loading=!1,void(this.no_more=!0);this.getData()},relationProduct:function(t){var i=this.productIds.indexOf(t.product_id);-1!=i?this.productIds.splice(i,1):this.productIds.push(t.product_id)},closeFunc:function(t){null!=t?this.$emit("close",this.productIds):this.$emit("close",null)},gotoProduct:function(t){var i="pages/product/detail/detail?product_id="+t.product_id+"&room_id="+this.liveRoomDetal.room_id;this.gotoPage(i)},gotoOrder:function(){this.$parent.exit();this.gotoPage("pages/order/myorder/myorder")}}};i.default=e},5968:function(t,i,o){"use strict";o.r(i);var e=o("de14"),a=o("d20c");for(var n in a)["default"].indexOf(n)<0&&function(t){o.d(i,t,(function(){return a[t]}))}(n);o("7e47");var s=o("828b"),r=Object(s["a"])(a["default"],e["b"],e["c"],!1,null,"7ae39aea",null,!1,e["a"],void 0);i["default"]=r.exports},"7e47":function(t,i,o){"use strict";var e=o("7f0e"),a=o.n(e);a.a},"7f0e":function(t,i,o){},d20c:function(t,i,o){"use strict";o.r(i);var e=o("5582"),a=o.n(e);for(var n in e)["default"].indexOf(n)<0&&function(t){o.d(i,t,(function(){return e[t]}))}(n);i["default"]=a.a},de14:function(t,i,o){"use strict";o.d(i,"b",(function(){return e})),o.d(i,"c",(function(){return a})),o.d(i,"a",(function(){}));var e=function(){var t=this,i=t.$createElement,o=(t._self._c,t.__map(t.listData,(function(i,o){var e=t.__get_orig(i),a=t.isrelation(i);return{$orig:e,m0:a}})));t.$mp.data=Object.assign({},{$root:{l0:o}})},a=[]}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'pages/user/my_shop/my_live/my-live/dialog/Products-create-component',
{
'pages/user/my_shop/my_live/my-live/dialog/Products-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("5968"))
})
},
[['pages/user/my_shop/my_live/my-live/dialog/Products-create-component']]
]);

View File

@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

View File

@ -0,0 +1 @@
<view class="data-v-7ae39aea"><view data-event-opts="{{[['tap',[['closeFunc']]]]}}" class="{{['product-background','data-v-7ae39aea',(!open)?'close':'']}}" bindtap="__e"></view><view class="{{['product-container','data-v-7ae39aea',(!open)?'close':'']}}"><view class="head d-b-c p-0-20 f30 data-v-7ae39aea"><text class="data-v-7ae39aea">关联商品</text><button class="btn-red-border data-v-7ae39aea" type="default" data-event-opts="{{[['tap',[['closeFunc',[true]]]]]}}" bindtap="__e">确认</button></view><scroll-view class="scroll-Y data-v-7ae39aea" scroll-y="true"><view class="product-list data-v-7ae39aea"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['relationProduct',['$0'],[[['listData','',index]]]]]]]}}" class="item d-s-s ww100 data-v-7ae39aea" bindtap="__e"><view class="product-picture data-v-7ae39aea"><image src="{{item.$orig.product_image}}" mode="aspectFill" class="data-v-7ae39aea"></image></view><view class="flex-1 ml20 data-v-7ae39aea"><view class="text-ellipsis-2 f30 data-v-7ae39aea">{{''+item.$orig.product_name+''}}</view><view class="d-b-c p-20-0 data-v-7ae39aea"><view class="price data-v-7ae39aea"><text class="ml20 gray3 data-v-7ae39aea">售价:<text class="red data-v-7ae39aea">{{item.$orig.product_price}}</text></text></view><view class="data-v-7ae39aea"><block wx:if="{{!item.m0}}"><view class="relation_close data-v-7ae39aea"></view></block><block wx:else><view class="relation_choose data-v-7ae39aea"><text class="icon iconfont icon-tijiaochenggong data-v-7ae39aea"></text></view></block></view></view></view></view></block></view></scroll-view></view></view>

View File

@ -0,0 +1 @@
.product-background.data-v-7ae39aea{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,.3);transition:background-color .3s ease,-webkit-transform 0s ease;transition:transform 0s ease,background-color .3s ease;transition:transform 0s ease,background-color .3s ease,-webkit-transform 0s ease;z-index:90}.product-background.close.data-v-7ae39aea{background-color:transparent;-webkit-transform:translateY(100%);transform:translateY(100%)}.product-container.data-v-7ae39aea{position:fixed;right:0;bottom:0;left:0;height:900rpx;border-radius:16rpx 16rpx 0 0;background:#fff;transition:-webkit-transform .2s ease;transition:transform .2s ease;transition:transform .2s ease,-webkit-transform .2s ease;z-index:99}.product-container.close.data-v-7ae39aea{-webkit-transform:translateY(900rpx);transform:translateY(900rpx)}.product-container .head.data-v-7ae39aea{height:90rpx;line-height:90rpx}.product-container scroll-view.data-v-7ae39aea{height:810rpx}.product-picture.data-v-7ae39aea{position:relative;width:160rpx;height:160rpx}.product-picture .active.data-v-7ae39aea{position:absolute;display:block;right:0;bottom:0;left:0;height:40rpx;line-height:40rpx;background:#e2231a;color:#fff;text-align:center}.product-container image.data-v-7ae39aea{width:100%;height:100%}.product-container .product-list.data-v-7ae39aea{padding:20rpx}.product-container .product-list .item.data-v-7ae39aea{width:100%;border-bottom:1rpx solid #eee}.relation_close.data-v-7ae39aea{width:50rpx;height:50rpx;border-radius:50%;border:1rpx solid #cacaca}.relation_choose.data-v-7ae39aea{width:50rpx;height:50rpx;background-color:#09bb07;border-radius:50%;text-align:center;line-height:50rpx}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,10 @@
{
"navigationBarTitleText": "直播商品",
"enablePullDownRefresh": false,
"usingComponents": {
"upload": "/components/upload/upload",
"picker-view-datetime": "/components/picker-view-datetime/pickerViewDatetime",
"products": "/pages/user/my_shop/my_live/my-live/dialog/Products",
"countdown": "/components/countdown/countdown"
}
}

View File

@ -0,0 +1 @@
<view class="data-v-27378a95"><scroll-view class="pr scroll-Y data-v-27378a95" style="{{('height:'+scrollviewHigh+'px;')}}" scroll-y="true" lower-threshold="50"><view class="add-live-room data-v-27378a95"><form data-event-opts="{{[['submit',[['nowLive',['$event']]]]]}}" bindsubmit="__e" class="data-v-27378a95"><view class="d-c-c mt10 data-v-27378a95"></view><view class="group data-v-27378a95"><view class="group-hd data-v-27378a95"><view class="right data-v-27378a95"><button class="btn-red-border data-v-27378a95" type="default" data-event-opts="{{[['tap',[['showProducts',['$event']]]]]}}" bindtap="__e">+添加商品</button></view></view><view class="group-bd data-v-27378a95"><block wx:for="{{form.data}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['gotoProduct',['$0'],[[['form.data','',index]]]]]]]}}" class="item d-s-c data-v-27378a95" bindtap="__e"><view class="picture data-v-27378a95"><image src="{{item.product.image[0].file_path}}" mode="aspectFill" class="data-v-27378a95"></image></view><view class="flex-1 ml20 mr20 data-v-27378a95"><view class="text-ellipsis-2 f30 data-v-27378a95">{{item.product.product_name}}</view><view class="price data-v-27378a95">¥<text class="fb f30 data-v-27378a95">{{item.product.product_price}}</text></view></view><button type="default" data-event-opts="{{[['tap',[['deleteFunc',['$0'],[[['form.data','',index]]]]]]]}}" catchtap="__e" class="data-v-27378a95">移除</button></view></block></view></view></form></view></scroll-view><products vue-id="1a4d2d89-1" open="{{open_products}}" relationList="{{relationList}}" data-event-opts="{{[['^close',[['closeProducts']]]]}}" bind:close="__e" class="data-v-27378a95" bind:__l="__l"></products><block wx:if="{{isUpload}}"><upload vue-id="1a4d2d89-2" type="{{file_type}}" data-event-opts="{{[['^getImgs',[['getImgsFunc']]]]}}" bind:getImgs="__e" class="data-v-27378a95" bind:__l="__l"></upload></block></view>

View File

@ -0,0 +1 @@
.share-image image.data-v-27378a95{border:1rpx solid #ddd;width:240rpx;height:240rpx;border-radius:16rpx}.add-live-room .item.data-v-27378a95{margin-bottom:20rpx;padding:20rpx;background:#fff}.add-live-room .picture.data-v-27378a95{width:200rpx;height:200rpx}.add-live-room .picture image.data-v-27378a95{width:100%;height:100%}.add-live-room .item button.data-v-27378a95{padding:0 30rpx;height:60rpx;line-height:60rpx;background:#e2231a;color:#fff}.add-video-btns.data-v-27378a95{padding:0}.add-video-btns button.data-v-27378a95{width:100%;height:90rpx;line-height:90rpx;background:#e2231a;color:#fff;border-radius:0}

View File

@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/my_shop/my_live/my-live/my-live"],{1773:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={data:function(){return{data:{gifPrice:0,orderCount:0,totalPrice:0,shop_supplier_id:""}}},onLoad:function(t){this.shop_supplier_id=t.shop_supplier_id},onShow:function(){this.getData()},methods:{gosupPage:function(t){this.gotoPage(t+"?shop_supplier_id="+this.shop_supplier_id)},getData:function(){var t=this;t._get("plus.live.Room/livedata",{},(function(e){t.data=e.data.data}))}}}},"46f7":function(t,e,n){"use strict";var i=n("4cad"),a=n.n(i);a.a},"4cad":function(t,e,n){},"6e8b":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement;this._self._c},a=[]},"88a6":function(t,e,n){"use strict";n.r(e);var i=n("6e8b"),a=n("dc7f");for(var u in a)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(u);n("46f7");var o=n("828b"),r=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=r.exports},dc7f:function(t,e,n){"use strict";n.r(e);var i=n("1773"),a=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"]=a.a},f398:function(t,e,n){"use strict";(function(t,e){var i=n("47a9");n("7d57");i(n("3240"));var a=i(n("88a6"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(a.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])}},[["f398","common/runtime","common/vendor"]]]);

View File

@ -0,0 +1,5 @@
{
"navigationBarTitleText": "我的直播",
"enablePullDownRefresh": false,
"usingComponents": {}
}

View File

@ -0,0 +1 @@
<view class="weidian"><view class="weidian_head"><view><view class="weidian_head_body_bottom"><view class="weidian_head_body_bottom_item"><view>总收入(元)</view><text>{{data.totalPrice==null?0:data.totalPrice}}</text></view><view class="weidian_head_body_bottom_item"><view>总订单(笔)</view><text>{{data.orderCount==null?0:data.orderCount}}</text></view><view class="weidian_head_body_bottom_item"><view>礼物收入</view><text>{{data.gifPrice}}</text></view></view></view></view><view class="weidian_body"><view class="weidian_body_menu_list"><view data-event-opts="{{[['tap',[['gotoPage',['/pages/user/my_shop/my_live/my-live/record']]]]]}}" class="weidian_body_menu_list_item" bindtap="__e"><view class="weidian_body_menu_list_left_icon icon iconfont icon-caidan"></view><view class="weidian_body_menu_list_title_left">直播记录</view><view class="weidian_body_menu_list_right_icon icon iconfont icon-jiantou"></view></view><view data-event-opts="{{[['tap',[['gotoPage',['/pages/user/my_shop/my_live/notice/notice']]]]]}}" class="weidian_body_menu_list_item" bindtap="__e"><view class="weidian_body_menu_list_left_icon icon iconfont icon-icon_xianshi-xian"></view><view class="weidian_body_menu_list_title_left">直播预告</view><view class="weidian_body_menu_list_right_icon icon iconfont icon-jiantou"></view></view><view data-event-opts="{{[['tap',[['gosupPage',['/pages/user/my_shop/my_live/live-order/live-order']]]]]}}" class="weidian_body_menu_list_item" bindtap="__e"><view class="weidian_body_menu_list_left_icon icon iconfont icon-quanbudingdan"></view><view class="weidian_body_menu_list_title_left">直播订单</view><view class="weidian_body_menu_list_right_icon icon iconfont icon-jiantou"></view></view></view></view></view>

View File

@ -0,0 +1 @@
page{background:#f2f2f2}.iconfont{font-size:14px}.weidian_head{width:90%;border-radius:30rpx;margin:0 auto;margin-top:20rpx;margin-bottom:40rpx;background-image:linear-gradient(90deg,#fb8e55,#f97d3d)}.weidian_head_body_top{width:100%;height:200rpx;background-image:linear-gradient(90deg,hsla(0,0%,100%,.2),hsla(0,0%,100%,0))}.weidian_head_body_top_left{width:50%;height:200rpx;display:inline-block;font-size:30rpx;color:#fff;padding-top:40rpx;padding-left:45rpx;box-sizing:border-box}.weidian_head_body_top_left view{margin-top:20rpx}.weidian_head_body_top_left image{width:36rpx;height:36rpx;display:inline-block}.weidian_head_body_top_right{width:30%;display:inline-block;position:relative;top:-25rpx;left:120rpx}.weidian_head_body_top_right button{width:82%;height:60rpx;line-height:60rpx;border-radius:30rpx;color:#f36a23}.weidian_head_body_bottom{width:100%;height:160rpx;padding-top:30rpx;box-sizing:border-box;font-size:26rpx}.weidian_head_body_bottom_item{width:33%;display:inline-block;float:left;color:#fff;text-align:center}.weidian_head_body_bottom_item view{margin-bottom:20rpx}.weidian_head_body_bottom_item text{font-size:30rpx}.seller_center_body_order{width:90%;background-color:#fff;margin:0 auto;border-radius:20rpx;padding:20rpx;box-sizing:border-box}.seller_center_body_order_head{font-size:30rpx;margin-bottom:50rpx;display:flex;justify-content:space-between;align-items:flex-end}.seller_center_body_order_head_more{font-size:24rpx;color:#7f7f7f;display:flex;align-items:center}.seller_center_body_order_body{width:100%}.seller_center_body_order_body_item{display:inline-block;width:25%;text-align:center}.seller_center_body_order_body image{width:48rpx;height:48rpx;margin:0 auto;margin-bottom:20rpx}.weidian_body_menu_list{width:90%;margin-left:50rpx;font-size:30rpx;color:#484848}.weidian_body_menu_list_item{width:97%;height:70rpx;line-height:70rpx;border-bottom:1rpx #dcdcdc solid;margin-top:40rpx;box-sizing:border-box}.weidian_body_menu_list_title_left{display:inline-block;float:left}.weidian_body_menu_list_right_icon{display:inline-block;float:right;font-size:36rpx}.weidian_body_menu_list_left_icon{display:inline-block;float:left;font-size:36rpx;margin-right:10rpx}.weidian_body_menu_list_title_right{display:inline-block;float:right;color:#d5d5d5;font-size:24rpx;position:relative;top:5rpx;margin-right:5rpx}

View File

@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/my_shop/my_live/my-live/record"],{"051a":function(t,i,e){"use strict";var o=e("9fd0"),n=e.n(o);n.a},2025:function(t,i,e){"use strict";(function(t){var o=e("47a9");Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;o(e("fd32"));var n={components:{uniLoadMore:function(){e.e("components/uni-load-more").then(function(){return resolve(e("e5dd"))}.bind(null,e)).catch(e.oe)}},data:function(){return{phoneHeight:0,scrollviewHigh:0,topRefresh:!1,loading:!0,no_more:!1,listData:[],page:1,list_rows:10,pureAudio:!1,tapTime:"",userName:""}},computed:{loadingType:function(){return this.loading?1:0!=this.listData.length&&this.no_more?2:0}},mounted:function(){this.init()},onShow:function(){this.listData=[],this.page=1,this.no_more=!1,this.getData()},methods:{init:function(){var i=this;t.getSystemInfo({success:function(t){i.scrollviewHigh=t.windowHeight}})},getData:function(){var t=this,i=t.page,e=t.list_rows;t.loading=!0,t._get("plus.live.RoomApply/lists",{page:i||1,list_rows:e,is_end:1},(function(i){t.loading=!1,t.listData=t.listData.concat(i.data.list.data),t.last_page=i.data.list.last_page,i.data.list.last_page<=1&&(t.no_more=!0)}))},scrolltolowerFunc:function(){if(this.bottomRefresh=!0,this.page++,this.loading=!0,this.page>this.last_page)return this.loading=!1,void(this.no_more=!0);this.getData()},deleteFunc:function(i){var e=this;t.showModal({title:"提示",content:"您确定要删除吗?",success:function(o){o.confirm&&(t.showLoading({title:"正在处理"}),e._post("plus.live.RoomApply/delete",{room_id:i.room_id},(function(i){t.hideLoading(),t.showToast({title:i.msg,duration:2e3,icon:"success"}),e.listData=[],e.page=1,e.getData()})))}})},addRoom:function(){this.gotoPage("/pages/user/my-live/live/live")},editLive:function(t){var i="/pagesLive/live/live?sence=create&room_id="+t.room_id;this.gotoPage(i)},gotoListFunc:function(t){this.gotoPage("/pages/user/my-live/productsList/productsList?room_id="+t.room_id)},gotoLive:function(t){var i="/pagesLive/live/live?sence=create&room_id="+t.room_id;this.gotoPage(i)},playback:function(t){""!=t.record_url?this.gotoPage("/pagesLive/live/playback?room_id="+t.room_id):this.showError("暂无回放")}}};i.default=n}).call(this,e("df3c")["default"])},"44aa":function(t,i,e){"use strict";e.d(i,"b",(function(){return o})),e.d(i,"c",(function(){return n})),e.d(i,"a",(function(){}));var o=function(){var t=this.$createElement,i=(this._self._c,0==this.listData.length&&!this.loading);this.$mp.data=Object.assign({},{$root:{g0:i}})},n=[]},"4b14":function(t,i,e){"use strict";(function(t,i){var o=e("47a9");e("7d57");o(e("3240"));var n=o(e("5486"));t.__webpack_require_UNI_MP_PLUGIN__=e,i(n.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])},5192:function(t,i,e){"use strict";e.r(i);var o=e("2025"),n=e.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){e.d(i,t,(function(){return o[t]}))}(a);i["default"]=n.a},5486:function(t,i,e){"use strict";e.r(i);var o=e("44aa"),n=e("5192");for(var a in n)["default"].indexOf(a)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(a);e("051a");var s=e("828b"),r=Object(s["a"])(n["default"],o["b"],o["c"],!1,null,"35d13c34",null,!1,o["a"],void 0);i["default"]=r.exports},"9fd0":function(t,i,e){}},[["4b14","common/runtime","common/vendor"]]]);

View File

@ -0,0 +1,7 @@
{
"navigationBarTitleText": "直播记录",
"enablePullDownRefresh": false,
"usingComponents": {
"uni-load-more": "/components/uni-load-more"
}
}

View File

@ -0,0 +1 @@
<view class="my-live data-v-35d13c34"><scroll-view class="scroll-Y data-v-35d13c34" style="{{('height:'+scrollviewHigh+'px;')}}" scroll-y="true" lower-threshold="50" data-event-opts="{{[['scrolltolower',[['scrolltolowerFunc',['$event']]]]]}}" bindscrolltolower="__e"><block wx:for="{{listData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item-box pr data-v-35d13c34"><block wx:if="{{!item.record_url&&item.live_status!=101&&item.live_status==103}}"><view class="noreturn-video data-v-35d13c34">无回放</view></block><block wx:if="{{item.live_status==101}}"><view class="return-video data-v-35d13c34">直播中</view></block><block wx:if="{{item.record_url&&item.live_status==103}}"><view class="return-video data-v-35d13c34">回放</view></block><view class="d-b-c d-stretch data-v-35d13c34"><view class="cover-picture data-v-35d13c34"><image src="{{item.share.file_path}}" mode="aspectFill" class="data-v-35d13c34"></image></view><view class="flex-1 content ml20 data-v-35d13c34"><text class="f28 data-v-35d13c34">{{item.name}}</text><view class="gray9 f24 data-v-35d13c34">{{"开始时间:"+item.real_start_time_text}}</view></view><view class="close_btn data-v-35d13c34"><text data-event-opts="{{[['tap',[['deleteFunc',['$0'],[[['listData','',index]]]]]]]}}" class="iconfont icon-guanbi data-v-35d13c34" bindtap="__e"></text></view><view class="btns-box data-v-35d13c34"><block wx:if="{{item.record_url&&item.live_status!=101}}"><button data-event-opts="{{[['tap',[['playback',['$0'],[[['listData','',index]]]]]]]}}" class="edit-btn jion-btn mt20 data-v-35d13c34" bindtap="__e">观看回放</button></block></view></view></view></block><block wx:if="{{$root.g0}}"><view class="d-c-c p30 data-v-35d13c34"><text class="iconfont icon-wushuju data-v-35d13c34"></text><text class="cont data-v-35d13c34">亲,暂无相关记录哦</text></view></block><block wx:else><uni-load-more vue-id="b168c33c-1" loadingType="{{loadingType}}" class="data-v-35d13c34" bind:__l="__l"></uni-load-more></block></scroll-view></view>

View File

@ -0,0 +1 @@
.my-live .item-box.data-v-35d13c34{margin:20rpx 20rpx 0;padding:10rpx 20rpx;border-radius:16rpx;background:#fff}.my-live .video-url.data-v-35d13c34{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:16rpx;background:rgba(0,0,0,.6);z-index:80}.my-live .return-video.data-v-35d13c34{position:absolute;top:0;left:0;padding:10rpx;background:#e2231a;color:#fff;z-index:80}.my-live .noreturn-video.data-v-35d13c34{position:absolute;top:0;left:0;padding:10rpx;background:#f63;color:#fff;z-index:80}.my-live .item-box .content.data-v-35d13c34{display:flex;justify-content:flex-start;flex-direction:column;align-items:flex-start}.my-live .item.data-v-35d13c34{margin-top:20rpx;padding:20rpx;border-radius:16rpx;background:#fff}.my-live .picture.data-v-35d13c34{margin-right:20rpx;width:100rpx}.my-live .cover-picture.data-v-35d13c34{width:160rpx;height:160rpx}.my-live .cover-picture image.data-v-35d13c34{width:100%;height:100%}.my-live .picture .title.data-v-35d13c34{height:40rpx;line-height:40rpx;padding:0 10rpx;text-align:center;background:#eee;color:#333}.my-live .operation button.data-v-35d13c34{height:60rpx;line-height:60rpx;border-radius:0}.my-live .operation .edit-btn.data-v-35d13c34{background:#fff;border:1rpx solid #f72b6c;color:#f72b6c}.my-live .operation .delete-btn.data-v-35d13c34{background:#f72b6c;color:#fff}.my-live .add-product.data-v-35d13c34{margin-left:20rpx;width:130rpx;height:130rpx;border:1px solid #eee;background:#eee}.my-live .add-product image.data-v-35d13c34{width:100%;height:100%}.add-video-btns.data-v-35d13c34{padding:0}.add-video-btns button.data-v-35d13c34{width:100%;height:90rpx;line-height:90rpx;background:#f72b6c;color:#fff;border-radius:0}.my-live .item-box .btns-box.data-v-35d13c34{position:absolute;right:16rpx;bottom:16rpx;display:flex;justify-content:space-between;align-items:flex-end;flex-direction:column}.jion-btn.data-v-35d13c34{background-color:#e2231a;color:#fff}.close_btn.data-v-35d13c34{position:absolute;right:20rpx;top:20rpx}

View File

@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/my_shop/my_live/notice/notice"],{"0417":function(t,e,o){},2694:function(t,e,o){"use strict";(function(t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={components:{uniLoadMore:function(){o.e("components/uni-load-more").then(function(){return resolve(o("e5dd"))}.bind(null,o)).catch(o.oe)},share:function(){o.e("pages/user/my_shop/my_live/dialog/share").then(function(){return resolve(o("89f8"))}.bind(null,o)).catch(o.oe)},Countdown:function(){o.e("components/countdown/countdown").then(function(){return resolve(o("6d72"))}.bind(null,o)).catch(o.oe)}},data:function(){return{phoneHeight:0,scrollviewHigh:0,topRefresh:!1,loading:!0,no_more:!1,listData:[],page:1,list_rows:10,pureAudio:!1,tapTime:"",userName:"",qrcode:null}},computed:{loadingType:function(){return this.loading?1:0!=this.listData.length&&this.no_more?2:0}},mounted:function(){this.init()},onShow:function(){this.listData=[],this.page=1,this.no_more=!1,this.getData()},methods:{init:function(){var e=this;t.getSystemInfo({success:function(o){e.phoneHeight=o.windowHeight;var n=t.createSelectorQuery().select(".add-video-btns");n.boundingClientRect((function(t){var o=e.phoneHeight-t.height;e.scrollviewHigh=o})).exec()}})},getCountdownConfig:function(t){return{startstamp:0,endstamp:t.start_time,title:"距开播还剩",type:"text"}},nowLive:function(t){var e=new Date;if(!(e-this.tapTime<1e3)){var o="/pagesLive/live/live?sence=create&room_id="+t.room_id;this.gotoPage(o),this.tapTime=e}},getData:function(){var t=this,e=t.page,o=t.list_rows;t.loading=!0,t._get("plus.live.RoomApply/lists",{page:e||1,list_rows:o,is_notice:1},(function(e){t.loading=!1,t.listData=t.listData.concat(e.data.list.data),t.last_page=e.data.list.last_page,e.data.list.last_page<=1&&(t.no_more=!0)}))},scrolltolowerFunc:function(){if(this.bottomRefresh=!0,this.page++,this.loading=!0,this.page>this.last_page)return this.loading=!1,void(this.no_more=!0);this.getData()},deleteFunc:function(e){var o=this;n.showModal({title:"提示",content:"您确定要删除吗?",success:function(n){n.confirm?(t.showLoading({title:"正在处理"}),o._post("plus.live.RoomApply/delete",{room_id:e.room_id},(function(e){t.hideLoading(),t.showToast({title:e.msg,duration:2e3,icon:"success"}),o.listData=[],o.page=1,o.getData()}))):t.showToast({title:"取消收货",duration:1e3,icon:"none"})}})},addRoom:function(){this.gotoPage("/pages/user/my_shop/my_live/add/add")},gotoListFunc:function(t){this.gotoPage("/pages/user/my-live/productsList/productsList?room_id="+t.room_id)},livePoster:function(e){var o=this;t.showLoading({title:"加载中"});o._get("plus.live.Room/poster",{room_id:e.room_id,source:"wx"},(function(t){o.qrcode=t.data.qrcode}),null,(function(){t.hideLoading()}))},closeShare:function(){this.qrcode=null}}};e.default=i}).call(this,o("df3c")["default"],o("3223")["default"])},a4b2:function(t,e,o){"use strict";o.r(e);var n=o("f4e0"),i=o("a714");for(var a in i)["default"].indexOf(a)<0&&function(t){o.d(e,t,(function(){return i[t]}))}(a);o("bc84");var s=o("828b"),c=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"409ca654",null,!1,n["a"],void 0);e["default"]=c.exports},a714:function(t,e,o){"use strict";o.r(e);var n=o("2694"),i=o.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){o.d(e,t,(function(){return n[t]}))}(a);e["default"]=i.a},bc84:function(t,e,o){"use strict";var n=o("0417"),i=o.n(n);i.a},c657:function(t,e,o){"use strict";(function(t,e){var n=o("47a9");o("7d57");n(o("3240"));var i=n(o("a4b2"));t.__webpack_require_UNI_MP_PLUGIN__=o,e(i.default)}).call(this,o("3223")["default"],o("df3c")["createPage"])},f4e0:function(t,e,o){"use strict";o.d(e,"b",(function(){return n})),o.d(e,"c",(function(){return i})),o.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,o=(t._self._c,t.__map(t.listData,(function(e,o){var n=t.__get_orig(e),i=102==e.live_status?t.getCountdownConfig(e):null;return{$orig:n,m0:i}}))),n=0==t.listData.length&&!t.loading;t.$mp.data=Object.assign({},{$root:{l0:o,g0:n}})},i=[]}},[["c657","common/runtime","common/vendor"]]]);

View File

@ -0,0 +1,9 @@
{
"navigationBarTitleText": "直播预告",
"enablePullDownRefresh": false,
"usingComponents": {
"uni-load-more": "/components/uni-load-more",
"share": "/pages/user/my_shop/my_live/dialog/share",
"countdown": "/components/countdown/countdown"
}
}

View File

@ -0,0 +1 @@
<view class="my-live data-v-409ca654"><scroll-view class="scroll-Y data-v-409ca654" style="{{('height:'+scrollviewHigh+'px;')}}" scroll-y="true" lower-threshold="50" data-event-opts="{{[['scrolltolower',[['scrolltolowerFunc',['$event']]]]]}}" bindscrolltolower="__e"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item-box data-v-409ca654"><view class="item d-s-s d-c data-v-409ca654"><view class="d-s-s data-v-409ca654"><view class="picture data-v-409ca654"><view class="cover-picture data-v-409ca654"><image src="{{item.$orig.share.file_path}}" mode="aspectFill" class="data-v-409ca654"></image></view></view><view class="flex-1 d-s-s d-c data-v-409ca654"><text class="f28 data-v-409ca654">{{item.$orig.name}}</text><view class="gray9 f24 data-v-409ca654">{{"开始时间:"+item.$orig.start_time_text}}</view><block wx:if="{{item.$orig.live_status==102}}"><view class="d-c-c mt10 data-v-409ca654"><countdown vue-id="{{'50782290-1-'+index}}" config="{{item.m0}}" class="data-v-409ca654" bind:__l="__l"></countdown></view></block><block wx:if="{{item.$orig.live_status==101}}"><view class="d-c-c mt10 data-v-409ca654">正在直播中</view></block><block wx:if="{{item.$orig.live_status!=101&&item.$orig.live_status!=102}}"><view class="d-c-c mt10 data-v-409ca654">直播结束</view></block></view></view><view class="operation d-e-c ww100 mt20 data-v-409ca654"><block wx:if="{{item.$orig.live_status==0}}"><button class="delete-btn data-v-409ca654" type="primary">等待审核</button></block><button class="edit-btn data-v-409ca654" type="primary" data-event-opts="{{[['tap',[['deleteFunc',['$0'],[[['listData','',index]]]]]]]}}" bindtap="__e">删除</button><button class="edit-btn data-v-409ca654" type="primary" data-event-opts="{{[['tap',[['livePoster',['$0'],[[['listData','',index]]]]]]]}}" bindtap="__e">分享</button></view></view></view></block><block wx:if="{{$root.g0}}"><view class="d-c-c p30 data-v-409ca654"><text class="iconfont icon-wushuju data-v-409ca654"></text><text class="cont data-v-409ca654">亲,暂无相关记录哦</text></view></block><block wx:else><uni-load-more vue-id="50782290-2" loadingType="{{loadingType}}" class="data-v-409ca654" bind:__l="__l"></uni-load-more></block></scroll-view><view class="foot-btns add-video-btns data-v-409ca654"><button type="default" data-event-opts="{{[['tap',[['addRoom',['$event']]]]]}}" bindtap="__e" class="data-v-409ca654">创建预告</button></view><block wx:if="{{qrcode!=null}}"><share vue-id="50782290-3" qrcode="{{qrcode}}" data-event-opts="{{[['^close',[['closeShare']]]]}}" bind:close="__e" class="data-v-409ca654" bind:__l="__l"></share></block></view>

Some files were not shown because too many files have changed in this diff Show More