制作订单详情页面

This commit is contained in:
2025-04-26 14:40:25 +08:00
parent 6ae3444ed9
commit 0ab586dc2f
11 changed files with 56 additions and 14 deletions

View File

@ -35,7 +35,7 @@
<text class="text-999 ml20">随时退 过期自动退</text>
</view>
<view>
<u-button @click="mpLogin" hover-class="none"
<u-button @click="chooseSpec" hover-class="none"
:customStyle="{width: '116rpx', height: '46rpx', fontSize: '24rpx', backgroundColor: themeColor, color: '#fff', border: 'none', paddingTop: '8rpx'}"
:hair-line="false"
shape="circle">
@ -69,7 +69,7 @@
<view>门店</view>
</view>
<view class="u-margin-left-64 flex1">
<u-button @click="mpLogin" hover-class="none"
<u-button hover-class="none"
:customStyle="{height: '92rpx', fontSize: '24rpx', backgroundColor: themeColor, color: '#fff', border: 'none', paddingTop: '8rpx'}"
:hair-line="false"
shape="circle">
@ -77,6 +77,8 @@
</u-button>
</view>
</view>
<shop-spec v-model="showSpec" @close="showSpec = false"></shop-spec>
</view>
</template>
@ -94,6 +96,12 @@
title: "身无彩凤双飞翼,心有灵犀一点通",
}
],
showSpec: false
}
},
methods: {
chooseSpec() {
this.showSpec = true
}
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -105,11 +105,11 @@
/******/
/******/
/******/ // mini-css-extract-plugin CSS loading
/******/ var cssChunks = {"components/uview-ui/components/u-button/u-button":1,"components/uview-ui/components/u-icon/u-icon":1,"components/uview-ui/components/u-image/u-image":1,"components/uview-ui/components/u-swiper/u-swiper":1,"components/mobile-login/mobile-login":1,"components/mplogin/mplogin":1,"components/uview-ui/components/u-checkbox/u-checkbox":1,"components/uview-ui/components/u-form-item/u-form-item":1,"components/uview-ui/components/u-input/u-input":1,"components/uview-ui/components/u-form/u-form":1,"components/uview-ui/components/u-verification-code/u-verification-code":1,"components/uview-ui/components/u-parse/u-parse":1,"components/uview-ui/components/u-tag/u-tag":1,"components/cate-one/cate-one":1,"components/uview-ui/components/u-search/u-search":1,"components/uview-ui/components/u-line/u-line":1,"components/uview-ui/components/u-popup/u-popup":1,"components/uview-ui/components/u-parse/libs/trees":1,"components/shop-spec/shop-spec":1,"components/uview-ui/components/u-number-box/u-number-box":1,"components/uview-ui/components/u-mask/u-mask":1};
/******/ var cssChunks = {"components/uview-ui/components/u-button/u-button":1,"components/uview-ui/components/u-icon/u-icon":1,"components/uview-ui/components/u-image/u-image":1,"components/uview-ui/components/u-swiper/u-swiper":1,"components/mobile-login/mobile-login":1,"components/mplogin/mplogin":1,"components/uview-ui/components/u-checkbox/u-checkbox":1,"components/uview-ui/components/u-form-item/u-form-item":1,"components/uview-ui/components/u-input/u-input":1,"components/uview-ui/components/u-form/u-form":1,"components/uview-ui/components/u-verification-code/u-verification-code":1,"components/uview-ui/components/u-parse/u-parse":1,"components/uview-ui/components/u-tag/u-tag":1,"components/cate-one/cate-one":1,"components/uview-ui/components/u-search/u-search":1,"components/shop-spec/shop-spec":1,"components/uview-ui/components/u-line/u-line":1,"components/uview-ui/components/u-popup/u-popup":1,"components/uview-ui/components/u-parse/libs/trees":1,"components/uview-ui/components/u-number-box/u-number-box":1,"components/uview-ui/components/u-mask/u-mask":1};
/******/ if(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);
/******/ else if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {
/******/ promises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {
/******/ var href = "" + ({"components/uview-ui/components/u-button/u-button":"components/uview-ui/components/u-button/u-button","components/uview-ui/components/u-icon/u-icon":"components/uview-ui/components/u-icon/u-icon","components/uview-ui/components/u-image/u-image":"components/uview-ui/components/u-image/u-image","components/uview-ui/components/u-swiper/u-swiper":"components/uview-ui/components/u-swiper/u-swiper","components/mobile-login/mobile-login":"components/mobile-login/mobile-login","components/mplogin/mplogin":"components/mplogin/mplogin","components/uview-ui/components/u-checkbox/u-checkbox":"components/uview-ui/components/u-checkbox/u-checkbox","components/uview-ui/components/u-form-item/u-form-item":"components/uview-ui/components/u-form-item/u-form-item","components/uview-ui/components/u-input/u-input":"components/uview-ui/components/u-input/u-input","components/uview-ui/components/u-form/u-form":"components/uview-ui/components/u-form/u-form","components/uview-ui/components/u-verification-code/u-verification-code":"components/uview-ui/components/u-verification-code/u-verification-code","components/uview-ui/components/u-parse/u-parse":"components/uview-ui/components/u-parse/u-parse","components/uview-ui/components/u-tag/u-tag":"components/uview-ui/components/u-tag/u-tag","components/cate-one/cate-one":"components/cate-one/cate-one","components/uview-ui/components/u-search/u-search":"components/uview-ui/components/u-search/u-search","components/price-format/price-format":"components/price-format/price-format","components/uview-ui/components/u-line/u-line":"components/uview-ui/components/u-line/u-line","components/uview-ui/components/u-popup/u-popup":"components/uview-ui/components/u-popup/u-popup","components/uview-ui/components/u-parse/libs/trees":"components/uview-ui/components/u-parse/libs/trees","components/shop-spec/shop-spec":"components/shop-spec/shop-spec","components/uview-ui/components/u-number-box/u-number-box":"components/uview-ui/components/u-number-box/u-number-box","components/uview-ui/components/u-mask/u-mask":"components/uview-ui/components/u-mask/u-mask"}[chunkId]||chunkId) + ".acss";
/******/ var href = "" + ({"components/uview-ui/components/u-button/u-button":"components/uview-ui/components/u-button/u-button","components/uview-ui/components/u-icon/u-icon":"components/uview-ui/components/u-icon/u-icon","components/uview-ui/components/u-image/u-image":"components/uview-ui/components/u-image/u-image","components/uview-ui/components/u-swiper/u-swiper":"components/uview-ui/components/u-swiper/u-swiper","components/mobile-login/mobile-login":"components/mobile-login/mobile-login","components/mplogin/mplogin":"components/mplogin/mplogin","components/uview-ui/components/u-checkbox/u-checkbox":"components/uview-ui/components/u-checkbox/u-checkbox","components/uview-ui/components/u-form-item/u-form-item":"components/uview-ui/components/u-form-item/u-form-item","components/uview-ui/components/u-input/u-input":"components/uview-ui/components/u-input/u-input","components/uview-ui/components/u-form/u-form":"components/uview-ui/components/u-form/u-form","components/uview-ui/components/u-verification-code/u-verification-code":"components/uview-ui/components/u-verification-code/u-verification-code","components/uview-ui/components/u-parse/u-parse":"components/uview-ui/components/u-parse/u-parse","components/uview-ui/components/u-tag/u-tag":"components/uview-ui/components/u-tag/u-tag","components/cate-one/cate-one":"components/cate-one/cate-one","components/uview-ui/components/u-search/u-search":"components/uview-ui/components/u-search/u-search","components/price-format/price-format":"components/price-format/price-format","components/shop-spec/shop-spec":"components/shop-spec/shop-spec","components/uview-ui/components/u-line/u-line":"components/uview-ui/components/u-line/u-line","components/uview-ui/components/u-popup/u-popup":"components/uview-ui/components/u-popup/u-popup","components/uview-ui/components/u-parse/libs/trees":"components/uview-ui/components/u-parse/libs/trees","components/uview-ui/components/u-number-box/u-number-box":"components/uview-ui/components/u-number-box/u-number-box","components/uview-ui/components/u-mask/u-mask":"components/uview-ui/components/u-mask/u-mask"}[chunkId]||chunkId) + ".acss";
/******/ var fullhref = __webpack_require__.p + href;
/******/ var existingLinkTags = document.getElementsByTagName("link");
/******/ for(var i = 0; i < existingLinkTags.length; i++) {

View File

@ -1 +1 @@
<view><view class="shop"><view><u-swiper vue-id="73c1ca54-1" list="{{list}}" height="500" border-radius="0" mode="number" indicator-pos="bottomRight" onVueInit="__l"></u-swiper></view><view class="bg-white mx24 px24 u-margin-top-24 u-padding-top-20 u-padding-bottom-20 br24"><view class="nr">煎饼果子套餐</view><view class="mt10 row u-row-between"><view class="row"><view class="primary"><price-format vue-id="73c1ca54-2" price="{{12.9}}" subscriptSize="{{22}}" firstSize="{{34}}" secondSize="{{26}}" onVueInit="__l"></price-format></view><view class="sale u-text-center primary u-margin-left-12">0折</view><view class="primary u-margin-left-12"><price-format vue-id="73c1ca54-3" lineThrough="{{true}}" color="#999" subscriptSize="{{22}}" firstSize="{{22}}" secondSize="{{22}}" price="{{16.9}}" onVueInit="__l"></price-format></view></view><view class="text-999">已售66</view></view><view class="u-margin-top-20 u-margin-bottom-20"><u-line vue-id="73c1ca54-4" color="#eee" onVueInit="__l"></u-line></view><view><view><text>须知</text><text class="text-999 ml20">周一至周日可用</text></view><view class="row-between mt20"><view><text>保障</text><text class="text-999 ml20">随时退 过期自动退</text></view><view><u-button vue-id="73c1ca54-5" hover-class="none" customStyle="{{({width:'116rpx',height:'46rpx',fontSize:'24rpx',backgroundColor:themeColor,color:'#fff',border:'none',paddingTop:'8rpx'})}}" hair-line="{{false}}" shape="circle" data-event-opts="{{[['^click',[['mpLogin']]]]}}" onClick="__e" onVueInit="__l" vue-slots="{{['default']}}">选规格</u-button></view></view></view></view><view class="u-m-t-24"><view class="u-margin-left-48 nr">详情</view><view class="bg-white mx24 px24 u-margin-top-24 u-padding-top-20 u-padding-bottom-20 br24"><u-image vue-id="73c1ca54-6" src="{{cloudPath+'img/banner.png'}}" height="600" onVueInit="__l"></u-image></view></view><view class="u-m-t-24"><view class="u-margin-left-48 nr">购买须知</view><view class="bg-white mx24 px24 u-margin-top-24 u-padding-top-20 u-padding-bottom-20 br24">这里是购买须知的内容</view></view></view><view class="fixed bg-white row-between px48 u-padding-top-20 u-padding-bottom-20"><view class="column u-text-center"><view class="row-center"><u-image vue-id="73c1ca54-7" src="{{cloudPath+'img/icon_store.png'}}" width="48" height="48" onVueInit="__l"></u-image></view><view>门店</view></view><view class="u-margin-left-64 flex1"><u-button vue-id="73c1ca54-8" hover-class="none" customStyle="{{({height:'92rpx',fontSize:'24rpx',backgroundColor:themeColor,color:'#fff',border:'none',paddingTop:'8rpx'})}}" hair-line="{{false}}" shape="circle" data-event-opts="{{[['^click',[['mpLogin']]]]}}" onClick="__e" onVueInit="__l" vue-slots="{{['default']}}">立即购买</u-button></view></view></view>
<view><view class="shop"><view><u-swiper vue-id="73c1ca54-1" list="{{list}}" height="500" border-radius="0" mode="number" indicator-pos="bottomRight" onVueInit="__l"></u-swiper></view><view class="bg-white mx24 px24 u-margin-top-24 u-padding-top-20 u-padding-bottom-20 br24"><view class="nr">煎饼果子套餐</view><view class="mt10 row u-row-between"><view class="row"><view class="primary"><price-format vue-id="73c1ca54-2" price="{{12.9}}" subscriptSize="{{22}}" firstSize="{{34}}" secondSize="{{26}}" onVueInit="__l"></price-format></view><view class="sale u-text-center primary u-margin-left-12">0折</view><view class="primary u-margin-left-12"><price-format vue-id="73c1ca54-3" lineThrough="{{true}}" color="#999" subscriptSize="{{22}}" firstSize="{{22}}" secondSize="{{22}}" price="{{16.9}}" onVueInit="__l"></price-format></view></view><view class="text-999">已售66</view></view><view class="u-margin-top-20 u-margin-bottom-20"><u-line vue-id="73c1ca54-4" color="#eee" onVueInit="__l"></u-line></view><view><view><text>须知</text><text class="text-999 ml20">周一至周日可用</text></view><view class="row-between mt20"><view><text>保障</text><text class="text-999 ml20">随时退 过期自动退</text></view><view><u-button vue-id="73c1ca54-5" hover-class="none" customStyle="{{({width:'116rpx',height:'46rpx',fontSize:'24rpx',backgroundColor:themeColor,color:'#fff',border:'none',paddingTop:'8rpx'})}}" hair-line="{{false}}" shape="circle" data-event-opts="{{[['^click',[['chooseSpec']]]]}}" onClick="__e" onVueInit="__l" vue-slots="{{['default']}}">选规格</u-button></view></view></view></view><view class="u-m-t-24"><view class="u-margin-left-48 nr">详情</view><view class="bg-white mx24 px24 u-margin-top-24 u-padding-top-20 u-padding-bottom-20 br24"><u-image vue-id="73c1ca54-6" src="{{cloudPath+'img/banner.png'}}" height="600" onVueInit="__l"></u-image></view></view><view class="u-m-t-24"><view class="u-margin-left-48 nr">购买须知</view><view class="bg-white mx24 px24 u-margin-top-24 u-padding-top-20 u-padding-bottom-20 br24">这里是购买须知的内容</view></view></view><view class="fixed bg-white row-between px48 u-padding-top-20 u-padding-bottom-20"><view class="column u-text-center"><view class="row-center"><u-image vue-id="73c1ca54-7" src="{{cloudPath+'img/icon_store.png'}}" width="48" height="48" onVueInit="__l"></u-image></view><view>门店</view></view><view class="u-margin-left-64 flex1"><u-button vue-id="73c1ca54-8" hover-class="none" customStyle="{{({height:'92rpx',fontSize:'24rpx',backgroundColor:themeColor,color:'#fff',border:'none',paddingTop:'8rpx'})}}" hair-line="{{false}}" shape="circle" onVueInit="__l" vue-slots="{{['default']}}">立即购买</u-button></view></view><shop-spec onClose="__e" onInput="__e" vue-id="73c1ca54-9" value="{{showSpec}}" data-event-opts="{{[['^close',[['e0']]],['^input',[['__set_model',['','showSpec','$event',[]]]]]]}}" onVueInit="__l"></shop-spec></view>

View File

@ -115,6 +115,9 @@ try {
uImage: function () {
return __webpack_require__.e(/*! import() | components/uview-ui/components/u-image/u-image */ "components/uview-ui/components/u-image/u-image").then(__webpack_require__.bind(null, /*! @/components/uview-ui/components/u-image/u-image.vue */ 181))
},
shopSpec: function () {
return __webpack_require__.e(/*! import() | components/shop-spec/shop-spec */ "components/shop-spec/shop-spec").then(__webpack_require__.bind(null, /*! @/components/shop-spec/shop-spec.vue */ 334))
},
}
} catch (e) {
if (
@ -137,6 +140,11 @@ var render = function () {
var _vm = this
var _h = _vm.$createElement
var _c = _vm._self._c || _h
if (!_vm._isMounted) {
_vm.e0 = function ($event) {
_vm.showSpec = false
}
}
}
var recyclableRender = false
var staticRenderFns = []
@ -258,6 +266,8 @@ exports.default = void 0;
//
//
//
//
//
var _default = {
data: function data() {
return {
@ -267,8 +277,14 @@ var _default = {
}, {
image: "http://jianbing-media.stnav.com/frontend/img/banner.png",
title: "身无彩凤双飞翼,心有灵犀一点通"
}]
}],
showSpec: false
};
},
methods: {
chooseSpec: function chooseSpec() {
this.showSpec = true;
}
}
};
exports.default = _default;

View File

@ -5,6 +5,7 @@
"price-format": "/components/price-format/price-format",
"u-line": "/components/uview-ui/components/u-line/u-line",
"u-button": "/components/uview-ui/components/u-button/u-button",
"u-image": "/components/uview-ui/components/u-image/u-image"
"u-image": "/components/uview-ui/components/u-image/u-image",
"shop-spec": "/components/shop-spec/shop-spec"
}
}

View File

@ -105,11 +105,11 @@
/******/
/******/
/******/ // mini-css-extract-plugin CSS loading
/******/ var cssChunks = {"components/uview-ui/components/u-button/u-button":1,"components/uview-ui/components/u-icon/u-icon":1,"components/uview-ui/components/u-image/u-image":1,"components/uview-ui/components/u-swiper/u-swiper":1,"components/mobile-login/mobile-login":1,"components/mplogin/mplogin":1,"components/uview-ui/components/u-checkbox/u-checkbox":1,"components/uview-ui/components/u-form-item/u-form-item":1,"components/uview-ui/components/u-input/u-input":1,"components/uview-ui/components/u-form/u-form":1,"components/uview-ui/components/u-verification-code/u-verification-code":1,"components/uview-ui/components/u-parse/u-parse":1,"components/uview-ui/components/u-tag/u-tag":1,"components/cate-one/cate-one":1,"components/uview-ui/components/u-search/u-search":1,"components/uview-ui/components/u-line/u-line":1,"components/uview-ui/components/u-popup/u-popup":1,"components/uview-ui/components/u-parse/libs/trees":1,"components/shop-spec/shop-spec":1,"components/uview-ui/components/u-number-box/u-number-box":1,"components/uview-ui/components/u-mask/u-mask":1};
/******/ var cssChunks = {"components/uview-ui/components/u-button/u-button":1,"components/uview-ui/components/u-icon/u-icon":1,"components/uview-ui/components/u-image/u-image":1,"components/uview-ui/components/u-swiper/u-swiper":1,"components/mobile-login/mobile-login":1,"components/mplogin/mplogin":1,"components/uview-ui/components/u-checkbox/u-checkbox":1,"components/uview-ui/components/u-form-item/u-form-item":1,"components/uview-ui/components/u-input/u-input":1,"components/uview-ui/components/u-form/u-form":1,"components/uview-ui/components/u-verification-code/u-verification-code":1,"components/uview-ui/components/u-parse/u-parse":1,"components/uview-ui/components/u-tag/u-tag":1,"components/cate-one/cate-one":1,"components/uview-ui/components/u-search/u-search":1,"components/shop-spec/shop-spec":1,"components/uview-ui/components/u-line/u-line":1,"components/uview-ui/components/u-popup/u-popup":1,"components/uview-ui/components/u-parse/libs/trees":1,"components/uview-ui/components/u-number-box/u-number-box":1,"components/uview-ui/components/u-mask/u-mask":1};
/******/ if(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);
/******/ else if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {
/******/ promises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {
/******/ var href = "" + ({"components/uview-ui/components/u-button/u-button":"components/uview-ui/components/u-button/u-button","components/uview-ui/components/u-icon/u-icon":"components/uview-ui/components/u-icon/u-icon","components/uview-ui/components/u-image/u-image":"components/uview-ui/components/u-image/u-image","components/uview-ui/components/u-swiper/u-swiper":"components/uview-ui/components/u-swiper/u-swiper","components/mobile-login/mobile-login":"components/mobile-login/mobile-login","components/mplogin/mplogin":"components/mplogin/mplogin","components/uview-ui/components/u-checkbox/u-checkbox":"components/uview-ui/components/u-checkbox/u-checkbox","components/uview-ui/components/u-form-item/u-form-item":"components/uview-ui/components/u-form-item/u-form-item","components/uview-ui/components/u-input/u-input":"components/uview-ui/components/u-input/u-input","components/uview-ui/components/u-form/u-form":"components/uview-ui/components/u-form/u-form","components/uview-ui/components/u-verification-code/u-verification-code":"components/uview-ui/components/u-verification-code/u-verification-code","components/uview-ui/components/u-parse/u-parse":"components/uview-ui/components/u-parse/u-parse","components/uview-ui/components/u-tag/u-tag":"components/uview-ui/components/u-tag/u-tag","components/cate-one/cate-one":"components/cate-one/cate-one","components/uview-ui/components/u-search/u-search":"components/uview-ui/components/u-search/u-search","components/price-format/price-format":"components/price-format/price-format","components/uview-ui/components/u-line/u-line":"components/uview-ui/components/u-line/u-line","components/uview-ui/components/u-popup/u-popup":"components/uview-ui/components/u-popup/u-popup","components/uview-ui/components/u-parse/libs/trees":"components/uview-ui/components/u-parse/libs/trees","components/shop-spec/shop-spec":"components/shop-spec/shop-spec","components/uview-ui/components/u-number-box/u-number-box":"components/uview-ui/components/u-number-box/u-number-box","components/uview-ui/components/u-mask/u-mask":"components/uview-ui/components/u-mask/u-mask"}[chunkId]||chunkId) + ".wxss";
/******/ var href = "" + ({"components/uview-ui/components/u-button/u-button":"components/uview-ui/components/u-button/u-button","components/uview-ui/components/u-icon/u-icon":"components/uview-ui/components/u-icon/u-icon","components/uview-ui/components/u-image/u-image":"components/uview-ui/components/u-image/u-image","components/uview-ui/components/u-swiper/u-swiper":"components/uview-ui/components/u-swiper/u-swiper","components/mobile-login/mobile-login":"components/mobile-login/mobile-login","components/mplogin/mplogin":"components/mplogin/mplogin","components/uview-ui/components/u-checkbox/u-checkbox":"components/uview-ui/components/u-checkbox/u-checkbox","components/uview-ui/components/u-form-item/u-form-item":"components/uview-ui/components/u-form-item/u-form-item","components/uview-ui/components/u-input/u-input":"components/uview-ui/components/u-input/u-input","components/uview-ui/components/u-form/u-form":"components/uview-ui/components/u-form/u-form","components/uview-ui/components/u-verification-code/u-verification-code":"components/uview-ui/components/u-verification-code/u-verification-code","components/uview-ui/components/u-parse/u-parse":"components/uview-ui/components/u-parse/u-parse","components/uview-ui/components/u-tag/u-tag":"components/uview-ui/components/u-tag/u-tag","components/cate-one/cate-one":"components/cate-one/cate-one","components/uview-ui/components/u-search/u-search":"components/uview-ui/components/u-search/u-search","components/price-format/price-format":"components/price-format/price-format","components/shop-spec/shop-spec":"components/shop-spec/shop-spec","components/uview-ui/components/u-line/u-line":"components/uview-ui/components/u-line/u-line","components/uview-ui/components/u-popup/u-popup":"components/uview-ui/components/u-popup/u-popup","components/uview-ui/components/u-parse/libs/trees":"components/uview-ui/components/u-parse/libs/trees","components/uview-ui/components/u-number-box/u-number-box":"components/uview-ui/components/u-number-box/u-number-box","components/uview-ui/components/u-mask/u-mask":"components/uview-ui/components/u-mask/u-mask"}[chunkId]||chunkId) + ".wxss";
/******/ var fullhref = __webpack_require__.p + href;
/******/ var existingLinkTags = document.getElementsByTagName("link");
/******/ for(var i = 0; i < existingLinkTags.length; i++) {

View File

@ -115,6 +115,9 @@ try {
uImage: function () {
return __webpack_require__.e(/*! import() | components/uview-ui/components/u-image/u-image */ "components/uview-ui/components/u-image/u-image").then(__webpack_require__.bind(null, /*! @/components/uview-ui/components/u-image/u-image.vue */ 185))
},
shopSpec: function () {
return __webpack_require__.e(/*! import() | components/shop-spec/shop-spec */ "components/shop-spec/shop-spec").then(__webpack_require__.bind(null, /*! @/components/shop-spec/shop-spec.vue */ 340))
},
}
} catch (e) {
if (
@ -137,6 +140,11 @@ var render = function () {
var _vm = this
var _h = _vm.$createElement
var _c = _vm._self._c || _h
if (!_vm._isMounted) {
_vm.e0 = function ($event) {
_vm.showSpec = false
}
}
}
var recyclableRender = false
var staticRenderFns = []
@ -258,6 +266,8 @@ exports.default = void 0;
//
//
//
//
//
var _default = {
data: function data() {
return {
@ -267,8 +277,14 @@ var _default = {
}, {
image: "http://jianbing-media.stnav.com/frontend/img/banner.png",
title: "身无彩凤双飞翼,心有灵犀一点通"
}]
}],
showSpec: false
};
},
methods: {
chooseSpec: function chooseSpec() {
this.showSpec = true;
}
}
};
exports.default = _default;

View File

@ -5,6 +5,7 @@
"price-format": "/components/price-format/price-format",
"u-line": "/components/uview-ui/components/u-line/u-line",
"u-button": "/components/uview-ui/components/u-button/u-button",
"u-image": "/components/uview-ui/components/u-image/u-image"
"u-image": "/components/uview-ui/components/u-image/u-image",
"shop-spec": "/components/shop-spec/shop-spec"
}
}

View File

@ -1 +1 @@
<view><view class="shop"><view><u-swiper vue-id="73adca00-1" list="{{list}}" height="500" border-radius="0" mode="number" indicator-pos="bottomRight" bind:__l="__l"></u-swiper></view><view class="bg-white mx24 px24 u-margin-top-24 u-padding-top-20 u-padding-bottom-20 br24"><view class="nr">煎饼果子套餐</view><view class="mt10 row u-row-between"><view class="row"><view class="primary"><price-format vue-id="73adca00-2" price="{{12.9}}" subscriptSize="{{22}}" firstSize="{{34}}" secondSize="{{26}}" bind:__l="__l"></price-format></view><view class="sale u-text-center primary u-margin-left-12">0折</view><view class="primary u-margin-left-12"><price-format vue-id="73adca00-3" lineThrough="{{true}}" color="#999" subscriptSize="{{22}}" firstSize="{{22}}" secondSize="{{22}}" price="{{16.9}}" bind:__l="__l"></price-format></view></view><view class="text-999">已售66</view></view><view class="u-margin-top-20 u-margin-bottom-20"><u-line vue-id="73adca00-4" color="#eee" bind:__l="__l"></u-line></view><view><view><text>须知</text><text class="text-999 ml20">周一至周日可用</text></view><view class="row-between mt20"><view><text>保障</text><text class="text-999 ml20">随时退 过期自动退</text></view><view><u-button vue-id="73adca00-5" hover-class="none" customStyle="{{({width:'116rpx',height:'46rpx',fontSize:'24rpx',backgroundColor:themeColor,color:'#fff',border:'none',paddingTop:'8rpx'})}}" hair-line="{{false}}" shape="circle" data-event-opts="{{[['^click',[['mpLogin']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">选规格</u-button></view></view></view></view><view class="u-m-t-24"><view class="u-margin-left-48 nr">详情</view><view class="bg-white mx24 px24 u-margin-top-24 u-padding-top-20 u-padding-bottom-20 br24"><u-image vue-id="73adca00-6" src="{{cloudPath+'img/banner.png'}}" height="600" bind:__l="__l"></u-image></view></view><view class="u-m-t-24"><view class="u-margin-left-48 nr">购买须知</view><view class="bg-white mx24 px24 u-margin-top-24 u-padding-top-20 u-padding-bottom-20 br24">这里是购买须知的内容</view></view></view><view class="fixed bg-white row-between px48 u-padding-top-20 u-padding-bottom-20"><view class="column u-text-center"><view class="row-center"><u-image vue-id="73adca00-7" src="{{cloudPath+'img/icon_store.png'}}" width="48" height="48" bind:__l="__l"></u-image></view><view>门店</view></view><view class="u-margin-left-64 flex1"><u-button vue-id="73adca00-8" hover-class="none" customStyle="{{({height:'92rpx',fontSize:'24rpx',backgroundColor:themeColor,color:'#fff',border:'none',paddingTop:'8rpx'})}}" hair-line="{{false}}" shape="circle" data-event-opts="{{[['^click',[['mpLogin']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">立即购买</u-button></view></view></view>
<view><view class="shop"><view><u-swiper vue-id="73adca00-1" list="{{list}}" height="500" border-radius="0" mode="number" indicator-pos="bottomRight" bind:__l="__l"></u-swiper></view><view class="bg-white mx24 px24 u-margin-top-24 u-padding-top-20 u-padding-bottom-20 br24"><view class="nr">煎饼果子套餐</view><view class="mt10 row u-row-between"><view class="row"><view class="primary"><price-format vue-id="73adca00-2" price="{{12.9}}" subscriptSize="{{22}}" firstSize="{{34}}" secondSize="{{26}}" bind:__l="__l"></price-format></view><view class="sale u-text-center primary u-margin-left-12">0折</view><view class="primary u-margin-left-12"><price-format vue-id="73adca00-3" lineThrough="{{true}}" color="#999" subscriptSize="{{22}}" firstSize="{{22}}" secondSize="{{22}}" price="{{16.9}}" bind:__l="__l"></price-format></view></view><view class="text-999">已售66</view></view><view class="u-margin-top-20 u-margin-bottom-20"><u-line vue-id="73adca00-4" color="#eee" bind:__l="__l"></u-line></view><view><view><text>须知</text><text class="text-999 ml20">周一至周日可用</text></view><view class="row-between mt20"><view><text>保障</text><text class="text-999 ml20">随时退 过期自动退</text></view><view><u-button vue-id="73adca00-5" hover-class="none" customStyle="{{({width:'116rpx',height:'46rpx',fontSize:'24rpx',backgroundColor:themeColor,color:'#fff',border:'none',paddingTop:'8rpx'})}}" hair-line="{{false}}" shape="circle" data-event-opts="{{[['^click',[['chooseSpec']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">选规格</u-button></view></view></view></view><view class="u-m-t-24"><view class="u-margin-left-48 nr">详情</view><view class="bg-white mx24 px24 u-margin-top-24 u-padding-top-20 u-padding-bottom-20 br24"><u-image vue-id="73adca00-6" src="{{cloudPath+'img/banner.png'}}" height="600" bind:__l="__l"></u-image></view></view><view class="u-m-t-24"><view class="u-margin-left-48 nr">购买须知</view><view class="bg-white mx24 px24 u-margin-top-24 u-padding-top-20 u-padding-bottom-20 br24">这里是购买须知的内容</view></view></view><view class="fixed bg-white row-between px48 u-padding-top-20 u-padding-bottom-20"><view class="column u-text-center"><view class="row-center"><u-image vue-id="73adca00-7" src="{{cloudPath+'img/icon_store.png'}}" width="48" height="48" bind:__l="__l"></u-image></view><view>门店</view></view><view class="u-margin-left-64 flex1"><u-button vue-id="73adca00-8" hover-class="none" customStyle="{{({height:'92rpx',fontSize:'24rpx',backgroundColor:themeColor,color:'#fff',border:'none',paddingTop:'8rpx'})}}" hair-line="{{false}}" shape="circle" bind:__l="__l" vue-slots="{{['default']}}">立即购买</u-button></view></view><shop-spec bind:close="__e" bind:input="__e" vue-id="73adca00-9" value="{{showSpec}}" data-event-opts="{{[['^close',[['e0']]],['^input',[['__set_model',['','showSpec','$event',[]]]]]]}}" bind:__l="__l"></shop-spec></view>