Csqqqqq 4 months ago
parent 7dd29990d5
commit 50744d8dae

@ -1,6 +1,6 @@
{ {
"name" : "3", "name" : "3",
"appid" : "", "appid" : "__UNI__FF78FAC",
"description" : "", "description" : "",
"versionName" : "1.0.0", "versionName" : "1.0.0",
"versionCode" : "100", "versionCode" : "100",
@ -50,9 +50,10 @@
"quickapp" : {}, "quickapp" : {},
/* */ /* */
"mp-weixin" : { "mp-weixin" : {
"appid" : "", "appid" : "wx423c9a965e959576",
"setting" : { "setting" : {
"urlCheck" : false "urlCheck" : false,
"es6" : false
}, },
"usingComponents" : true "usingComponents" : true
}, },

@ -4,6 +4,7 @@
fixed="true" fixed="true"
leftIconColor="#FFF" leftIconColor="#FFF"
:bgColor="background" :bgColor="background"
@leftClick="clickBack"
></u-navbar> ></u-navbar>
<view class="topImgCon"> <view class="topImgCon">
<image src="https://wx1.sinaimg.cn/large/006WYq6ngy1hrj1dubvugj30u00u0n09.jpg" class="topBg" mode="aspectFill"></image> <image src="https://wx1.sinaimg.cn/large/006WYq6ngy1hrj1dubvugj30u00u0n09.jpg" class="topBg" mode="aspectFill"></image>
@ -81,6 +82,17 @@
this.activeID = item.value; this.activeID = item.value;
// console.log(item.value); // console.log(item.value);
// console.log("activeID",this.activeID); // console.log("activeID",this.activeID);
},
clickBack(){
let pageLength = getCurrentPages();
if(pageLength.length == 1){
this.$u.route({
url:'/pages/index/index',
type:'tab'
})
}else{
uni.navigateBack();
}
} }
} }
} }

@ -94,7 +94,7 @@
} }
} }
.detail{ .detail{
padding: 36rpx; padding-left: 30rpx;
display: flex; display: flex;
justify-content: space-around; justify-content: space-around;
flex-wrap: wrap; flex-wrap: wrap;
@ -107,7 +107,7 @@
flex-direction: column; flex-direction: column;
justify-content: space-between; justify-content: space-between;
margin-bottom: 22rpx; margin-bottom: 22rpx;
margin-right: 10rpx; margin-right: 30rpx;
>image{ >image{
width: 328rpx; width: 328rpx;
height: 320rpx; height: 320rpx;

@ -123,7 +123,6 @@ import index from '../../../uni_modules/uview-ui'
width: 750rpx; width: 750rpx;
background: #FFFFFF; background: #FFFFFF;
box-sizing: border-box; box-sizing: border-box;
padding-left: 38rpx;
border-radius: 20rpx 20rpx 0rpx 0rpx; border-radius: 20rpx 20rpx 0rpx 0rpx;
.top{ .top{
height: 92rpx; height: 92rpx;
@ -150,6 +149,7 @@ import index from '../../../uni_modules/uview-ui'
} }
} }
.body{ .body{
padding-left: 38rpx;
.item{ .item{
margin: 0 auto; margin: 0 auto;
width: 676rpx; width: 676rpx;
@ -219,10 +219,11 @@ import index from '../../../uni_modules/uview-ui'
.inputBtnCon{ .inputBtnCon{
width: 100%; width: 750rpx;
height: 184rpx; height: 184rpx;
background: #FFFFFF; background: #FFFFFF;
display: flex; display: flex;
padding-left: 20rpx;
.left{ .left{
height: 74rpx; height: 74rpx;
font-weight: 400; font-weight: 400;
@ -239,14 +240,12 @@ import index from '../../../uni_modules/uview-ui'
} }
.allPrice{ .allPrice{
margin-top: 46rpx; margin-top: 46rpx;
width: 148rpx;
height: 68rpx; height: 68rpx;
font-weight: 500; font-weight: 500;
font-size: 48rpx; font-size: 48rpx;
color: #FF2D46; color: #FF2D46;
line-height: 67rpx; line-height: 67rpx;
text-align: right; text-align: right;
margin-right: 12rpx;
&::before{ &::before{
content: '¥'; content: '¥';
font-size: 24rpx; font-size: 24rpx;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -161,7 +161,7 @@ __webpack_require__.r(__webpack_exports__);
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
"use strict"; "use strict";
/* WEBPACK VAR INJECTION */(function(uni) {
Object.defineProperty(exports, "__esModule", { Object.defineProperty(exports, "__esModule", {
value: true value: true
@ -220,10 +220,22 @@ var _default = {
this.activeID = item.value; this.activeID = item.value;
// console.log(item.value); // console.log(item.value);
// console.log("activeID",this.activeID); // console.log("activeID",this.activeID);
},
clickBack: function clickBack() {
var pageLength = getCurrentPages();
if (pageLength.length == 1) {
this.$u.route({
url: '/pages/index/index',
type: 'tab'
});
} else {
uni.navigateBack();
}
} }
} }
}; };
exports.default = _default; exports.default = _default;
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
/***/ }), /***/ }),

@ -1 +1 @@
<view class="cloudStoreDeatil"><u-navbar vue-id="2079f2af-1" fixed="true" leftIconColor="#FFF" bgColor="{{background}}" bind:__l="__l"></u-navbar><view class="topImgCon"><image class="topBg" src="https://wx1.sinaimg.cn/large/006WYq6ngy1hrj1dubvugj30u00u0n09.jpg" mode="aspectFill"></image></view><view class="shopTip"><view class="left"><image src="https://wx3.sinaimg.cn/large/006TzZ4Ugy1hs3zsj97f8j31jk1jkqep.jpg"></image></view><view class="right"><view class="box1">啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊</view><view class="box2"><u-rate bind:input="__e" vue-id="2079f2af-2" count="{{count}}" allowHalf="true" value="{{value}}" data-event-opts="{{[['^input',[['__set_model',['','value','$event',[]]]]]]}}" bind:__l="__l"></u-rate><text class="rateValue">{{''+value}}</text></view><view class="box3"><view class="label1"><image src="https://files.hecrab.com/crab-net/cloud-store-list-5.png" mode="aspectFit"></image><text>三码合一</text></view><view class="label2"><image src="https://files.hecrab.com/crab-net/cloud-store-list-1.png" mode="aspectFit"></image><text>验蟹师品质保</text></view></view></view></view><view class="shopBody"><view class="bodyHeader"><block wx:for="{{tabList}}" wx:for-item="item" wx:for-index="index" wx:key="value"><view data-event-opts="{{[['tap',[['clickTab',['$0'],[[['tabList','value',item.value]]]]]]]}}" class="itemBox" bindtap="__e">{{item.name}}</view></block><view class="{{['active','act-'+activeID]}}">{{tabList[activeID].name}}</view></view><view class="body"><block wx:if="{{activeID==0}}"><dropshipping vue-id="2079f2af-3" bind:__l="__l"></dropshipping></block><block wx:if="{{activeID==1}}"><coupons-act vue-id="2079f2af-4" bind:__l="__l"></coupons-act></block><block wx:if="{{activeID==2}}"><whole-sales vue-id="2079f2af-5" bind:__l="__l"></whole-sales></block><block wx:if="{{activeID==3}}"><shop-introduce vue-id="2079f2af-6" bind:__l="__l"></shop-introduce></block></view></view></view> <view class="cloudStoreDeatil"><u-navbar vue-id="2079f2af-1" fixed="true" leftIconColor="#FFF" bgColor="{{background}}" data-event-opts="{{[['^leftClick',[['clickBack']]]]}}" bind:leftClick="__e" bind:__l="__l"></u-navbar><view class="topImgCon"><image class="topBg" src="https://wx1.sinaimg.cn/large/006WYq6ngy1hrj1dubvugj30u00u0n09.jpg" mode="aspectFill"></image></view><view class="shopTip"><view class="left"><image src="https://wx3.sinaimg.cn/large/006TzZ4Ugy1hs3zsj97f8j31jk1jkqep.jpg"></image></view><view class="right"><view class="box1">啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊</view><view class="box2"><u-rate bind:input="__e" vue-id="2079f2af-2" count="{{count}}" allowHalf="true" value="{{value}}" data-event-opts="{{[['^input',[['__set_model',['','value','$event',[]]]]]]}}" bind:__l="__l"></u-rate><text class="rateValue">{{''+value}}</text></view><view class="box3"><view class="label1"><image src="https://files.hecrab.com/crab-net/cloud-store-list-5.png" mode="aspectFit"></image><text>三码合一</text></view><view class="label2"><image src="https://files.hecrab.com/crab-net/cloud-store-list-1.png" mode="aspectFit"></image><text>验蟹师品质保</text></view></view></view></view><view class="shopBody"><view class="bodyHeader"><block wx:for="{{tabList}}" wx:for-item="item" wx:for-index="index" wx:key="value"><view data-event-opts="{{[['tap',[['clickTab',['$0'],[[['tabList','value',item.value]]]]]]]}}" class="itemBox" bindtap="__e">{{item.name}}</view></block><view class="{{['active','act-'+activeID]}}">{{tabList[activeID].name}}</view></view><view class="body"><block wx:if="{{activeID==0}}"><dropshipping vue-id="2079f2af-3" bind:__l="__l"></dropshipping></block><block wx:if="{{activeID==1}}"><coupons-act vue-id="2079f2af-4" bind:__l="__l"></coupons-act></block><block wx:if="{{activeID==2}}"><whole-sales vue-id="2079f2af-5" bind:__l="__l"></whole-sales></block><block wx:if="{{activeID==3}}"><shop-introduce vue-id="2079f2af-6" bind:__l="__l"></shop-introduce></block></view></view></view>

@ -57,7 +57,7 @@
font-weight: 600; font-weight: 600;
} }
.dropshipping .detail { .dropshipping .detail {
padding: 36rpx; padding-left: 30rpx;
display: flex; display: flex;
justify-content: space-around; justify-content: space-around;
flex-wrap: wrap; flex-wrap: wrap;
@ -70,7 +70,7 @@
flex-direction: column; flex-direction: column;
justify-content: space-between; justify-content: space-between;
margin-bottom: 22rpx; margin-bottom: 22rpx;
margin-right: 10rpx; margin-right: 30rpx;
} }
.dropshipping .goodsBox > image { .dropshipping .goodsBox > image {
width: 328rpx; width: 328rpx;

@ -29,7 +29,6 @@
width: 750rpx; width: 750rpx;
background: #FFFFFF; background: #FFFFFF;
box-sizing: border-box; box-sizing: border-box;
padding-left: 38rpx;
border-radius: 20rpx 20rpx 0rpx 0rpx; border-radius: 20rpx 20rpx 0rpx 0rpx;
} }
.wholeSales .top { .wholeSales .top {
@ -56,6 +55,9 @@
font-size: 28rpx; font-size: 28rpx;
color: #222222; color: #222222;
} }
.wholeSales .body {
padding-left: 38rpx;
}
.wholeSales .body .item { .wholeSales .body .item {
margin: 0 auto; margin: 0 auto;
width: 676rpx; width: 676rpx;
@ -122,10 +124,11 @@
box-sizing: border-box; box-sizing: border-box;
} }
.wholeSales .inputBtnCon { .wholeSales .inputBtnCon {
width: 100%; width: 750rpx;
height: 184rpx; height: 184rpx;
background: #FFFFFF; background: #FFFFFF;
display: flex; display: flex;
padding-left: 20rpx;
} }
.wholeSales .inputBtnCon .left { .wholeSales .inputBtnCon .left {
height: 74rpx; height: 74rpx;
@ -143,14 +146,12 @@
} }
.wholeSales .inputBtnCon .allPrice { .wholeSales .inputBtnCon .allPrice {
margin-top: 46rpx; margin-top: 46rpx;
width: 148rpx;
height: 68rpx; height: 68rpx;
font-weight: 500; font-weight: 500;
font-size: 48rpx; font-size: 48rpx;
color: #FF2D46; color: #FF2D46;
line-height: 67rpx; line-height: 67rpx;
text-align: right; text-align: right;
margin-right: 12rpx;
} }
.wholeSales .inputBtnCon .allPrice::before { .wholeSales .inputBtnCon .allPrice::before {
content: '¥'; content: '¥';

Loading…
Cancel
Save