1. LOGO logo

        需求 開發(fā) 交付;每一步修改到滿意后在付款。

        下載到桌面 免費(fèi)獲取解決方案
        當(dāng)前位置: 網(wǎng)站建設(shè)/ 微信小程序制作/ 微信小程序制作分享商城中商品詳情頁(yè)設(shè)計(jì)及代碼

        微信小程序制作分享商城中商品詳情頁(yè)設(shè)計(jì)及代碼

        日期:2021-04-21 13:53 瀏覽量:5624

        微信小程序制作分享商城中商品詳情頁(yè)設(shè)計(jì)及代碼,商城詳情功能包括:頂部輪播圖(點(diǎn)擊可查看大圖),商品基本信息,商品評(píng)價(jià)展示,商品詳情介紹,加入購(gòu)物及立即購(gòu)買功能。


        商品詳情


        wxml:

        <swiper class="m1" indicator-dots="true" indicator-active-color="#fff" autoplay="true" interval="3500"
          style="height:{{windowWidth + 'px'}}">
          <swiper-item>
            <image src="/image/a2.jpg" mode="aspectFill" bindtap="previewImage"></image>
          </swiper-item>
          <swiper-item>
            <image src="/image/a3.jpg" mode="aspectFill" bindtap="previewImage"></image>
          </swiper-item>
        </swiper>
        
        <view class="m2">
          <view class="v1">標(biāo)題標(biāo)題標(biāo)題標(biāo)題標(biāo)題題標(biāo)題</view>
          <view class="v2">簡(jiǎn)介簡(jiǎn)介簡(jiǎn)介簡(jiǎn)介簡(jiǎn)介簡(jiǎn)介簡(jiǎn)介簡(jiǎn)介簡(jiǎn)介簡(jiǎn)介簡(jiǎn)介簡(jiǎn)介簡(jiǎn)介簡(jiǎn)介簡(jiǎn)介簡(jiǎn)介簡(jiǎn)介簡(jiǎn)介簡(jiǎn)介</view>
          <view class="v3">
            <view class="z"><text class="t1">¥</text>38.5<text class="t2">/1.5kg</text></view>
            <text class="y">已售 4521</text>
          </view>
        </view>
        
        <view class="bg-bank" style="margin-top:10px;"></view>
        
        <navigator class="m3" url="" hover-class="none">
          <text class="t1">商品評(píng)價(jià)(78)</text>
          <image src="/image/a5.png"></image>
        </navigator>
        <view class="m4">
          <view class="user">
            <image src="/image/a1.jpg"></image>
            <view class="name">
              <view class="t">
                <text class="z">張三</text>
                <text class="y">2020.12.10 10:25</text>
              </view>
              <view class="fen">
                <van-rate value="{{5}}" size="{{16}}" color="#ffca01" void-color="#eee" void-icon="star" readonly />
              </view>
            </view>
          </view>
          <view class="content">評(píng)價(jià)的內(nèi)容評(píng)價(jià)的內(nèi)容評(píng)價(jià)的內(nèi)容評(píng)價(jià)的內(nèi)容評(píng)價(jià)的內(nèi)容</view>
          <view class="img">
            <image src="/image/a1.jpg" mode="aspectFill" bindtap='imgView' data-url="/image/a1.jpg"></image>
            <image src="/image/a1.jpg" mode="aspectFill" bindtap='imgView' data-url="/image/a1.jpg"></image>
            <image src="/image/a1.jpg" mode="aspectFill" bindtap='imgView' data-url="/image/a1.jpg"></image>
          </view>
          <view class="reply">
            <text>回復(fù):</text>回復(fù)內(nèi)容回復(fù)內(nèi)容回復(fù)內(nèi)內(nèi)容
          </view>
        </view>
        
        <view class="m5">
          <navigator url="" hover-class="none">查看全部評(píng)價(jià)</navigator>
        </view>
        
        <view class="bg-bank" style="margin-top:10px;"></view>
        
        <view class="m6">
          <rich-text class="content" type="text" nodes="{{content}}"></rich-text>
        </view>
        
        
        <van-goods-action>
          <van-goods-action-icon icon="shop-o" text="首頁(yè)" url="/pages/index/index" link-type="switchTab" />
          <van-goods-action-icon icon="cart-o" text="購(gòu)物車" info="5" url="/pages/cart/index" link-type="switchTab" />
          <van-goods-action-icon icon="chat-o" text="客服" open-type="contact" />
          <van-goods-action-button color="linear-gradient(to right, #b2d22c, #72ba26)" text="加入購(gòu)物車" />
          <van-goods-action-button color="#22991e"  text="立即購(gòu)買" />
        </van-goods-action>


        wxss樣式:

        .m1{background:#fff;width:100%;overflow:hidden;}
        .m1 swiper-item{width:100%;height:100%;}
        .m1 swiper-item image{width:100%;height:100%;display:block;}
        
        .m2{width:auto;margin:16px 15px 0px;overflow: hidden;}
        .m2 .v1{width:100%;font-size:18px;color:#000;font-weight: 500;}
        .m2 .v2{width:100%;margin-top:5px;font-size:12px;color:#898989;}
        .m2 .v3{width:100%;margin-top:10px;height:30px;line-height: 30px;}
        .m2 .v3 .z{width:auto;float:left;font-size:24px;font-weight: 500;color:#e3554b;}
        .m2 .v3 .z .t1{font-size:12px;}
        .m2 .v3 .z .t2{font-size:12px;font-weight: 500;}
        .m2 .v3 .y{float:right;font-size:12px;color:#898989;}
        
        
        .m3 {display:block;width:auto;height:44px;background:#fff;padding:0px 10px 0px 15px;line-height:44px;}
        .m3 .t1 {color:#444;font-size:15px;font-weight: bold;}
        .m3 image {width:20px;height:20px;margin-top:16px;margin-left:7px;float:right;}
        
        .m4{width: auto;height:auto;overflow: hidden;background: #fff;padding:0px 15px 0px;}
        .m4:last-child{margin-bottom: 20px;}
        .m4 .user{display: flex;flex-direction: row;}
        .m4 .user image{width: 35px;height: 35px;border-radius: 50%;}
        .m4 .user .name{flex:1;margin-left:10px;}
        .m4 .user .name .t{width: 100%;height: auto;overflow: hidden;line-height:34px;height:26px;}
        .m4 .user .name .t .z{font-size: 14px;color:#222;font-weight: 500;}
        .m4 .user .name .t .y{font-size: 12px;color:#898989;float:right;}
        .m4 .user .name .fen{width: 100%;font-size: 12px;color:#666;margin-top:3px;}
        .m4 .user .name .fen multiple-rate{display: inline-block}
        .m4 .content{width: auto;height: auto;overflow: hidden;font-size: 12px;color: #222;margin-top:3px;margin-left:45px;}
        .m4 .img{width:auto;overflow: hidden;margin-top:5px;margin-left:45px;}
        .m4 .img image{width:50px;height:50px;border-radius:3px;margin-right:5px;}
        .m4 .reply{width: auto;padding-left: 5px;height: auto;overflow: hidden;font-size: 12px;color: #999;margin-top:5px;padding-top:5px;background:#f5f5f5;border-radius: 5px;padding:10px;margin-left:45px;line-height:20px;}
        .m4 .reply text{color:#009e27;}
        
        .m5{width:100%;overflow: hidden;text-align:center;margin-top:10px;}
        .m5 navigator{display:inline-block;width:120px;height:34px;border:1px solid #ababab;line-height:34px;text-align:center;color:#222;font-size:12px;border-radius: 50px;}
        
        .m6{width:auto;background:#fff;overflow:hidden;margin-bottom:50px;}


        熱門文章
        友情鏈接

        久久精品国产亚洲av影院| 久久99国产一区二区三区| 久久伊人五月天论坛| 国产高潮久久免费观看| 国产精品一区二区久久精品无码 | 亚洲午夜久久久| 久久亚洲AV成人无码软件| 性高湖久久久久久久久| 中文字幕久久欲求不满| 久久无码高潮喷水| 中文字幕亚洲综合久久| 久久久久国产成人精品亚洲午夜| 最新久久免费视频| 97精品伊人久久久大香线蕉| 久久亚洲国产成人影院网站| 无遮挡粉嫩小泬久久久久久久| 免费精品99久久国产综合精品| 久久99热这里只频精品6| 久久久无码人妻精品无码| 久久精品国产精品亜洲毛片| 久久综合狠狠综合久久| 狠狠色丁香久久婷婷综合| 99久久国产热无码精品免费| 久久精品一区二区影院| 久久996热精品xxxx| 区久久AAA片69亚洲 | 午夜精品久久久久久影视riav| 性色欲网站人妻丰满中文久久不卡 | 久久一日本道色综合久久| 欧美精品福利视频一区二区三区久久久精品| 久久国产热精品波多野结衣AV| 国产精品乱码久久久久久软件| 色偷偷91久久综合噜噜噜噜| 97久久精品人人做人人爽| 国产精品99久久久久久宅男| 狠色狠色狠狠色综合久久 | 久久只这里是精品66| 国产ww久久久久久久久久| 伊人久久综在合线亚洲2019| yellow中文字幕久久网| 久久综合亚洲色HEZYO国产|