Commit 847dd6cc authored by zhengke's avatar zhengke

no message

parent 2bb2366f
......@@ -7,8 +7,7 @@
<!-- #ifndef APP-NVUE -->
<scroll-view :scroll-into-view="scrollViewId" class="uni-indexed-list__scroll" scroll-y>
<view class="right-img">
{{classObj.Image}}
<image :src="classObj.Image" style="width: 100%; height: 100%;" mode="aspectFill"/>
<image :src="Image" style="width: 100%; height: 100%;" mode="aspectFill"/>
</view>
<view v-for="(list, idx) in lists" :key="idx" :id="'uni-indexed-list-' + idx">
......@@ -99,10 +98,10 @@
},
emits: ['click'],
props: {
classObj:{
type: Object,
default () {
return {}
Image:{
type: String,
default: ()=>{
return ""
}
},
options: {
......
......@@ -16,9 +16,8 @@
</view>
<view class="form-right">
<view class="right-box">
<uni-indexed-list :class-Obj="classObj" :options="list" :show-select="true" @click="bindClick" />
<uni-indexed-list :Image="classObj.Image" :options="list" :show-select="true" @click="bindClick" />
</view>
</view>
</view>
......@@ -30,6 +29,11 @@
import tabbars from "@/components/tabbar/index";
import uniIndexedList from "@/components/uni-indexed-list/uni-indexed-list";
export default {
components: {
search,
tabbars,
uniIndexedList
},
data() {
return {
cat_style:2,
......@@ -340,11 +344,15 @@
}]
};
},
components: {
search,
tabbars,
uniIndexedList
},
watch: {
classObj: {
handler: function(value) {
this.classObj = value
console.log(value,'===')
},
deep: true
}
},
onLoad(option) {
this.navHeight = this.$navHeight - 2;
if (this.cstyle.cat_style == "4") {
......
......@@ -18,7 +18,7 @@
<view class="Valuation_item">
<view class="class-title">
<view>*</view>
<text>品牌</Ttextext>
<text>品牌</text>
</view>
<view class="class-name">
<text>尚美</text>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment