Commit 16cfe05a authored by Mac's avatar Mac

样式的修改

parent a6fa3e72
......@@ -16,7 +16,7 @@
<scroll-view scroll-y class="share_b">
<view class="goodname">{{ goodName }}</view>
<view class="img-box">
<view class="box">
<scroll-view scroll-x class="box">
<image
v-for="(x, i) in images"
:key="i"
......@@ -25,7 +25,7 @@
mode="aspectFill"
@click="previewImage(i)"
/>
</view>
</scroll-view >
<view v-if="advertising!=null && advertising !='' " style="margin-top: 10px;line-height: 1.5;font-size: 28rpx;color:#333">
<span>广告词:{{advertising}}</span>
<u-button size="mini" shape="circle" style='margin-left: 10px;' @click="paste(advertising)">复制</u-button>
......
......@@ -179,6 +179,19 @@
></u-section>
</view>
<view class="comment">
<view class="comment-dao" style="justify-content: space-between;">
<view style="display: flex;flex-direction: row;align-items: center;">
<u-avatar :src="comments[0].UserPhotoPath" :size="50"></u-avatar>
<span style='font-size: 14px;color: #000000;width: 200rpx; margin-left: 10px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font-weight: bold;'>
{{comments[0].UserName}}
</span>
</view>
<span style='font-size: 12px;color: #AAAAAA;'>{{comments[0].CommentList[0].CreateDate}}</span>
</view>
<view class="comment-dao" >
<u-rate
:current="comments[0].CommentList[0].CommentScore"
......@@ -203,19 +216,7 @@
/>
</view>
<view style="width: 100%;height: 1px;background: rgba(0, 0, 0, 0.1);margin: 10px 0;"></view>
<view class="comment-dao" style="justify-content: space-between;">
<view style="display: flex;flex-direction: row;align-items: center;">
<u-avatar :src="comments[0].UserPhotoPath" :size="50"></u-avatar>
<span style='font-size: 14px;color: #000000;width: 200rpx; margin-left: 10px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font-weight: bold;'>
{{comments[0].UserName}}
</span>
</view>
<span style='font-size: 12px;color: #AAAAAA;'>{{comments[0].CommentList[0].CreateDate}}</span>
</view>
<view class="comment-dao" >
<u-rate
:current="comments[0].CommentList[0].CommentScore"
......
......@@ -29,7 +29,19 @@
:style="{ height: '100%' }"
>
<view class="interDList" v-for="(x, i) in g" :key="i">
<view class="comment-dao" style="justify-content: space-between;">
<view style="display: flex;flex-direction: row;align-items: center;">
<u-avatar :src="x.UserPhotoPath" :size="50"></u-avatar>
<span style='font-size: 14px;color: #000000;width: 200rpx; margin-left: 10px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font-weight: bold;'>
{{x.UserName}}
</span>
</view>
<span style='font-size: 12px;color: #AAAAAA;'>{{x.CommentList[0].CreateDate}}</span>
</view>
<view class="comment-dao" >
<u-rate
:current="x.CommentList[0].CommentScore"
......@@ -54,19 +66,7 @@
/>
</view>
<view style="width: 100%;height: 1px;background: rgba(0, 0, 0, 0.1);margin: 10px 0;"></view>
<view class="comment-dao" style="justify-content: space-between;">
<view style="display: flex;flex-direction: row;align-items: center;">
<u-avatar :src="x.UserPhotoPath" :size="50"></u-avatar>
<span style='font-size: 14px;color: #000000;width: 200rpx; margin-left: 10px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font-weight: bold;'>
{{x.UserName}}
</span>
</view>
<span style='font-size: 12px;color: #AAAAAA;'>{{x.CommentList[0].CreateDate}}</span>
</view>
<view class="comment-dao" >
<u-rate
:current="x.CommentList[0].CommentScore"
......@@ -159,9 +159,10 @@ export default {
uni.setNavigationBarTitle({
title: this.pageTitle,
});
let that = this
uni.getSystemInfo({
success(res) {
that.san = (res.windowWidth-20)/3+'px'
that.san = (res.windowWidth-30)/3+'px'
}
})
......
......@@ -19,7 +19,7 @@
:style="{ height: '100%' }">
<view style="display: flex;flex-direction: column;align-items: center;">
<view v-for="(item, index) in g" :key="index" class="listbox">
<view class="box_top" @click="redirectToDetail(item.OrderId)">
<view class="box_top" @click="redirectToDetail(item)">
<Text style='font-size: 14px;'>订单号:{{item.OrderNo}}</Text>
<Text :style="{'font-size':'14px','color':mainColor}">{{item.StatusName}}</Text>
</view>
......@@ -176,9 +176,9 @@
this.status = "nomore";
}
},
redirectToDetail(id) {
redirectToDetail(item) {
uni.navigateTo({
url: "/pages/order/order-detail?id=" + id,
url: "/pages/order/order-detail?id=" + item.OrderId+'&NewUserId='+item.UserId,
});
},
}
......
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