Commit 847dd6cc authored by zhengke's avatar zhengke

no message

parent 2bb2366f
...@@ -7,8 +7,7 @@ ...@@ -7,8 +7,7 @@
<!-- #ifndef APP-NVUE --> <!-- #ifndef APP-NVUE -->
<scroll-view :scroll-into-view="scrollViewId" class="uni-indexed-list__scroll" scroll-y> <scroll-view :scroll-into-view="scrollViewId" class="uni-indexed-list__scroll" scroll-y>
<view class="right-img"> <view class="right-img">
{{classObj.Image}} <image :src="Image" style="width: 100%; height: 100%;" mode="aspectFill"/>
<image :src="classObj.Image" style="width: 100%; height: 100%;" mode="aspectFill"/>
</view> </view>
<view v-for="(list, idx) in lists" :key="idx" :id="'uni-indexed-list-' + idx"> <view v-for="(list, idx) in lists" :key="idx" :id="'uni-indexed-list-' + idx">
...@@ -99,10 +98,10 @@ ...@@ -99,10 +98,10 @@
}, },
emits: ['click'], emits: ['click'],
props: { props: {
classObj:{ Image:{
type: Object, type: String,
default () { default: ()=>{
return {} return ""
} }
}, },
options: { options: {
......
...@@ -16,9 +16,8 @@ ...@@ -16,9 +16,8 @@
</view> </view>
<view class="form-right"> <view class="form-right">
<view class="right-box"> <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> </view>
</view> </view>
...@@ -30,6 +29,11 @@ ...@@ -30,6 +29,11 @@
import tabbars from "@/components/tabbar/index"; import tabbars from "@/components/tabbar/index";
import uniIndexedList from "@/components/uni-indexed-list/uni-indexed-list"; import uniIndexedList from "@/components/uni-indexed-list/uni-indexed-list";
export default { export default {
components: {
search,
tabbars,
uniIndexedList
},
data() { data() {
return { return {
cat_style:2, cat_style:2,
...@@ -340,11 +344,15 @@ ...@@ -340,11 +344,15 @@
}] }]
}; };
}, },
components: { watch: {
search, classObj: {
tabbars, handler: function(value) {
uniIndexedList this.classObj = value
}, console.log(value,'===')
},
deep: true
}
},
onLoad(option) { onLoad(option) {
this.navHeight = this.$navHeight - 2; this.navHeight = this.$navHeight - 2;
if (this.cstyle.cat_style == "4") { if (this.cstyle.cat_style == "4") {
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<view class="Valuation_item"> <view class="Valuation_item">
<view class="class-title"> <view class="class-title">
<view>*</view> <view>*</view>
<text>品牌</Ttextext> <text>品牌</text>
</view> </view>
<view class="class-name"> <view class="class-name">
<text>尚美</text> <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