no message

This commit is contained in:
bentz
2019-03-12 16:24:24 +08:00
parent 825d2b00fa
commit 49093257ec
34 changed files with 37 additions and 34 deletions

View File

@@ -1,6 +1,9 @@
const path = require('path')
const pkg = require('../package.json')
const [TARO_CMD, TARO_ENV] = process.env.npm_lifecycle_event.split(':')
const DIST_PATH = TARO_ENV === 'h5' ? 'h5_dist' : 'dist'
const config = {
projectName: pkg.name,
date: '2019-2-18',
@@ -11,7 +14,7 @@ const config = {
'828': 1.81 / 2
},
sourceRoot: 'src',
outputRoot: process.env.TARO_ENV === 'weapp' ? 'dist' : 'h5_dist',
outputRoot: DIST_PATH,
plugins: {
babel: {
sourceMap: true,
@@ -39,7 +42,7 @@ const config = {
},
copy: {
patterns: [
{ from: 'src/assets', to: 'dist/assets' }
{ from: 'src/assets', to: `${DIST_PATH}/assets` }
],
options: {
}

View File

@@ -69,8 +69,8 @@ var BackToTop = (_temp2 = _class = function (_BaseComponent) {
return this.__state;
}
}, {
key: "funPrivateTluTZ",
value: function funPrivateTluTZ() {
key: "funPrivateyOcvN",
value: function funPrivateyOcvN() {
this.__triggerPropsFn("onClick", [].concat(Array.prototype.slice.call(arguments)));
}
}]);
@@ -93,7 +93,7 @@ var BackToTop = (_temp2 = _class = function (_BaseComponent) {
"type": null,
"value": null
}
}, _class.$$events = ["funPrivateTluTZ"], _class.options = {
}, _class.$$events = ["funPrivateyOcvN"], _class.options = {
addGlobalClass: true
}, _class.defaultProps = {
onClick: function onClick() {}

View File

@@ -1,5 +1,5 @@
<block>
<view class="{{anonymousState__temp}}" style="{{anonymousState__temp2}}" bindtap="funPrivateTluTZ">
<view class="{{anonymousState__temp}}" style="{{anonymousState__temp2}}" bindtap="funPrivateyOcvN">
<view class="at-icon at-icon-chevron-up"></view><text class="back-to-top__text">置顶</text>
</view>
</block>

View File

@@ -78,8 +78,8 @@ var SpCell = (_temp2 = _class = function (_BaseComponent) {
return this.__state;
}
}, {
key: "funPrivatefJzYB",
value: function funPrivatefJzYB() {
key: "funPrivatewYvTR",
value: function funPrivatewYvTR() {
this.__triggerPropsFn("onClick", [].concat(Array.prototype.slice.call(arguments)));
}
}]);
@@ -126,7 +126,7 @@ var SpCell = (_temp2 = _class = function (_BaseComponent) {
"type": null,
"value": null
}
}, _class.$$events = ["funPrivatefJzYB"], _class.options = {
}, _class.$$events = ["funPrivatewYvTR"], _class.options = {
addGlobalClass: true
}, _class.defaultProps = {
isLink: false,

View File

@@ -1,5 +1,5 @@
<block>
<view class="{{anonymousState__temp}}" bindtap="funPrivatefJzYB">
<view class="{{anonymousState__temp}}" bindtap="funPrivatewYvTR">
<block wx:if="{{icon}}">
<view class="{{'sp-cell__icon ' + (iconPrefix ? iconPrefix + ' ' + iconPrefix + '-' + icon : 'at-icon at-icon-' + icon)}}"></view>
</block>

View File

@@ -81,8 +81,8 @@ var GoodsItem = (_temp2 = _class = function (_BaseComponent) {
return this.__state;
}
}, {
key: "funPrivatewrbBZ",
value: function funPrivatewrbBZ() {
key: "funPrivateKTVoo",
value: function funPrivateKTVoo() {
this.__triggerPropsFn("onClickImg", [].concat(Array.prototype.slice.call(arguments)));
}
}]);
@@ -117,7 +117,7 @@ var GoodsItem = (_temp2 = _class = function (_BaseComponent) {
"type": null,
"value": null
}
}, _class.$$events = ["funPrivatewrbBZ"], _class.defaultProps = {
}, _class.$$events = ["funPrivateKTVoo"], _class.defaultProps = {
onClickImg: function onClickImg() {},
showMarketPrice: true,
noCurSymbol: false

View File

@@ -8,7 +8,7 @@
</view>
<view class="goods-item__bd">
<view class="goods-item__img-wrap">
<image class="goods-item__img" bindtap="funPrivatewrbBZ" mode="aspectFill" src="{{img}}"></image>
<image class="goods-item__img" bindtap="funPrivateKTVoo" mode="aspectFill" src="{{img}}"></image>
</view>
<view class="goods-item__cont"><text class="goods-item__title">{{info.title}}</text><text class="goods-item__desc">{{info.desc}}</text>
<view class="goods-item__prices">

View File

@@ -70,8 +70,8 @@ var CheckoutItems = (_temp2 = _class = function (_BaseComponent) {
return this.__state;
}
}, {
key: "funPrivateiRhVc",
value: function funPrivateiRhVc() {
key: "funPrivateDPWKF",
value: function funPrivateDPWKF() {
this.__triggerPropsFn("onClickBack", [].concat(Array.prototype.slice.call(arguments)));
}
}]);
@@ -98,7 +98,7 @@ var CheckoutItems = (_temp2 = _class = function (_BaseComponent) {
"type": null,
"value": null
}
}, _class.$$events = ["funPrivateiRhVc"], _class.defaultProps = {
}, _class.$$events = ["funPrivateDPWKF"], _class.defaultProps = {
isOpened: false,
list: [],
onClickBack: function onClickBack() {}

View File

@@ -1,6 +1,6 @@
<block>
<view class="{{anonymousState__temp}}">
<at-nav-bar leftIconType="chevron-left" __triggerObserer="{{ _triggerObserer }}" title="{{anonymousState__temp2}}" bindonclicklefticon="funPrivateiRhVc" __fn_onClickLeftIcon="{{true}}"></at-nav-bar>
<at-nav-bar leftIconType="chevron-left" __triggerObserer="{{ _triggerObserer }}" title="{{anonymousState__temp2}}" bindonclicklefticon="funPrivateDPWKF" __fn_onClickLeftIcon="{{true}}"></at-nav-bar>
<scroll-view class="checkout-items__scroll">
<view class="checkout-items__list">
<goods-item wx:key="item_id" __triggerObserer="{{ _triggerObserer }}" info="{{item}}" wx:for="{{list}}" wx:for-item="item" wx:for-index="_anonIdx"></goods-item>

View File

@@ -50,7 +50,7 @@ var Index = (_temp2 = _class = function (_BaseComponent) {
key: 'componentWillMount',
value: function componentWillMount() {
_index2.default.redirectTo({
url: '/pages/member/index'
url: '/pages/home/index'
// url: '/pages/item/espier-detail?id=268'
});
}

View File

@@ -79,13 +79,13 @@ var GoodsBuyToolbar = (_dec = (0, _index3.connect)(function (_ref) {
return this.__state;
}
}, {
key: "funPrivateVSoaH",
value: function funPrivateVSoaH() {
key: "funPrivateKAkMr",
value: function funPrivateKAkMr() {
this.__triggerPropsFn("onClickAddCart", [].concat(Array.prototype.slice.call(arguments)));
}
}, {
key: "funPrivateaoVCJ",
value: function funPrivateaoVCJ() {
key: "funPrivateyaCsn",
value: function funPrivateyaCsn() {
this.__triggerPropsFn("onClickFastBuy", [].concat(Array.prototype.slice.call(arguments)));
}
}]);
@@ -120,7 +120,7 @@ var GoodsBuyToolbar = (_dec = (0, _index3.connect)(function (_ref) {
"type": null,
"value": null
}
}, _class2.$$events = ["navigateTo", "funPrivateVSoaH", "funPrivateaoVCJ"], _class2.options = {
}, _class2.$$events = ["navigateTo", "funPrivateKAkMr", "funPrivateyaCsn"], _class2.options = {
addGlobalClass: true
}, _class2.defaultProps = {
type: 'normal',

View File

@@ -15,9 +15,9 @@
</view>
<view class="goods-buy-toolbar__btns" style="width: 59%;">
<block wx:if="{{type === 'normal'}}">
<button class="goods-buy-toolbar__btn btn-add-cart" bindtap="funPrivateVSoaH">加入购物车</button>
<button class="goods-buy-toolbar__btn btn-add-cart" bindtap="funPrivateKAkMr">加入购物车</button>
</block>
<button class="goods-buy-toolbar__btn btn-fast-buy" bindtap="funPrivateaoVCJ">{{fastBuyText}}</button>
<button class="goods-buy-toolbar__btn btn-fast-buy" bindtap="funPrivateyaCsn">{{fastBuyText}}</button>
</view>
</view>
</block>

View File

@@ -74,8 +74,8 @@ var TradeItem = (_temp2 = _class = function (_BaseComponent) {
return this.__state;
}
}, {
key: "funPrivatepMMDd",
value: function funPrivatepMMDd() {
key: "funPrivateFznAo",
value: function funPrivateFznAo() {
this.__triggerPropsFn("onClick", [].concat(Array.prototype.slice.call(arguments)));
}
}]);
@@ -114,7 +114,7 @@ var TradeItem = (_temp2 = _class = function (_BaseComponent) {
"type": null,
"value": null
}
}, _class.$$events = ["funPrivatepMMDd", "handleClickBtn"], _class.options = {
}, _class.$$events = ["funPrivateFznAo", "handleClickBtn"], _class.options = {
addGlobalClass: true
}, _class.defaultProps = {
customHeader: false,

View File

@@ -11,7 +11,7 @@
</view>
</block>
</block>
<view class="trade-item__bd" bindtap="funPrivatepMMDd">
<view class="trade-item__bd" bindtap="funPrivateFznAo">
<order-item wx:key="idx" __triggerObserer="{{ _triggerObserer }}" info="{{item}}" wx:for="{{info.order}}" wx:for-item="item" wx:for-index="idx"></order-item>
<block>
<block wx:if="{{customRender}}">{{customRender}}</block>

View File

@@ -63,8 +63,8 @@ var OrderItem = (_temp2 = _class = function (_BaseComponent) {
return this.__state;
}
}, {
key: "funPrivatefNVFu",
value: function funPrivatefNVFu() {
key: "funPrivateFvvts",
value: function funPrivateFvvts() {
this.__triggerPropsFn("onClick", [].concat(Array.prototype.slice.call(arguments)));
}
}]);
@@ -83,7 +83,7 @@ var OrderItem = (_temp2 = _class = function (_BaseComponent) {
"type": null,
"value": null
}
}, _class.$$events = ["funPrivatefNVFu"], _class.defaultProps = {
}, _class.$$events = ["funPrivateFvvts"], _class.defaultProps = {
onClick: function onClick() {}
}, _temp2);
exports.default = OrderItem;

View File

@@ -1,5 +1,5 @@
<block>
<view class="order-item" bindtap="funPrivatefNVFu">
<view class="order-item" bindtap="funPrivateFvvts">
<view class="order-item__hd">
<image mode="aspectFill" class="order-item__img" src="{{info.pic_path}}"></image>
</view>

Binary file not shown.

Binary file not shown.

BIN
h5_dist/assets/imgs/404.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

BIN
h5_dist/assets/imgs/500.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 434 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB