Merge pull request 'lj' (#65) from lj into master

Reviewed-on: http://git.feashow.cn/odjbin/city-store-transfer/pulls/65
This commit is contained in:
luojie
2023-11-17 14:37:58 +00:00
8 changed files with 165 additions and 46 deletions

View File

@@ -29,15 +29,25 @@
</template>
<script>
import form from 'uview-ui/libs/config/props/form';
export default {
data() {
return {
show: false,
submitForm:{
name:'',
idcode:''
}
}
},
methods: {
submit(){
console.log('提交');
console.log('提交',form);
//this.$u.api.submit( this.form )
uni.$u.toast('提交成功')
},
confirmCheckWay(e){
@@ -74,7 +84,7 @@
margin-top: 10rpx;
margin-left: 17rpx;
color: #c1c1c1;
font-size: 27rpx;
/* font-size: 27rpx; */
}
</style>

View File

@@ -15,7 +15,7 @@
<DropDown></DropDown>
</view>
<view class="marginLR10">
<ShowShopList :showStyle="2"/>
<ShowShopList :showStyle="2" :adlinkPath = "adlinkPath"/>
</view>
</view>
</template>
@@ -24,7 +24,7 @@
export default {
data() {
return {
adlinkPath: "/pages/publish/publishRent/publishRent"
}
},
methods: {

View File

@@ -15,7 +15,7 @@
<DropDown></DropDown>
</view>
<view class="marginLR10">
<ShowShopList :showStyle="2"/>
<ShowShopList :showStyle="2" :adlinkPath="adlinkPath"/>
</view>
</view>
</template>
@@ -24,7 +24,7 @@
export default {
data() {
return {
adlinkPath: "/pages/publish/publishInvestment/publishInvestment"
}
},
methods: {

View File

@@ -42,7 +42,7 @@
notice: [],
chooseIndex: 0,
statNum: {},
swiperList: []
swiperList: [],
}
},
onLoad() {
@@ -74,7 +74,12 @@
},
getClassList() {
this.$api.getClassList().then(res => {
console.log(res.data.data);
let data = res.data.data
data.sort((a,b)=>{
return a.id - b.id
})
data = data.map(item => item.name)
uni.setStorageSync('classList', JSON.stringify(data))
})
},
getRegionList() {