[添加单商品]
This commit is contained in:
10
app.json
10
app.json
@@ -39,18 +39,18 @@
|
|||||||
{
|
{
|
||||||
"pagePath": "pages/index/index",
|
"pagePath": "pages/index/index",
|
||||||
"text": "锶源商城",
|
"text": "锶源商城",
|
||||||
"iconPath": "/static/festival/00.png",
|
"iconPath": "/static/tabBarIcon/04.png",
|
||||||
"selectedIconPath": "/static/festival/00_active.png"
|
"selectedIconPath": "/static/tabBarIcon/04_active.png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"pagePath": "pages/user/index",
|
"pagePath": "pages/user/index",
|
||||||
"text": "锶人中心",
|
"text": "锶人中心",
|
||||||
"iconPath": "/static/festival/02.png",
|
"iconPath": "/static/tabBarIcon/02.png",
|
||||||
"selectedIconPath": "/static/festival/02_active.png"
|
"selectedIconPath": "/static/tabBarIcon/02_active.png"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"color": "#b6b9bb",
|
"color": "#b6b9bb",
|
||||||
"selectedColor": "#000000",
|
"selectedColor": "#6c78f8",
|
||||||
"borderStyle": "white"
|
"borderStyle": "white"
|
||||||
},
|
},
|
||||||
"style": "v2",
|
"style": "v2",
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
<!-- 双节弹出 -->
|
<!-- 双节弹出 -->
|
||||||
<view class="haveBack" wx:if="{{haveimg}}" catchtouchmove></view>
|
<!-- <view class="haveBack" wx:if="{{haveimg}}" catchtouchmove></view>
|
||||||
<view class="haveCont" wx:if="{{haveimg}}" catchtouchmove>
|
<view class="haveCont" wx:if="{{haveimg}}" catchtouchmove>
|
||||||
<image class="haveCont-img" src="https://api.siyuankunlun.com/storage/images/2023/09/26/0a0d13f2ef6abe6275cc06eed53771d8.png" mode="widthFix"></image>
|
<image class="haveCont-img" src="https://api.siyuankunlun.com/storage/images/2023/09/26/0a0d13f2ef6abe6275cc06eed53771d8.png" mode="widthFix"></image>
|
||||||
<image class="haveCont-close" src="/static/icons/closeBig.png" mode="widthFix" bindtap="haveHIde"></image>
|
<image class="haveCont-close" src="/static/icons/closeBig.png" mode="widthFix" bindtap="haveHIde"></image>
|
||||||
</view>
|
</view> -->
|
||||||
|
|
||||||
<view class="page-section">
|
<view class="page-section">
|
||||||
<image class="videoCover" wx:if="{{videoState}}" src="http://cdn.siyuankunlun.com/materials/2022/10/13/cover.png"></image>
|
<image class="videoCover" wx:if="{{videoState}}" src="http://cdn.siyuankunlun.com/materials/2022/10/13/cover.png"></image>
|
||||||
@@ -45,7 +45,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="otherText">古海冰泉造就不凡</view>
|
<view class="otherText">古海冰泉造就不凡</view>
|
||||||
<view class="othertitle">{{item.name}}</view>
|
<view class="othertitle">{{item.name}}</view>
|
||||||
<!-- <view class="name">{{item.price.show}}元/箱</view> -->
|
<view class="name">{{item.price.show}}元/箱</view>
|
||||||
</swiper-item>
|
</swiper-item>
|
||||||
</navigator>
|
</navigator>
|
||||||
</swiper>
|
</swiper>
|
||||||
|
|||||||
@@ -221,8 +221,8 @@ page {
|
|||||||
|
|
||||||
.other-swiper swiper {
|
.other-swiper swiper {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
height: 400rpx;
|
/* height: 400rpx; */
|
||||||
/* height: 450rpx; */
|
height: 500rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.other-swiper .slide-image image {
|
.other-swiper .slide-image image {
|
||||||
@@ -246,7 +246,7 @@ page {
|
|||||||
.other-swiper .box {
|
.other-swiper .box {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding-top: 50%;
|
padding-top: 60%;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -39,11 +39,11 @@
|
|||||||
<view class="goodsInfo-name">
|
<view class="goodsInfo-name">
|
||||||
{{mallData.name}}
|
{{mallData.name}}
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="goodsInfo-info">
|
<view class="goodsInfo-info">
|
||||||
<view class="goodsInfo-price">
|
<view class="goodsInfo-price">
|
||||||
<view class="goodsInfo-price-symbol">¥</view>{{mallData.price.show}}
|
<view class="goodsInfo-price-symbol">¥</view>{{mallData.price.show}}
|
||||||
</view>
|
</view>
|
||||||
</view> -->
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 产品详情 -->
|
<!-- 产品详情 -->
|
||||||
@@ -63,8 +63,8 @@
|
|||||||
<view class="goods-info-footer {{barHeight > 30 ? 'iphoneX':''}}">已经到底拉,在往上逛一逛吧</view>
|
<view class="goods-info-footer {{barHeight > 30 ? 'iphoneX':''}}">已经到底拉,在往上逛一逛吧</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- <view class="footer">
|
<view class="footer">
|
||||||
<view class="number">需<text>{{mallData.price.show}}</text>水滴</view> 之前就是隐藏的
|
<!-- <view class="number">需<text>{{mallData.price.show}}</text>水滴</view> 之前就是隐藏的 -->
|
||||||
<view class="number">¥<text>{{mallData.price.show}}</text></view>
|
<view class="number">¥<text>{{mallData.price.show}}</text></view>
|
||||||
<view bindtap="buyTap" class="btn">立即购买</view>
|
<view bindtap="buyTap" class="btn">立即购买</view>
|
||||||
</view> -->
|
</view>
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
<view class="nowrap itemCont-text">{{item.description}}</view>
|
<view class="nowrap itemCont-text">{{item.description}}</view>
|
||||||
<view class="itemCont-price">
|
<view class="itemCont-price">
|
||||||
<!-- <image src="/static/icons/newIcon_03.png"></image> -->
|
<!-- <image src="/static/icons/newIcon_03.png"></image> -->
|
||||||
<!-- ¥{{item.price.price_max}} -->
|
¥{{item.price.price_max}}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</navigator>
|
</navigator>
|
||||||
|
|||||||
@@ -47,14 +47,14 @@
|
|||||||
<view class="label-name">重量</view>
|
<view class="label-name">重量</view>
|
||||||
<view class="label-text">{{weight}}</view>
|
<view class="label-text">{{weight}}</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="label-item">
|
<!-- <view class="label-item">
|
||||||
<view class="label-name">水滴兑换</view>
|
<view class="label-name">水滴兑换</view>
|
||||||
<view class="label-integral">需{{amount}}水滴</view>
|
<view class="label-integral">需{{amount}}水滴</view>
|
||||||
</view>
|
</view> -->
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 购买方式 -->
|
<!-- 购买方式 -->
|
||||||
<view class="label payWay" wx:if="{{surplus > 0}}">
|
<!-- <view class="label payWay" wx:if="{{surplus > 0}}">
|
||||||
<view class="label-name">购买方式</view>
|
<view class="label-name">购买方式</view>
|
||||||
<view class="cashierCont-pay-way">
|
<view class="cashierCont-pay-way">
|
||||||
<radio-group bindchange="radioChange" style="width: 100%; display: block; height: 270rpx;">
|
<radio-group bindchange="radioChange" style="width: 100%; display: block; height: 270rpx;">
|
||||||
@@ -74,7 +74,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</radio-group>
|
</radio-group>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view> -->
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 底部 -->
|
<!-- 底部 -->
|
||||||
|
|||||||
@@ -71,14 +71,14 @@
|
|||||||
<image class="payContList-label-arrow" src="{{ payType == 'wechat' ? '/static/icons/check_icon.png' : '/static/icons/userLogin_icon.png'}}"></image>
|
<image class="payContList-label-arrow" src="{{ payType == 'wechat' ? '/static/icons/check_icon.png' : '/static/icons/userLogin_icon.png'}}"></image>
|
||||||
<radio class="radio" value="wechat"></radio>
|
<radio class="radio" value="wechat"></radio>
|
||||||
</view>
|
</view>
|
||||||
<view class="payCont-label {{ payType == 'water' ? 'active' : ''}}" wx:if="{{surplus > 0}}">
|
<!-- <view class="payCont-label {{ payType == 'water' ? 'active' : ''}}" wx:if="{{surplus > 0}}">
|
||||||
<view class="payContList-label-name">
|
<view class="payContList-label-name">
|
||||||
<image class="payCont-label-img" src="/static/imgs/wqb.jpg"></image>
|
<image class="payCont-label-img" src="/static/imgs/wqb.jpg"></image>
|
||||||
<text>水滴兑换</text>
|
<text>水滴兑换</text>
|
||||||
</view>
|
</view>
|
||||||
<image class="payContList-label-arrow" src="{{ payType == 'water' ? '/static/icons/check_icon.png' : '/static/icons/userLogin_icon.png'}}"></image>
|
<image class="payContList-label-arrow" src="{{ payType == 'water' ? '/static/icons/check_icon.png' : '/static/icons/userLogin_icon.png'}}"></image>
|
||||||
<radio class="radio" value="water"></radio>
|
<radio class="radio" value="water"></radio>
|
||||||
</view>
|
</view> -->
|
||||||
</radio-group>
|
</radio-group>
|
||||||
<view class="payCont-btn" bindtap="paySubmit">{{ payType == 'wechat' ? '立即支付' : '立即兑换'}}</view>
|
<view class="payCont-btn" bindtap="paySubmit">{{ payType == 'wechat' ? '立即支付' : '立即兑换'}}</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<view class="Usetop">
|
<view class="Usetop">
|
||||||
<!-- 双节 -->
|
<!-- 双节 -->
|
||||||
<image class="Usetop-back" mode="aspectFill" src="https://api.siyuankunlun.com/storage/images/2023/09/22/786a12e4d61acb22bcbb2e90cb7ce023.png"></image>
|
<!-- <image class="Usetop-back" mode="aspectFill" src="https://api.siyuankunlun.com/storage/images/2023/09/22/786a12e4d61acb22bcbb2e90cb7ce023.png"></image> -->
|
||||||
|
|
||||||
<!-- 默认 -->
|
<!-- 默认 -->
|
||||||
<!-- <image class="Usetop-back" mode="aspectFill" src="http://cdn.siyuankunlun.com/materials/2022/10/14/uaer_back.jpg"></image> -->
|
<image class="Usetop-back" mode="aspectFill" src="http://cdn.siyuankunlun.com/materials/2022/10/14/uaer_back.jpg"></image>
|
||||||
|
|
||||||
<view class="Usetop-range" style="padding-top:{{barHeight + jiaonangheight}}px;">
|
<view class="Usetop-range" style="padding-top:{{barHeight + jiaonangheight}}px;">
|
||||||
<view class="Usetop-cont" wx:if="{{userLogin}}">
|
<view class="Usetop-cont" wx:if="{{userLogin}}">
|
||||||
@@ -11,11 +11,11 @@
|
|||||||
<image class="Usetop-head-avatar" src="{{avatar ? avatar : '../../static/imgs/default_myHead.png'}}" mode="aspectFill"></image>
|
<image class="Usetop-head-avatar" src="{{avatar ? avatar : '../../static/imgs/default_myHead.png'}}" mode="aspectFill"></image>
|
||||||
|
|
||||||
<!-- 双节 -->
|
<!-- 双节 -->
|
||||||
<image class="userTop-head-frame" src="https://api.siyuankunlun.com/storage/images/2023/09/22/e4e9b20fe4192e5617fa2eaa630afae8.png" mode=""></image>
|
<!-- <image class="userTop-head-frame" src="https://api.siyuankunlun.com/storage/images/2023/09/22/e4e9b20fe4192e5617fa2eaa630afae8.png" mode=""></image> -->
|
||||||
|
|
||||||
<!-- 默认 -->
|
<!-- 默认 -->
|
||||||
<!-- <image wx:if="{{identity.order == '1'}}" class="Usetop-head-ancrown" src="http://api.siyuankunlun.com/materials/2022/09/19/ancrown_pt.png" mode=""></image>
|
<image wx:if="{{identity.order == '1'}}" class="Usetop-head-ancrown" src="http://api.siyuankunlun.com/materials/2022/09/19/ancrown_pt.png" mode=""></image>
|
||||||
<image wx:else class="Usetop-head-ancrown" src="http://api.siyuankunlun.com/materials/2022/09/14/ancrown.png" mode=""></image> -->
|
<image wx:else class="Usetop-head-ancrown" src="http://api.siyuankunlun.com/materials/2022/09/14/ancrown.png" mode=""></image>
|
||||||
</view>
|
</view>
|
||||||
<view class="Usetop-text">
|
<view class="Usetop-text">
|
||||||
{{nickName}}
|
{{nickName}}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"description": "项目配置文件",
|
"description": "项目配置文件,详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
|
||||||
"packOptions": {
|
"packOptions": {
|
||||||
"ignore": [],
|
"ignore": [],
|
||||||
"include": []
|
"include": []
|
||||||
@@ -37,7 +37,11 @@
|
|||||||
"ignore": [],
|
"ignore": [],
|
||||||
"disablePlugins": [],
|
"disablePlugins": [],
|
||||||
"outputPath": ""
|
"outputPath": ""
|
||||||
}
|
},
|
||||||
|
"useStaticServer": true,
|
||||||
|
"checkInvalidKey": true,
|
||||||
|
"disableUseStrict": false,
|
||||||
|
"useCompilerPlugins": false
|
||||||
},
|
},
|
||||||
"compileType": "miniprogram",
|
"compileType": "miniprogram",
|
||||||
"libVersion": "2.17.0",
|
"libVersion": "2.17.0",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
|
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
|
||||||
"projectname": "sykl-mall",
|
"projectname": "%E9%94%B6%E6%BA%90%E6%98%86%E4%BB%91",
|
||||||
"setting": {
|
"setting": {
|
||||||
"compileHotReLoad": true,
|
"compileHotReLoad": true,
|
||||||
"urlCheck": true
|
"urlCheck": true
|
||||||
|
|||||||
16
双节底部图标.txt
16
双节底部图标.txt
@@ -1,19 +1,17 @@
|
|||||||
"tabBar": {
|
"list": [
|
||||||
"list": [
|
|
||||||
{
|
{
|
||||||
"pagePath": "pages/index/index",
|
"pagePath": "pages/index/index",
|
||||||
"text": "锶源商城",
|
"text": "锶源商城",
|
||||||
"iconPath": "/static/tabBarIcon/04.png",
|
"iconPath": "/static/festival/00.png",
|
||||||
"selectedIconPath": "/static/tabBarIcon/04_active.png"
|
"selectedIconPath": "/static/festival/00_active.png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"pagePath": "pages/user/index",
|
"pagePath": "pages/user/index",
|
||||||
"text": "锶人中心",
|
"text": "锶人中心",
|
||||||
"iconPath": "/static/tabBarIcon/02.png",
|
"iconPath": "/static/festival/02.png",
|
||||||
"selectedIconPath": "/static/tabBarIcon/02_active.png"
|
"selectedIconPath": "/static/festival/02_active.png"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"color": "#b6b9bb",
|
"color": "#b6b9bb",
|
||||||
"selectedColor": "#6c78f8",
|
"selectedColor": "#000000",
|
||||||
"borderStyle": "white"
|
"borderStyle": "white"
|
||||||
},
|
|
||||||
Reference in New Issue
Block a user