【模版目录】更新移动端源码

This commit is contained in:
吴昊天 2022-11-29 10:09:02 +08:00
parent 706110423a
commit a33da0ba1e
6 changed files with 11 additions and 10 deletions

View File

@ -91,7 +91,7 @@
// #endif
},
videoIsPause() {
console.log('stop')
this.videoContext = uni.createVideoContext('myVideo', this);
this.videoContext.pause();
},
bindPause: function() {

View File

@ -53,8 +53,8 @@
</scroll-view>
</view>
</view>
<!-- <tabBar v-if="!is_diy" :pagePath="'/pages/goods_cate/goods_cate'"></tabBar> -->
<view class="foot" v-if="newData.menuList && newData.menuList.length">
<tabBar v-if="!is_diy" :pagePath="'/pages/goods_cate/goods_cate'"></tabBar>
<view class="foot" v-if="is_diy && newData.menuList && newData.menuList.length">
<view class="page-footer" id="target" :style="{'background-color':newData.bgColor.color[0].item}">
<view class="foot-item" v-for="(item,index) in newData.menuList" :key="index" @click="goRouter(item)">
<block v-if="item.link == activeRouter">

View File

@ -830,7 +830,6 @@
);
},
scroll(e) {
this.$refs.proSwiper.videoPause()
var that = this,
scrollY = e.detail.scrollTop;
var opacity = scrollY / 200;
@ -840,6 +839,7 @@
that.$set(that, "showAnimate", false);
that.$set(that, "showMenuIcon", false);
that.$set(that, 'currentPage', false);
this.$refs.proSwiper.videoIsPause()
if (that.lock) {
that.$set(that, "lock", false);
return;
@ -1213,6 +1213,7 @@
this.$set(productAttr[i], "index", value[i]);
}
//sort();排序函数:数字-英文-汉字;
let productSelect = this.productValue[value.join(",")];
if (productSelect && productAttr.length) {
this.$set(

View File

@ -144,8 +144,8 @@
<!-- <view class="uni-p-b-96"></view> -->
<view class="uni-p-b-98"></view>
<!-- <pageFooter :countNum="cartCount"></pageFooter> -->
<!-- <tabBar v-if="!is_diy" :pagePath="'/pages/order_addcart/order_addcart'"></tabBar> -->
<view class="foot" v-if="newData.menuList && newData.menuList.length">
<tabBar v-if="!is_diy" :pagePath="'/pages/order_addcart/order_addcart'"></tabBar>
<view class="foot" v-if="is_diy && newData.menuList && newData.menuList.length">
<view class="page-footer" id="target" :style="{'background-color':newData.bgColor.color[0].item}">
<view class="foot-item" v-for="(item,index) in newData.menuList" :key="index" @click="goRouter(item)">
<block v-if="item.link == activeRouter">

View File

@ -272,8 +272,8 @@
<view class="uni-p-b-98"></view>
</scroll-view>
</view>
<!-- <tabBar v-if="!is_diy" :pagePath="'/pages/user/index'"></tabBar> -->
<view class="foot" v-if="newData.menuList && newData.menuList.length">
<tabBar v-if="!is_diy" :pagePath="'/pages/user/index'"></tabBar>
<view class="foot" v-if="is_diy && newData.menuList && newData.menuList.length">
<view class="page-footer" id="target" :style="{'background-color':newData.bgColor.color[0].item}">
<view class="foot-item" v-for="(item,index) in newData.menuList" :key="index" @click="goRouter(item)">
<block v-if="item.link == activeRouter">

View File

@ -166,14 +166,14 @@
});
that.district[this.valueRegion[0]].c.forEach((item, i) => {
if (this.region[1] == item.c) {
this.valueRegio[1] = i
this.valueRegion[1] = i
this.multiIndex[1] = i
}
city.push(item.n);
});
that.district[this.valueRegion[0]].c[this.valueRegion[1]].c.forEach((item, i) => {
if (this.region[2] == item.c) {
this.valueRegio[2] = i
this.valueRegion[2] = i
this.multiIndex[2] = i
}
area.push(item.n);