123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326 |
- <template>
-
- {{index%2==0?'Mocha':'AS***2'}}
- {{index%2===0?'发货非常快,猫咪很可爱,健康,服务非常好。':'猫咪很活泼可爱,刚开始回来有点怕人,不知道是否健康!'}}
- </template>
- <script>
- export default {
- data() {
- return {
- top: 100
- }
- },
- onLoad() {
-
- setTimeout(() => {
- const query = uni.createSelectorQuery().in(this);
- query.select('.tui-scroll__box').boundingClientRect((res) => {
- if (res) {
- this.top = res.top;
- }
- }).exec()
- }, 1000)
- },
- methods: {
- reply() {
- this.tui.href('/pages/evaluateReply/evaluateReply')
- },
- scrollToReply() {
- uni.pageScrollTo({
- scrollTop: this.top,
- duration: 100
- })
- }
- },
-
- onPullDownRefresh: function() {
- setTimeout(() => {
- uni.stopPullDownRefresh()
- }, 200);
- },
- }
- </script>
- <style>
- .container {
- padding-bottom: 100rpx;
- }
- .tui-evaluate__box {
- width: 100%;
- padding: 25rpx;
- box-sizing: border-box;
- background-color: #ffffff;
- box-shadow: 0 3rpx 20rpx rgba(183, 183, 183, 0.1);
- overflow: hidden;
- margin-top: 20rpx;
- }
- .tui-flex__center {
- display: flex;
- align-items: center;
- }
- .tui-avatar {
- width: 64rpx;
- height: 64rpx;
- border-radius: 50%;
- }
- .tui-nickname {
- font-size: 28rpx;
- padding-left: 12rpx;
- }
- .tui-content__box {
- width: 100%;
- padding: 0 30rpx 0 76rpx;
- box-sizing: border-box;
- }
- .tui-rate__box {
- width: 100%;
- display: flex;
- justify-content: space-between;
- align-items: center;
- font-size: 24rpx;
- color: #999;
- padding: 12rpx 0 20rpx;
- }
- .tui-desc {
- font-size: 28rpx;
- word-break: break-all;
- text-align: justify;
- }
- .tui-img__box {
- width: 100%;
- font-size: 0;
- padding-top: 4rpx;
- }
- .tui-img__box image {
- width: 180rpx;
- height: 180rpx;
- margin-right: 12rpx;
- margin-top: 12rpx;
- }
- .tui-image {
- width: 360rpx !important;
- height: auto;
- }
- .tui-op__box {
- width: 100%;
- padding-top: 24rpx;
- }
- .tui-op-item {
- display: flex;
- align-items: center;
- margin-left: auto;
- flex-shrink: 0;
- font-size: 24rpx;
- }
- .tui-op-item text {
- padding-right: 6rpx;
- }
- .tui-specs {
- font-size: 24rpx;
- color: #999;
- font-weight: 400;
- word-break: break-all;
- }
- .tui-color-red {
- color: #EB0909;
- }
- .tui-reply__box {
- padding-top: 20rpx;
- }
- .tui-reply__title {
- font-size: 30rpx;
- font-weight: bold;
- }
- .tui-reply__title text {
- font-size: 26rpx;
- font-weight: 400;
- color: #999;
- }
- .tui-color__link {
- color: #586c94;
- }
- .tui-quote__box {
- background-color: #F8F8F8;
- color: #999;
- font-size: 24rpx;
- padding: 16rpx;
- box-sizing: border-box;
- border-radius: 4rpx;
- margin-bottom: 20rpx;
- }
- .tui-pr__30 {
- padding-right: 30rpx;
- }
- .tui-tabbar {
- width: 100%;
- height: 100rpx;
- position: fixed;
- z-index: 996;
- left: 0;
- bottom: 0;
- background-color: #fff;
- padding-bottom: constant(safe-area-inset-bottom);
- padding-bottom: env(safe-area-inset-bottom);
- box-sizing: content-box;
- }
- .tui-tabbar::before {
- content: ' ';
- width: 100%;
- border-top: 1px solid #b2b2b2;
- position: absolute;
- top: 0;
- left: 0;
- transform: scaleY(0.5) translateZ(0);
- transform-origin: 0 0;
- z-index: 3;
- }
- .tui-tabbar__box {
- width: 100%;
- height: 100rpx;
- padding: 0 30rpx;
- box-sizing: border-box;
- display: flex;
- align-items: center;
- justify-content: space-between;
- }
- .tui-input {
- width: 60%;
- height: 70rpx;
- background-color: #F8F8F8;
- color: #999;
- font-size: 24rpx;
- border-radius: 70px;
- padding: 0 20rpx;
- box-sizing: border-box;
- }
- .tui-tabbar__right {
- width: 40%;
- flex-shrink: 0;
- display: flex;
- align-items: center;
- justify-content: space-between;
- }
- .tui-tabbar__right .tui-op-item {
- width: 50%;
- justify-content: flex-end;
- }
- .tui-pullup__box {
- padding-bottom: constant(safe-area-inset-bottom);
- padding-bottom: env(safe-area-inset-bottom);
- }
- </style>
|