Browse Source

2024/11/5

xiaol 2 weeks ago
parent
commit
d0c73db317
3 changed files with 6 additions and 7 deletions
  1. 5 6
      pages/goods/index.vue
  2. 1 1
      unpackage/dist/build/web/index.html
  3. BIN
      unpackage/dist/build/web/web.zip

+ 5 - 6
pages/goods/index.vue

@@ -240,12 +240,10 @@
 			<view class="pop-bg" @tap="tapPopClose"></view>
 			<view class="pop-win-inner">
 				<view class="pop-win-body">
-				
 					<view class="fx-r">
 						<view class="pop-win-bg">
 							<image @tap="tapPhone2" :src="selData.img"></image>
 						</view>
-						
 						<view class="pop-win-lg">
 							<view class="pop-win-lg-title">{{data.title}}</view>
 							<view class="pop-win-log-price"><text>¥</text>{{selData.commission}}</view>
@@ -274,15 +272,15 @@
 					
 					<view class="buy fx-r fx-bc fx-ac">
 						<view class="fx-g1">数量</view>
-						<view class="fx-r" v-if="data.is_package == 0">
+						<view class="fx-r">
 							<button @tap="tapAdCount(-1)" class="nt buy-ad-btn jdd">-</button>
 							<input type="number" v-model="selData.count" @input="tapInput"  class="buy-input"/>
 							<button @tap="tapAdCount(1)" class="nt buy-ad-btn add">+</button>
 						</view>
 						
-						<view class="fx-r" v-else>
+					<!-- 	<view class="fx-r" v-else>
 							x{{ selData.count }}
-						</view>
+						</view> -->
 					</view>
 					
 				</view>
@@ -451,7 +449,7 @@
 			 */
 			tapBuy:function(){
 				if(this.user == null) {
-					uni.navigateTo({ url:"../login/login"});
+					uni.navigateTo({ url:"/pages/login/index"});
 					return;
 				}
 				buyType = "buy";	
@@ -573,6 +571,7 @@
 						uni.hideLoading();
 						if(res.code == 200) {
 							this.data = res.data;
+							console.log(this.data,'this.data')
 							var sku = [];
 							this.selData = {
 								title : res.data.title,

+ 1 - 1
unpackage/dist/build/web/index.html

@@ -1,5 +1,5 @@
 <!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>CBB</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
-            document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/h5/static/index.2da1efab.css><script src=https://cn-shanghai-aliyun-cloudauth.oss-cn-shanghai.aliyuncs.com/web_sdk_js/jsvm_all.js></script><script src="https://cstaticdun.126.net/load.min.js?t=201903281201"></script></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><script src="https://cstaticdun.126.net/load.min.js?t=201903281201"></script><div id=app></div><script src=/h5/static/js/chunk-vendors.8d8331a6.js></script><script src=/h5/static/js/index.e4ab670d.js></script></body></html><script>if(("standalone" in window.navigator) && window.navigator.standalone){
+            document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/h5/static/index.2da1efab.css><script src=https://cn-shanghai-aliyun-cloudauth.oss-cn-shanghai.aliyuncs.com/web_sdk_js/jsvm_all.js></script><script src="https://cstaticdun.126.net/load.min.js?t=201903281201"></script></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><script src="https://cstaticdun.126.net/load.min.js?t=201903281201"></script><div id=app></div><script src=/h5/static/js/chunk-vendors.8d8331a6.js></script><script src=/h5/static/js/index.1798139e.js></script></body></html><script>if(("standalone" in window.navigator) && window.navigator.standalone){
 	var noddy, remotes = false;
 	document.addEventListener('click', function(event) {
 		noddy = event.target;

BIN
unpackage/dist/build/web/web.zip