Просмотр исходного кода

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

吴昊天 3 лет назад
Родитель
Сommit
a33da0ba1e

+ 1 - 1
template/uni-app/components/productConSwiper/index.vue

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

+ 2 - 2
template/uni-app/pages/goods_cate/goods_cate1.vue

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

+ 2 - 1
template/uni-app/pages/goods_details/index.vue

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

+ 2 - 2
template/uni-app/pages/order_addcart/order_addcart.vue

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

+ 2 - 2
template/uni-app/pages/user/index.vue

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

+ 2 - 2
template/uni-app/pages/users/user_address/index.vue

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