This commit is contained in:
duan 2024-11-01 17:46:59 +08:00
commit 1528469d88
3 changed files with 10 additions and 10 deletions

View File

@ -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) {
// //

View File

@ -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>
<up-switch :size="18" v-model="isBindGuige" :disabled="!isSku">绑定至规格</up-switch> <view class="u-flex u-relative">
<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>

View File

@ -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;