Merge branch 'dev_1.0.0' of https://e.coding.net/g-cphe0354/cashier_front/cashier_admin_app into dev_1.0.0
This commit is contained in:
commit
1528469d88
3
App.vue
3
App.vue
|
|
@ -10,9 +10,6 @@ App.vue本身不是页面,这里不能编写视图元素,也就是没有<tem
|
||||||
onLaunch(() => {
|
onLaunch(() => {
|
||||||
uni.hideTabBar()
|
uni.hideTabBar()
|
||||||
// #ifdef MP-WEIXIN
|
// #ifdef MP-WEIXIN
|
||||||
uni.setInnerAudioOption({
|
|
||||||
obeyMuteSwitch: false
|
|
||||||
});
|
|
||||||
const updateManager = wx.getUpdateManager() // 小程序版本更新管理器
|
const updateManager = wx.getUpdateManager() // 小程序版本更新管理器
|
||||||
updateManager.onCheckForUpdate(function(res) {
|
updateManager.onCheckForUpdate(function(res) {
|
||||||
// 请求完新版本信息的回调
|
// 请求完新版本信息的回调
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,11 @@
|
||||||
<!-- <template v-if="isSku"> -->
|
<!-- <template v-if="isSku"> -->
|
||||||
<view class="u-flex u-font-24 color-666">
|
<view class="u-flex u-font-24 color-666">
|
||||||
<view class="u-m-r-20">绑定至规格</view>
|
<view class="u-m-r-20">绑定至规格</view>
|
||||||
|
<view class="u-flex u-relative">
|
||||||
<up-switch :size="18" v-model="isBindGuige" :disabled="!isSku">绑定至规格</up-switch>
|
<up-switch :size="18" v-model="isBindGuige" :disabled="!isSku">绑定至规格</up-switch>
|
||||||
|
<view class="u-absolute position-all" style="z-index: 1;" v-if="!isSku"
|
||||||
|
@click="infoBox.showToast('该商品是单规格商品,只有多规格商品可绑定至规格',3)"></view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- </template> -->
|
<!-- </template> -->
|
||||||
</view>
|
</view>
|
||||||
|
|
|
||||||
|
|
@ -22,9 +22,9 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="u-flex u-row-center">
|
<view class="u-flex u-row-center">
|
||||||
<view class="">¥{{totalRevenuedata}}</view>
|
<view class="">¥{{((totalRevenuedata||0)*1).toFixed(2)}}</view>
|
||||||
</view>
|
</view>
|
||||||
<view>{{shopName}}</view>
|
<view>{{shopName||''}}</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- 统计 or 快捷扫码 -->
|
<!-- 统计 or 快捷扫码 -->
|
||||||
<!-- <Stats ref="statsRef" /> -->
|
<!-- <Stats ref="statsRef" /> -->
|
||||||
|
|
@ -358,12 +358,11 @@
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.income {
|
.income {
|
||||||
/* #ifdef MP-WEIXIN */
|
|
||||||
padding-top: calc(84rpx + 44px);
|
|
||||||
/* #endif */
|
|
||||||
/* #ifdef H5 */
|
/* #ifdef H5 */
|
||||||
padding-top: calc(84rpx);
|
padding-top: calc(84rpx);
|
||||||
|
/* #endif */
|
||||||
|
/* #ifndef H5 */
|
||||||
|
padding-top: calc(84rpx + 44px);
|
||||||
/* #endif */
|
/* #endif */
|
||||||
>view {
|
>view {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue