Commit 0904d153 by 前端

bug修复

1 parent 74d46032
......@@ -88,4 +88,8 @@
.scene-box {
padding-bottom: 50rpx;
}
.cooperate-left {
margin-right: 16rpx;
}
\ No newline at end of file
......@@ -11,7 +11,7 @@
<text class="info-lable">合作方式<text class="require">*</text>
</text>
<radio-group name="applyType" class="radio-wrap" bindchange="applyChange">
<label>
<label class="cooperate-left">
<radio value="1" checked />门店合作
</label>
<label>
......
......@@ -14,7 +14,7 @@ Component({
},
selectApply: {
type: Number,
value: 1
value: 0
}
},
......@@ -226,9 +226,9 @@ Component({
selectScenePro(e) {
console.log(e.currentTarget.dataset, this.properties.selectApply);
var index = e.currentTarget.dataset.index;
var item = this.properties.selectApply == 1 ? this.data.productList[this.data.sceneName][index] : this.data.productSubscibList[this.data.sceneName][index];
var item = this.properties.selectApply == 0 ? this.data.productList[this.data.sceneName][index] : this.data.productSubscibList[this.data.sceneName][index];
item.isSelect = !item.isSelect;
if (this.properties.selectApply == 1) {
if (this.properties.selectApply == 0) {
// let newProductList = `productListt.${this.data.sceneName}[0]`
// console.log(newProductList, item);
this.setData({
......@@ -246,7 +246,7 @@ Component({
resetScene() {
if (!this.data.sceneName) return
console.log(this.properties.selectApply, this.data.sceneName, this.data.sceneNum);
if (this.properties.selectApply == 2) {
if (this.properties.selectApply == 1) {
this.data.productList[this.data.sceneName].map((item) => {
if (item.isSelect) item.isSelect = false
})
......@@ -277,7 +277,7 @@ Component({
let selectFlag = 0;
let productItems = [];
let businessItem
if (this.properties.selectApply == 1) {
if (this.properties.selectApply == 0) {
this.data.productList[this.data.sceneName].forEach((item) => {
if (item.isSelect) {
selectFlag = selectFlag + 1;
......
......@@ -101,6 +101,8 @@
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: 28rpx;
color: linear-gradient(180deg, #65DDCE 0%, #406DFB 51%, #3666FE 100%);
background-image: linear-gradient(180deg, #65DDCE 0%, #406DFB 51%, #3666FE 100%);
-webkit-background-clip: text;
color: transparent;
}
}
\ No newline at end of file
......@@ -14,7 +14,7 @@
</view>
<view>
<view class="jump-title">生意助手</view>
<view class="jump-text">立即前往</view>
<view class="jump-text">立即前往 ></view>
</view>
<view>
</view>
......@@ -25,7 +25,7 @@
</view>
<view>
<view class="jump-title">生意助手</view>
<view class="jump-text">立即前往</view>
<view class="jump-text">立即前往 ></view>
</view>
</view>
</view>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!