From 57fca86107507aa7546d5863cbf9ecc956ffbabc Mon Sep 17 00:00:00 2001 From: 346149741 <346149741@qq.com> Date: 星期六, 22 六月 2024 11:34:30 +0800 Subject: [PATCH] 评价 --- qiye/record/evaluate.vue | 174 +++++++++++++++++++++++++++++++++++++++++++ pages.json | 7 + qiye/record/details.vue | 1 3 files changed, 181 insertions(+), 1 deletions(-) diff --git a/pages.json b/pages.json index d9ca312..ab9ee85 100644 --- a/pages.json +++ b/pages.json @@ -197,6 +197,13 @@ "navigationStyle": "custom" } + }, + { + "path" : "record/evaluate", + "style" : + { + "navigationBarTitleText" : "璇勪环" + } } ] diff --git a/qiye/record/details.vue b/qiye/record/details.vue index ed12a1a..b283999 100644 --- a/qiye/record/details.vue +++ b/qiye/record/details.vue @@ -203,7 +203,6 @@ value: 'orange', type: 2, show: false, - show2: false, list: [{ //todo 璇锋眰鎺ュ彛 value: '1', diff --git a/qiye/record/evaluate.vue b/qiye/record/evaluate.vue new file mode 100644 index 0000000..e5b7151 --- /dev/null +++ b/qiye/record/evaluate.vue @@ -0,0 +1,174 @@ +<template> + <view style="margin-top: 20rpx;"> + <view class="wbox2"> + <view class="t"> + 鎵ф硶璇勪环 + </view> + <view class="sbox"> + <view class="t2"> + 鏈鎵ф硶杩樻弧鎰忕▼搴� + </view> + <view class="xbox"> + <view @click="daxing(1)"> + <img src="/static/qiye/xing1.png" alt="" /> + <view> + 寰堢碂绯� + </view> + </view> + <view @click="daxing(2)"> + <img v-if="xing>=2" src="/static/qiye/xing1.png" alt="" /> + <img v-else src="/static/qiye/xing2.png" alt="" /> + <view :class="xing==2?'hei':''"> + 涓嶆弧鎰� + </view> + </view> + <view @click="daxing(3)"> + <img v-if="xing>=3" src="/static/qiye/xing1.png" alt="" /> + <img v-else src="/static/qiye/xing2.png" alt="" /> + <view :class="xing==3?'hei':''"> + 涓�鑸埇 + </view> + </view> + <view @click="daxing(4)"> + <img v-if="xing>=4" src="/static/qiye/xing1.png" alt="" /> + <img v-else src="/static/qiye/xing2.png" alt="" /> + <view :class="xing==4?'hei':''"> + 婊℃剰 + </view> + </view> + <view @click="daxing(5)"> + <img v-if="xing>=5" src="/static/qiye/xing1.png" alt="" /> + <img v-else src="/static/qiye/xing2.png" alt="" /> + <view :class="xing==5?'hei':''"> + 闈炲父婊℃剰 + </view> + </view> + </view> + <view class="line"></view> + </view> + <view class="sbox"> + <view class="t2"> + 杩欐槸涓�涓崟閫夐鐨勯骞诧紵 + </view> + <u-radio-group v-model="value"> + <u-radio name="orange">閫変腑</u-radio> + <u-radio name="1" :disabled="true">鏈�変腑</u-radio> + </u-radio-group> + <view class="line"></view> + </view> + <view class="sbox"> + <view class="t2" style="margin-bottom: 30rpx;"> + 瀵规垜浠殑璇勪环 + </view> + <u-textarea placeholder="璇疯緭鍏�..."></u-textarea> + </view> + </view> + <view style="height: 200rpx;"></view> + <view class="bottom"> + <view class="b1"> + 鎻愪氦 + </view> + </view> + </view> +</template> + +<script> + export default { + data() { + return { + xing: 5, + value: 'orange', + } + }, + methods: { + daxing(a) { + this.xing = a + }, + + } + } +</script> + +<style> + page { + background: #F4F4F4; + } +</style> +<style lang="scss" scoped> + .wbox2 { + background: #fff; + border-radius: 5px; + box-sizing: border-box; + margin: 0 32rpx; + + .t { + padding: 24rpx; + border-bottom: 1px solid #EEEEEE; + color: #202d44; + font-size: 36rpx; + font-weight: bold; + } + + .sbox { + padding: 24rpx; + + .line { + border-bottom: 1px dashed #f1f1f1; + margin-top: 32rpx; + } + + .xbox { + display: flex; + margin-top: 36rpx; + justify-content: space-between; + + img { + width: 74rpx; + height: 74rpx; + } + + >view { + text-align: center; + font-size: 28rpx; + color: #C3C6CD; + } + } + } + } + + /deep/ .u-radio-group { + margin-top: 20rpx; + + .u-radio { + margin-right: 20rpx; + } + } + + .hei { + color: #202D44; + } +.bottom { + position: fixed; + bottom: 0; + width: 100%; + left: 0; + height: 132rpx; + background: #fff; + display: flex; + justify-content: center; + align-items: center; + .b1 { + width: 686rpx; + height: 88rpx; + border-radius: 10px; + background: #1171E0; + line-height: 88rpx; + text-align: center; + color: #fff; + } + + + + } + +</style> \ No newline at end of file -- Gitblit v1.9.1