Commit 56a57a74 authored by zhengke's avatar zhengke

no message

parent bfca366b
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
radius="40" v-model="Keywords" @chang="changeHandler"></u-searchB> radius="40" v-model="Keywords" @chang="changeHandler"></u-searchB>
</view> </view>
<div <div
style="height: calc(100vh - 0px);width: calc(100vw);overflow: hidden;margin-top: 105rpx;"> style="height: calc(100vh - 0px);width: calc(100vw);overflow: hidden;margin-top: 100rpx;">
<view class="right-box"> <view class="right-box">
<uni-indexed-list :options="list" :show-select="true" @click="bindClick"/> <uni-indexed-list :options="list" :show-select="true" @click="bindClick"/>
<view style="height: calc(100vh - 0px); background: #fff;" v-if="!listShow"> <view style="height: calc(100vh - 0px); background: #fff;" v-if="!listShow">
...@@ -356,7 +356,7 @@ ...@@ -356,7 +356,7 @@
} }
}) })
}) })
console.log(this.indexList,'6555') // console.log(this.indexList,'6555')
this.AllList.forEach(item=>{ this.AllList.forEach(item=>{
this.list.forEach(i=>{ this.list.forEach(i=>{
if(!item.IsHot){ if(!item.IsHot){
......
...@@ -349,9 +349,9 @@ ...@@ -349,9 +349,9 @@
}); });
_this.showOpenSettingDialog = false; _this.showOpenSettingDialog = false;
} }
uni.redirectTo({ // uni.redirectTo({
url: '/publicPages/okPage/okPage?type=' + type // url: '/publicPages/okPage/okPage?type=' + type
}) // })
}, },
fail: (res) => { fail: (res) => {
uni.showModal({ uni.showModal({
...@@ -411,9 +411,9 @@ ...@@ -411,9 +411,9 @@
}); });
_this.showOpenSettingDialog = false; _this.showOpenSettingDialog = false;
} }
uni.redirectTo({ // uni.redirectTo({
url: '/publicPages/okPage/okPage?type=' + type // url: '/publicPages/okPage/okPage?type=' + type
}) // })
}, },
fail: (res) => { fail: (res) => {
uni.showModal({ uni.showModal({
......
...@@ -389,9 +389,9 @@ ...@@ -389,9 +389,9 @@
}); });
_this.showOpenSettingDialog = false; _this.showOpenSettingDialog = false;
} }
uni.redirectTo({ // uni.redirectTo({
url: '/publicPages/okPage/okPage?type=' + type // url: '/publicPages/okPage/okPage?type=' + type
}) // })
}, },
fail: (res) => { fail: (res) => {
uni.showModal({ uni.showModal({
...@@ -451,9 +451,9 @@ ...@@ -451,9 +451,9 @@
}); });
_this.showOpenSettingDialog = false; _this.showOpenSettingDialog = false;
} }
uni.redirectTo({ // uni.redirectTo({
url: '/publicPages/okPage/okPage?type=' + type // url: '/publicPages/okPage/okPage?type=' + type
}) // })
}, },
fail: (res) => { fail: (res) => {
uni.showModal({ uni.showModal({
......
...@@ -24,14 +24,15 @@ ...@@ -24,14 +24,15 @@
<view class="listBox" v-for="(item,index) in list" :key="index" <view class="listBox" v-for="(item,index) in list" :key="index"
@click="goDetails(item)"> @click="goDetails(item)">
<view class="listBox_t" @click="redirectToDetail()"> <view class="listBox_t" @click="redirectToDetail()">
<Text>{{item.BrandName}}</Text> <text>{{item.BrandName}}</text>
<Text style="color: #a8a8a8;font-weight: 0;font-size: 26rpx;">{{item.CreateDate}}</Text> <text style="color: #a8a8a8;font-weight: 0;font-size: 26rpx;">{{item.CreateDate}}</text>
</view> </view>
<view class="listBox_c"> <view class="listBox_c">
<view v-for="(i,indexs) in item.GoodsImgList" :key="indexs" <view v-for="(i,indexs) in item.GoodsImgList" :key="indexs"
class="title-box"> class="title-box">
<view class="imgbox" style="margin-bottom: 20rpx;"> <view class="imgbox" style="margin-bottom: 20rpx;">
<image style="width: 200rpx;height: 200rpx;border-radius: 20rpx;" :src="i.Path" mode="scaleToFill"></image> <!-- aspectFill scaleToFill-->
<image style="width: 200rpx;height: 200rpx;border-radius: 20rpx;" :src="i.Path" mode="aspectFill"></image>
</view> </view>
<text>{{i.Name}}</text> <text>{{i.Name}}</text>
</view> </view>
...@@ -273,6 +274,21 @@ ...@@ -273,6 +274,21 @@
margin-bottom: 20px; margin-bottom: 20px;
color: #000; color: #000;
} }
.listBox_t text:first-child{
width: 450rpx;
margin-left: 20rpx;
word-wrap: break-word;
word-break: break-all;
text-overflow: ellipsis;
display: -webkit-box; /** 对象作为伸缩盒子模型显示 **/
-webkit-box-orient: vertical; /** 设置或检索伸缩盒对象的子元素的排列方式 **/
-webkit-line-clamp: 1; /** 显示的行数 **/
overflow: hidden;
margin-right: 20rpx;
}
.listBox_t text:last-child{
flex-shrink: 0;
}
.orderList .listBox .listBox_c { .orderList .listBox .listBox_c {
width: 100%; width: 100%;
......
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