Commit 16cfe05a authored by Mac's avatar Mac

样式的修改

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