Browse Source

修改问题

hejie 3 years ago
parent
commit
3e6313bfa5

+ 2 - 2
src/pages/index/index.vue

@@ -87,7 +87,7 @@ export default {
                  {name: "零售区", url: "https://teaclub.oss-cn-chengdu.aliyuncs.com/menu/cart.png", type:1},
                  {name: "零售区", url: "https://teaclub.oss-cn-chengdu.aliyuncs.com/menu/cart.png", type:1},
                  {name: "批发区", url: "https://teaclub.oss-cn-chengdu.aliyuncs.com/menu/wholesale.png", type:2},
                  {name: "批发区", url: "https://teaclub.oss-cn-chengdu.aliyuncs.com/menu/wholesale.png", type:2},
                  {name: "精品优选", url: "https://teaclub.oss-cn-chengdu.aliyuncs.com/menu/preferred.png", type:3},
                  {name: "精品优选", url: "https://teaclub.oss-cn-chengdu.aliyuncs.com/menu/preferred.png", type:3},
-                 {name: "积分兑换", url: "https://teaclub.oss-cn-chengdu.aliyuncs.com/menu/integral.png", type:5}
+                 {name: "茶宝兑换", url: "https://teaclub.oss-cn-chengdu.aliyuncs.com/menu/integral.png", type:5}
             ],
             ],
             spc_list: [
             spc_list: [
                 {url: "https://teaclub.oss-cn-chengdu.aliyuncs.com/ShuZiTea/ShuZiTeaHT/202210/f70cd8e0-e468-45eb-a9f7-2c42713cd607.jpg"},
                 {url: "https://teaclub.oss-cn-chengdu.aliyuncs.com/ShuZiTea/ShuZiTeaHT/202210/f70cd8e0-e468-45eb-a9f7-2c42713cd607.jpg"},
@@ -174,7 +174,7 @@ export default {
                 this.goto('/pages/product/productRetail',{type:item.type})
                 this.goto('/pages/product/productRetail',{type:item.type})
             }
             }
             else if(item.type == 5){
             else if(item.type == 5){
-                this.goto('/pages/product/productRetail',{type:item.type})
+                this.goto('/pages/product/productTeaBaby',{type:item.type})
             }
             }
             else{
             else{
                 appEv.errTips('此功能暂未开放!')
                 appEv.errTips('此功能暂未开放!')

+ 1 - 1
src/pages/product/p_details.vue

@@ -19,7 +19,7 @@
 			<view class="price" :class="type == 2 ? 'samll' : ''">¥{{type == 2 ?detail.trade_price:detail.cost_price}}</view>
 			<view class="price" :class="type == 2 ? 'samll' : ''">¥{{type == 2 ?detail.trade_price:detail.cost_price}}</view>
 			<view class="price_span flex_r flex_ac flex_je">
 			<view class="price_span flex_r flex_ac flex_je">
 				<view class="triangle"></view>
 				<view class="triangle"></view>
-				<view class="span_conten flex_r flex_ac flex_jc">{{goodsDa.type == 1 ? "零售专区" : goodsDa.type == 2 ? "批发专区" : goodsDa.type == 3 ? "精品专区" : "今日值买"}}</view>
+				<view class="span_conten flex_r flex_ac flex_jc">{{goodsDa.type == 1 ? "零售专区" : goodsDa.type == 2 ? "批发专区" : goodsDa.type == 3 ? "精品专区" : goodsDa.type == 4 ? "今日值买" : goodsDa.type == 5 ? "茶宝兑换" : ''}}</view>
 			</view>
 			</view>
 		</view>
 		</view>
 		<!-- 价格信息栏-end -->
 		<!-- 价格信息栏-end -->

+ 3 - 27
src/pages/product/prodectTeaBaby.vue → src/pages/product/productTeaBaby.vue

@@ -8,39 +8,15 @@
                     <view class="info_title">{{item.goods_name}}</view>
                     <view class="info_title">{{item.goods_name}}</view>
                     <!-- <view class="info_msg ellipsis">{{item.goodsMsg}}</view> -->
                     <!-- <view class="info_msg ellipsis">{{item.goodsMsg}}</view> -->
                     <view class="info_option flex_r flex_ac flex_jb">
                     <view class="info_option flex_r flex_ac flex_jb">
-                        <view class="info_price"><text>¥</text>{{item.price}}</view>
+                        <view class="info_price">{{item.price}} <text>茶宝</text></view>
                         <!-- <image class="info_cart" src="/static/cart.png" mode="" @tap.stop="OpenShopping(index)"></image> -->
                         <!-- <image class="info_cart" src="/static/cart.png" mode="" @tap.stop="OpenShopping(index)"></image> -->
                     </view>
                     </view>
-                    <view class="info_hint">赠送{{item.give_integral ? item.give_integral + '批发积分' : item.give_cha_bao + '茶宝'}}</view>
+                    <!-- <view class="info_hint">赠送{{item.give_integral ? item.give_integral + '批发积分' : item.give_cha_bao + '茶宝'}}</view> -->
                 </view>
                 </view>
             </view>
             </view>
         </view>
         </view>
         <!-- 商品列表-end -->
         <!-- 商品列表-end -->
-        <!-- 购买或加入购物车弹窗 -->
-        <uni-popup ref="shopping" type="bottom">
-            <view class="shopping">
-                <view class="close_con flex_r flex_je">
-                    <image class="close_img" src="/static/close.png" @tap="closeBtn" mode=""></image>
-                </view>
-                <view class="goods_infos flex_r">
-                    <image class="goods_imgs" :src="goodsIndex.goodsThumbnailUrl" mode=""></image>
-                    <view class="goods_cons flex_c flex_jb">
-                        <view class="shop_names">{{goodsIndex.goodsName}}</view>
-                        <view class="goods_msg">{{'¥' + goodsIndex.price}}</view>
-                        <view class="num_con flex_r flex_je">
-                            <uni-number-box :min="1" @change="bindChange" :value="buyNum"></uni-number-box>
-                        </view>
-                    </view>
-                </view>
-                <checkbox-group class="flex_r flex_ac flex_jc" @change="checkboxChange">
-                    <label class="option_box">
-                        <checkbox value="1" :checked="checked" color="#2DB389" style="transform:scale(0.7)" /> 我已阅读同意<text @tap.stop="getProPage">《购买协议》</text>
-                    </label>
-                </checkbox-group>
-                <view class="confim flex_r flex_ac flex_jc" @tap="ToPayPage">确定</view>
-            </view>
-        </uni-popup>
-        <!-- 购买或加入购物车弹窗-end -->
+
     </view>
     </view>
 </template>
 </template>
 <script>
 <script>