初始化仓库
This commit is contained in:
1
unpackage/dist/build/mp-weixin/pages/shop_cart/shop_cart.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/shop_cart/shop_cart.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/shop_cart/shop_cart"],{"111b":function(n,e,t){"use strict";(function(n,e){var u=t("47a9");t("6a4a");u(t("3240"));var o=u(t("ea62"));n.__webpack_require_UNI_MP_PLUGIN__=t,e(o.default)}).call(this,t("3223")["default"],t("df3c")["createPage"])},3350:function(n,e,t){"use strict";var u=t("4944"),o=t.n(u);o.a},4944:function(n,e,t){},9351:function(n,e,t){"use strict";t.r(e);var u=t("b3f7"),o=t.n(u);for(var i in u)["default"].indexOf(i)<0&&function(n){t.d(e,n,(function(){return u[n]}))}(i);e["default"]=o.a},b3f7:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u={data:function(){return{isEdit:!1}},onShow:function(){console.log(this.isLogin)}};e.default=u},ea62:function(n,e,t){"use strict";t.r(e);var u=t("f73f"),o=t("9351");for(var i in o)["default"].indexOf(i)<0&&function(n){t.d(e,n,(function(){return o[n]}))}(i);t("3350");var c=t("828b"),r=Object(c["a"])(o["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],void 0);e["default"]=r.exports},f73f:function(n,e,t){"use strict";t.d(e,"b",(function(){return o})),t.d(e,"c",(function(){return i})),t.d(e,"a",(function(){return u}));var u={uCheckbox:function(){return t.e("components/uview-ui/components/u-checkbox/u-checkbox").then(t.bind(null,"3b2c"))},uImage:function(){return t.e("components/uview-ui/components/u-image/u-image").then(t.bind(null,"8127"))},priceFormat:function(){return t.e("components/price-format/price-format").then(t.bind(null,"70de"))},uNumberBox:function(){return t.e("components/uview-ui/components/u-number-box/u-number-box").then(t.bind(null,"8aee"))},uIcon:function(){return t.e("components/uview-ui/components/u-icon/u-icon").then(t.bind(null,"9e59"))},uButton:function(){return t.e("components/uview-ui/components/u-button/u-button").then(t.bind(null,"9c7d"))}},o=function(){var n=this,e=n.$createElement;n._self._c;n._isMounted||(n.e0=function(e){n.isEdit=!n.isEdit})},i=[]}},[["111b","common/runtime","common/vendor"]]]);
|
||||
11
unpackage/dist/build/mp-weixin/pages/shop_cart/shop_cart.json
vendored
Normal file
11
unpackage/dist/build/mp-weixin/pages/shop_cart/shop_cart.json
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"navigationBarTitleText": "购物车",
|
||||
"usingComponents": {
|
||||
"u-checkbox": "/components/uview-ui/components/u-checkbox/u-checkbox",
|
||||
"u-image": "/components/uview-ui/components/u-image/u-image",
|
||||
"price-format": "/components/price-format/price-format",
|
||||
"u-number-box": "/components/uview-ui/components/u-number-box/u-number-box",
|
||||
"u-icon": "/components/uview-ui/components/u-icon/u-icon",
|
||||
"u-button": "/components/uview-ui/components/u-button/u-button"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/shop_cart/shop_cart.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/shop_cart/shop_cart.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="shop-cart"><view class="u-m-32"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="u-text-right nr" bindtap="__e">编辑</view><block wx:for="{{10}}" wx:for-item="item" wx:for-index="index"><view class="u-m-t-40"><view class="bg-white br16 u-p-24 row"><view><u-checkbox vue-id="{{'9fac4ca8-1-'+index}}" shape="circle" active-color="{{themeColor}}" bind:__l="__l"></u-checkbox></view><view class="row flex1 u-col-top"><view><u-image vue-id="{{'9fac4ca8-2-'+index}}" src="{{cloudPath+'img/banner.png'}}" width="160" height="160" border-radius="8" bind:__l="__l"></u-image></view><view class="u-m-l-16"><view>煎饼果子套餐</view><view class="sm text-999 u-m-t-8 attr u-text-center u-p-l-16 u-p-r-16 u-p-6-8 u-p-b-8"><text>味浓芳香</text><text class="u-m-l-8 u-m-r-8">|</text><text>味浓芳香</text><text class="u-m-l-8 u-m-r-8">|</text><text>味浓芳香</text></view><view class="u-m-t-16 row-between"><view class="primary"><price-format vue-id="{{'9fac4ca8-3-'+index}}" price="{{12.9}}" subscriptSize="{{22}}" firstSize="{{34}}" secondSize="{{26}}" bind:__l="__l"></price-format></view><view><block wx:if="{{!isEdit}}"><view><u-number-box vue-id="{{'9fac4ca8-4-'+index}}" bind:__l="__l"></u-number-box></view></block><block wx:if="{{isEdit}}"><view><u-icon vue-id="{{'9fac4ca8-5-'+index}}" name="trash" size="32" color="#999" bind:__l="__l"></u-icon></view></block></view></view></view></view></view></view></block></view><view class="fixed footer bg-white w-full row-between u-col-center px32"><view><u-checkbox vue-id="9fac4ca8-6" shape="circle" active-color="{{themeColor}}" bind:__l="__l" vue-slots="{{['default']}}">全选</u-checkbox></view><view class="row"><view class="row-center"><view>合计:</view><view class="primary u-m-l-8" style="margin-top:-8rpx;"><price-format vue-id="9fac4ca8-7" price="{{12.9}}" subscriptSize="{{32}}" firstSize="{{40}}" secondSize="{{32}}" bind:__l="__l"></price-format></view></view><view class="u-m-l-24"><u-button vue-id="9fac4ca8-8" hover-class="none" customStyle="{{({width:'228rpx',height:'80rpx',backgroundColor:themeColor,color:'#fff',border:'none',padding:'16rpx 0',borderRadius:'64rpx'})}}" hair-line="{{false}}" data-event-opts="{{[['^click',[['mpLogin']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">结算</u-button></view></view></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/shop_cart/shop_cart.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/shop_cart/shop_cart.wxss
vendored
Normal file
@ -0,0 +1 @@
|
||||
.shop-cart{padding-bottom:200rpx}.attr{background-color:#f5f5f5;border-radius:88rpx}.fixed{height:112rpx;position:fixed;bottom:0;left:0;right:0;box-shadow:0 0 12px rgba(0,0,0,.1)}
|
||||
Reference in New Issue
Block a user