杨豪
3 years ago
484 changed files with 1575 additions and 205 deletions
@ -0,0 +1,151 @@
|
||||
<template> |
||||
<view class="goodsManage-page"> |
||||
<view class="nav acea-row row-around"> |
||||
<view class="item" :class="{ on: type === 0 }" @click="changeType(0)"> |
||||
<view>出售中</view> |
||||
</view> |
||||
<view class="item" :class="{ on: type === 1 }" @click="changeType(1)"> |
||||
<view>待上架</view> |
||||
</view> |
||||
</view> |
||||
<view class="goods-list-box"> |
||||
<view class="goods-item" v-for="i in 3" :key="i"> |
||||
<view class="item-top acea-row"> |
||||
<image class="goods-img" src="../../../static/images/shareImg.png" mode="aspectFill"></image> |
||||
<view class="info-box"> |
||||
<view class="title line1">【单品套装】SKII大眼眼霜15g霜15g霜15g霜15g</view> |
||||
<view class="colG">规格1</view> |
||||
<view class="price-box acea-row row-between-wrapper"> |
||||
<view class="money">¥499</view> |
||||
<view class="colG">库存:99</view> |
||||
</view> |
||||
</view> |
||||
</view> |
||||
<view class="btn-box acea-row row-right"> |
||||
<view class="edit-btn acea-row row-middle"> |
||||
<image src="../../../static/images/edit-goods.png"></image> |
||||
<text>编辑商品</text> |
||||
</view> |
||||
<view class="off-shelf-btn acea-row row-middle"> |
||||
<image src="../../../static/images/off-shelf.png"></image> |
||||
<text>下架商品</text> |
||||
</view> |
||||
<view class="del-btn acea-row row-middle"> |
||||
<image src="../../../static/images/del-goods.png"></image> |
||||
<text>删除商品</text> |
||||
</view> |
||||
</view> |
||||
</view> |
||||
</view> |
||||
</view> |
||||
</template> |
||||
|
||||
<script> |
||||
export default{ |
||||
data(){ |
||||
return { |
||||
type: 0, |
||||
goodsList: [], |
||||
page: 0, |
||||
loading: false |
||||
} |
||||
}, |
||||
mounted() { |
||||
|
||||
}, |
||||
methods:{ |
||||
changeType(idx){ |
||||
this.type = type |
||||
this.goodsList = [] |
||||
this.page = 1 |
||||
this.loading = false |
||||
} |
||||
} |
||||
} |
||||
</script> |
||||
|
||||
<style lang="less"> |
||||
.goodsManage-page{ |
||||
width: 100%; |
||||
min-height: 100vh; |
||||
background: #EEEEEE; |
||||
} |
||||
.nav{ |
||||
background-color: #fff; |
||||
// padding: 12rpx 0; |
||||
color: #707070; |
||||
font-size: 28rpx; |
||||
.item{ |
||||
padding-bottom: 12rpx; |
||||
} |
||||
.on{ |
||||
font-weight: 500; |
||||
color: #000; |
||||
border-bottom: 6rpx solid #FF6D31; |
||||
} |
||||
} |
||||
.goods-list-box{ |
||||
width: 100%; |
||||
padding: 32rpx 40rpx; |
||||
.goods-item{ |
||||
width: 100%; |
||||
padding: 32rpx 22rpx 16rpx; |
||||
border-radius: 12rpx; |
||||
background: #fff; |
||||
font-size: 28rpx; |
||||
margin-bottom: 32rpx; |
||||
.goods-img{ |
||||
width: 116rpx; |
||||
height: 116rpx; |
||||
border-radius: 12rpx; |
||||
margin-right: 24rpx; |
||||
} |
||||
.info-box{ |
||||
width: calc(100% - 140rpx); |
||||
display: flex; |
||||
flex-direction: column; |
||||
justify-content: space-around; |
||||
} |
||||
.title{ |
||||
line-height: 40rpx; |
||||
color: #333333; |
||||
} |
||||
.colG{ |
||||
font-size: 22rpx; |
||||
color: #b7b7b7; |
||||
} |
||||
.money{ |
||||
color: #FF6D31; |
||||
font-weight: 500; |
||||
line-height: 40rpx; |
||||
} |
||||
.btn-box{ |
||||
border-top: 2rpx solid #ECECEC; |
||||
width: 100%; |
||||
padding: 16rpx 0 0; |
||||
margin-top: 28rpx; |
||||
font-size: 28rpx; |
||||
image{ |
||||
width: 28rpx; |
||||
height: 28rpx; |
||||
margin-right: 6rpx; |
||||
} |
||||
view{ |
||||
margin-left: 28rpx; |
||||
} |
||||
.off-shelf-btn{ |
||||
color: #FF6D31; |
||||
font-weight: 500; |
||||
} |
||||
.edit-btn{ |
||||
color: #5C96E8; |
||||
font-weight: 500; |
||||
} |
||||
.del-btn{ |
||||
color: #B7B7B7; |
||||
font-weight: 500; |
||||
} |
||||
} |
||||
} |
||||
} |
||||
</style> |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 474 B |
After Width: | Height: | Size: 439 B |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/AddressWindow"],{"27c7":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=n("aa63"),r={name:"AddressWindow",props:{value:Boolean,checked:Number},data:function(){return{addressList:[],current:0,cartId:0,pinkId:0,couponId:0}},mounted:function(){},methods:{getAddressList:function(){var t=this;(0,s.getAddressList)().then((function(e){t.addressList=e.data}))},closeAddress:function(){this.$emit("input",!1)},goAddressPages:function(){this.$yrouter.push("/pagesB/pages/user/address/AddressManagement/index"),this.$emit("redirect")},tapAddress:function(t){this.$emit("checked",this.addressList[t]),this.$emit("input",!1)}}};e.default=r},"2da6":function(t,e,n){"use strict";n.r(e);var s=n("b0b6"),r=n("cdcf");for(var d in r)"default"!==d&&function(t){n.d(e,t,(function(){return r[t]}))}(d);var u,i=n("f0c5"),a=Object(i["a"])(r["default"],s["b"],s["c"],!1,null,null,null,!1,s["a"],u);e["default"]=a.exports},b0b6:function(t,e,n){"use strict";var s;n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return d})),n.d(e,"a",(function(){return s}));var r=function(){var t=this,e=t.$createElement;t._self._c},d=[]},cdcf:function(t,e,n){"use strict";n.r(e);var s=n("27c7"),r=n.n(s);for(var d in s)"default"!==d&&function(t){n.d(e,t,(function(){return s[t]}))}(d);e["default"]=r.a}}]); |
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ |
||||
'components/AddressWindow-create-component', |
||||
{ |
||||
'components/AddressWindow-create-component':(function(module, exports, __webpack_require__){ |
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("2da6")) |
||||
}) |
||||
}, |
||||
[['components/AddressWindow-create-component']] |
||||
]); |
@ -0,0 +1,4 @@
|
||||
{ |
||||
"usingComponents": {}, |
||||
"component": true |
||||
} |
@ -0,0 +1 @@
|
||||
<view><view class="{{['address-window',value===true?'on':'']}}"><view class="title">选择地址<text data-event-opts="{{[['tap',[['closeAddress',['$event']]]]]}}" class="iconfont icon-guanbi" bindtap="__e"></text></view><block wx:if="{{addressList.length}}"><view class="list"><block wx:for="{{addressList}}" wx:for-item="item" wx:for-index="addressIndex" wx:key="addressIndex"><view data-event-opts="{{[['tap',[['tapAddress',[addressIndex]]]]]}}" class="{{['item acea-row row-between-wrapper',item.id===checked?'font-color-red':'']}}" bindtap="__e"><text class="{{['iconfont icon-ditu',item.id===checked?'font-color-red':'']}}"></text><view class="addressTxt"><view class="{{['name',item.id===checked?'font-color-red':'']}}">{{''+item.realName+''}}<text class="phone">{{item.phone}}</text></view><view class="line1">{{''+item.province+item.city+item.district+item.detail+''}}</view></view><text class="{{['iconfont icon-complete',item.id===checked?'font-color-red':'']}}"></text></view></block></view></block><block wx:if="{{addressList.length<1}}"><view class="pictrue"><image class="image" src="{{$VUE_APP_RESOURCES_URL+'/images/noAddress.png'}}"></image></view></block><view data-event-opts="{{[['tap',[['goAddressPages',['$event']]]]]}}" class="addressBnt bg-color-red" bindtap="__e">新加地址</view></view><view class="mask" hidden="{{value===false}}" data-event-opts="{{[['touchmove',[['',['$event']]]],['tap',[['closeAddress',['$event']]]]]}}" bindtouchmove="__e" bindtap="__e"></view></view> |
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/CitySelect"],{"157a":function(t,i,n){},"279b":function(t,i,n){"use strict";n.r(i);var e=n("402c"),c=n.n(e);for(var u in e)"default"!==u&&function(t){n.d(i,t,(function(){return e[t]}))}(u);i["default"]=c.a},"402c":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var e=function(){Promise.all([n.e("common/vendor"),n.e("components/uni-popup/uni-popup")]).then(function(){return resolve(n("e0d4"))}.bind(null,n)).catch(n.oe)},c=function(){n.e("components/uni-popup/uni-popup-message").then(function(){return resolve(n("b74e"))}.bind(null,n)).catch(n.oe)},u=function(){n.e("components/uni-popup/uni-popup-dialog").then(function(){return resolve(n("0e02"))}.bind(null,n)).catch(n.oe)},o={name:"CitySelect",components:{uniPopup:e,uniPopupMessage:c,uniPopupDialog:u},props:["callback","items","defaultValue"],data:function(){return{value:"请选择",show:this.value,province:[],provinceActive:null,city:[],cityActive:null,district:[],districtActive:null,current:0}},watch:{items:function(t){this.province=t},defaultValue:function(t){this.value=t}},mounted:function(){console.log(this),this.value&&(this.value=this.value),this.province=this.items},methods:{open:function(){this.province=this.items,this.provinceActive=null,this.cityActive=null,this.districtActive=null,this.city=[],this.district=[],this.current=0,this.$refs.popup.open()},changeNav:function(t){0==t&&(this.provinceActive=null),1==t&&(this.cityActive=null),2==t&&(this.districtActive=null),this.current=t},selectProvince:function(t){this.provinceActive=this.province[t],this.city=this.province[t].c,this.current=1},selectCity:function(t){this.cityActive=this.city[t],this.district=this.city[t].c,this.current=2},selectDistrict:function(t){this.districtActive=this.district[t],this.value="".concat(this.provinceActive.n," ").concat(this.cityActive.n," ").concat(this.districtActive.n),this.$emit("callback",{province:{id:this.provinceActive.v,name:this.provinceActive.n},city:{id:this.cityActive.v,name:this.cityActive.n},district:{id:this.districtActive.v,name:this.districtActive.n}}),this.$refs.popup.close()}}};i.default=o},"4cd4":function(t,i,n){"use strict";n.r(i);var e=n("5a39"),c=n("279b");for(var u in c)"default"!==u&&function(t){n.d(i,t,(function(){return c[t]}))}(u);n("a0f5");var o,s=n("f0c5"),r=Object(s["a"])(c["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],o);i["default"]=r.exports},"5a39":function(t,i,n){"use strict";n.d(i,"b",(function(){return c})),n.d(i,"c",(function(){return u})),n.d(i,"a",(function(){return e}));var e={uniPopup:function(){return Promise.all([n.e("common/vendor"),n.e("components/uni-popup/uni-popup")]).then(n.bind(null,"e0d4"))}},c=function(){var t=this,i=t.$createElement;t._self._c},u=[]},a0f5:function(t,i,n){"use strict";var e=n("157a"),c=n.n(e);c.a}}]); |
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ |
||||
'components/CitySelect-create-component', |
||||
{ |
||||
'components/CitySelect-create-component':(function(module, exports, __webpack_require__){ |
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("4cd4")) |
||||
}) |
||||
}, |
||||
[['components/CitySelect-create-component']] |
||||
]); |
@ -0,0 +1,8 @@
|
||||
{ |
||||
"component": true, |
||||
"usingComponents": { |
||||
"uni-popup": "/components/uni-popup/uni-popup", |
||||
"uni-popup-message": "/components/uni-popup/uni-popup-message", |
||||
"uni-popup-dialog": "/components/uni-popup/uni-popup-dialog" |
||||
} |
||||
} |
@ -0,0 +1 @@
|
||||
<view><text data-event-opts="{{[['tap',[['open',['$event']]]]]}}" class="uni-input" bindtap="__e">{{value}}</text><uni-popup class="vue-ref" vue-id="3ebf26e4-1" type="bottom" data-ref="popup" bind:__l="__l" vue-slots="{{['default']}}"><view class="cityselect"><view class="cityselect-header"><view class="cityselect-title"><text>请选择地址</text></view><view class="cityselect-nav"><block wx:if="{{provinceActive}}"><view data-event-opts="{{[['tap',[['changeNav',[0]]]]]}}" class="item" bindtap="__e"><text>{{provinceActive.n}}</text></view></block><block wx:if="{{cityActive}}"><view data-event-opts="{{[['tap',[['changeNav',[1]]]]]}}" class="item" bindtap="__e"><text>{{cityActive.n}}</text></view></block><block wx:if="{{districtActive}}"><view data-event-opts="{{[['tap',[['changeNav',[2]]]]]}}" class="item" bindtap="__e"><text>{{districtActive.n}}</text></view></block><block wx:else><view class="item active"><text>请选择</text></view></block></view></view><view class="cityselect-content"><swiper class="swiper" disable-touch="true" touchable="false" current="{{current}}"><swiper-item><scroll-view class="cityScroll" scroll-y="{{true}}"><view><block wx:for="{{province}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['selectProvince',[index]]]]]}}" class="cityselect-item" bindtap="__e"><view class="cityselect-item-box"><text>{{item.n}}</text></view></view></block></view></scroll-view></swiper-item><swiper-item><scroll-view class="cityScroll" scroll-y="{{true}}"><view><block wx:for="{{city}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['selectCity',[index]]]]]}}" class="cityselect-item" bindtap="__e"><view class="cityselect-item-box"><text>{{item.n}}</text></view></view></block></view></scroll-view></swiper-item><swiper-item><scroll-view class="cityScroll" scroll-y="{{true}}"><view><block wx:for="{{district}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['selectDistrict',[index]]]]]}}" class="cityselect-item" bindtap="__e"><view class="cityselect-item-box"><text>{{item.n}}</text></view></view></block></view></scroll-view></swiper-item></swiper></view></view></uni-popup></view> |
@ -0,0 +1 @@
|
||||
.cityselect{width:100%;height:75%;background-color:#fff;z-index:1502;position:relative;padding-bottom:0;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.cityselect .cityScroll{height:100%}.cityselect .swiper{height:800rpx}.cityselect-header{width:100%;z-index:1}.cityselect-title{width:100%;font-size:30rpx;text-align:center;height:95rpx;line-height:95rpx;position:relative}.cityselect-title:cityselect-title:after{height:1px;position:absolute;z-index:0;bottom:0;left:0;content:"";width:100%;background-image:-webkit-linear-gradient(bottom,#ececec 50%,transparent 0);background-image:linear-gradient(0deg,#ececec 50%,transparent 0)}.cityselect-nav{width:100%;padding-left:20rpx;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start}.cityselect-nav .item{font-size:26rpx;color:#222;display:block;height:80rpx;line-height:92rpx;padding:0 16rpx;position:relative;margin-right:30rpx;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:40%}.cityselect-nav .item.active{color:#f99c10!important;border-bottom:1rpx solid #f99c10}.cityselect-content{height:100%;width:100%}.cityselect-item .cityselect-item-box{display:block;padding:0 40rpx;position:relative;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-break:break-all;text-overflow:ellipsis;line-height:64rpx;max-height:65rpx;font-size:26rpx;color:#333}.cityselect-item .cityselect-item-box:after{content:"";height:1rpx;position:absolute;z-index:0;bottom:0;left:0;width:100%;background-image:-webkit-linear-gradient(bottom,#ececec 50%,transparent 0);background-image:linear-gradient(0deg,#ececec 50%,transparent 0)} |
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/CountDown"],{6826:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o={name:"CountDown",props:{tipText:{type:String,default:"倒计时"},dayText:{type:String,default:"天"},hourText:{type:String,default:"时"},minuteText:{type:String,default:"分"},secondText:{type:String,default:"秒"},datatime:{},isDay:{type:Boolean,default:!0}},data:function(){return{time:null,day:"00",hour:"00",minute:"00",second:"00"}},created:function(){this.show_time()},watch:{datatime:function(t){clearInterval(this.timeInterval),this.time=t,this.show_time()}},mounted:function(){},methods:{show_time:function(){var t=this;function e(){var e=t.time-Date.parse(new Date)/1e3,n=0,o=0,i=0,a=0;e>0?(n=!0===t.isDay?Math.floor(e/86400):0,o=Math.floor(e/3600)-24*n,i=Math.floor(e/60)-24*n*60-60*o,a=Math.floor(e)-24*n*60*60-60*o*60-60*i,o<=9&&(o="0"+o),i<=9&&(i="0"+i),a<=9&&(a="0"+a),t.day=n,t.hour=o,t.minute=i,t.second=a):(t.day="00",t.hour="00",t.minute="00",t.second="00")}13==parseInt(this.time).length?(console.log("毫秒"),this.time=this.time/1e3):10==parseInt(this.time).length?console.log("秒"):(console.log("时间"),console.log(this.time),this.time=Date.parse(this.time)/1e3),console.log(t.time),e(),this.timeInterval=setInterval(e,1e3)}}};e.default=o},efc3:function(t,e,n){"use strict";var o;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return o}));var i=function(){var t=this,e=t.$createElement;t._self._c},a=[]},fa94:function(t,e,n){"use strict";n.r(e);var o=n("6826"),i=n.n(o);for(var a in o)"default"!==a&&function(t){n.d(e,t,(function(){return o[t]}))}(a);e["default"]=i.a},fdd5:function(t,e,n){"use strict";n.r(e);var o=n("efc3"),i=n("fa94");for(var a in i)"default"!==a&&function(t){n.d(e,t,(function(){return i[t]}))}(a);var r,u=n("f0c5"),l=Object(u["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],r);e["default"]=l.exports}}]); |
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ |
||||
'components/CountDown-create-component', |
||||
{ |
||||
'components/CountDown-create-component':(function(module, exports, __webpack_require__){ |
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("fdd5")) |
||||
}) |
||||
}, |
||||
[['components/CountDown-create-component']] |
||||
]); |
@ -0,0 +1,4 @@
|
||||
{ |
||||
"component": true, |
||||
"usingComponents": {} |
||||
} |
@ -0,0 +1 @@
|
||||
<view class="time">{{''+tipText+''}}<block wx:if="{{isDay===true}}"><text class="styleAll">{{day}}</text></block><text class="timeTxt">{{dayText}}</text><text class="styleAll">{{hour}}</text><text class="timeTxt">{{hourText}}</text><text class="styleAll">{{minute}}</text><text class="timeTxt">{{minuteText}}</text><text class="styleAll">{{second}}</text><text class="timeTxt">{{secondText}}</text></view> |
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/CouponListWindow"],{"0b4b":function(t,n,e){"use strict";var o=e("43ce"),i=e.n(o);i.a},"43ce":function(t,n,e){},"4ead":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("2d3a"),i=function(){e.e("components/DataFormatT").then(function(){return resolve(e("6d89"))}.bind(null,e)).catch(e.oe)},u={name:"CouponListWindow",components:{DataFormatT:i},props:{value:Boolean,checked:Number,price:{type:[Number,String],default:void 0},cartid:{type:String,default:""}},data:function(){return{couponList:[],loaded:!1}},watch:{price:function(t){void 0!==t&&null!=t&&this.getCoupon()},cartid:function(t){void 0!==t&&null!=t&&this.getCoupon()}},mounted:function(){},methods:{close:function(){this.$emit("input",!1),this.$emit("close")},getCoupon:function(){var t=this;(0,o.getOrderCoupon)(this.cartid).then((function(n){t.couponList=n.data,t.loaded=!0}))},click:function(t){this.$emit("checked",t),this.$emit("input",!1)},couponNo:function(){this.$emit("checked",null),this.$emit("input",!1)}}};n.default=u},a771:function(t,n,e){"use strict";e.r(n);var o=e("4ead"),i=e.n(o);for(var u in o)"default"!==u&&function(t){e.d(n,t,(function(){return o[t]}))}(u);n["default"]=i.a},d090:function(t,n,e){"use strict";var o;e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){return o}));var i=function(){var t=this,n=t.$createElement;t._self._c},u=[]},d26e:function(t,n,e){"use strict";e.r(n);var o=e("d090"),i=e("a771");for(var u in i)"default"!==u&&function(t){e.d(n,t,(function(){return i[t]}))}(u);e("0b4b");var c,a=e("f0c5"),r=Object(a["a"])(i["default"],o["b"],o["c"],!1,null,"c89231e6",null,!1,o["a"],c);n["default"]=r.exports}}]); |
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ |
||||
'components/CouponListWindow-create-component', |
||||
{ |
||||
'components/CouponListWindow-create-component':(function(module, exports, __webpack_require__){ |
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("d26e")) |
||||
}) |
||||
}, |
||||
[['components/CouponListWindow-create-component']] |
||||
]); |
@ -0,0 +1,6 @@
|
||||
{ |
||||
"component": true, |
||||
"usingComponents": { |
||||
"data-format-t": "/components/DataFormatT" |
||||
} |
||||
} |
@ -0,0 +1 @@
|
||||
<view class="data-v-c89231e6"><view class="{{['coupon-list-window data-v-c89231e6',value===true?'on':'']}}"><view class="title data-v-c89231e6">优惠券<text data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="iconfont icon-guanbi data-v-c89231e6" bindtap="__e"></text></view><block wx:if="{{couponList.length>0}}"><view class="data-v-c89231e6"><view class="coupon-list data-v-c89231e6"><block wx:for="{{couponList}}" wx:for-item="coupon" wx:for-index="__i0__" wx:key="id"><view data-event-opts="{{[['tap',[['click',['$0'],[[['couponList','id',coupon.id]]]]]]]}}" class="item acea-row row-center-wrapper _div data-v-c89231e6" bindtap="__e"><view class="money _div data-v-c89231e6"><view class="_div data-v-c89231e6">¥<label class="num _span data-v-c89231e6">{{coupon.couponPrice}}</label></view><view class="pic-num _div data-v-c89231e6">{{"满"+coupon.useMinPrice+"元可用"}}</view></view><view class="text _div data-v-c89231e6"><view class="condition line1 _div data-v-c89231e6">{{coupon.couponTitle}}</view><view class="data acea-row row-between-wrapper _div data-v-c89231e6"><block wx:if="{{coupon.endTime===0}}"><view class="_div data-v-c89231e6">不限时</view></block><block wx:else><view class="_div data-v-c89231e6">{{"截止:"+coupon.endTime}}</view></block><block wx:if="{{checked===coupon.id}}"><view class="iconfont icon-xuanzhong1 font-color-red _div data-v-c89231e6"></view></block><block wx:else><view class="iconfont icon-weixuanzhong _div data-v-c89231e6"></view></block></view></view></view></block></view><view data-event-opts="{{[['tap',[['couponNo',['$event']]]]]}}" class="couponNo bg-color-red data-v-c89231e6" bindtap="__e">不使用优惠券</view></view></block><block wx:if="{{!couponList.length&&loaded}}"><view class="data-v-c89231e6"><view class="pictrue data-v-c89231e6"><image class="image data-v-c89231e6" src="{{$VUE_APP_RESOURCES_URL+'/images/noCoupon.png'}}"></image></view></view></block></view><view class="mask data-v-c89231e6" hidden="{{value===false}}" data-event-opts="{{[['touchmove',[['',['$event']]]],['tap',[['close',['$event']]]]]}}" bindtouchmove="__e" bindtap="__e"></view></view> |
@ -0,0 +1 @@
|
||||
.coupon-list-window .iconfont.data-v-c89231e6{font-size:40rpx}.couponNo.data-v-c89231e6{font-size:30rpx;font-weight:700;color:#fff;width:690rpx;height:86rpx;border-radius:43rpx;text-align:center;line-height:86rpx;margin:60rpx auto} |
@ -1,4 +1,4 @@
|
||||
{ |
||||
"usingComponents": {}, |
||||
"component": true |
||||
"component": true, |
||||
"usingComponents": {} |
||||
} |
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/DataFormat"],{"1d72":function(t,n,a){"use strict";var e;a.d(n,"b",(function(){return r})),a.d(n,"c",(function(){return u})),a.d(n,"a",(function(){return e}));var r=function(){var t=this,n=t.$createElement;t._self._c},u=[]},"42f8":function(t,n,a){"use strict";a.r(n);var e=a("d087"),r=a.n(e);for(var u in e)"default"!==u&&function(t){a.d(n,t,(function(){return e[t]}))}(u);n["default"]=r.a},d087:function(t,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e=a("b6d1"),r={name:"DataFormat",props:["date"],data:function(){return{time:""}},mounted:function(){this.time=(0,e.dataFormat)(this.date)},watch:{"$props.date":function(t){this.time=(0,e.dataFormat)(this.date)}}};n.default=r},f080:function(t,n,a){"use strict";a.r(n);var e=a("1d72"),r=a("42f8");for(var u in r)"default"!==u&&function(t){a.d(n,t,(function(){return r[t]}))}(u);var o,i=a("f0c5"),c=Object(i["a"])(r["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],o);n["default"]=c.exports}}]); |
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ |
||||
'components/DataFormat-create-component', |
||||
{ |
||||
'components/DataFormat-create-component':(function(module, exports, __webpack_require__){ |
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("f080")) |
||||
}) |
||||
}, |
||||
[['components/DataFormat-create-component']] |
||||
]); |
@ -0,0 +1,4 @@
|
||||
{ |
||||
"usingComponents": {}, |
||||
"component": true |
||||
} |
@ -0,0 +1 @@
|
||||
<text>{{time}}</text> |
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/DataFormatT"],{"21d1":function(t,n,e){"use strict";var a;e.d(n,"b",(function(){return r})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){return a}));var r=function(){var t=this,n=t.$createElement;t._self._c},u=[]},"2a85":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("b6d1"),r={name:"DataFormatT",props:["date"],data:function(){return{time:""}},mounted:function(){this.time=(0,a.dateFormatT)(this.date)},watch:{"$props.date":function(t){this.time=(0,a.dateFormatT)(this.date)}}};n.default=r},"6d89":function(t,n,e){"use strict";e.r(n);var a=e("21d1"),r=e("8eae");for(var u in r)"default"!==u&&function(t){e.d(n,t,(function(){return r[t]}))}(u);var o,i=e("f0c5"),c=Object(i["a"])(r["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],o);n["default"]=c.exports},"8eae":function(t,n,e){"use strict";e.r(n);var a=e("2a85"),r=e.n(a);for(var u in a)"default"!==u&&function(t){e.d(n,t,(function(){return a[t]}))}(u);n["default"]=r.a}}]); |
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ |
||||
'components/DataFormatT-create-component', |
||||
{ |
||||
'components/DataFormatT-create-component':(function(module, exports, __webpack_require__){ |
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("6d89")) |
||||
}) |
||||
}, |
||||
[['components/DataFormatT-create-component']] |
||||
]); |
@ -0,0 +1,4 @@
|
||||
{ |
||||
"component": true, |
||||
"usingComponents": {} |
||||
} |
@ -0,0 +1 @@
|
||||
<text>{{time}}</text> |
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/GoodList"],{6293:function(t,n,e){"use strict";var o;e.d(n,"b",(function(){return u})),e.d(n,"c",(function(){return r})),e.d(n,"a",(function(){return o}));var u=function(){var t=this,n=t.$createElement;t._self._c},r=[]},d1a2:function(t,n,e){"use strict";e.r(n);var o=e("6293"),u=e("e3b8");for(var r in u)"default"!==r&&function(t){e.d(n,t,(function(){return u[t]}))}(r);var a,f=e("f0c5"),i=Object(f["a"])(u["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],a);n["default"]=i.exports},e3b8:function(t,n,e){"use strict";e.r(n);var o=e("f3f1"),u=e.n(o);for(var r in o)"default"!==r&&function(t){e.d(n,t,(function(){return o[t]}))}(r);n["default"]=u.a},f3f1:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o={name:"GoodList",props:{goodList:{type:Array,default:function(){return[]}},isSort:{type:Boolean,default:!0}},data:function(){return{}},methods:{routerGo:function(t){this.$yrouter.push({path:"/pages/shop/GoodsCon/index",query:{id:t.id}})}}};n.default=o}}]); |
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ |
||||
'components/GoodList-create-component', |
||||
{ |
||||
'components/GoodList-create-component':(function(module, exports, __webpack_require__){ |
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("d1a2")) |
||||
}) |
||||
}, |
||||
[['components/GoodList-create-component']] |
||||
]); |
@ -0,0 +1,4 @@
|
||||
{ |
||||
"usingComponents": {}, |
||||
"component": true |
||||
} |
@ -0,0 +1 @@
|
||||
<view class="goodList"><block wx:for="{{goodList}}" wx:for-item="item" wx:for-index="goodlistIndex" wx:key="goodlistIndex"><view data-event-opts="{{[['tap',[['routerGo',['$0'],[[['goodList','',goodlistIndex]]]]]]]}}" class="item acea-row row-between-wrapper" bindtap="__e"><view class="pictrue"><image class="image" src="{{item.image}}"></image><block wx:if="{{isSort===true&&index===0}}"><image class="numPic" src="{{$VUE_APP_RESOURCES_URL+'/images/one.png'}}"></image></block><block wx:if="{{isSort===true&&index===1}}"><image class="numPic" src="{{$VUE_APP_RESOURCES_URL+'/images/two.png'}}"></image></block><block wx:if="{{isSort===true&&index===2}}"><image class="numPic" src="{{$VUE_APP_RESOURCES_URL+'/images/three.png'}}"></image></block></view><view class="underline"><view class="text"><view class="line1">{{item.storeName}}</view><view class="money font-color-red">¥<text class="num">{{item.price}}</text></view><view class="vip-money acea-row row-middle"><view class="vip">{{"¥"+(item.otPrice||0)}}</view><text class="num">{{"已售"+item.sales+item.unitName}}</text></view></view></view></view></block></view> |
@ -1,4 +1,4 @@
|
||||
{ |
||||
"usingComponents": {}, |
||||
"component": true |
||||
"component": true, |
||||
"usingComponents": {} |
||||
} |
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/OrderGoods"],{"32e9":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u={name:"OrderGoods",props:{evaluate:Number,cartInfo:{type:Array,default:function(){return[]}},isIntegral:Boolean},data:function(){return{}},mounted:function(){},methods:{routerGo:function(t){this.$yrouter.push({path:"/pagesB/pages/shop/GoodsEvaluate/index",query:{id:t.unique}})}}};e.default=u},"40d2":function(t,e,n){"use strict";n.r(e);var u=n("32e9"),r=n.n(u);for(var a in u)"default"!==a&&function(t){n.d(e,t,(function(){return u[t]}))}(a);e["default"]=r.a},6442:function(t,e,n){"use strict";var u;n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return u}));var r=function(){var t=this,e=t.$createElement;t._self._c},a=[]},daac:function(t,e,n){"use strict";n.r(e);var u=n("6442"),r=n("40d2");for(var a in r)"default"!==a&&function(t){n.d(e,t,(function(){return r[t]}))}(a);n("dda4");var o,c=n("f0c5"),d=Object(c["a"])(r["default"],u["b"],u["c"],!1,null,"5379de6e",null,!1,u["a"],o);e["default"]=d.exports},dda4:function(t,e,n){"use strict";var u=n("e804"),r=n.n(u);r.a},e804:function(t,e,n){}}]); |
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ |
||||
'components/OrderGoods-create-component', |
||||
{ |
||||
'components/OrderGoods-create-component':(function(module, exports, __webpack_require__){ |
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("daac")) |
||||
}) |
||||
}, |
||||
[['components/OrderGoods-create-component']] |
||||
]); |
@ -0,0 +1,4 @@
|
||||
{ |
||||
"usingComponents": {}, |
||||
"component": true |
||||
} |
@ -0,0 +1 @@
|
||||
<view class="orderGoods data-v-5379de6e"><view class="goodWrapper data-v-5379de6e"><block wx:for="{{cartInfo}}" wx:for-item="cart" wx:for-index="__i0__" wx:key="id"><view class="item acea-row-nowrap data-v-5379de6e"><view class="pictrue data-v-5379de6e"><image class="image data-v-5379de6e" src="{{cart.productInfo.image}}"></image></view><view class="text data-v-5379de6e"><view class="acea-row row-between-wrapper data-v-5379de6e"><view class="name line1 data-v-5379de6e">{{cart.productInfo.storeName}}</view></view><view class="acea-row-nowrap row-middle data-v-5379de6e"><block wx:if="{{cart.productInfo.attrInfo}}"><view class="attr data-v-5379de6e">{{cart.productInfo.attrInfo.sku}}</view></block><view class="num data-v-5379de6e">{{"x "+cart.cartNum}}</view></view><view class="money data-v-5379de6e"><text class="sm-word data-v-5379de6e">¥</text>{{cart.productInfo.price}}<block wx:if="{{cart.productInfo.giveIntegral>0}}"><text class="sm-word data-v-5379de6e">{{"+"+cart.productInfo.giveIntegral+"积分"}}</text></block></view><block wx:if="{{evaluate==3&&cart.isReply==0}}"><view data-event-opts="{{[['tap',[['routerGo',['$0'],[[['cartInfo','id',cart.id]]]]]]]}}" class="evaluate data-v-5379de6e" bindtap="__e">评价</view></block></view></view></block></view></view> |
@ -0,0 +1 @@
|
||||
.orderGoods.data-v-5379de6e{border-radius:10rpx;margin:20rpx 0}.orderGoods .goodWrapper .item.data-v-5379de6e{height:auto;padding:30rpx 0}.orderGoods .goodWrapper .item .pictrue.data-v-5379de6e{width:170rpx;height:170rpx;border-radius:10rpx}.orderGoods .goodWrapper .item .attr.data-v-5379de6e{width:auto;margin-right:12rpx;color:#999;font-size:24rpx;line-height:34rpx}.orderGoods .goodWrapper .item .text.data-v-5379de6e{width:auto;margin-left:30rpx}.orderGoods .goodWrapper .item .text .name.data-v-5379de6e{width:420rpx;font-size:28rpx;color:#222;line-height:40rpx}.orderGoods .goodWrapper .item .text .money.data-v-5379de6e{font-size:38rpx;color:#e5270f;font-weight:500;margin-top:38rpx}.orderGoods .goodWrapper .item .text .sm-word.data-v-5379de6e{font-size:24rpx}.orderGoods .goodWrapper .item .text .evaluate.data-v-5379de6e{font-size:26rpx;line-height:46rpx;text-align:center} |
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/Payment"],{"0010":function(e,t,n){"use strict";n.r(t);var u=n("9f90"),a=n("6639");for(var i in a)"default"!==i&&function(e){n.d(t,e,(function(){return a[e]}))}(i);n("1e0e");var c,r=n("f0c5"),o=Object(r["a"])(a["default"],u["b"],u["c"],!1,null,"c40b6dba",null,!1,u["a"],c);t["default"]=o.exports},"1e0e":function(e,t,n){"use strict";var u=n("eb31"),a=n.n(u);a.a},3272:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u={name:"Payment",props:{value:{type:Boolean,default:!1},balance:{type:[Number,String],default:0},types:{type:Array,default:function(){return["weixin","alipay","yue","offline"]}}},data:function(){return{}},mounted:function(){},methods:{checked:function(e){this.$emit("checked",e),this.close()},close:function(){this.$emit("input",!1)}}};t.default=u},6639:function(e,t,n){"use strict";n.r(t);var u=n("3272"),a=n.n(u);for(var i in u)"default"!==i&&function(e){n.d(t,e,(function(){return u[e]}))}(i);t["default"]=a.a},"9f90":function(e,t,n){"use strict";var u;n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return u}));var a=function(){var e=this,t=e.$createElement,n=(e._self._c,e.types.indexOf("weixin")),u=e.types.indexOf("yue");e.$mp.data=Object.assign({},{$root:{g0:n,g1:u}})},i=[]},eb31:function(e,t,n){}}]); |
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ |
||||
'components/Payment-create-component', |
||||
{ |
||||
'components/Payment-create-component':(function(module, exports, __webpack_require__){ |
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("0010")) |
||||
}) |
||||
}, |
||||
[['components/Payment-create-component']] |
||||
]); |
@ -0,0 +1,4 @@
|
||||
{ |
||||
"usingComponents": {}, |
||||
"component": true |
||||
} |
@ -0,0 +1 @@
|
||||
<view class="data-v-c40b6dba"><view class="{{['payment data-v-c40b6dba',value===true?'on':'']}}"><view class="title acea-row row-center-wrapper data-v-c40b6dba">选择付款方式<text data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="iconfont icon-guanbi data-v-c40b6dba" bindtap="__e"></text></view><block wx:if="{{$root.g0!==-1}}"><view data-event-opts="{{[['tap',[['checked',['weixin']]]]]}}" class="item acea-row row-between-wrapper data-v-c40b6dba" bindtap="__e"><view class="left acea-row row-between-wrapper data-v-c40b6dba"><view class="iconfont icon-weixinzhifu data-v-c40b6dba"></view><view class="text data-v-c40b6dba"><view class="name data-v-c40b6dba">微信支付</view><view class="info data-v-c40b6dba">使用微信快捷支付</view></view></view><view class="iconfont icon-xiangyou data-v-c40b6dba"></view></view></block><block wx:if="{{$root.g1!==-1}}"><view data-event-opts="{{[['tap',[['checked',['yue']]]]]}}" class="item acea-row row-between-wrapper data-v-c40b6dba" bindtap="__e"><view class="left acea-row row-between-wrapper data-v-c40b6dba"><view class="iconfont icon-yuezhifu data-v-c40b6dba"></view><view class="text data-v-c40b6dba"><view class="name data-v-c40b6dba">余额支付</view><view class="info data-v-c40b6dba">当前可用余额:<text class="money data-v-c40b6dba">{{balance}}</text></view></view></view><view class="iconfont icon-xiangyou data-v-c40b6dba"></view></view></block></view><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" hidden="{{!(value)}}" class="mask data-v-c40b6dba" bindtap="__e"></view></view> |
@ -0,0 +1 @@
|
||||
.payment.data-v-c40b6dba{position:fixed;bottom:0;left:0;width:100%;border-radius:16rpx 16rpx 0 0;background-color:#fff;padding-bottom:60rpx;z-index:99;transition:all .3s cubic-bezier(.25,.5,.5,.9);-webkit-transition:all .3s cubic-bezier(.25,.5,.5,.9);-moz-transition:all .3s cubic-bezier(.25,.5,.5,.9);-o-transition:all .3s cubic-bezier(.25,.5,.5,.9);transform:translate3d(0,100%,0);-webkit-transform:translate3d(0,100%,0);-ms-transform:translate3d(0,100%,0);-moz-transform:translate3d(0,100%,0);-o-transform:translate3d(0,100%,0)}.payment.on.data-v-c40b6dba{transform:translateZ(0);-webkit-transform:translateZ(0);-ms-transform:translateZ(0);-moz-transform:translateZ(0);-o-transform:translateZ(0)}.payment .title.data-v-c40b6dba{text-align:center;height:123rpx;font-size:32rpx;color:#282828;font-weight:700;padding-right:30rpx;margin-left:30rpx;position:relative;border-bottom:1rpx solid #eee}.payment .title .iconfont.data-v-c40b6dba{position:absolute;right:30rpx;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);font-size:43rpx;color:#8a8a8a;font-weight:400}.payment .item.data-v-c40b6dba{border-bottom:1rpx solid #eee;height:130rpx;margin-left:30rpx;padding-right:30rpx}.payment .item .left.data-v-c40b6dba{width:610rpx}.payment .item .left .text.data-v-c40b6dba{width:540rpx}.payment .item .left .text .name.data-v-c40b6dba{font-size:32rpx;color:#282828}.payment .item .left .text .info.data-v-c40b6dba{font-size:24rpx;color:#999}.payment .item .left .text .info .money.data-v-c40b6dba{color:#f90}.payment .item .left .iconfont.data-v-c40b6dba{font-size:45rpx;color:#09bb07}.payment .item .left .iconfont.icon-zhifubao.data-v-c40b6dba{color:#00aaea}.payment .item .left .iconfont.icon-yuezhifu.data-v-c40b6dba{color:#f90}.payment .item .left .iconfont.icon-yuezhifu1.data-v-c40b6dba{color:#eb6623}.payment .item .iconfont.data-v-c40b6dba{font-size:30rpx;color:#999} |
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/PriceChange"],{"0ac6":function(e,r,n){},"12a0":function(e,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var t={name:"PriceChange",components:{},props:{change:Boolean,orderInfo:Object,status:String},data:function(){return{focus:!1,price:0,refund_price:0,remark:""}},watch:{orderInfo:function(){this.price=this.orderInfo.payPrice,this.refund_price=this.orderInfo.payPrice,this.remark=""}},mounted:function(){},methods:{priceChange:function(){this.focus=!0},close:function(){this.price=this.orderInfo.payPrice,this.$emit("closechange",!1)},save:function(){var e=this;e.$emit("savePrice",{price:e.price,refund_price:e.refund_price,type:1,remark:e.remark})},refuse:function(){var e=this;e.$emit("savePrice",{price:e.price,refund_price:e.refund_price,type:2,remark:e.remark})}}};r.default=t},2167:function(e,r,n){"use strict";n.r(r);var t=n("7786"),c=n("4c79");for(var i in c)"default"!==i&&function(e){n.d(r,e,(function(){return c[e]}))}(i);n("2c27");var a,u=n("f0c5"),o=Object(u["a"])(c["default"],t["b"],t["c"],!1,null,"60cb0979",null,!1,t["a"],a);r["default"]=o.exports},"2c27":function(e,r,n){"use strict";var t=n("0ac6"),c=n.n(t);c.a},"4c79":function(e,r,n){"use strict";n.r(r);var t=n("12a0"),c=n.n(t);for(var i in t)"default"!==i&&function(e){n.d(r,e,(function(){return t[e]}))}(i);r["default"]=c.a},7786:function(e,r,n){"use strict";var t;n.d(r,"b",(function(){return c})),n.d(r,"c",(function(){return i})),n.d(r,"a",(function(){return t}));var c=function(){var e=this,r=e.$createElement;e._self._c},i=[]}}]); |
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ |
||||
'components/PriceChange-create-component', |
||||
{ |
||||
'components/PriceChange-create-component':(function(module, exports, __webpack_require__){ |
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("2167")) |
||||
}) |
||||
}, |
||||
[['components/PriceChange-create-component']] |
||||
]); |
@ -0,0 +1,4 @@
|
||||
{ |
||||
"usingComponents": {}, |
||||
"component": true |
||||
} |
@ -0,0 +1 @@
|
||||
<view class="data-v-60cb0979"><view class="{{['priceChange data-v-60cb0979',change===true?'on':'']}}"><view class="priceTitle data-v-60cb0979"><block wx:if="{{status==0}}"><text class="data-v-60cb0979"><block wx:if="{{orderInfo.refundStatus==1}}"><text class="data-v-60cb0979">立即退款</text></block><block wx:if="{{orderInfo.refundStatus!=1}}"><text class="data-v-60cb0979">一键改价</text></block></text></block><block wx:if="{{status!=0}}"><text class="data-v-60cb0979">订单备注</text></block><text data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="iconfont icon-guanbi data-v-60cb0979" bindtap="__e"></text></view><block wx:if="{{status==0}}"><view class="listChange data-v-60cb0979"><block wx:if="{{orderInfo.refundStatus===0}}"><view class="item acea-row row-between-wrapper data-v-60cb0979"><view class="data-v-60cb0979">商品总价(¥)</view><view class="money data-v-60cb0979">{{''+orderInfo.totalPrice+''}}<text class="iconfont icon-suozi data-v-60cb0979"></text></view></view></block><block wx:if="{{orderInfo.refundStatus===0}}"><view class="item acea-row row-between-wrapper data-v-60cb0979"><view class="data-v-60cb0979">原始邮费(¥)</view><view class="money data-v-60cb0979">{{''+orderInfo.payPostage+''}}<text class="iconfont icon-suozi data-v-60cb0979"></text></view></view></block><block wx:if="{{orderInfo.refundStatus===0}}"><view class="item acea-row row-between-wrapper data-v-60cb0979"><view class="data-v-60cb0979">实际支付(¥)</view><view class="money data-v-60cb0979"><input class="{{['data-v-60cb0979',focus===true?'on':'']}}" type="text" data-event-opts="{{[['focus',[['priceChange',['$event']]]],['input',[['__set_model',['','price','$event',[]]]]]]}}" value="{{price}}" bindfocus="__e" bindinput="__e"/></view></view></block><block wx:if="{{orderInfo.refundStatus===1}}"><view class="item acea-row row-between-wrapper data-v-60cb0979"><view class="data-v-60cb0979">实际支付(¥)</view><view class="money data-v-60cb0979">{{''+orderInfo.payPrice+''}}<text class="iconfont icon-suozi data-v-60cb0979"></text></view></view></block><block wx:if="{{orderInfo.refundStatus===1}}"><view class="item acea-row row-between-wrapper data-v-60cb0979"><view class="data-v-60cb0979">退款金额(¥)</view><view class="money data-v-60cb0979"><input class="{{['data-v-60cb0979',focus===true?'on':'']}}" type="text" data-event-opts="{{[['focus',[['priceChange',['$event']]]],['input',[['__set_model',['','refund_price','$event',[]]]]]]}}" value="{{refund_price}}" bindfocus="__e" bindinput="__e"/></view></view></block></view></block><block wx:else><view class="listChange data-v-60cb0979"><textarea placeholder="请填写备注信息..." data-event-opts="{{[['input',[['__set_model',['','remark','$event',[]]]]]]}}" value="{{remark}}" bindinput="__e" class="data-v-60cb0979"></textarea></view></block><view data-event-opts="{{[['tap',[['save',['$event']]]]]}}" class="modify data-v-60cb0979" bindtap="__e">{{orderInfo.refundStatus===0?"立即修改":"确认退款"}}</view><block wx:if="{{orderInfo.refundStatus===1}}"><view data-event-opts="{{[['tap',[['refuse',['$event']]]]]}}" class="modify1 data-v-60cb0979" bindtap="__e">拒绝退款</view></block></view><view data-event-opts="{{[['touchmove',[['',['$event']]]]]}}" hidden="{{!(change===true)}}" class="mask data-v-60cb0979" bindtouchmove="__e"></view></view> |
@ -0,0 +1 @@
|
||||
.priceChange .listChange textarea.data-v-60cb0979{border:1px solid #eee;width:100%;height:200rpx;margin-top:50rpx;border-radius:10rpx;color:#333;padding:20rpx} |
@ -1,4 +1,4 @@
|
||||
{ |
||||
"usingComponents": {}, |
||||
"component": true |
||||
"component": true, |
||||
"usingComponents": {} |
||||
} |
@ -1 +1 @@
|
||||
<view class="slider-banner product-bg"><block wx:if="{{imgUrls.length>0}}"><swiper data-event-opts="{{[['change',[['handleChange',['$event']]]]]}}" class="swiper-wrapper" bindchange="__e"><block wx:for="{{imgUrls}}" wx:for-item="item" wx:for-index="imgUrlsIndex" wx:key="imgUrlsIndex"><block><swiper-item><image class="slide-image" src="{{item}}" data-event-opts="{{[['tap',[['previewImage',[imgUrlsIndex]]]]]}}" bindtap="__e"></image></swiper-item></block></block></swiper></block><view class="pages">{{(currents||1)+"/"+(imgUrls.length||1)}}</view></view> |
||||
<view class="slider-banner product-bg"><block wx:if="{{imgUrls.length>0}}"><swiper data-event-opts="{{[['change',[['handleChange',['$event']]]]]}}" class="swiper-wrapper" bindchange="__e"><block wx:for="{{imgUrls}}" wx:for-item="item" wx:for-index="imgUrlsIndex" wx:key="imgUrlsIndex"><block><swiper-item><image class="slide-image" src="{{item}}" mode="aspectFit" data-event-opts="{{[['tap',[['previewImage',[imgUrlsIndex]]]]]}}" bindtap="__e"></image></swiper-item></block></block></swiper></block><view class="pages">{{(currents||1)+"/"+(imgUrls.length||1)}}</view></view> |
@ -1,4 +1,4 @@
|
||||
{ |
||||
"usingComponents": {}, |
||||
"component": true |
||||
"component": true, |
||||
"usingComponents": {} |
||||
} |
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/PromotionGood"],{"414f":function(n,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e={name:"PromotionGood",props:["benefit"],data:function(){return{}},methods:{routerGo:function(n){this.$yrouter.push({path:"/pages/shop/GoodsCon/index",query:{id:n.id}})}},mounted:function(){}};t.default=e},"59b2":function(n,t,o){"use strict";o.r(t);var e=o("7fda"),u=o("c9a7");for(var r in u)"default"!==r&&function(n){o.d(t,n,(function(){return u[n]}))}(r);o("ce26");var c,a=o("f0c5"),f=Object(a["a"])(u["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],c);t["default"]=f.exports},"7fda":function(n,t,o){"use strict";var e;o.d(t,"b",(function(){return u})),o.d(t,"c",(function(){return r})),o.d(t,"a",(function(){return e}));var u=function(){var n=this,t=n.$createElement;n._self._c},r=[]},bcc7:function(n,t,o){},c9a7:function(n,t,o){"use strict";o.r(t);var e=o("414f"),u=o.n(e);for(var r in e)"default"!==r&&function(n){o.d(t,n,(function(){return e[n]}))}(r);t["default"]=u.a},ce26:function(n,t,o){"use strict";var e=o("bcc7"),u=o.n(e);u.a}}]); |
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ |
||||
'components/PromotionGood-create-component', |
||||
{ |
||||
'components/PromotionGood-create-component':(function(module, exports, __webpack_require__){ |
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("59b2")) |
||||
}) |
||||
}, |
||||
[['components/PromotionGood-create-component']] |
||||
]); |
@ -0,0 +1,4 @@
|
||||
{ |
||||
"usingComponents": {}, |
||||
"component": true |
||||
} |
@ -0,0 +1 @@
|
||||
<view><view class="sh-title-card mb10"><view class="title-box"><image class="title-bg" src="{{$VUE_APP_RESOURCES_URL+'/images/title1.png'}}" mode="aspectFill"></image><view class="title-text">为你推荐</view></view></view><block wx:if="{{benefit.length}}"><view class="hot-goods mx20 mb10"><view class="goods-list x-f"><block wx:for="{{benefit}}" wx:for-item="item" wx:for-index="promotionGoodIndex" wx:key="promotionGoodIndex"><view class="goods-item"><view data-event-opts="{{[['tap',[['routerGo',['$0'],[[['benefit','',promotionGoodIndex]]]]]]]}}" class="goods-box" bindtap="__e"><view class="img-box"><image class="img" src="{{item.image}}" lazy-load="{{true}}" mode="aspectFill"></image></view><view class="tip one-t">{{item.storeName}}</view><view class="title more-t">{{item.storeName}}</view><view class="price-box"><view class="flex x-bc align-end"><view class="current">{{(item.activity_type==='groupon'?item.price:item.otPrice)+''}}</view><view class="sales miso-font">{{"仅剩:"+item.stock+item.unitName}}</view></view><view class="x-f tag-box"></view></view></view></view></block></view></view></block></view> |
@ -0,0 +1 @@
|
||||
@charset "UTF-8";.sh-title-card{width:750rpx}.title-box{width:710rpx;height:88rpx;margin:0 auto;position:relative;border-radius:30rpx}.title-box .title-bg{width:100%;height:100%}.title-box .title-text{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);font-weight:700}.goods-box{width:345rpx;background:#fff;padding-bottom:20rpx;border-radius:20rpx;overflow:hidden}.goods-box .img-box{width:345rpx;height:345rpx;overflow:hidden;position:relative}.goods-box .img-box .tag-img{position:absolute;left:0;top:0;z-index:2;width:80rpx;height:40rpx}.goods-box .img-box .img{width:345rpx;height:345rpx;background-color:#ccc}.goods-box .tip{width:346rpx;line-height:56rpx;background:#f6f2ea;font-size:22rpx;font-family:PingFang SC;font-weight:400;color:#a8700d;padding:0 20rpx}.goods-box .title{font-size:24rpx;font-family:PingFang SC;font-weight:500;line-height:36rpx;height:72rpx;margin:20rpx 20rpx 10rpx}.goods-box .price-box{padding:10rpx 20rpx 0;width:344rpx;box-sizing:border-box}.goods-box .price-box .sales{font-size:20rpx;font-family:PingFang SC;font-weight:400;color:#999;line-height:20rpx;margin-bottom:20rpx}.goods-box .price-box .current{font-size:30rpx;font-weight:500;color:#e1212b;line-height:30rpx;margin-bottom:20rpx}.goods-box .price-box .current:before{content:"¥";font-size:26rpx}.goods-box .price-box .original{font-size:22rpx;font-weight:400;text-decoration:line-through;color:#999;margin-left:14rpx;line-height:22rpx;margin-bottom:10rpx}.goods-box .price-box .original:before{content:"¥";font-size:20rpx}.goods-box .price-box .tag-box .discount{line-height:28rpx;border:1rpx solid #e1212b;border-radius:8rpx;font-size:18rpx;font-family:PingFang SC;font-weight:500;color:#e1212b;padding:0 8rpx;margin-right:10rpx}.hot-goods .goods-list{-webkit-flex-wrap:wrap;flex-wrap:wrap;width:710rpx}.hot-goods .goods-list .goods-item{margin-right:20rpx;margin-bottom:20rpx;width:345rpx;box-shadow:0 0 10rpx 4rpx hsla(0,0%,78%,.22);border-radius:20rpx}.hot-goods .goods-list .goods-item:nth-child(2n){margin-right:0} |
@ -1,4 +1,4 @@
|
||||
{ |
||||
"usingComponents": {}, |
||||
"component": true |
||||
"component": true, |
||||
"usingComponents": {} |
||||
} |
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/ShopLiveCard"],{2563:function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement;t._self._c},o=[]},"533e":function(t,e,i){"use strict";var n=i("73ff"),a=i.n(n);a.a},"73ff":function(t,e,i){},ca4e:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;i("b6d1");var n=!1;n=!0;var a={name:"shopLiveCard",components:{},data:function(){return{liveStatus:{101:{img:"https://wx.yixiang.co/static/images/live.png",title:"直播中"},102:{img:"https://wx.yixiang.co/static/images/prevue.png",title:"未开始"},103:{img:"https://wx.yixiang.co/static/images/playback.png",title:"已结束"},104:{img:"https://wx.yixiang.co/static/images/104.png",title:"禁播"},105:{img:"https://wx.yixiang.co/static/images/105.png",title:"暂停中"},106:{img:"https://wx.yixiang.co/static/images/106.png",title:"异常"},107:{img:"https://wx.yixiang.co/static/images/past.png",title:"已过期"}}}},props:{detail:{type:Object,default:null},wh:{type:Number,default:345}},computed:{},created:function(){this.getLiveStatus()},mounted:function(){var t=this;setInterval((function(){t.getLiveStatus()}),6e4)},beforeDestroy:function(){null},methods:{goRoom:function(){var t=this;wx.navigateTo({url:"plugin-private://wx2b03c6e691cd7370/pages/live-player-plugin?room_id=".concat(t.detail.roomId)})},dateFormat:function(t,e){var i,n={"Y+":e.getFullYear().toString(),"m+":(e.getMonth()+1).toString(),"d+":e.getDate().toString(),"H+":e.getHours().toString(),"M+":e.getMinutes().toString(),"S+":e.getSeconds().toString()};for(var a in n)i=new RegExp("("+a+")").exec(t),i&&(t=t.replace(i[1],1==i[1].length?n[a]:n[a].padStart(i[1].length,"0")));return t},getLiveStatus:function(){if(n){var t=this,e="";102==t.detail.liveStatus&&(e=this.dateFormat("mm-dd HH:MM",new Date(1e3*t.detail.startTime)).replace("-","/"),t.liveStatus["102"].title="预告 "+e)}}}};e.default=a},f746:function(t,e,i){"use strict";i.r(e);var n=i("2563"),a=i("f9c2");for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("533e");var r,c=i("f0c5"),u=Object(c["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],r);e["default"]=u.exports},f9c2:function(t,e,i){"use strict";i.r(e);var n=i("ca4e"),a=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a}}]); |
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ |
||||
'components/ShopLiveCard-create-component', |
||||
{ |
||||
'components/ShopLiveCard-create-component':(function(module, exports, __webpack_require__){ |
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("f746")) |
||||
}) |
||||
}, |
||||
[['components/ShopLiveCard-create-component']] |
||||
]); |
@ -0,0 +1,4 @@
|
||||
{ |
||||
"usingComponents": {}, |
||||
"component": true |
||||
} |
@ -0,0 +1 @@
|
||||
<view class="sp-live-card" style="{{'width:'+(wh+'rpx')+';'}}"><view data-event-opts="{{[['tap',[['goRoom',['$event']]]]]}}" class="live-content" style="{{'width:'+(wh+'rpx')+';'}}" bindtap="__e"><image class="item-cover" src="{{detail.shareImge}}" mode="aspectFill"></image><view class="item-status"><image class="status-img" src="{{liveStatus[detail.liveStatus].img}}" mode></image><text class="status-text">{{liveStatus[detail.liveStatus].title}}</text></view><view class="item-title" style="{{'width:'+(wh+'rpx')+';'}}">{{detail.name}}</view></view><view class="live-bottom" style="{{'width:'+(wh+'rpx')+';'}}"><view class="live-info"><view class="info-box"><view class="info-name">{{detail.anchorName}}</view></view></view><block wx:if="{{$slots.liveGoods}}"><slot name="liveGoods"></slot></block><block wx:else><block wx:if="{{detail.product.length}}"><view class="live-goods"><block wx:for="{{detail.product}}" wx:for-item="goods" wx:for-index="index" wx:key="goodsId"><block wx:if="{{index<3}}"><view class="live-goods__item"><image class="live-goods__img" src="{{goods.coverImgeUrl}}" mode></image><block wx:if="{{index<2}}"><view class="live-goods__price">{{"¥"+goods.price}}</view></block><block wx:else><view class="live-goods__mark"><text>{{detail.product.length+"+"}}</text></view></block></view></block></block></view></block></block></view></view> |
@ -0,0 +1 @@
|
||||
.sp-live-card{width:344rpx;box-shadow:0 0 10rpx 4rpx hsla(0,0%,78%,.22);border-radius:20rpx;height:100%;overflow:auto;margin-bottom:20rpx}.live-content{position:relative;width:344rpx;height:344rpx;overflow:hidden}.live-content .item-cover{background-color:#eee;width:100%;height:100%;border-radius:20rpx 20rpx 0 0}.live-content .item-status{position:absolute;top:20rpx;left:10rpx;height:40rpx;background:rgba(0,0,0,.4);border-radius:20rpx;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.live-content .item-status .status-img{width:40rpx;height:40rpx}.live-content .item-status .status-text{font-size:22rpx;font-family:PingFang SC;font-weight:500;color:#fff;padding:0 10rpx}.live-content .item-title{width:345rpx;position:absolute;bottom:0;line-height:60rpx;padding:0 20rpx;font-size:26rpx;font-family:PingFang SC;font-weight:500;color:#fff;background:-webkit-linear-gradient(transparent,rgba(0,0,0,.5));background:linear-gradient(transparent,rgba(0,0,0,.5));padding-right:60rpx}.live-content .like-img{position:absolute;bottom:20rpx;right:10rpx;width:60rpx;height:130rpx}.live-bottom{background-color:#fff;padding:20rpx;width:345rpx}.live-bottom .live-info{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center;width:100%}.live-bottom .live-info .info-box{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.live-bottom .live-info .info-avatar{width:40rpx;height:40rpx;border-radius:50%;margin-right:10rpx;background:#eee}.live-bottom .live-info .info-name{width:150rpx;font-size:24rpx;font-family:PingFang SC;font-weight:500;color:#333}.live-bottom .live-info .views{font-size:20rpx;font-family:PingFang SC;font-weight:400;color:#999}.live-bottom .live-goods{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-top:20rpx}.live-bottom .live-goods__item{position:relative;width:96rpx;height:96rpx;border:1rpx solid #eee;border-radius:10rpx;overflow:hidden;margin-right:8rpx}.live-bottom .live-goods__item:nth-child(3n){margin-right:0}.live-bottom .live-goods__img{background:#eee;width:100%;height:100%}.live-bottom .live-goods__price{position:absolute;bottom:0;line-height:40rpx;width:100%;background:-webkit-linear-gradient(transparent,rgba(0,0,0,.5));background:linear-gradient(transparent,rgba(0,0,0,.5));font-size:20rpx;color:#fff}.live-bottom .live-goods__mark{position:absolute;width:100%;height:100%;top:0;left:0;margin:auto;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;background:rgba(0,0,0,.3);font-size:24rpx;font-family:PingFang SC;font-weight:500;color:#fff} |
@ -1,4 +1,4 @@
|
||||
{ |
||||
"usingComponents": {}, |
||||
"component": true |
||||
"component": true, |
||||
"usingComponents": {} |
||||
} |
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/WriteOff"],{"0cc8":function(n,t,c){"use strict";c.r(t);var e=c("6bcc"),u=c("1ccc");for(var r in u)"default"!==r&&function(n){c.d(t,n,(function(){return u[n]}))}(r);c("4cbb");var f,o=c("f0c5"),i=Object(o["a"])(u["default"],e["b"],e["c"],!1,null,"3cafe5b8",null,!1,e["a"],f);t["default"]=i.exports},"1ccc":function(n,t,c){"use strict";c.r(t);var e=c("784d"),u=c.n(e);for(var r in e)"default"!==r&&function(n){c.d(t,n,(function(){return e[n]}))}(r);t["default"]=u.a},"4cbb":function(n,t,c){"use strict";var e=c("60fd"),u=c.n(e);u.a},"60fd":function(n,t,c){},"6bcc":function(n,t,c){"use strict";var e;c.d(t,"b",(function(){return u})),c.d(t,"c",(function(){return r})),c.d(t,"a",(function(){return e}));var u=function(){var n=this,t=n.$createElement;n._self._c},r=[]},"784d":function(n,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e={name:"WriteOff",props:{iShidden:{type:Boolean,default:!0},orderInfo:{type:Object}},data:function(){return{}},mounted:function(){},methods:{cancel:function(){this.$emit("cancel",!0)},confirm:function(){this.$emit("confirm",!0)}}};t.default=e}}]); |
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ |
||||
'components/WriteOff-create-component', |
||||
{ |
||||
'components/WriteOff-create-component':(function(module, exports, __webpack_require__){ |
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("0cc8")) |
||||
}) |
||||
}, |
||||
[['components/WriteOff-create-component']] |
||||
]); |
@ -0,0 +1,4 @@
|
||||
{ |
||||
"component": true, |
||||
"usingComponents": {} |
||||
} |
@ -0,0 +1 @@
|
||||
<view hidden="{{!(iShidden===false)}}" class="data-v-3cafe5b8"><view class="WriteOff data-v-3cafe5b8"><view class="num acea-row row-center-wrapper data-v-3cafe5b8">{{''+orderInfo.orderId+''}}</view><view class="tip data-v-3cafe5b8">确定要核销此订单吗?</view><view data-event-opts="{{[['tap',[['confirm',['$event']]]]]}}" class="sure data-v-3cafe5b8" bindtap="__e">确定核销</view><view data-event-opts="{{[['tap',[['cancel',['$event']]]]]}}" class="sure cancel data-v-3cafe5b8" bindtap="__e">取消</view></view><view data-event-opts="{{[['touchmove',[['',['$event']]]]]}}" class="mask data-v-3cafe5b8" bindtouchmove="__e"></view></view> |
@ -0,0 +1 @@
|
||||
.WriteOff.data-v-3cafe5b8{width:560rpx;height:500rpx;background-color:#fff;border-radius:20rpx;position:fixed;top:50%;left:50%;margin-top:-400rpx;margin-left:-280rpx;padding-top:55rpx;z-index:99999}.WriteOff .pictrue.data-v-3cafe5b8{width:340rpx;height:340rpx;margin:0 auto}.WriteOff .pictrue image.data-v-3cafe5b8{width:100%;height:100%;display:block;border-radius:10rpx}.WriteOff .num.data-v-3cafe5b8{font-size:30rpx;color:#666;margin:28rpx 0 30rpx 0}.WriteOff .num .see.data-v-3cafe5b8{font-size:16rpx;color:#fff;border-radius:4rpx;background-color:#c68937;padding-left:5rpx;margin-left:12rpx}.WriteOff .num .see .iconfont.data-v-3cafe5b8{font-size:15rpx}.WriteOff .tip.data-v-3cafe5b8{font-size:36rpx;color:#282828;text-align:center;border-top:1px dashed #ccc;padding-top:40rpx;position:relative}.WriteOff .tip.data-v-3cafe5b8:after{content:"";position:absolute;width:25rpx;height:25rpx;border-radius:50%;background-color:#7f7f7f;right:-12.5rpx;top:-12.5rpx}.WriteOff .tip.data-v-3cafe5b8:before{content:"";position:absolute;width:25rpx;height:25rpx;border-radius:50%;background-color:#7f7f7f;left:-12.5rpx;top:-12.5rpx}.WriteOff .sure.data-v-3cafe5b8{font-size:32rpx;color:#fff;text-align:center;line-height:82rpx;height:82rpx;width:460rpx;border-radius:41rpx;margin:40rpx auto 0 auto;background-image:-webkit-linear-gradient(left,#f67a38,#f11b09);background-image:linear-gradient(90deg,#f67a38 0,#f11b09);background-image:-webkit-linear-gradient(90deg,#f67a38 0,#f11b09);background-image:-moz-linear-gradient(to right,#f67a38 0,#f11b09 100%)}.WriteOff .sure.cancel.data-v-3cafe5b8{background-image:none;color:#999;margin-top:10rpx} |
File diff suppressed because one or more lines are too long
@ -0,0 +1,4 @@
|
||||
{ |
||||
"usingComponents": {}, |
||||
"component": true |
||||
} |
@ -0,0 +1 @@
|
||||
<view data-event-opts="{{[['touchmove',[['moveHandle',['$event']]]]]}}" hidden="{{!(show)}}" class="t-wrapper" catchtouchmove="__e"><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="{{['t-mask',(active)?'active':'']}}" catchtap="__e"></view><view class="{{['t-box',(active)?'active':'']}}"><view class="t-header"><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="t-header-button" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['confirm',['$event']]]]]}}" class="t-header-button" bindtap="__e">确认</view></view><view class="t-color__box" style="{{'background:'+('rgb('+bgcolor.r+','+bgcolor.g+','+bgcolor.b+')')+';'}}"><view data-event-opts="{{[['touchstart',[['touchstart',['$event',0]]]],['touchmove',[['touchmove',['$event',0]]]],['touchend',[['touchend',['$event',0]]]]]}}" class="t-background boxs" bindtouchstart="__e" bindtouchmove="__e" bindtouchend="__e"><view class="t-color-mask"></view><view class="t-pointer" style="{{'top:'+(site[0].top-8+'px')+';'+('left:'+(site[0].left-8+'px')+';')}}"></view></view></view><view class="t-control__box"><view class="t-control__color"><view class="t-control__color-content" style="{{'background:'+('rgba('+rgba.r+','+rgba.g+','+rgba.b+','+rgba.a+')')+';'}}"></view></view><view class="t-control-box__item"><view data-event-opts="{{[['touchstart',[['touchstart',['$event',1]]]],['touchmove',[['touchmove',['$event',1]]]],['touchend',[['touchend',['$event',1]]]]]}}" class="t-controller boxs" bindtouchstart="__e" bindtouchmove="__e" bindtouchend="__e"><view class="t-hue"><view class="t-circle" style="{{'left:'+(site[1].left-12+'px')+';'}}"></view></view></view><view data-event-opts="{{[['touchstart',[['touchstart',['$event',2]]]],['touchmove',[['touchmove',['$event',2]]]],['touchend',[['touchend',['$event',2]]]]]}}" class="t-controller boxs" bindtouchstart="__e" bindtouchmove="__e" bindtouchend="__e"><view class="t-transparency"><view class="t-circle" style="{{'left:'+(site[2].left-12+'px')+';'}}"></view></view></view></view></view><view class="t-result__box"><block wx:if="{{mode}}"><view class="t-result__item"><view class="t-result__box-input">{{hex}}</view><view class="t-result__box-text">HEX</view></view></block><block wx:else><view class="t-result__item"><view class="t-result__box-input">{{rgba.r}}</view><view class="t-result__box-text">R</view></view><view class="t-result__item"><view class="t-result__box-input">{{rgba.g}}</view><view class="t-result__box-text">G</view></view><view class="t-result__item"><view class="t-result__box-input">{{rgba.b}}</view><view class="t-result__box-text">B</view></view><view class="t-result__item"><view class="t-result__box-input">{{rgba.a}}</view><view class="t-result__box-text">A</view></view></block><view data-event-opts="{{[['tap',[['select',['$event']]]]]}}" class="t-result__item t-select" bindtap="__e"><view class="t-result__box-input"><view>切换</view><view>模式</view></view></view></view><view class="t-alternative"><block wx:for="{{colorList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="t-alternative__item"><view data-event-opts="{{[['tap',[['selectColor',['$0'],[[['colorList','',index]]]]]]]}}" class="t-alternative__item-content" style="{{'background:'+('rgba('+item.r+','+item.g+','+item.b+','+item.a+')')+';'}}" bindtap="__e"></view></view></block></view></view></view> |
File diff suppressed because one or more lines are too long
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/uni-popup/uni-popup-dialog"],{"0e02":function(t,e,n){"use strict";n.r(e);var i=n("deb5"),o=n("3d4b");for(var u in o)"default"!==u&&function(t){n.d(e,t,(function(){return o[t]}))}(u);n("4c3a");var a,c=n("f0c5"),r=Object(c["a"])(o["default"],i["b"],i["c"],!1,null,"c9db5f1e",null,!1,i["a"],a);e["default"]=r.exports},"3d4b":function(t,e,n){"use strict";n.r(e);var i=n("61e9"),o=n.n(i);for(var u in i)"default"!==u&&function(t){n.d(e,t,(function(){return i[t]}))}(u);e["default"]=o.a},"4c3a":function(t,e,n){"use strict";var i=n("5e71"),o=n.n(i);o.a},"5e71":function(t,e,n){},"61e9":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"uniPopupDialog",props:{value:{type:[String,Number],default:""},placeholder:{type:[String,Number],default:"请输入内容"},type:{type:String,default:"error"},mode:{type:String,default:"base"},title:{type:String,default:"提示"},content:{type:String,default:""},beforeClose:{type:Boolean,default:!1}},data:function(){return{dialogType:"error",focus:!1,val:""}},inject:["popup"],watch:{type:function(t){this.dialogType=t},mode:function(t){"input"===t&&(this.dialogType="info")},value:function(t){this.val=t}},created:function(){this.popup.mkclick=!1,"input"===this.mode?(this.dialogType="info",this.val=this.value):this.dialogType=this.type},mounted:function(){this.focus=!0},methods:{onOk:function(){var t=this;this.$emit("confirm",(function(){t.popup.close(),"input"===t.mode&&(t.val=t.value)}),"input"===this.mode?this.val:"")},close:function(){var t=this;this.beforeClose?this.$emit("close",(function(){t.popup.close()})):this.popup.close()}}};e.default=i},deb5:function(t,e,n){"use strict";var i;n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return i}));var o=function(){var t=this,e=t.$createElement;t._self._c},u=[]}}]); |
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ |
||||
'components/uni-popup/uni-popup-dialog-create-component', |
||||
{ |
||||
'components/uni-popup/uni-popup-dialog-create-component':(function(module, exports, __webpack_require__){ |
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("0e02")) |
||||
}) |
||||
}, |
||||
[['components/uni-popup/uni-popup-dialog-create-component']] |
||||
]); |
@ -0,0 +1,4 @@
|
||||
{ |
||||
"component": true, |
||||
"usingComponents": {} |
||||
} |
@ -0,0 +1 @@
|
||||
<view class="uni-popup-dialog data-v-c9db5f1e"><view class="uni-dialog-title data-v-c9db5f1e"><text class="{{['uni-dialog-title-text data-v-c9db5f1e','uni-popup__'+dialogType]}}">{{title}}</text></view><view class="uni-dialog-content data-v-c9db5f1e"><block wx:if="{{mode==='base'}}"><text class="uni-dialog-content-text data-v-c9db5f1e">{{content}}</text></block><block wx:else><input class="uni-dialog-input data-v-c9db5f1e" type="text" placeholder="{{placeholder}}" focus="{{focus}}" data-event-opts="{{[['input',[['__set_model',['','val','$event',[]]]]]]}}" value="{{val}}" bindinput="__e"/></block></view><view class="uni-dialog-button-group data-v-c9db5f1e"><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="uni-dialog-button data-v-c9db5f1e" bindtap="__e"><text class="uni-dialog-button-text data-v-c9db5f1e">取消</text></view><view data-event-opts="{{[['tap',[['onOk',['$event']]]]]}}" class="uni-dialog-button uni-border-left data-v-c9db5f1e" bindtap="__e"><text class="uni-dialog-button-text uni-button-color data-v-c9db5f1e">确定</text></view></view></view> |
@ -0,0 +1 @@
|
||||
.uni-popup-dialog.data-v-c9db5f1e{width:300px;border-radius:15px;background-color:#fff}.uni-dialog-title.data-v-c9db5f1e{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;padding-top:15px;padding-bottom:5px}.uni-dialog-title-text.data-v-c9db5f1e{font-size:16px;font-weight:500}.uni-dialog-content.data-v-c9db5f1e{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding:5px 15px 15px 15px}.uni-dialog-content-text.data-v-c9db5f1e{font-size:14px;color:#6e6e6e}.uni-dialog-button-group.data-v-c9db5f1e{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;border-top-color:#f5f5f5;border-top-style:solid;border-top-width:1px}.uni-dialog-button.data-v-c9db5f1e{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:45px}.uni-border-left.data-v-c9db5f1e{border-left-color:#f0f0f0;border-left-style:solid;border-left-width:1px}.uni-dialog-button-text.data-v-c9db5f1e{font-size:14px}.uni-button-color.data-v-c9db5f1e{color:#007aff}.uni-dialog-input.data-v-c9db5f1e{-webkit-box-flex:1;-webkit-flex:1;flex:1;font-size:14px}.uni-popup__success.data-v-c9db5f1e{color:#4cd964}.uni-popup__warn.data-v-c9db5f1e{color:#f0ad4e}.uni-popup__error.data-v-c9db5f1e{color:#dd524d}.uni-popup__info.data-v-c9db5f1e{color:#909399} |
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/uni-popup/uni-popup-message"],{"704b":function(t,e,n){"use strict";var u=n("f5ac"),i=n.n(u);i.a},"874e":function(t,e,n){"use strict";var u;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return u}));var i=function(){var t=this,e=t.$createElement;t._self._c},o=[]},b74e:function(t,e,n){"use strict";n.r(e);var u=n("874e"),i=n("d42c");for(var o in i)"default"!==o&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("704b");var r,a=n("f0c5"),c=Object(a["a"])(i["default"],u["b"],u["c"],!1,null,"319d6a3f",null,!1,u["a"],r);e["default"]=c.exports},d42c:function(t,e,n){"use strict";n.r(e);var u=n("f475"),i=n.n(u);for(var o in u)"default"!==o&&function(t){n.d(e,t,(function(){return u[t]}))}(o);e["default"]=i.a},f475:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u={name:"UniPopupMessage",props:{type:{type:String,default:"success"},message:{type:String,default:""},duration:{type:Number,default:3e3}},inject:["popup"],data:function(){return{}},created:function(){this.popup.childrenMsg=this},methods:{open:function(){var t=this;0!==this.duration&&(clearTimeout(this.popuptimer),this.popuptimer=setTimeout((function(){t.popup.close()}),this.duration))},close:function(){clearTimeout(this.popuptimer)}}};e.default=u},f5ac:function(t,e,n){}}]); |
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ |
||||
'components/uni-popup/uni-popup-message-create-component', |
||||
{ |
||||
'components/uni-popup/uni-popup-message-create-component':(function(module, exports, __webpack_require__){ |
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("b74e")) |
||||
}) |
||||
}, |
||||
[['components/uni-popup/uni-popup-message-create-component']] |
||||
]); |
@ -0,0 +1,4 @@
|
||||
{ |
||||
"component": true, |
||||
"usingComponents": {} |
||||
} |
@ -0,0 +1 @@
|
||||
<view class="{{['uni-popup-message data-v-319d6a3f','uni-popup__'+[type]]}}"><text class="{{['uni-popup-message-text data-v-319d6a3f','uni-popup__'+[type]+'-text']}}">{{message}}</text></view> |
@ -0,0 +1 @@
|
||||
.uni-popup-message.data-v-319d6a3f{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;background-color:#e1f3d8;padding:10px 15px;border-color:#eee;border-style:solid;border-width:1px}.uni-popup-message-text.data-v-319d6a3f{font-size:14px;padding:0}.uni-popup__success.data-v-319d6a3f{background-color:#e1f3d8}.uni-popup__success-text.data-v-319d6a3f{color:#67c23a}.uni-popup__warn.data-v-319d6a3f{background-color:#faecd8}.uni-popup__warn-text.data-v-319d6a3f{color:#e6a23c}.uni-popup__error.data-v-319d6a3f{background-color:#fde2e2}.uni-popup__error-text.data-v-319d6a3f{color:#f56c6c}.uni-popup__info.data-v-319d6a3f{background-color:#f2f6fc}.uni-popup__info-text.data-v-319d6a3f{color:#909399} |
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/uni-popup/uni-popup"],{"1e6b":function(t,n,i){},"2a28":function(t,n,i){"use strict";var o=i("1e6b"),e=i.n(o);e.a},"496b":function(t,n,i){"use strict";i.d(n,"b",(function(){return e})),i.d(n,"c",(function(){return s})),i.d(n,"a",(function(){return o}));var o={uniTransition:function(){return i.e("components/uni-transition/uni-transition").then(i.bind(null,"3006"))}},e=function(){var t=this,n=t.$createElement;t._self._c},s=[]},"765c":function(t,n,i){"use strict";i.r(n);var o=i("8756"),e=i.n(o);for(var s in o)"default"!==s&&function(t){i.d(n,t,(function(){return o[t]}))}(s);n["default"]=e.a},8756:function(t,n,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e(i("92e6"));function e(t){return t&&t.__esModule?t:{default:t}}var s=function(){i.e("components/uni-transition/uni-transition").then(function(){return resolve(i("3006"))}.bind(null,i)).catch(i.oe)},u={name:"UniPopup",components:{uniTransition:s},props:{animation:{type:Boolean,default:!0},type:{type:String,default:"center"},maskClick:{type:Boolean,default:!0}},provide:function(){return{popup:this}},mixins:[o.default],watch:{type:{handler:function(t){this[this.config[t]]()},immediate:!0},maskClick:function(t){this.mkclick=t}},data:function(){return{duration:300,ani:[],showPopup:!1,showTrans:!1,maskClass:{position:"fixed",bottom:0,top:0,left:0,right:0,backgroundColor:"rgba(0, 0, 0, 0.4)"},transClass:{position:"fixed",left:0,right:0},maskShow:!0,mkclick:!0,popupstyle:"top"}},created:function(){this.mkclick=this.maskClick,this.animation?this.duration=300:this.duration=0},methods:{clear:function(t){t.stopPropagation()},open:function(){var t=this;this.showPopup=!0,this.$nextTick((function(){new Promise((function(n){clearTimeout(t.timer),t.timer=setTimeout((function(){t.showTrans=!0,t.$nextTick((function(){n()}))}),50)})).then((function(n){clearTimeout(t.msgtimer),t.msgtimer=setTimeout((function(){t.customOpen&&t.customOpen()}),100),t.$emit("change",{show:!0,type:t.type})}))}))},close:function(t){var n=this;this.showTrans=!1,this.$nextTick((function(){n.$emit("change",{show:!1,type:n.type}),clearTimeout(n.timer),n.customOpen&&n.customClose(),n.timer=setTimeout((function(){n.showPopup=!1}),300)}))},onTap:function(){this.mkclick&&this.close()},top:function(){this.popupstyle="top",this.ani=["slide-top"],this.transClass={position:"fixed",left:0,right:0}},bottom:function(){this.popupstyle="bottom",this.ani=["slide-bottom"],this.transClass={position:"fixed",left:0,right:0,bottom:0}},center:function(){this.popupstyle="center",this.ani=["zoom-out","fade"],this.transClass={position:"fixed",display:"flex",flexDirection:"column",bottom:0,left:0,right:0,top:0,justifyContent:"center",alignItems:"center"}}}};n.default=u},e0d4:function(t,n,i){"use strict";i.r(n);var o=i("496b"),e=i("765c");for(var s in e)"default"!==s&&function(t){i.d(n,t,(function(){return e[t]}))}(s);i("2a28");var u,c=i("f0c5"),a=Object(c["a"])(e["default"],o["b"],o["c"],!1,null,"19fa4310",null,!1,o["a"],u);n["default"]=a.exports}}]); |
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ |
||||
'components/uni-popup/uni-popup-create-component', |
||||
{ |
||||
'components/uni-popup/uni-popup-create-component':(function(module, exports, __webpack_require__){ |
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("e0d4")) |
||||
}) |
||||
}, |
||||
[['components/uni-popup/uni-popup-create-component']] |
||||
]); |
@ -0,0 +1,6 @@
|
||||
{ |
||||
"component": true, |
||||
"usingComponents": { |
||||
"uni-transition": "/components/uni-transition/uni-transition" |
||||
} |
||||
} |
@ -0,0 +1 @@
|
||||
<block wx:if="{{showPopup}}"><view data-event-opts="{{[['touchmove',[['clear',['$event']]]]]}}" class="{{['uni-popup data-v-19fa4310',popupstyle]}}" catchtouchmove="__e"><block wx:if="{{maskShow}}"><uni-transition vue-id="37594ee2-1" mode-class="{{['fade']}}" styles="{{maskClass}}" duration="{{duration}}" show="{{showTrans}}" data-event-opts="{{[['^click',[['onTap']]]]}}" bind:click="__e" class="data-v-19fa4310" bind:__l="__l"></uni-transition></block><uni-transition vue-id="37594ee2-2" mode-class="{{ani}}" styles="{{transClass}}" duration="{{duration}}" show="{{showTrans}}" data-event-opts="{{[['^click',[['onTap']]]]}}" bind:click="__e" class="data-v-19fa4310" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['tap',[['clear',['$event']]]]]}}" class="uni-popup__wrapper-box data-v-19fa4310" catchtap="__e"><slot></slot></view></uni-transition></view></block> |
@ -0,0 +1 @@
|
||||
.uni-popup.data-v-19fa4310{position:fixed;z-index:99}.uni-popup__mask.data-v-19fa4310{position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(0,0,0,.4);opacity:0}.mask-ani.data-v-19fa4310{-webkit-transition-property:opacity;transition-property:opacity;-webkit-transition-duration:.2s;transition-duration:.2s}.uni-top-mask.data-v-19fa4310{opacity:1}.uni-bottom-mask.data-v-19fa4310{opacity:1}.uni-center-mask.data-v-19fa4310{opacity:1}.uni-popup__wrapper.data-v-19fa4310{display:block;position:absolute}.top.data-v-19fa4310{top:0}.bottom.data-v-19fa4310{bottom:0}.uni-popup__wrapper-box.data-v-19fa4310{display:block;position:relative;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.content-ani.data-v-19fa4310{-webkit-transition-property:opacity,-webkit-transform;transition-property:opacity,-webkit-transform;transition-property:transform,opacity;transition-property:transform,opacity,-webkit-transform;-webkit-transition-duration:.2s;transition-duration:.2s}.uni-top-content.data-v-19fa4310{-webkit-transform:translateY(0);transform:translateY(0)}.uni-bottom-content.data-v-19fa4310{-webkit-transform:translateY(0);transform:translateY(0)}.uni-center-content.data-v-19fa4310{-webkit-transform:scale(1);transform:scale(1);opacity:1} |
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/uni-transition/uni-transition"],{"2ff6":function(t,n,e){"use strict";var r=e("ce01"),i=e.n(r);i.a},3006:function(t,n,e){"use strict";e.r(n);var r=e("518a"),i=e("a02a");for(var a in i)"default"!==a&&function(t){e.d(n,t,(function(){return i[t]}))}(a);e("2ff6");var o,c=e("f0c5"),s=Object(c["a"])(i["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],o);n["default"]=s.exports},"518a":function(t,n,e){"use strict";var r;e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){return r}));var i=function(){var t=this,n=t.$createElement;t._self._c},a=[]},a02a:function(t,n,e){"use strict";e.r(n);var r=e("c2c5"),i=e.n(r);for(var a in r)"default"!==a&&function(t){e.d(n,t,(function(){return r[t]}))}(a);n["default"]=i.a},c2c5:function(t,n,e){"use strict";function r(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function i(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?r(Object(e),!0).forEach((function(n){a(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):r(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function a(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o={name:"uniTransition",props:{show:{type:Boolean,default:!1},modeClass:{type:Array,default:function(){return[]}},duration:{type:Number,default:300},styles:{type:Object,default:function(){return{}}}},data:function(){return{isShow:!1,transform:"",ani:{in:"",active:""}}},watch:{show:{handler:function(t){t?this.open():this.close()},immediate:!0}},computed:{stylesObject:function(){var t=i(i({},this.styles),{},{"transition-duration":this.duration/1e3+"s"}),n="";for(var e in t){var r=this.toLine(e);n+=r+":"+t[e]+";"}return n}},created:function(){},methods:{change:function(){this.$emit("click",{detail:this.isShow})},open:function(){var t=this;for(var n in clearTimeout(this.timer),this.isShow=!0,this.transform="",this.ani.in="",this.getTranfrom(!1))"opacity"===n?this.ani.in="fade-in":this.transform+="".concat(this.getTranfrom(!1)[n]," ");this.$nextTick((function(){setTimeout((function(){t._animation(!0)}),50)}))},close:function(t){clearTimeout(this.timer),this._animation(!1)},_animation:function(t){var n=this,e=this.getTranfrom(t);for(var r in this.transform="",e)"opacity"===r?this.ani.in="fade-".concat(t?"out":"in"):this.transform+="".concat(e[r]," ");this.timer=setTimeout((function(){t||(n.isShow=!1),n.$emit("change",{detail:n.isShow})}),this.duration)},getTranfrom:function(t){var n={transform:""};return this.modeClass.forEach((function(e){switch(e){case"fade":n.opacity=t?1:0;break;case"slide-top":n.transform+="translateY(".concat(t?"0":"-100%",") ");break;case"slide-right":n.transform+="translateX(".concat(t?"0":"100%",") ");break;case"slide-bottom":n.transform+="translateY(".concat(t?"0":"100%",") ");break;case"slide-left":n.transform+="translateX(".concat(t?"0":"-100%",") ");break;case"zoom-in":n.transform+="scale(".concat(t?1:.8,") ");break;case"zoom-out":n.transform+="scale(".concat(t?1:1.2,") ");break}})),n},_modeClassArr:function(t){var n=this.modeClass;if("string"!==typeof n){var e="";return n.forEach((function(n){e+=n+"-"+t+","})),e.substr(0,e.length-1)}return n+"-"+t},toLine:function(t){return t.replace(/([A-Z])/g,"-$1").toLowerCase()}}};n.default=o},ce01:function(t,n,e){}}]); |
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ |
||||
'components/uni-transition/uni-transition-create-component', |
||||
{ |
||||
'components/uni-transition/uni-transition-create-component':(function(module, exports, __webpack_require__){ |
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("3006")) |
||||
}) |
||||
}, |
||||
[['components/uni-transition/uni-transition-create-component']] |
||||
]); |
@ -0,0 +1,4 @@
|
||||
{ |
||||
"usingComponents": {}, |
||||
"component": true |
||||
} |
@ -0,0 +1 @@
|
||||
<block wx:if="{{isShow}}"><view data-ref="ani" data-event-opts="{{[['tap',[['change',['$event']]]]]}}" class="{{['uni-transition vue-ref',ani.in]}}" style="{{('transform:'+transform+';'+stylesObject)}}" bindtap="__e"><slot></slot></view></block> |
@ -0,0 +1 @@
|
||||
.uni-transition{-webkit-transition-timing-function:ease;transition-timing-function:ease;-webkit-transition-duration:.3s;transition-duration:.3s;-webkit-transition-property:opacity,-webkit-transform;transition-property:opacity,-webkit-transform;transition-property:transform,opacity;transition-property:transform,opacity,-webkit-transform}.fade-in{opacity:0}.fade-active{opacity:1}.slide-top-in{-webkit-transform:translateY(-100%);transform:translateY(-100%)}.slide-top-active{-webkit-transform:translateY(0);transform:translateY(0)}.slide-right-in{-webkit-transform:translateX(100%);transform:translateX(100%)}.slide-right-active{-webkit-transform:translateX(0);transform:translateX(0)}.slide-bottom-in{-webkit-transform:translateY(100%);transform:translateY(100%)}.slide-bottom-active{-webkit-transform:translateY(0);transform:translateY(0)}.slide-left-in{-webkit-transform:translateX(-100%);transform:translateX(-100%)}.slide-left-active{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}.zoom-in-in{-webkit-transform:scale(.8);transform:scale(.8)}.zoom-out-active{-webkit-transform:scale(1);transform:scale(1)}.zoom-out-in{-webkit-transform:scale(1.2);transform:scale(1.2)} |
@ -0,0 +1 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/Loading/index"],{2658:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r("2f62"),o=(r("aa63"),i(r("1a48")),i(r("0415")),i(r("39ce"))),a=r("b6d1");function i(e){return e&&e.__esModule?e:{default:e}}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){s(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var f={computed:(0,n.mapGetters)(["userInfo"]),name:"Loading",data:function(){return{}},onShow:function(){var e=this;console.log("getUser",this.userInfo);var t=(0,a.handleQrCode)();if(t||(t=(0,a.handleUrlParam)((0,a.getCurrentPageUrlWithArgs)())),console.log(t),console.log("判断是否是分销"),t){var r=parseInt(t.spread);r&&o.default.set("spread",r)}if("app"!=this.$deviceType&&"weixinh5"!=this.$deviceType){if(this.$store.getters.token)return console.log("登录状态存在,直接进页面"),void this.toLaunch();console.log("进行登录操作"),(0,a.login)().finally((function(){1==e.userInfo.isPromoter?e.$yrouter.reLaunch({path:"/pages/serviceTeacher/index"}):e.$yrouter.switchTab({path:"/pages/home/index"})}))}else this.$yrouter.switchTab({path:"/pages/home/index"})},methods:u(u({},(0,n.mapActions)(["changeAuthorization","setUserInfo","getUser"])),{},{toLaunch:function(){var e=this;console.log("loading home"),this.changeAuthorization(!1);var t=o.default.get("redirect").replace(/\ /g,"");o.default.remove("redirect"),t&&-1!=t.indexOf("/pages")?this.$yrouter.replace({path:"/pages"+t.split("/pages")[1]}):(0,a.login)().finally((function(){e.$yrouter.switchTab({path:"/pages/home/index"})}))}})};t.default=f},"78fc":function(e,t,r){"use strict";r.r(t);var n=r("2658"),o=r.n(n);for(var a in n)"default"!==a&&function(e){r.d(t,e,(function(){return n[e]}))}(a);t["default"]=o.a},"99aa":function(e,t,r){},b908:function(e,t,r){"use strict";var n;r.d(t,"b",(function(){return o})),r.d(t,"c",(function(){return a})),r.d(t,"a",(function(){return n}));var o=function(){var e=this,t=e.$createElement;e._self._c},a=[]},cb24:function(e,t,r){"use strict";var n=r("99aa"),o=r.n(n);o.a},d356:function(e,t,r){"use strict";(function(e){r("ef82");n(r("66fd"));var t=n(r("f39b"));function n(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,r("543d")["createPage"])},f39b:function(e,t,r){"use strict";r.r(t);var n=r("b908"),o=r("78fc");for(var a in o)"default"!==a&&function(e){r.d(t,e,(function(){return o[e]}))}(a);r("cb24");var i,c=r("f0c5"),u=Object(c["a"])(o["default"],n["b"],n["c"],!1,null,"7049dc28",null,!1,n["a"],i);t["default"]=u.exports}},[["d356","common/runtime","common/vendor"]]]); |
@ -0,0 +1,4 @@
|
||||
{ |
||||
"navigationBarTitleText": "禅易教育研究院", |
||||
"usingComponents": {} |
||||
} |
@ -0,0 +1 @@
|
||||
<view class="lottie-bg data-v-7049dc28"><view id="lottie" class="data-v-7049dc28"></view></view> |
@ -0,0 +1 @@
|
||||
.lottie-bg.data-v-7049dc28{position:fixed;left:0;top:0;background-color:#fff;width:100%;height:100%;z-index:999;display:-webkit-flex;display:-webkit-box;display:flex;-webkit-align-items:center;-webkit-box-align:center;align-items:center;-webkit-justify-content:center;-webkit-box-pack:center;justify-content:center}#lottie.data-v-7049dc28{width:35%;display:block;overflow:hidden;-webkit-transform:translateZ(0);transform:translateZ(0);margin:auto} |
@ -1 +1 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/demandHall/index"],{"0554":function(t,e,a){"use strict";(function(t){a("ef82");n(a("66fd"));var e=n(a("ebe2"));function n(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,a("543d")["createPage"])},"542b":function(t,e,a){"use strict";a.r(e);var n=a("f488"),s=a.n(n);for(var i in n)"default"!==i&&function(t){a.d(e,t,(function(){return n[t]}))}(i);e["default"]=s.a},"5e8c":function(t,e,a){"use strict";var n;a.d(e,"b",(function(){return s})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){return n}));var s=function(){var t=this,e=t.$createElement;t._self._c},i=[]},"7fad":function(t,e,a){"use strict";var n=a("856f"),s=a.n(n);s.a},"856f":function(t,e,a){},ebe2:function(t,e,a){"use strict";a.r(e);var n=a("5e8c"),s=a("542b");for(var i in s)"default"!==i&&function(t){a.d(e,t,(function(){return s[t]}))}(i);a("7fad");var r,o=a("f0c5"),c=Object(o["a"])(s["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],r);e["default"]=c.exports},f488:function(t,e,a){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=getApp(),s=function(){a.e("tabbarComponent/tabbar").then(function(){return resolve(a("594c"))}.bind(null,a)).catch(a.oe)},i={data:function(){return{tabbar:{},active:"1",tabActive:"1",list:[],showScreenDialog:!1,companyList:[],pagesize:3,page:1,loading:!0,cagetoryList:[],enterpriseType:"",resourceCagetoryId:"",choseCagetory:"",choseBusiness:"",cagetoryActive:"",size:0,cName:"",currentTabIndex:1}},components:{tabbar:s},props:{},onLoad:function(t){this.getCagetoryList()},onReachBottom:function(){this.setData({page:this.page+1}),this.getPageData()},onShow:function(){this.getPageData()},onPullDownRefresh:function(){this.setData({loading:!0,page:1}),this.getPageData()},methods:{tabBarClick:function(t){console.log("返回tabBar索引:"+t),this.currentTabIndex=t},topTabClick:function(t){this.setData({active:t.currentTarget.dataset.i,loading:!0,page:1,list:[],enterpriseType:"",cagetoryActive:null,resourceCagetoryId:""}),this.getPageData()},tabClick:function(t){this.setData({tabActive:t.currentTarget.dataset.i,loading:!0,page:1,size:10,cagetoryActive:null}),2==t.currentTarget.dataset.i?this.getCompanyList():this.getPageData()},showDialog:function(){this.setData({showScreenDialog:!0})},toResourceDetail:function(e){var a=e.currentTarget.dataset.id;t.navigateTo({url:"/pages/demandHall/resourcesDetail/index?id="+a})},toCompanyDetail:function(e){var a=e.currentTarget.dataset.id;t.navigateTo({url:"/pages/demandHall/companyDetail/index?id="+a})},toNeedsDetail:function(e){var a=e.currentTarget.dataset.id;t.navigateTo({url:"/pages/demandHall/needsDetail/index?id="+a})},getCagetoryList:function(){var t=this;n.http("get","ResourcesCagetory/listResourcesCagetory").then((function(e){e.data.success&&t.setData({cagetoryList:e.data.data})}))},cagetoryClick:function(t){var e=t.currentTarget.dataset.item,a=t.currentTarget.dataset.i;console.log(e),this.setData({cagetoryActive:a,resourceCagetoryId:e.id,choseCagetory:e.cagetoryName})},businessChange:function(t){var e=t.currentTarget.dataset.type,a=t.currentTarget.dataset.name;this.setData({choseBusiness:a,enterpriseType:e})},finishClick:function(){this.setData({loading:!0,page:1,size:10}),1==this.tabActive?this.getPageData():this.getCompanyList(),this.setData({showScreenDialog:!1})},resetClick:function(){this.setData({cName:"",cagetoryActive:null,resourceCagetoryId:"",enterpriseType:"",choseBusiness:"",choseCagetory:""})},getPageData:function(){var e=this;this.loading?n.http("post","Resources/listResources",{resourceType:this.active,page:this.page,pagesize:this.pagesize,resourceCagetoryId:this.resourceCagetoryId,enterpriseType:this.enterpriseType}).then((function(a){a.data.success&&(t.stopPullDownRefresh(),a.data.data.content.length<e.pagesize&&e.setData({loading:!1}),e.page>1?e.setData({list:e.list.concat(a.data.data.content)}):e.setData({list:a.data.data.content}))})):t.stopPullDownRefresh()},getCompanyList:function(){var t=this;n.http("post","Enterprise/listEnterprise",{industryId:this.resourceCagetoryId,enterpriseType:this.enterpriseType}).then((function(e){e.data.success&&t.setData({companyList:e.data.data.content})}))}}};e.default=i}).call(this,a("543d")["default"])}},[["0554","common/runtime","common/vendor"]]]); |
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/demandHall/index"],{"0554":function(t,e,a){"use strict";(function(t){a("ef82");n(a("66fd"));var e=n(a("ebe2"));function n(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,a("543d")["createPage"])},"4a54":function(t,e,a){"use strict";var n;a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return s})),a.d(e,"a",(function(){return n}));var i=function(){var t=this,e=t.$createElement;t._self._c},s=[]},"542b":function(t,e,a){"use strict";a.r(e);var n=a("f488"),i=a.n(n);for(var s in n)"default"!==s&&function(t){a.d(e,t,(function(){return n[t]}))}(s);e["default"]=i.a},"7fad":function(t,e,a){"use strict";var n=a("856f"),i=a.n(n);i.a},"856f":function(t,e,a){},ebe2:function(t,e,a){"use strict";a.r(e);var n=a("4a54"),i=a("542b");for(var s in i)"default"!==s&&function(t){a.d(e,t,(function(){return i[t]}))}(s);a("7fad");var r,o=a("f0c5"),c=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],r);e["default"]=c.exports},f488:function(t,e,a){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=getApp(),i=function(){a.e("tabbarComponent/tabbar").then(function(){return resolve(a("594c"))}.bind(null,a)).catch(a.oe)},s={data:function(){return{tabbar:{},active:"1",tabActive:"1",list:[],showScreenDialog:!1,companyList:[],pageSize:5,pageNumber:0,loading:!0,cagetoryList:[],enterpriseType:"",resourceCagetoryId:"",choseCagetory:"",choseBusiness:"",cagetoryActive:"",size:0,cName:"",currentTabIndex:1}},components:{tabbar:i},props:{},onLoad:function(t){this.getCagetoryList()},onReachBottom:function(){this.setData({pageNumber:this.pageNumber+1}),this.getPageData()},onShow:function(){this.getPageData()},onPullDownRefresh:function(){this.setData({loading:!0,pageNumber:0}),this.getPageData()},methods:{tabBarClick:function(t){console.log("返回tabBar索引:"+t),this.currentTabIndex=t},topTabClick:function(t){this.setData({active:t.currentTarget.dataset.i,loading:!0,pageNumber:1,list:[],enterpriseType:"",cagetoryActive:null,resourceCagetoryId:""}),this.getPageData()},tabClick:function(t){this.setData({tabActive:t.currentTarget.dataset.i,loading:!0,pageNumber:0,pageSize:5,cagetoryActive:null}),2==t.currentTarget.dataset.i?this.getCompanyList():this.getPageData()},showDialog:function(){this.setData({showScreenDialog:!0})},toResourceDetail:function(e){var a=e.currentTarget.dataset.id;t.navigateTo({url:"/pages/demandHall/resourcesDetail/index?id="+a})},toCompanyDetail:function(e){var a=e.currentTarget.dataset.id;t.navigateTo({url:"/pages/demandHall/companyDetail/index?id="+a})},toNeedsDetail:function(e){var a=e.currentTarget.dataset.id;t.navigateTo({url:"/pages/demandHall/needsDetail/index?id="+a})},getCagetoryList:function(){var t=this;n.http("get","ResourcesCagetory/listResourcesCagetory").then((function(e){e.data.success&&t.setData({cagetoryList:e.data.data})}))},cagetoryClick:function(t){var e=t.currentTarget.dataset.item,a=t.currentTarget.dataset.i;console.log(e),this.setData({cagetoryActive:a,resourceCagetoryId:e.id,choseCagetory:e.cagetoryName})},businessChange:function(t){var e=t.currentTarget.dataset.type,a=t.currentTarget.dataset.name;this.setData({choseBusiness:a,enterpriseType:e})},finishClick:function(){this.setData({loading:!0,pageNumber:0,pageSize:5}),1==this.tabActive?this.getPageData():this.getCompanyList(),this.setData({showScreenDialog:!1})},resetClick:function(){this.setData({cName:"",cagetoryActive:null,resourceCagetoryId:"",enterpriseType:"",choseBusiness:"",choseCagetory:""})},getPageData:function(){var e=this;this.loading?n.http("post","Resources/listResources?page=".concat(this.pageNumber,"&size=").concat(this.pageSize),{resourceType:this.active,resourceCagetoryId:this.resourceCagetoryId,enterpriseType:this.enterpriseType}).then((function(a){a.data.success&&(t.stopPullDownRefresh(),a.data.data.content.length<e.pageSize&&e.setData({loading:!1}),e.pageNumber>0?e.setData({list:e.list.concat(a.data.data.content)}):e.setData({list:a.data.data.content}))})):t.stopPullDownRefresh()},getCompanyList:function(){var t=this;n.http("post","Enterprise/listEnterprise?page=".concat(this.pageNumber,"&size=").concat(this.pageSize),{industryId:this.resourceCagetoryId,enterpriseType:this.enterpriseType}).then((function(e){e.data.success&&t.setData({companyList:e.data.data.content})}))}}};e.default=s}).call(this,a("543d")["default"])}},[["0554","common/runtime","common/vendor"]]]); |
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
image{border-radius:8rpx}.dmandhall-page{padding-bottom:130rpx;min-height:100vh;font-size:28rpx;background:#f5f5f5}.top-box{width:100%;padding:16rpx 40rpx 0;background:#fff}.tab-item{width:162rpx;height:40rpx;line-height:40rpx;text-align:center;margin-right:12rpx;font-size:28rpx;color:#bfbfbf;font-weight:500}.tab-item-a{font-size:36rpx;color:#ff5100}.top-r-box image{width:36rpx;height:36rpx;margin-left:30rpx}.resource-tabs{width:100%;padding-top:10rpx;background:#fff;border-bottom:2rpx solid #eee}.tab{width:162rpx;padding:26rpx 0;font-size:28rpx;color:#bfbfbf;position:relative;font-weight:500}.tab::after{display:block;content:"";width:50rpx;height:16rpx;border-radius:8rpx;background:#ff5100;position:absolute;bottom:-8rpx;left:50%;margin-left:-50rpx;opacity:0;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transition:all .2s ease,opacity .15s ease;transition:all .2s ease,opacity .15s ease}.tab-a{color:#333}.tab-a::after{opacity:1;-webkit-transform:scaleX(1);transform:scaleX(1)}.screen-box{width:100%;height:94rpx;padding:0 38rpx;color:#666;background:#fff}.screen-result{font-size:28rpx;color:#ff5100}.screen image{width:27rpx;height:27rpx;margin-left:6rpx}.resource-list{width:100%;padding:24rpx 40rpx}.resource-item{width:100%;min-height:302rpx;background:#fff;border-radius:12rpx;padding:20rpx;margin-bottom:20rpx;position:relative}.logo-box{width:154rpx;height:154rpx;margin-right:20rpx;position:relative}.logo-box image{width:100%;height:100%}.tips-item{padding:2rpx 6rpx;line-height:28rpx;font-size:20rpx;color:#fff;background:rgba(255,81,0,.63);border-radius:8rpx;margin-right:14rpx;position:absolute;top:4rpx;left:4rpx}.bg2{background:rgba(255,170,0,.63)}.resource-info{width:calc(100% - 170rpx)}.resource-item .title{font-size:32rpx;font-weight:500;line-height:44rpx;color:#1d1d1d}.desc{font-size:24rpx;color:#666;line-height:34rpx}.price{color:#ff5100;line-height:40rpx;font-weight:600;margin:10rpx 0 40rpx}.company-info{color:#a7a7a7;font-size:24rpx}.company-info text{display:inline-block;margin-right:18rpx}.tags-box{margin:6rpx 0 10rpx}.tag-item{width:112rpx;height:36rpx;display:inline-block;line-height:34rpx;text-align:center;font-size:20rpx;border:2rpx solid #fa0;color:#fa0;border-radius:4rpx;margin-right:8rpx}.bgG{border:1rpx solid #3a9efa;color:#3a9efa}.bgO{border:1rpx solid #fc9367;color:#fc9367}.toMore-btn{width:164rpx;height:44rpx;background:-webkit-linear-gradient(309deg,#ffa782,#ff6d31);background:linear-gradient(141deg,#ffa782,#ff6d31);border-radius:8rpx;font-size:28rpx;font-weight:700;line-height:40rpx;color:#fff;text-align:center;line-height:44rpx;position:absolute;right:20rpx;bottom:20rpx}.anli-list{font-size:24rpx;color:#666;margin:24rpx 0 20rpx}.anli-item image{width:220rpx;height:136rpx;margin-right:8rpx}.comment{font-size:20rpx;color:#ff6d31}.company-list-box{width:100%;background:#fff}.company-list{width:100%;border-top:2rpx solid #eee}.company-item{width:100%;padding:40rpx;border-bottom:2rpx solid #eee}.title-box .title{width:550rpx}.title-box .price{margin:0}.company-item .tags-box{margin:20rpx 0}.btn-box{margin-top:20rpx;font-size:24rpx;color:#707070}.btn-box .toMore-btn{position:static}.mask-box{width:100%;height:100vh;background:rgba(0,0,0,.6);position:fixed;top:0;left:0;z-index:9999}.screen-dialog-box{width:602rpx;height:100%;overflow-y:scroll;background-color:#fff;position:absolute;top:0;right:0rpx;-webkit-animation:move .2s ease;animation:move .2s ease}@-webkit-keyframes move{0%{-webkit-transform:translateX(800rpx);transform:translateX(800rpx)}100%{-webkit-transform:translateX(0rpx);transform:translateX(0rpx)}}@keyframes move{0%{-webkit-transform:translateX(800rpx);transform:translateX(800rpx)}100%{-webkit-transform:translateX(0rpx);transform:translateX(0rpx)}}.screen-item{width:100%;padding:0 38rpx;padding-bottom:22rpx;border-bottom:2rpx solid #eee}.screen-title{font-size:24rpx;color:#000;margin-bottom:32rpx}.screen-item{padding-top:40rpx}.screen-item .item{width:162rpx;height:48rpx;line-height:48rpx;text-align:center;font-size:24rpx;color:#666;background:#f6f6f6;border-radius:4rpx;margin-bottom:20rpx;margin-right:20rpx}.screen-item .item:nth-child(3n){margin-right:0}.screen-item .item-active{border:2rpx solid #ff6e33;color:#fe7d26;background:#fdefe6}.across-line{width:44rpx;height:2rpx;background:#acabab;margin:0 12rpx}.low-price{width:228rpx;height:60rpx;background:#f6f5f5;border-radius:4rpx}.low-price input{width:100%;height:100%;text-align:center}.fz20{font-size:20rpx;color:#393939}.submit-box{width:602rpx;height:100rpx;box-shadow:2rpx 0 12rpx rgba(0,0,0,.16);position:fixed;bottom:0;right:0}.submit-box .btn{width:50%;height:100%;line-height:100rpx;text-align:center}.submit-box .finish{background:#ff660c;color:#fff} |
||||
image{border-radius:8rpx}.dmandhall-page{padding-bottom:210rpx;min-height:100vh;font-size:28rpx;background:#f5f5f5}.top-box{width:100%;padding:16rpx 0;background:#fff;position:fixed;top:0;z-index:99}.top-l-box{padding-left:40rpx}.tab-item{width:162rpx;height:40rpx;line-height:40rpx;text-align:center;margin-right:12rpx;font-size:28rpx;color:#bfbfbf;font-weight:500}.tab-item-a{font-size:36rpx;color:#ff5100}.top-r-box image{width:36rpx;height:36rpx;margin-left:30rpx}.resource-tabs{width:100%;padding-top:10rpx;background:#fff;border-bottom:2rpx solid #eee}.tab{width:162rpx;padding:26rpx 0;font-size:28rpx;color:#bfbfbf;position:relative;font-weight:500}.tab::after{display:block;content:"";width:50rpx;height:16rpx;border-radius:8rpx;background:#ff5100;position:absolute;bottom:-8rpx;left:50%;margin-left:-50rpx;opacity:0;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transition:all .2s ease,opacity .15s ease;transition:all .2s ease,opacity .15s ease}.tab-a{color:#333}.tab-a::after{opacity:1;-webkit-transform:scaleX(1);transform:scaleX(1)}.no-more{text-align:center;line-height:38rpx;font-size:28rpx;color:#9c9c9c}.screen-box{width:100%;height:94rpx;padding:0 38rpx;color:#666;background:#fff}.screen-result{font-size:28rpx;color:#ff5100}.screen image{width:27rpx;height:27rpx;margin-left:6rpx}.resource-list{width:100%;padding:290rpx 40rpx 24rpx}.resource-item{width:100%;min-height:302rpx;background:#fff;border-radius:12rpx;padding:20rpx;margin-bottom:20rpx;position:relative}.logo-box{width:154rpx;height:154rpx;margin-right:20rpx;position:relative}.logo-box image{width:100%;height:100%}.tips-item{padding:2rpx 6rpx;line-height:28rpx;font-size:20rpx;color:#fff;background:rgba(255,81,0,.63);border-radius:8rpx;margin-right:14rpx;position:absolute;top:4rpx;left:4rpx}.bg2{background:rgba(255,170,0,.63)}.resource-info{width:calc(100% - 170rpx)}.resource-item .title{font-size:32rpx;font-weight:500;line-height:44rpx;color:#1d1d1d}.desc{font-size:24rpx;color:#666;line-height:34rpx}.price{color:#ff5100;line-height:40rpx;font-weight:600;margin:10rpx 0 40rpx}.company-info{color:#a7a7a7;font-size:24rpx}.company-info text{display:inline-block;margin-right:18rpx}.tags-box{margin:6rpx 0 10rpx}.tag-item{width:112rpx;height:36rpx;display:inline-block;line-height:34rpx;text-align:center;font-size:20rpx;border:2rpx solid #fa0;color:#fa0;border-radius:4rpx;margin-right:8rpx}.bgG{border:1rpx solid #3a9efa;color:#3a9efa}.bgO{border:1rpx solid #fc9367;color:#fc9367}.toMore-btn{width:164rpx;height:44rpx;background:-webkit-linear-gradient(309deg,#ffa782,#ff6d31);background:linear-gradient(141deg,#ffa782,#ff6d31);border-radius:8rpx;font-size:28rpx;font-weight:700;line-height:40rpx;color:#fff;text-align:center;line-height:44rpx;position:absolute;right:20rpx;bottom:20rpx}.anli-list{font-size:24rpx;color:#666;margin:24rpx 0 20rpx}.anli-item image{width:220rpx;height:136rpx;margin-right:8rpx}.comment{font-size:20rpx;color:#ff6d31}.company-list-box{width:100%;background:#fff}.company-list{width:100%;border-top:2rpx solid #eee}.company-item{width:100%;padding:40rpx;border-bottom:2rpx solid #eee}.title-box .title{width:550rpx}.title-box .price{margin:0}.company-item .tags-box{margin:20rpx 0}.btn-box{margin-top:20rpx;font-size:24rpx;color:#707070}.btn-box .toMore-btn{position:static}.mask-box{width:100%;height:100vh;background:rgba(0,0,0,.6);position:fixed;top:0;left:0;z-index:9999}.screen-dialog-box{width:602rpx;height:100%;overflow-y:scroll;background-color:#fff;position:absolute;top:0;right:0rpx;-webkit-animation:move .2s ease;animation:move .2s ease}@-webkit-keyframes move{0%{-webkit-transform:translateX(800rpx);transform:translateX(800rpx)}100%{-webkit-transform:translateX(0rpx);transform:translateX(0rpx)}}@keyframes move{0%{-webkit-transform:translateX(800rpx);transform:translateX(800rpx)}100%{-webkit-transform:translateX(0rpx);transform:translateX(0rpx)}}.screen-item{width:100%;padding:0 38rpx;padding-bottom:22rpx;border-bottom:2rpx solid #eee}.screen-title{font-size:24rpx;color:#000;margin-bottom:32rpx}.screen-item{padding-top:40rpx}.screen-item .item{width:162rpx;height:48rpx;line-height:48rpx;text-align:center;font-size:24rpx;color:#666;background:#f6f6f6;border-radius:4rpx;margin-bottom:20rpx;margin-right:20rpx}.screen-item .item:nth-child(3n){margin-right:0}.screen-item .item-active{border:2rpx solid #ff6e33;color:#fe7d26;background:#fdefe6}.across-line{width:44rpx;height:2rpx;background:#acabab;margin:0 12rpx}.low-price{width:228rpx;height:60rpx;background:#f6f5f5;border-radius:4rpx}.low-price input{width:100%;height:100%;text-align:center}.fz20{font-size:20rpx;color:#393939}.submit-box{width:602rpx;height:100rpx;box-shadow:2rpx 0 12rpx rgba(0,0,0,.16);position:fixed;bottom:0;right:0}.submit-box .btn{width:50%;height:100%;line-height:100rpx;text-align:center}.submit-box .finish{background:#ff660c;color:#fff} |
@ -0,0 +1 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/home/index"],{"058b":function(t,e,a){"use strict";var n=a("c7f4"),i=a.n(n);i.a},"3a75":function(t,e,a){"use strict";var n;a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return n}));var i=function(){var t=this,e=t.$createElement;t._self._c},o=[]},"4e14":function(t,e,a){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("514b"));function i(t){return t&&t.__esModule?t:{default:t}}var o,c=getApp(),u=a("3d8c"),r=function(){a.e("tabbarComponent/tabbar").then(function(){return resolve(a("594c"))}.bind(null,a)).catch(a.oe)},s={data:function(){return{menuList:[{icon:"/static/images/home/menu1.png",text:"IT制作"},{icon:"/static/images/home/menu2.png",text:"logo设计"},{icon:"/static/images/home/menu3.png",text:"文案策划"},{icon:"/static/images/home/menu4.png",text:"app开发"},{icon:"/static/images/home/menu5.png",text:"装修服务"},{icon:"/static/images/home/menu6.png",text:"软件定制"},{icon:"/static/images/home/menu7.png",text:"法律服务"},{icon:"/static/images/home/menu8.png",text:"小程序"},{icon:"/static/images/home/menu9.png",text:"网络营销"},{icon:"/static/images/home/menu10.png",text:"全部分类"}],CustomBar:c.globalData.CustomBar,menuHeight:c.globalData.menuHeight,navHeight:c.globalData.navHeight,menuTop:c.globalData.menuTop,active:1,recommendActivity:[],demandList:[],resourcesList:[],province:"",city:"",cagetoryList:"",latitude:"",longitude:"",currentTabIndex:0}},components:{tabbar:r},props:{},onLoad:function(){t.hideTabBar(),this.pagePath="/pages/home/index",this.getCagetoryList(),o=new u({key:"UVEBZ-M3VRS-CO4OH-6F5QZ-X7FB7-SVFOX"}),this.getLocation()},onPullDownRefresh:function(){this.getCagetoryList()},methods:{tabBarClick:function(t){this.currentTabIndex=t},toGuidePage:function(){t.navigateTo({url:"/pages/guide/index"})},toActiveDetail:function(e){var a=e.currentTarget.dataset.id;t.navigateTo({url:"/pages/activity/detail/index?id="+a})},tabClick:function(t){this.setData({active:t.currentTarget.dataset.i})},toTab2:function(){t.switchTab({url:"/pages/demandHall/index"})},getCagetoryList:function(){var e=this;t.showNavigationBarLoading(),c.http("get","index").then((function(a){a.data.success&&(a.data.data.recommendActivity.content.forEach((function(t){t.activityStartTime=n.default.getWeek(t.activityStartTime)})),e.setData({demandList:a.data.data.demandList,resourcesList:a.data.data.resourcesDtos,cagetoryList:a.data.data.cagetoryDtos,recommendActivity:a.data.data.recommendActivity.content}),t.hideNavigationBarLoading(),t.stopPullDownRefresh())}))},toResourcesDetail:function(e){var a=e.currentTarget.dataset.id;t.navigateTo({url:"/pages/demandHall/resourcesDetail/index?id="+a})},toCompanyDetail:function(e){var a=e.currentTarget.dataset.id;t.navigateTo({url:"/pages/demandHall/companyDetail/index?id="+a})},toNeedDetail:function(e){var a=e.currentTarget.dataset.id;t.navigateTo({url:"/pages/demandHall/needsDetail/index?id="+a})},getLocation:function(){var e=this;t.getLocation({type:"wgs84",success:function(t){var a=t.latitude,n=t.longitude;t.speed,t.accuracy;e.getLocal(a,n)},fail:function(t){console.log("fail"+JSON.stringify(t))}})},getLocal:function(t,e){var a=this;o.reverseGeocoder({location:{latitude:t,longitude:e},success:function(n){var i=n.result.ad_info.province,o=n.result.ad_info.city;a.setData({province:i,city:o,latitude:t,longitude:e})},fail:function(t){console.log(t)},complete:function(t){}})}}};e.default=s}).call(this,a("543d")["default"])},"52bb":function(t,e,a){"use strict";a.r(e);var n=a("4e14"),i=a.n(n);for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);e["default"]=i.a},"5ed5":function(t,e,a){"use strict";var n=function(t){t.options.wxsCallMethods||(t.options.wxsCallMethods=[])};e["a"]=n},"9dba":function(t,e,a){"use strict";(function(t){a("ef82");n(a("66fd"));var e=n(a("e969"));function n(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,a("543d")["createPage"])},c7f4:function(t,e,a){},e969:function(t,e,a){"use strict";a.r(e);var n=a("3a75"),i=a("52bb");for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);a("058b");var c,u=a("f0c5"),r=a("5ed5"),s=Object(u["a"])(i["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],c);"function"===typeof r["a"]&&Object(r["a"])(s),e["default"]=s.exports}},[["9dba","common/runtime","common/vendor"]]]); |
@ -1,2 +1,2 @@
|
||||
<wxs src="../../utils/subutil.wxs" module="spl"></wxs> |
||||
<view class="home-page"><view data-event-opts="{{[['tap',[['toGuidePage',['$event']]]]]}}" class="top-bg-box" bindtap="__e"><image src="https://download.cyjyyjy.com/index-top-bg2.png"></image></view><view class="investment-box"><view class="investment-title-box acea-row row-between-wrapper"><view class="acea-row"><text class="fz32">热门活动</text><view class="hot">热</view></view><view class="more acea-row row-middle"><text>全部</text><image src="/static/images/home/arrow-r.png"></image></view></view><view class="investement-list"><scroll-view class="scroll-view_H" scroll-x="true"><block wx:for="{{recommendActivity}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{index<3}}"><view class="investment-item" data-id="{{item.id}}" data-event-opts="{{[['tap',[['toActiveDetail',['$event']]]]]}}" bindtap="__e"><image class="item-bg" src="{{item.images}}" mode="aspectFill"></image><view class="tips-box acea-row row-right"><block wx:for="{{spl.spl(item.flag)}}" wx:for-item="flag" wx:for-index="index2" wx:key="index2"><block wx:if="{{index2<3}}"><view class="{{['tips-item '+(index2%2==0?'bg2':'')]}}">{{flag}}</view></block></block></view><view class="item-info-box acea-row row-column row-center"><view class="address-box line1"><image src="/static/images/home/localtion.png"></image><text>{{item.address}}</text></view><view class="time-box"><image src="/static/images/home/time.png"></image><text>{{item.activityStartTime}}</text></view></view></view></block></block></scroll-view></view></view><view class="demandhall-box"><view class="tabs-box acea-row row-around"><view class="{{['tab-item '+(active==1?'tab-item-a':'')]}}" data-i="1" data-event-opts="{{[['tap',[['tabClick',['$event']]]]]}}" bindtap="__e">最新供应</view><view class="{{['tab-item '+(active==2?'tab-item-a':'')]}}" data-i="2" data-event-opts="{{[['tap',[['tabClick',['$event']]]]]}}" bindtap="__e">需求广场</view></view><block wx:if="{{active==1}}"><view class="list-box"><block wx:for="{{resourcesList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item"><view class="item-top"><view class="project-name line1">{{item.title}}</view><view class="tag">{{item.cname}}</view><view class="desc line2">{{item.detailedDescription}}</view><view class="buy-btn" data-id="{{item.id}}" data-event-opts="{{[['tap',[['toResourcesDetail',['$event']]]]]}}" bindtap="__e">了解详情</view></view><view class="company-box acea-row"><image class="logo" src="{{item.enterpriseDto.enterpriseLogo}}"></image><view class="company-info acea-row row-column row-between"><view class="company-name fz28">{{item.enterpriseDto.enterpriseName}}</view><view class="company-name fz24">{{item.enterpriseDto.enterpriseTitle}}</view><view class="tags-box acea-row"><view class="tag-item fz20 bgG">{{item.cname}}</view></view></view><view class="into-btn acea-row row-center-wrapper" data-id="{{item.enterpriseId}}" data-event-opts="{{[['tap',[['toCompanyDetail',['$event']]]]]}}" bindtap="__e"><image src="/static/images/home/company-icon.png"></image><text>进入企业</text></view></view></view></block></view></block><block wx:if="{{active==2}}"><view class="list-box"><block wx:for="{{demandList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item" data-id="{{item.id}}" data-event-opts="{{[['tap',[['toNeedDetail',['$event']]]]]}}" bindtap="__e"><view class="item-top"><view class="project-name">{{item.title}}</view><view class="desc line2">{{item.detailedDescription}}</view><view class="tags-box tags-box2 acea-row"><view class="tag-item fz20">{{item.enterpriseDto.cname}}</view></view><view class="price">{{item.capital}}</view></view></view></block></view></block></view><view data-event-opts="{{[['tap',[['toTab2',['$event']]]]]}}" class="to-demandhall acea-row row-center row-middle" bindtap="__e"><text>更多内容去供需大厅</text><image src="/static/images/home/arrow-r.png"></image></view><tabbar vue-id="8dd740cc-1" current="{{currentTabIndex}}" data-event-opts="{{[['^click',[['tabBarClick']]]]}}" bind:click="__e" bind:__l="__l"></tabbar></view> |
||||
<view class="home-page"><view data-event-opts="{{[['tap',[['toGuidePage',['$event']]]]]}}" class="top-bg-box" bindtap="__e"><image src="https://download.cyjyyjy.com/index-top-bg2.png"></image></view><view class="investment-box"><view class="investment-title-box acea-row row-between-wrapper"><view class="acea-row"><text class="fz32">热门活动</text><view class="hot">热</view></view><view class="more acea-row row-middle"><text>全部</text><image src="/static/images/home/arrow-r.png"></image></view></view><view class="investement-list"><scroll-view class="scroll-view_H" scroll-x="true"><block wx:for="{{recommendActivity}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{index<3}}"><view class="investment-item" data-id="{{item.id}}" data-event-opts="{{[['tap',[['toActiveDetail',['$event']]]]]}}" bindtap="__e"><image class="item-bg" src="{{item.images}}" mode="aspectFill"></image><view class="tips-box acea-row row-right"><block wx:for="{{spl.spl(item.flag)}}" wx:for-item="flag" wx:for-index="index2" wx:key="index2"><block wx:if="{{index2<3}}"><view class="{{['tips-item '+(index2%2==0?'bg2':'')]}}">{{flag}}</view></block></block></view><view class="item-info-box acea-row row-column row-center"><view class="address-box line1"><image src="/static/images/home/localtion.png"></image><text>{{item.address}}</text></view><view class="time-box"><image src="/static/images/home/time.png"></image><text>{{item.activityStartTime}}</text></view></view></view></block></block></scroll-view></view></view><view class="demandhall-box"><view class="tabs-box acea-row row-around"><view class="{{['tab-item '+(active==1?'tab-item-a':'')]}}" data-i="1" data-event-opts="{{[['tap',[['tabClick',['$event']]]]]}}" bindtap="__e">最新供应</view><view class="{{['tab-item '+(active==2?'tab-item-a':'')]}}" data-i="2" data-event-opts="{{[['tap',[['tabClick',['$event']]]]]}}" bindtap="__e">需求广场</view></view><block wx:if="{{active==1}}"><view class="list-box"><block wx:for="{{resourcesList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item"><view class="item-top"><view class="project-name line1">{{item.title}}</view><view class="tag">{{item.cname}}</view><view class="desc line2">{{item.detailedDescription}}</view><view class="buy-btn" data-id="{{item.id}}" data-event-opts="{{[['tap',[['toResourcesDetail',['$event']]]]]}}" bindtap="__e">了解详情</view></view><view class="company-box acea-row"><image class="logo" src="{{item.enterpriseDto.enterpriseLogo}}"></image><view class="company-info acea-row row-column row-between"><view class="company-name fz28">{{item.enterpriseDto.enterpriseName}}</view><view class="company-name fz24">{{item.enterpriseDto.enterpriseTitle}}</view><view class="tags-box acea-row"><view class="tag-item fz20 bgG">{{item.cname}}</view></view></view><view class="into-btn acea-row row-center-wrapper" data-id="{{item.enterpriseId}}" data-event-opts="{{[['tap',[['toCompanyDetail',['$event']]]]]}}" bindtap="__e"><image src="/static/images/home/company-icon.png"></image><text>进入企业</text></view></view></view></block></view></block><block wx:if="{{active==2}}"><view class="list-box"><block wx:for="{{demandList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item" data-id="{{item.id}}" data-event-opts="{{[['tap',[['toNeedDetail',['$event']]]]]}}" bindtap="__e"><view class="item-top"><view class="project-name">{{item.title}}</view><view class="desc line2">{{item.detailedDescription}}</view><view class="tags-box tags-box2 acea-row"><view class="tag-item fz20">{{item.enterpriseDto.cname}}</view></view><view class="price">{{item.capital}}</view></view></view></block></view></block></view><view data-event-opts="{{[['tap',[['toTab2',['$event']]]]]}}" class="to-demandhall acea-row row-center row-middle" bindtap="__e"><text>更多内容去供需大厅</text><image src="/static/images/home/arrow-r.png"></image></view><tabbar vue-id="6b3d36ea-1" current="{{currentTabIndex}}" data-event-opts="{{[['^click',[['tabBarClick']]]]}}" bind:click="__e" bind:__l="__l"></tabbar></view> |
@ -1 +0,0 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/index"],{"177f":function(t,e,a){"use strict";a.r(e);var n=a("64cd"),i=a("f10b");for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);a("ba87");var c,u=a("f0c5"),s=a("9590"),r=Object(u["a"])(i["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],c);"function"===typeof s["a"]&&Object(s["a"])(r),e["default"]=r.exports},"433f":function(t,e,a){"use strict";(function(t){a("ef82");n(a("66fd"));var e=n(a("177f"));function n(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,a("543d")["createPage"])},"64cd":function(t,e,a){"use strict";var n;a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return n}));var i=function(){var t=this,e=t.$createElement;t._self._c},o=[]},9590:function(t,e,a){"use strict";var n=function(t){t.options.wxsCallMethods||(t.options.wxsCallMethods=[])};e["a"]=n},ba87:function(t,e,a){"use strict";var n=a("f827"),i=a.n(n);i.a},ef14:function(t,e,a){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("514b"));function i(t){return t&&t.__esModule?t:{default:t}}var o,c=getApp(),u=a("3d8c"),s=function(){a.e("tabbarComponent/tabbar").then(function(){return resolve(a("594c"))}.bind(null,a)).catch(a.oe)},r={data:function(){return{menuList:[{icon:"/static/images/home/menu1.png",text:"IT制作"},{icon:"/static/images/home/menu2.png",text:"logo设计"},{icon:"/static/images/home/menu3.png",text:"文案策划"},{icon:"/static/images/home/menu4.png",text:"app开发"},{icon:"/static/images/home/menu5.png",text:"装修服务"},{icon:"/static/images/home/menu6.png",text:"软件定制"},{icon:"/static/images/home/menu7.png",text:"法律服务"},{icon:"/static/images/home/menu8.png",text:"小程序"},{icon:"/static/images/home/menu9.png",text:"网络营销"},{icon:"/static/images/home/menu10.png",text:"全部分类"}],CustomBar:c.globalData.CustomBar,menuHeight:c.globalData.menuHeight,navHeight:c.globalData.navHeight,menuTop:c.globalData.menuTop,active:1,recommendActivity:[],demandList:[],resourcesList:[],province:"",city:"",cagetoryList:"",latitude:"",longitude:"",currentTabIndex:0}},components:{tabbar:s},props:{},onLoad:function(){this.pagePath="/pages/index/index",this.getCagetoryList(),o=new u({key:"UVEBZ-M3VRS-CO4OH-6F5QZ-X7FB7-SVFOX"}),this.getLocation()},onPullDownRefresh:function(){this.getCagetoryList()},methods:{tabBarClick:function(t){console.log("返回tabBar索引:"+t),this.currentTabIndex=t},toGuidePage:function(){t.navigateTo({url:"/pages/guide/index"})},toActiveDetail:function(e){var a=e.currentTarget.dataset.id;t.navigateTo({url:"/pages/activity/detail/index?id="+a})},tabClick:function(t){this.setData({active:t.currentTarget.dataset.i})},toTab2:function(){t.switchTab({url:"/pages/demandHall/index"})},getCagetoryList:function(){var e=this;t.showNavigationBarLoading(),c.http("get","index").then((function(a){a.data.success&&(a.data.data.recommendActivity.content.forEach((function(t){t.activityStartTime=n.default.getWeek(t.activityStartTime)})),e.setData({demandList:a.data.data.demandList,resourcesList:a.data.data.resourcesDtos,cagetoryList:a.data.data.cagetoryDtos,recommendActivity:a.data.data.recommendActivity.content}),t.hideNavigationBarLoading(),t.stopPullDownRefresh())}))},toResourcesDetail:function(e){var a=e.currentTarget.dataset.id;t.navigateTo({url:"/pages/demandHall/resourcesDetail/index?id="+a})},toCompanyDetail:function(e){var a=e.currentTarget.dataset.id;t.navigateTo({url:"/pages/demandHall/companyDetail/index?id="+a})},toNeedDetail:function(e){var a=e.currentTarget.dataset.id;t.navigateTo({url:"/pages/demandHall/needsDetail/index?id="+a})},getLocation:function(){var e=this;t.getLocation({type:"wgs84",success:function(t){var a=t.latitude,n=t.longitude;t.speed,t.accuracy;e.getLocal(a,n)},fail:function(t){console.log("fail"+JSON.stringify(t))}})},getLocal:function(t,e){var a=this;o.reverseGeocoder({location:{latitude:t,longitude:e},success:function(n){var i=n.result.ad_info.province,o=n.result.ad_info.city;a.setData({province:i,city:o,latitude:t,longitude:e})},fail:function(t){console.log(t)},complete:function(t){}})}}};e.default=r}).call(this,a("543d")["default"])},f10b:function(t,e,a){"use strict";a.r(e);var n=a("ef14"),i=a.n(n);for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);e["default"]=i.a},f827:function(t,e,a){}},[["433f","common/runtime","common/vendor"]]]); |
@ -1 +1 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/life/addGoods/index"],{"06f6":function(t,e,n){"use strict";var o;n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return o}));var a=function(){var t=this,e=t.$createElement;t._self._c},r=[]},"1f1c":function(t,e,n){"use strict";n.r(e);var o=n("8413"),a=n.n(o);for(var r in o)"default"!==r&&function(t){n.d(e,t,(function(){return o[t]}))}(r);e["default"]=a.a},"31aa":function(t,e,n){"use strict";n.r(e);var o=n("06f6"),a=n("1f1c");for(var r in a)"default"!==r&&function(t){n.d(e,t,(function(){return a[t]}))}(r);n("a490");var u,i=n("f0c5"),c=Object(i["a"])(a["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],u);e["default"]=c.exports},5629:function(t,e,n){"use strict";(function(t){n("ef82");o(n("66fd"));var e=o(n("31aa"));function o(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},"824b":function(t,e,n){},8413:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{placeholder:"开始输入..."}},methods:{undo:function(){this.editorCtx.undo()},redo:function(){this.editorCtx.redo()},format:function(t){var e=t.target.dataset,n=e.name,o=e.value;n&&this.editorCtx.format(n,o)},oneditorready:function(){var e=this;t.createSelectorQuery().select("#editor").context((function(t){e.editorCtx=t.context})).exec()},insertImage:function(){var e=this;t.chooseImage({sizeType:["original","compressed"],sourceType:["album","camera"],success:function(n){console.log(n.tempFilePaths[0]),t.uploadFile({url:"http://0.0.0.0/file/upload-img",filePath:n.tempFilePaths[0],name:"img",header:{"Content-Type":"multipart/form-data"},success:function(t){var n=JSON.parse(t.data);e.editorCtx.insertImage({width:"100%",height:"auto",src:n.url,alt:"图像",success:function(){console.log("insert image success")}}),console.log(e.editorCtx)}})}})}}};e.default=n}).call(this,n("543d")["default"])},a490:function(t,e,n){"use strict";var o=n("824b"),a=n.n(o);a.a}},[["5629","common/runtime","common/vendor"]]]); |
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/life/addGoods/index"],{"1f1c":function(t,e,i){"use strict";i.r(e);var n=i("8413"),a=i.n(n);for(var s in n)"default"!==s&&function(t){i.d(e,t,(function(){return n[t]}))}(s);e["default"]=a.a},"31aa":function(t,e,i){"use strict";i.r(e);var n=i("cf9a"),a=i("1f1c");for(var s in a)"default"!==s&&function(t){i.d(e,t,(function(){return a[t]}))}(s);i("d09a");var o,r=i("f0c5"),c=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],o);e["default"]=c.exports},5629:function(t,e,i){"use strict";(function(t){i("ef82");n(i("66fd"));var e=n(i("31aa"));function n(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,i("543d")["createPage"])},8413:function(t,e,i){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("b6d1"),a=i("2df4"),s={data:function(){return{store_name:"",unit_name:"",image:"",slider_image:["","",""],description:"",tempId:1,attrs:[{pic:"",price:"",ot_orice:"",stock:"",weight:"",volume:""}],state:0}},methods:{uploadImg:function(t){var e=this;(0,n.chooseImage)((function(i){e.$set(e.slider_image,t,i)}))},uploadSkuImg:function(t){var e=this;(0,n.chooseImage)((function(i){e.$set(e.attrs,t,{pic:i})}))},toGoodsDetails:function(){t.navigateTo({url:"/pages/life/goodsDetails/index?desc="+encodeURIComponent(this.description)})},addSku:function(){var t={pic:"",price:"",ot_orice:"",stock:"",weight:"",volume:""};this.attrs.push(t)},delSku:function(t){this.attrs.splice(t,1)},radioChange:function(t){this.state=t.detail.value},submit:function(){var t=this,e={store_name:this.store_name,unit_name:this.unit_name,image:this.slider_image[0],slider_image:this.slider_image,description:this.description,tempId:1,attrs:this.attrs,state:this.state,spec_type:this.attrs.length>1?1:0};""!=e.store_name?""!=e.slider_image[0]?""!=e.description&&""!=e.description?(e.attrs.forEach((function(e,i){""!=e.price?""!=e.stock||t.alertMessage("请商品规格库存"):t.alertMessage("请商品规格价格")})),(0,a.addProduct)(e).then((function(t){})),console.log(e,"form")):this.alertMessage("请填写商品详情"):this.alertMessage("请至少上传一张商品图片"):this.alertMessage("请填写商品名称")},alertMessage:function(e){t.showToast({title:e,icon:"none"})}}};e.default=s}).call(this,i("543d")["default"])},b66c:function(t,e,i){},cf9a:function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return s})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement;t._self._c},s=[]},d09a:function(t,e,i){"use strict";var n=i("b66c"),a=i.n(n);a.a}},[["5629","common/runtime","common/vendor"]]]); |
@ -1,3 +1,4 @@
|
||||
{ |
||||
"navigationBarTitleText": "新增商品", |
||||
"usingComponents": {} |
||||
} |
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue